Function at 0x42a270
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fd62
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x43fc54]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.IsApplicationRunning...
lea ecx, [ebp - 0x46c]
call fcn.00402640
mov dword [ebp - 4], 0
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x46c]
push ecx
push 2
call fcn.0042e380
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x46c]
call fcn.00402740
mov dword [ebp - 0x248], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x42a358
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x42a358
push str.CreateToolhelp32Snapshot_failed
lea ecx, [ebp - 0x470]
call fcn.00402640
mov dword [ebp - 4], 1
push 0
lea edx, [ebp - 0x470]
push edx
push 2
call fcn.0042e9d0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x470]
call fcn.00402740
mov eax, dword [ebp - 0x248]
jmp 0x42a57b
mov dword [ebp - 0x244], 0x22c
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x42a3c7
push str.Process32First_failed
lea ecx, [ebp - 0x474]
call fcn.00402640
mov dword [ebp - 4], 2
push 0
lea edx, [ebp - 0x474]
push edx
push 2
call fcn.0042e9d0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x474]
call fcn.00402740
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x248]
jmp 0x42a57b
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x460], ecx
mov dword [ebp - 0x250], 0x104
xor edx, edx
mov word [ebp - 0x45c], dx
push 0x206
push 0
lea eax, [ebp - 0x45a]
push eax
call fcn.00411600
add esp, 0xc
mov ecx, dword [ebp - 0x460]
push ecx
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
je 0x42a54a
cmp dword [ebp - 0x24c], 0xffffffff
je 0x42a54a
mov dword [ebp - 0x468], 0
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x464], 0
je 0x42a4bb
push str.QueryFullProcessImageNameW
mov edx, dword [ebp - 0x464]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x468], eax
cmp dword [ebp - 0x468], 0
je 0x42a4bb
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x45c]
push ecx
push 0
mov edx, dword [ebp - 0x24c]
push edx
call dword [ebp - 0x468]
test eax, eax
je 0x42a4bb
lea eax, [ebp - 0x45c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004016d0
push eax
call fcn.00410e27
add esp, 8
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
jne 0x42a529
cmp dword [ebp - 0x468], 0
jne 0x42a529
push 0x104
lea ecx, [ebp - 0x45c]
push ecx
push 0
mov edx, dword [ebp - 0x24c]
push edx
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x42a529
push 0x104
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x45c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea edx, [ebp - 0x45c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004016d0
push eax
call fcn.00410e27
add esp, 8
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x42a53d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x460]
mov dword [eax], ecx
mov edx, dword [ebp - 0x24c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x42a56b
cmp dword [ebp - 0x248], 0
je 0x42a3c7
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00410c05
mov esp, ebp
pop ebp
ret