Function at 0x470c00
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x617a4d
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x69bd40]
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 eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x258], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x25c], esi
cmp esi, 0xffffffff
je 0x470ec5
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.004f7740
push 0x220
lea eax, [ebp - 0x248]
push 0
push eax
call fcn.005dba00
add esp, 0x10
mov dword [ebp - 0x24c], 0x224
lea eax, [ebp - 0x24c]
push eax
push esi
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x470d02
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.00471050
add esp, 8
test eax, eax
jne 0x470d40
push 0x220
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.005dba00
add esp, 0xc
mov dword [ebp - 0x24c], 0x224
lea eax, [ebp - 0x24c]
push eax
push esi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x470cb3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x470ec5
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x470ebb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470ee3
jmp 0x470ebb
lea esi, [ebp - 0x12c]
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x470d50
sub esi, ecx
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x254], ecx
cmp esi, ecx
ja 0x470d8c
mov edi, ebx
cmp ecx, 0x10
jb 0x470d6f
mov edi, dword [ebx]
push esi
lea eax, [ebp - 0x12c]
mov dword [ebx + 0x10], esi
push eax
push edi
call fcn.005db1f0
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x470e6d
cmp esi, 0x7fffffff
ja 0x470ee8
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x470dba
mov eax, connect
mov edi, closesocket
push eax
call fcn.0043c2b0
add esp, 4
jmp 0x470e0c
mov edx, ecx
mov eax, closesocket
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x470dde
mov eax, connect
mov edi, closesocket
push eax
call fcn.0043c2b0
add esp, 4
jmp 0x470e0c
lea eax, [edx + ecx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x470dfb
push eax
call fcn.0043c2b0
add esp, 4
jmp 0x470e0c
test eax, eax
je 0x470e0a
push eax
call fcn.0059df22
add esp, 4
jmp 0x470e0c
xor eax, eax
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x12c]
push esi
mov dword [ebx + 0x14], edi
mov edi, dword [ebp - 0x250]
push eax
push edi
mov dword [ebx + 0x10], esi
call fcn.005db1f0
mov eax, dword [ebp - 0x254]
add esp, 0xc
mov byte [edi + esi], 0
cmp eax, 0x10
jb 0x470e6b
lea ecx, [eax + 1]
mov eax, dword [ebx]
cmp ecx, 0x1000
jb 0x470e61
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470ee3
mov eax, edx
push ecx
push eax
call fcn.0059df52
add esp, 8
mov dword [ebx], edi
mov ecx, dword [ebp - 0x258]
mov eax, dword [ebp - 0x238]
push dword [ebp - 0x25c]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x470eb7
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x470ead
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470ee3
push edx
push ecx
call fcn.0059df52
add esp, 8
mov al, 1
jmp 0x470ec7
push edx
push ecx
call fcn.0059df52
add esp, 8
xor al, al
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.0059df60
mov esp, ebp
pop ebp
ret
call fcn.005e5408
call fcn.00456a40
int3