Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char __cdecl sub_40B0A0(int a1)
- {
- char result; // al@5
- CHAR Filename; // [sp+0h] [bp-110h]@3
- HANDLE hProcess; // [sp+108h] [bp-8h]@2
- int v4; // [sp+10Ch] [bp-4h]@1
- v4 = 0;
- if ( sub_4222C0(a1, &v4, 0) || (hProcess = (HANDLE)v5da0ca1(1, 0, v4), !hProcess) )
- {
- result = 0;
- }
- else
- {
- if ( GetModuleFileNameExA(hProcess, 0, &Filename, 0x104u) )
- {
- v5cb092e(hProcess, 0);
- sub_40AFD0(&Filename, 1);
- }
- v5cb092e(hProcess, 0);
- result = 1;
- }
- return result;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement