Function at 0x5c9e60
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6922dc
mov eax, dword fs:[0]
push eax
mov eax, 0x183c
call fcn.00663af0
mov eax, dword [0x74e694]
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 0x5c9fa4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1810]
push eax
call fcn.005c5710
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, 0x74e0c8
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 0x5c9f67
mov ecx, dword [ebp - 0x17f8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c9f5d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ca265
push edx
push ecx
call fcn.00663ac7
add esp, 8
mov edx, dword [ebp - 0x17fc]
cmp edx, 0x10
jb 0x5ca248
mov ecx, dword [ebp - 0x1810]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5ca23e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ca265
jmp 0x5ca23e
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 0x5ca13a
nop word [eax + eax]
mov eax, dword [ebp + edi*4 - 0x17e0]
cmp ecx, eax
je 0x5ca127
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 0x5ca121
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.005c3530
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 0x5ca09e
sub edi, esi
nop dword [eax + eax]
movsx eax, byte [esi]
push eax
call fcn.0066edfe
mov byte [edi + esi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x1848]
jne 0x5ca080
mov edx, dword [ebp - 0x17e4]
mov esi, dword [ebp - 0x183c]
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x5ca0ae
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.005ad650
add esp, 0x10
test al, al
jne 0x5ca14f
push dword [ebp - 0x1838]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x17e4]
cmp edx, 0x10
jb 0x5ca11b
mov ecx, dword [ebp - 0x17f8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5ca111
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ca265
push edx
push ecx
call fcn.00663ac7
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 0x5c9fe0
mov ecx, dword [esi + 0x10]
mov eax, accept
sub eax, ecx
cmp eax, 8
jb 0x5ca26a
jmp 0x5ca165
lea ecx, [ebp - 0x17f8]
call fcn.00448860
mov eax, dword [ebp - 0x1838]
jmp 0x5ca24a
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x5ca16f
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.005b5360
push 0xa
push str._not_found
lea ecx, [ebp - 0x1828]
mov dword [ebp - 4], 1
call fcn.004485a0
mov ecx, 0x74e0c8
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 0x5ca212
mov ecx, dword [ebp - 0x17f8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5ca208
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ca26f
push edx
push ecx
call fcn.00663ac7
add esp, 8
mov edx, dword [ebp - 0x1814]
cmp edx, 0x10
jb 0x5ca248
mov ecx, dword [ebp - 0x1828]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5ca23e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ca26f
push edx
push ecx
call fcn.00663ac7
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.00663ada
mov esp, ebp
pop ebp
ret
call fcn.0066a5fb
call fcn.00446f60
call fcn.0066a5fb
int3