Function at 0x42ed00
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x220
mov eax, dword [0x4bb190]
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.00467850
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 0x42eaad
xor eax, eax
jmp 0x42ebe2
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 0x42ebd7
cmp ebx, esi
je 0x42ebd7
cmp eax, esi
je 0x42ebd7
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, 0x400
test esi, esi
je 0x42eb14
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 0x42ebbd
lea eax, [esp + 0x10]
push eax
push edi
push esi
call dword [esp + 0x24]
test eax, eax
je 0x42ebc4
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x42eb02
shr eax, 2
xor ebx, ebx
mov dword [esp + 0x10], eax
test eax, eax
jbe 0x42eb9f
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 0x42eb85
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 0x42eb98
mov edx, dword [esi + ebx*4]
lea ecx, [esp + 0x24]
push ecx
push edx
call eax
inc ebx
cmp ebx, dword [esp + 0x10]
jb 0x42eb50
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 0x42ebe0
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x42ebd8
push esi
push 0
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [esp + 0x14]
push edx
jmp 0x42ebd8
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.004677ab
add esp, 0x220
ret 4
sub esp, 0x238
mov eax, dword [0x4bb190]
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 0x42ec49
pop edi
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.004677ab
add esp, 0x238
ret 4
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x49e838
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 0x42ecd4
test ebp, ebp
je 0x42ecd4
test eax, eax
je 0x42ecd4
push 0
push 2
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x42ecdb
lea ecx, [esp + 0x18]
push ecx
mov ebx, 0x22c
push esi
mov dword [esp + 0x20], ebx
call ebp
test eax, eax
je 0x42ecc6
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42ecb4
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 0x42eca0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
jmp 0x42ecdd
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.004677ab
add esp, 0x238
ret 4
call fcn.0042e9c0
cmp eax, 2
jne 0x42ed0f
jmp 0x42ea50
call fcn.0042e9c0
cmp eax, 1
jne 0x42ed1e
jmp 0x42ec00
xor eax, eax
ret 4