Function at 0x402e00
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c7b5c
mov eax, dword fs:[0]
push eax
mov eax, 0x1838
call fcn.00426920
mov eax, dword [0x64a3a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1834], ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1844]
push eax
push 0x1000
lea eax, [ebp - 0x17e0]
mov dword [ebp - 0x1838], ecx
push eax
call sub.PSAPI.DLL_EnumProcesses
mov edx, dword [ebp - 0x1844]
xor ecx, ecx
shr edx, 2
xor eax, eax
xor edi, edi
mov dword [ebp - 0x1840], edx
mov dword [ebp - 0x182c], ecx
mov dword [ebp - 0x1830], ecx
mov dword [ebp - 0x183c], eax
test edx, edx
je 0x40322f
nop dword [eax + eax]
push dword [ebp + eax*4 - 0x17e0]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x4031fe
push 0x7d0
lea eax, [ebp - 0x7e0]
push 0
push eax
call fcn.00492210
add esp, 0xc
lea eax, [ebp - 0x7e0]
xor esi, esi
push 0x7d0
push eax
push esi
push ebx
call sub.PSAPI.DLL_GetModuleFileNameExW
lea ecx, [ebp - 0x7e0]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402ee2
sub ecx, edx
sar ecx, 1
jne 0x402f3c
test edi, edi
jne 0x402f08
push str.psapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x402f3c
mov eax, dword [ebp - 0x1830]
test eax, eax
jne 0x402f28
push 0x5d9bd8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1830], eax
test eax, eax
je 0x402f3c
push 0x104
lea ecx, [ebp - 0x7e0]
push ecx
push ebx
call eax
mov esi, 1
lea ecx, [ebp - 0x7e0]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402f45
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x4031fe
lea eax, [ebp - 0x7e0]
push eax
call fcn.00495188
mov ecx, dword [ebp - 0x1834]
lea eax, [ebp - 0x7e0]
add esp, 4
push eax
call fcn.00402bc0
test al, al
je 0x4031fe
xor eax, eax
mov dword [ebp - 0x182c], 1
mov dword [ebp - 0x17fc], 7
mov dword [ebp - 0x1800], 0
mov word [ebp - 0x1810], ax
cmp word [ebp - 0x7e0], ax
jne 0x402fb9
xor ecx, ecx
jmp 0x402fd1
lea ecx, [ebp - 0x7e0]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402fc2
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x7e0]
push eax
lea ecx, [ebp - 0x1810]
call fcn.00404c10
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x5d98a0
lea ecx, [ebp - 0x17f8]
mov dword [ebp - 0x17e4], 7
mov dword [ebp - 0x17e8], 0
mov word [ebp - 0x17f8], ax
call fcn.00404c10
mov byte [ebp - 4], 1
test esi, esi
je 0x403134
mov ecx, dword [ebp - 0x1834]
lea eax, [ebp - 0x7e0]
push eax
lea eax, [ebp - 0x1828]
push eax
call fcn.00404e20
mov esi, eax
lea eax, [ebp - 0x17f8]
cmp eax, esi
je 0x403091
mov eax, dword [ebp - 0x17e4]
cmp eax, 8
jb 0x403068
inc eax
lea ecx, [ebp - 0x17f8]
push eax
push dword [ebp - 0x17f8]
call fcn.00404d60
xor eax, eax
mov dword [ebp - 0x17e4], 7
push esi
lea ecx, [ebp - 0x17f8]
mov dword [ebp - 0x17e8], 0
mov word [ebp - 0x17f8], ax
call fcn.00403e20
mov eax, dword [ebp - 0x1814]
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x4030b3
inc eax
lea ecx, [ebp - 0x1828]
push eax
push dword [ebp - 0x1828]
call fcn.00404d60
cmp dword [ebp - 0x17e4], 8
lea eax, [ebp - 0x17f8]
push 0
cmovae eax, dword [ebp - 0x17f8]
push 0x5d98a0
push dword [ebp - 0x17e8]
push eax
call fcn.004044e0
add esp, 0x10
test eax, eax
jne 0x40314a
cmp word [ebp - 0x7e0], ax
jne 0x403101
xor ecx, ecx
lea eax, [ebp - 0x7e0]
push ecx
push eax
lea ecx, [ebp - 0x17f8]
call fcn.00404c10
jmp 0x40314a
lea ecx, [ebp - 0x7e0]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403110
sub ecx, edx
lea eax, [ebp - 0x7e0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x17f8]
call fcn.00404c10
jmp 0x40314a
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1810]
push eax
lea ecx, [ebp - 0x17f8]
call fcn.00404af0
mov eax, dword [ebp - 0x1838]
lea ecx, [ebp - 0x17f8]
push dword [ebp - 0x1840]
push ecx
mov esi, dword [eax + 4]
push esi
push dword [eax]
call fcn.00401e70
add esp, 0x10
cmp eax, esi
jne 0x403181
mov ecx, dword [ebp - 0x1838]
lea eax, [ebp - 0x17f8]
push eax
call fcn.00405270
mov eax, dword [ebp - 0x17e4]
cmp eax, 8
jb 0x40319f
inc eax
lea ecx, [ebp - 0x17f8]
push eax
push dword [ebp - 0x17f8]
call fcn.00404d60
xor eax, eax
mov dword [ebp - 0x17e4], 7
mov word [ebp - 0x17f8], ax
mov eax, dword [ebp - 0x17fc]
mov dword [ebp - 0x17e8], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x4031e1
inc eax
lea ecx, [ebp - 0x1810]
push eax
push dword [ebp - 0x1810]
call fcn.00404d60
xor eax, eax
mov dword [ebp - 0x17fc], 7
mov dword [ebp - 0x1800], 0
mov word [ebp - 0x1810], ax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x183c]
inc eax
mov dword [ebp - 0x183c], eax
cmp eax, dword [ebp - 0x1840]
jb 0x402e90
test edi, edi
je 0x403229
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x182c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00426902
mov esp, ebp
pop ebp
ret 4