Function at 0x42e9f0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x220
mov eax, dword [0x4ba190]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [esp + 0x224]
push ebp
push esi
xor esi, esi
push 0x206
lea edx, [esp + 0x22]
xor ecx, ecx
push esi
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], esi
mov word [esp + 0x28], cx
call fcn.00467480
add esp, 0xc
push str.psapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
mov dword [esp + 0xc], ebp
cmp ebp, esi
jne 0x42e79d
xor eax, eax
jmp 0x42e8d2
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumProcesses
push ebp
call edi
push str.EnumProcessModules
push ebp
mov dword [esp + 0x20], eax
call edi
push str.GetModuleFileNameExA
push ebp
mov ebx, eax
call edi
mov dword [esp + 0x20], eax
cmp dword [esp + 0x18], esi
je 0x42e8c7
cmp ebx, esi
je 0x42e8c7
cmp eax, esi
je 0x42e8c7
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, 0x400
test esi, esi
je 0x42e804
push esi
push 0
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
add edi, edi
push edi
push 0
call ebp
push eax
call ebx
mov esi, eax
test esi, esi
je 0x42e8ad
lea eax, [esp + 0x10]
push eax
push edi
push esi
call dword [esp + 0x24]
test eax, eax
je 0x42e8b4
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x42e7f2
shr eax, 2
xor ebx, ebx
mov dword [esp + 0x10], eax
test eax, eax
jbe 0x42e88f
mov edi, edi
xor eax, eax
mov word [esp + 0x24], ax
mov ecx, dword [esi + ebx*4]
push ecx
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x42e875
push 0x103
lea edx, [esp + 0x28]
push edx
push 0
push edi
call dword [esp + 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x42e888
mov edx, dword [esi + ebx*4]
lea ecx, [esp + 0x24]
push ecx
push edx
call eax
inc ebx
cmp ebx, dword [esp + 0x10]
jb 0x42e840
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
push 0
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 1
jmp 0x42e8d0
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x42e8c8
push esi
push 0
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [esp + 0x14]
push edx
jmp 0x42e8c8
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
pop edi
pop ebx
mov ecx, dword [esp + 0x224]
pop esi
pop ebp
xor ecx, esp
call fcn.004673e3
add esp, 0x220
ret 4
sub esp, 0x238
mov eax, dword [0x4ba190]
xor eax, esp
mov dword [esp + 0x234], eax
mov eax, dword [esp + 0x23c]
push edi
push str.Kernel32.dll
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
jne 0x42e939
pop edi
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.004673e3
add esp, 0x238
ret 4
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x49d7c0
push edi
call esi
push str.Process32First
push edi
mov ebx, eax
call esi
push str.Process32Next
push edi
mov ebp, eax
call esi
mov dword [esp + 0x10], eax
test ebx, ebx
je 0x42e9c4
test ebp, ebp
je 0x42e9c4
test eax, eax
je 0x42e9c4
push 0
push 2
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x42e9cb
lea ecx, [esp + 0x18]
push ecx
mov ebx, 0x22c
push esi
mov dword [esp + 0x20], ebx
call ebp
test eax, eax
je 0x42e9b6
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42e9a4
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x3c]
push edx
push ecx
call eax
lea edx, [esp + 0x18]
push edx
push esi
mov dword [esp + 0x20], ebx
call dword [esp + 0x18]
test eax, eax
jne 0x42e990
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
jmp 0x42e9cd
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [esp + 0x244]
pop esi
pop ebp
pop ebx
pop edi
xor ecx, esp
call fcn.004673e3
add esp, 0x238
ret 4
call fcn.0042e6b0
cmp eax, 2
jne 0x42e9ff
jmp 0x42e740
call fcn.0042e6b0
cmp eax, 1
jne 0x42ea0e
jmp 0x42e8f0
xor eax, eax
ret 4