Function at 0x44fbb0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cc562
mov eax, dword fs:[0]
push eax
sub esp, 0x5c4
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5cc], eax
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
cmp esi, edi
je 0x44fc15
lea ecx, [esi + 0x70]
call fcn.00419a70
lea ecx, [esi + 0x10]
call fcn.00419a70
add esi, 0xd0
cmp esi, edi
jne 0x44fbf3
mov esi, dword [ebx]
mov eax, dword [ebp - 0x5cc]
push eax
push 8
mov dword [ebx + 4], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x5cc], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x44fe1a
cmp esi, 0xffffffff
je 0x44fe08
lea eax, [ebp - 0x5c8]
mov dword [ebp - 0x5c8], 0x428
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x44fe04
nop
lea ecx, [ebp - 0xd0]
call fcn.00489610
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.00489610
mov eax, dword [ebp - 0x5c0]
lea ecx, [ebp - 0x140]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x5b4]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x5b0]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x5ac]
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0x5a8]
push eax
mov byte [ebp - 4], 2
call fcn.00489430
cmp dword [ebp - 0xbc], 0x10
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xc0], 0
lea ecx, [ebp - 0xd0]
cmovae eax, dword [ebp - 0xd0]
mov byte [ebp - 4], 3
mov byte [eax], 0
lea eax, [ebp - 0x140]
push eax
call fcn.00489ba0
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 2
call fcn.00419a70
lea eax, [ebp - 0x3a8]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.00489430
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
mov byte [ebp - 4], 4
mov byte [eax], 0
lea eax, [ebp - 0x1a0]
push eax
call fcn.00489ba0
lea ecx, [ebp - 0x1a0]
call fcn.00419a70
mov edi, dword [ebx + 4]
mov byte [ebp - 4], 5
cmp edi, dword [ebx + 8]
je 0x44fda5
mov eax, dword [ebp - 0xe0]
lea ecx, [edi + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0xdc]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0xd8]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xd4]
mov dword [edi + 0xc], eax
lea eax, [ebp - 0xd0]
push eax
mov dword [ebp - 0x5d0], edi
call fcn.00489120
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x70]
call fcn.00489120
add dword [ebx + 4], 0xd0
jmp 0x44fdb4
lea eax, [ebp - 0xe0]
mov ecx, ebx
push eax
push edi
call fcn.0044f570
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0
call fcn.00419a70
lea ecx, [ebp - 0xd0]
call fcn.00419a70
lea eax, [ebp - 0x5c8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x44fc60
mov ecx, dword [ebx + 4]
mov eax, 0x4ec4ec4f
sub ecx, dword [ebx]
imul ecx
push esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
setne bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
jmp 0x44fe1c
test esi, esi
je 0x44fe1a
xor bl, bl
cmp esi, 0xffffffff
je 0x44fe1a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
jmp 0x44fe1c
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret