Function at 0x5c4fd0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68af84
mov eax, dword fs:[0]
push eax
mov eax, 0x183c
call fcn.0065cc50
mov eax, dword [0x745694]
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 0x5c5114
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1810]
push eax
call fcn.005c07e0
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, 0x7450c8
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 0x5c50d7
mov ecx, dword [ebp - 0x17f8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c50cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c53d5
push edx
push ecx
call fcn.0065cc27
add esp, 8
mov edx, dword [ebp - 0x17fc]
cmp edx, 0x10
jb 0x5c53b8
mov ecx, dword [ebp - 0x1810]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c53ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c53d5
jmp 0x5c53ae
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 0x5c52aa
nop word [eax + eax]
mov eax, dword [ebp + edi*4 - 0x17e0]
cmp ecx, eax
je 0x5c5297
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 0x5c5291
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.005be600
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 0x5c520e
sub edi, esi
nop dword [eax + eax]
movsx eax, byte [esi]
push eax
call fcn.00667f53
mov byte [edi + esi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x1848]
jne 0x5c51f0
mov edx, dword [ebp - 0x17e4]
mov esi, dword [ebp - 0x183c]
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x5c521e
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 0x5c52bf
push dword [ebp - 0x1838]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x17e4]
cmp edx, 0x10
jb 0x5c528b
mov ecx, dword [ebp - 0x17f8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c5281
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c53d5
push edx
push ecx
call fcn.0065cc27
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 0x5c5150
mov ecx, dword [esi + 0x10]
mov eax, accept
sub eax, ecx
cmp eax, 8
jb 0x5c53da
jmp 0x5c52d5
lea ecx, [ebp - 0x17f8]
call fcn.00448860
mov eax, dword [ebp - 0x1838]
jmp 0x5c53ba
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x5c52df
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.005b3710
push 0xa
push str._not_found
lea ecx, [ebp - 0x1828]
mov dword [ebp - 4], 1
call fcn.004485a0
mov ecx, 0x7450c8
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 0x5c5382
mov ecx, dword [ebp - 0x17f8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c5378
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c53df
push edx
push ecx
call fcn.0065cc27
add esp, 8
mov edx, dword [ebp - 0x1814]
cmp edx, 0x10
jb 0x5c53b8
mov ecx, dword [ebp - 0x1828]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c53ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c53df
push edx
push ecx
call fcn.0065cc27
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.0065cc3a
mov esp, ebp
pop ebp
ret
call fcn.0066375b
call fcn.00446f60
call fcn.0066375b
int3