Function at 0x42e140
Capabilities:
Enumerate process modules
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x48e22f
mov eax, dword fs:[0]
push eax
mov eax, 0x184c
call fcn.004754c0
mov eax, dword [0x4b1ae0]
xor eax, esp
mov dword [esp + 0x1848], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x1860]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1870]
lea eax, [esp + 0x14]
push eax
push 0x1000
lea ecx, [esp + 0x78]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x42e22c
lea edx, [esp + 0x54]
push edx
call fcn.004316e0
push eax
lea eax, [esp + 0x1078]
push str.EnumProcesses_error:
xor edi, edi
push eax
mov dword [esp + 0x1878], edi
call fcn.0040bcc0
add esp, 0x10
push 0xffffffffffffffff
push edi
push eax
mov ecx, 0x4b0810
mov byte [esp + 0x1874], 1
call fcn.0040b380
mov esi, 0x10
cmp dword [esp + 0x1088], esi
jb 0x42e1ff
mov ecx, dword [esp + 0x1074]
push ecx
call fcn.00473948
add esp, 4
mov dword [esp + 0x1088], 0xf
mov dword [esp + 0x1084], edi
mov byte [esp + 0x1074], 0
cmp dword [esp + 0x6c], esi
jb 0x42e3a5
mov edx, dword [esp + 0x58]
jmp 0x42e39c
mov ebp, dword [esp + 0x14]
shr ebp, 2
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
xor ebx, ebx
mov dword [esp + 0x18], eax
test ebp, ebp
jbe 0x42e320
mov eax, dword [esp + ebx*4 + 0x70]
cmp dword [esp + 0x18], eax
je 0x42e317
push eax
mov eax, dword [esp + 0x1878]
push 0
or eax, 0x410
push eax
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x42e317
push 0x3e8
lea ecx, [esp + 0x1090]
push ecx
push 0
push esi
call sub.PSAPI.DLL_GetModuleBaseNameW
lea edx, [esp + 0x108c]
push edx
lea eax, [esp + 0x1074]
push eax
call fcn.0042a950
lea ecx, [esp + 0x1078]
push ecx
mov dword [esp + 0x1874], 2
call fcn.0042a5f0
mov eax, dword [edi + 0x14]
add esp, 0xc
cmp dword [edi + 0x18], 0x10
jb 0x42e2c8
mov ecx, dword [edi + 4]
jmp 0x42e2cb
lea ecx, [edi + 4]
mov edx, dword [esp + 0x1084]
push eax
push ecx
push edx
push 0
lea ecx, [esp + 0x1080]
call fcn.0040a190
test eax, eax
je 0x42e3cf
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esp + 0x1088], 0x10
mov dword [esp + 0x1868], 0xffffffff
jb 0x42e317
mov eax, dword [esp + 0x1074]
push eax
call fcn.00473948
add esp, 4
inc ebx
cmp ebx, ebp
jb 0x42e247
push edi
lea edx, [esp + 0x3c]
push str.Process
push edx
call fcn.0040bcc0
push str._not_found
push eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x1880], 3
call fcn.0040bd80
add esp, 0x18
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x4b0810
mov byte [esp + 0x1874], 4
call fcn.0040b380
mov esi, 0x10
cmp dword [esp + 0x34], esi
jb 0x42e37d
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00473948
add esp, 4
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
cmp dword [esp + 0x50], esi
jb 0x42e3a5
mov edx, dword [esp + 0x3c]
push edx
call fcn.00473948
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1860]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1848]
xor ecx, esp
call fcn.00474468
add esp, 0x1858
ret
cmp dword [esp + 0x1088], 0x10
jb 0x42e3e9
mov ecx, dword [esp + 0x1074]
push ecx
call fcn.00473948
add esp, 4
mov eax, esi
jmp 0x42e3a7