Function at 0x486990
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7858
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push esi
mov dword [ebp - 0x20], 0x400
push 0x5c099e
xor ecx, ecx
mov eax, dword [ebp - 0x20]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00575a24
add esp, 8
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4869ed
xor al, al
jmp 0x486d22
mov ecx, dword [ebp - 0x20]
shl ecx, 2
mov dword [ebp - 0x18], ecx
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
jne 0x486a12
xor al, al
jmp 0x486d22
mov byte [ebp - 0xd], 1
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x18]
jne 0x486ae1
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x486ae1
mov ecx, dword [ebp - 0x18]
shl ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.005759ca
add esp, 4
push 0x5c099e
xor ecx, ecx
mov eax, dword [ebp - 0x18]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00575a24
add esp, 8
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x486ac0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
push edx
call fcn.005759ca
add esp, 4
mov eax, dword [ebp - 0x18]
shr eax, 1
mov dword [ebp - 0x18], eax
push 0x5c099e
xor ecx, ecx
mov eax, dword [ebp - 0x18]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00575a24
add esp, 8
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
jne 0x486adc
xor al, al
jmp 0x486d22
jmp 0x486a16
mov ecx, dword [ebp - 0x2c]
shr ecx, 2
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], 0
jmp 0x486afc
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
jge 0x486d0e
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x486d09
lea ecx, [ebp - 0x1c]
call fcn.00414590
mov dword [ebp - 4], 0
mov dword [ebp - 0x58], 0x104
lea edx, [ebp - 0x58]
push edx
push 1
push 0x104
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x94]
call fcn.004863f0
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
call fcn.0042a410
push eax
push 0
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
lea ecx, [ebp - 0x94]
call fcn.004865b0
lea ecx, [ebp - 0x1c]
call fcn.0041afa0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00414480
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00414590
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00414590
mov byte [ebp - 4], 3
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00486ee0
add esp, 0xc
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x28]
call fcn.00414340
mov byte [ebp - 4], 4
push ecx
mov esi, esp
mov dword [ebp - 0x78], esp
lea ecx, [ebp - 0x28]
call fcn.00422a80
push eax
mov ecx, esi
call fcn.00414340
call fcn.0046eee0
add esp, 4
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
push eax
push 0x5b6128
lea ecx, [ebp - 0x28]
push ecx
call fcn.00422330
add esp, 0xc
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0xac]
call fcn.004864f0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x7c]
push edx
mov ecx, dword [ebp + 8]
call fcn.0042fc40
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0042aea0
mov edx, dword [eax]
mov dword [ebp - 0x68], edx
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x68]
push edx
lea eax, [ebp - 0x84]
push eax
call fcn.00486380
add esp, 0x10
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0042fc40
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
push edx
mov ecx, dword [ebp - 0x70]
call fcn.0041aa90
movzx eax, al
test eax, eax
je 0x486cb1
lea ecx, [ebp - 0xac]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00487460
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xac]
call fcn.00419cc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004185a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.004185a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004185a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004185a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004185a0
jmp 0x486af3
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.005759ca
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret