Function at 0x5c5360
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68b4f4
mov eax, dword fs:[0]
push eax
mov eax, 0x183c
call fcn.0065d180
mov eax, dword [0x746694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1844], eax
lea eax, [ebp - 0x1840]
push eax
push 0x1000
lea eax, [ebp - 0x17e0]
mov dword [ebp - 0x183c], esi
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x5c54a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1810]
push eax
call fcn.005c0b70
add esp, 8
push 0x15
push str.EnumProcesses_error:
push 0
lea ecx, [ebp - 0x1810]
mov dword [ebp - 4], 0
call fcn.005a5ba0
mov ecx, 0x7460c8
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x17f8], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x17f8]
push eax
movq qword [ebp - 0x17e8], xmm0
call fcn.005a3660
mov edx, dword [ebp - 0x17e4]
cmp edx, 0x10
jb 0x5c5467
mov ecx, dword [ebp - 0x17f8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c545d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c5765
push edx
push ecx
call fcn.0065d157
add esp, 8
mov edx, dword [ebp - 0x17fc]
cmp edx, 0x10
jb 0x5c5748
mov ecx, dword [ebp - 0x1810]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c573e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c5765
jmp 0x5c573e
mov eax, dword [ebp - 0x1840]
shr eax, 2
mov dword [ebp - 0x1834], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edi, edi
mov ecx, eax
mov dword [ebp - 0x182c], ecx
mov dword [ebp - 0x1830], edi
cmp dword [ebp - 0x1834], edi
jbe 0x5c563a
nop word [eax + eax]
mov eax, dword [ebp + edi*4 - 0x17e0]
cmp ecx, eax
je 0x5c5627
push eax
mov eax, dword [ebp - 0x1844]
push 0
or eax, 0x410
push eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1838], eax
test eax, eax
je 0x5c5621
push 0x3e8
lea ecx, [ebp - 0x7e0]
push ecx
push 0
push eax
call sub.PSAPI.DLL_GetModuleBaseNameW
lea eax, [ebp - 0x7e0]
push eax
lea eax, [ebp - 0x17f8]
push eax
call fcn.005be990
mov edx, dword [ebp - 0x17e4]
lea eax, [ebp - 0x17f8]
mov ecx, dword [ebp - 0x17f8]
lea edi, [ebp - 0x17f8]
add esp, 8
lea esi, [ebp - 0x17f8]
cmp edx, 0x10
cmovae eax, ecx
cmovae edi, ecx
add eax, dword [ebp - 0x17e8]
cmp edx, 0x10
mov dword [ebp - 0x1848], eax
cmovae esi, ecx
cmp esi, eax
je 0x5c559e
sub edi, esi
nop dword [eax + eax]
movsx eax, byte [esi]
push eax
call fcn.00668483
mov byte [edi + esi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x1848]
jne 0x5c5580
mov edx, dword [ebp - 0x17e4]
mov esi, dword [ebp - 0x183c]
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x5c55ae
mov ecx, dword [esi]
push dword [esi + 0x10]
cmp edx, 0x10
lea eax, [ebp - 0x17f8]
push ecx
cmovae eax, dword [ebp - 0x17f8]
push dword [ebp - 0x17e8]
push eax
call fcn.005abda0
add esp, 0x10
test al, al
jne 0x5c564f
push dword [ebp - 0x1838]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x17e4]
cmp edx, 0x10
jb 0x5c561b
mov ecx, dword [ebp - 0x17f8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c5611
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c5765
push edx
push ecx
call fcn.0065d157
add esp, 8
mov edi, dword [ebp - 0x1830]
mov ecx, dword [ebp - 0x182c]
inc edi
mov dword [ebp - 0x1830], edi
cmp edi, dword [ebp - 0x1834]
jb 0x5c54e0
mov ecx, dword [esi + 0x10]
mov eax, accept
sub eax, ecx
cmp eax, 8
jb 0x5c576a
jmp 0x5c5665
lea ecx, [ebp - 0x17f8]
call fcn.00448860
mov eax, dword [ebp - 0x1838]
jmp 0x5c574a
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x5c566f
mov eax, dword [esi]
push ecx
push eax
push 8
push str.Process
push esi
push dword [ebp - 0x183c]
lea ecx, [ebp - 0x1828]
call fcn.005b3730
push 0xa
push str._not_found
lea ecx, [ebp - 0x1828]
mov dword [ebp - 4], 1
call fcn.004485a0
mov ecx, 0x7460c8
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x17f8], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x17f8]
push eax
movq qword [ebp - 0x17e8], xmm0
call fcn.005a3660
mov edx, dword [ebp - 0x17e4]
cmp edx, 0x10
jb 0x5c5712
mov ecx, dword [ebp - 0x17f8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c5708
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c576f
push edx
push ecx
call fcn.0065d157
add esp, 8
mov edx, dword [ebp - 0x1814]
cmp edx, 0x10
jb 0x5c5748
mov ecx, dword [ebp - 0x1828]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c573e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c576f
push edx
push ecx
call fcn.0065d157
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret
call fcn.00663c8b
call fcn.00446f60
call fcn.00663c8b
int3