Function at 0x5c1c60
Capabilities:
Enumerate process modules
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4b8
mov eax, dword [ecx]
mov dword [ebp - 0x40], edx
mov esi, ecx
cmp byte [eax], 0
jne 0x5c1c84
mov ecx, dword [esi + 4]
cmp dword [ecx], 0x64
ja 0x5c2103
mov ebx, dword [esi + 8]
mov edi, dword [esi + 0xc]
lea ecx, [ebp - 0xd]
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xe], 0
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0xe]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x38], edi
mov edi, dword [edx + 8]
mov dword [ebp - 0x64], ebx
lea edx, [ebp - 0x80]
lea ebx, [ebp - 0x40]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x60], ecx
xor ecx, ecx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x6c], edx
sub edi, 1
cmovb edi, ecx
cmp dword [0x6f116c], 0
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x7c], 0x6d5438
jne 0x5c20f2
mov eax, dword [0x6f1130]
test eax, eax
jne 0x5c1d1d
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x5c2191
mov dword [0x6f1130], eax
push 0x220
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
mov dword [ebp - 0x5c], eax
je 0x5c2191
mov eax, dword [0x6d6b64]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], 0
push 0
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
je 0x5c1f98
mov ebx, eax
lea eax, [ebp - 0x4c0]
push 0x424
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x4c4]
mov dword [ebp - 0x4c4], 0x428
push eax
push ebx
call sub.KERNEL32.dll_Module32FirstW
cmp eax, 1
jne 0x5c1f92
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], ebx
jmp 0x5c1e16
lea ecx, [ebp - 0x2c]
call fcn.005c2cb0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
lea eax, [edx + edx*8]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x34], ecx
lea eax, [eax + eax*2]
add eax, edx
inc edx
mov dword [ecx + eax], edi
mov edi, dword [ebp - 0x54]
mov dword [ebp - 0x30], edx
mov dword [ecx + eax + 4], edi
mov dword [ecx + eax + 8], esi
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
mov dword [ecx + eax + 0xc], esi
mov dword [ecx + eax + 0x10], 1
mov dword [ecx + eax + 0x14], 1
mov dword [ecx + eax + 0x18], edi
mov dword [ebp - 0x24], edx
nop word cs:[eax + eax]
lea eax, [ebp - 0x4c4]
push eax
push ebx
call sub.KERNEL32.dll_Module32NextW
cmp eax, 1
jne 0x5c1f92
mov ecx, 0x208
xor eax, eax
nop dword [eax]
cmp word [ebp + eax*2 - 0x2a4], 0
je 0x5c1e36
inc eax
add ecx, 0xfffffffe
jne 0x5c1e20
mov eax, 0x104
lea ecx, [ebp - 0x78]
lea edx, [ebp - 0x2a4]
push eax
call fcn.005c2940
add esp, 4
mov edi, dword [ebp - 0x78]
mov esi, dword [ebp - 0x70]
lea ecx, [ebp - 0x50]
mov edx, edi
push esi
call fcn.005c2ab0
add esp, 4
cmp dword [ebp - 0x50], 1
jne 0x5c1ee1
mov eax, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x48]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x44]
cmp eax, 0x40
jb 0x5c1ed0
test ebx, ebx
je 0x5c1ed0
movzx ecx, word [ebx]
cmp ecx, 0x5a4d
jne 0x5c1ed0
mov ecx, dword [ebx + 0x3c]
mov edx, eax
sub edx, ecx
jb 0x5c1ed0
cmp edx, 0x78
jb 0x5c1ed0
test ebx, ebx
je 0x5c1ed0
cmp dword [ebx + ecx], 0x4550
jne 0x5c1ed0
movzx edx, word [ebx + ecx + 0x18]
cmp edx, 0x10b
jne 0x5c1ed0
movzx edx, word [ebx + ecx + 0x14]
sub edx, 0x60
mov dword [ebp - 0x14], edx
mov edx, 0
sbb edx, edx
mov dword [ebp - 0x18], edx
jb 0x5c1ed0
cmp ecx, 0xffffff87
jbe 0x5c1efe
nop word cs:[eax + eax]
push ebx
call sub.KERNEL32.dll_UnmapViewOfFile
push dword [ebp - 0x3c]
call sub.KERNEL32.dll_CloseHandle
mov ebx, dword [ebp - 0x20]
cmp dword [ebp - 0x74], 0
je 0x5c1e00
push edi
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
jmp 0x5c1e00
lea edx, [ecx + 0x78]
sub eax, edx
mov edx, dword [ebp - 0x14]
setb byte [ebp - 0x1c]
cmp dword [ebp - 0x18], 0
jne 0x5c1ed0
cmp byte [ebp - 0x1c], 0
jne 0x5c1ed0
cmp edx, eax
ja 0x5c1ed0
mov eax, 8
mul dword [ebx + ecx + 0x74]
mov edx, dword [ebp - 0x14]
jo 0x5c1ed0
cmp edx, eax
jb 0x5c1ed0
mov eax, dword [ebx + ecx + 0x34]
mov ecx, 8
mov edx, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x4b0]
mov dword [ebp - 0x14], eax
call fcn.00404a50
test eax, eax
je 0x5c21a2
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x4ac]
mov dword [ebp - 0x1c], eax
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x54], eax
push ebx
call sub.KERNEL32.dll_UnmapViewOfFile
push dword [ebp - 0x3c]
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
sub dword [ebp - 0x14], eax
cmp edx, dword [ebp - 0x28]
je 0x5c1da7
mov ecx, dword [ebp - 0x34]
jmp 0x5c1db5
push ebx
call sub.KERNEL32.dll_CloseHandle
mov esi, dword [0x6f116c]
mov eax, dword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x2c]
test esi, esi
mov dword [ebp - 0x4bc], eax
movsd qword [ebp - 0x4c4], xmm0
je 0x5c20b7
mov eax, dword [0x6f1174]
test eax, eax
je 0x5c202c
lea ecx, [eax + eax*8]
lea edi, [ecx + ecx*2]
add edi, eax
add edi, esi
jmp 0x5c1fe7
add esi, 0x1c
cmp esi, edi
je 0x5c2026
cmp dword [esi + 4], 0
je 0x5c2001
mov eax, dword [esi]
test eax, eax
je 0x5c2001
push eax
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esi + 0x10]
test eax, eax
je 0x5c1fe0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x5c1fe0
and eax, 0x1fffffff
je 0x5c1fe0
push ecx
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
jmp 0x5c1fe0
mov esi, dword [0x6f116c]
mov eax, dword [0x6f1170]
test eax, eax
je 0x5c2051
test esi, esi
je 0x5c2051
lea ecx, [eax + eax*8]
lea ecx, [ecx + ecx*2]
add ecx, eax
je 0x5c2051
push esi
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [0x6f1180]
mov ecx, dword [0x6f1178]
mov edx, eax
shl edx, 7
lea esi, [edx + eax*8]
test esi, esi
je 0x5c208a
nop dword [eax + eax]
lea edi, [ecx + 0x88]
add ecx, 8
call fcn.005c2d50
add esi, 0xffffff78
mov ecx, edi
test esi, esi
jne 0x5c2070
mov ecx, dword [0x6f117c]
test ecx, ecx
je 0x5c20b7
mov eax, dword [0x6f1178]
test eax, eax
je 0x5c20b7
mov edx, ecx
shl edx, 7
lea ecx, [edx + ecx*8]
test ecx, ecx
je 0x5c20b7
push eax
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebp - 0x4bc]
movsd xmm0, qword [ebp - 0x4c4]
mov esi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x5c]
mov dword [0x6f1174], eax
movsd qword [0x6f116c], xmm0
mov dword [0x6f1178], ecx
mov dword [0x6f117c], 4
mov dword [0x6f1180], 0
lea ecx, [ebp - 0x68]
lea edx, [ebp - 0x6c]
call fcn.005c2e20
cmp byte [ebp - 0xe], 0
je 0x5c2107
xor eax, eax
jmp 0x5c2186
cmp byte [ebp - 0xd], 0
jne 0x5c2178
mov eax, dword [ebp - 0x64]
cmp byte [eax], 0
je 0x5c2178
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], 0
mov edx, dword [eax + 8]
mov dword [ebp - 0x4bc], 4
mov dword [ebp - 0x9c], 2
sub esp, 0x18
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0x50]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea eax, [ebp - 0x4c4]
mov dword [esp], eax
call fcn.005c21c0
add esp, 0x18
mov ecx, dword [ebp - 0x38]
mov byte [ecx], al
mov eax, dword [ebp - 0x50]
inc dword [eax + 4]
mov eax, dword [esi + 4]
inc dword [eax]
mov eax, dword [ebp - 0x38]
cmp byte [eax], 0
sete al
add esp, 0x4b8
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x220
mov edx, 8
call fcn.0040a640
ud2
mov ecx, 8
mov edx, 4
call fcn.0040a640
ud2