Function at 0x41f7d9
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x538
mov eax, dword [0x47bbb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push eax
push 8
mov dword [ebp - 0x538], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x534], ebx
cmp ebx, 0xffffffff
jne 0x41f817
xor eax, eax
jmp 0x41fc0a
lea eax, [ebp - 0x530]
mov dword [ebp - 0x530], 0x428
push eax
push ebx
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x41f810
push 7
pop edi
xor eax, eax
mov dword [ebp - 0x64], edi
mov word [ebp - 0x78], ax
xor ebx, ebx
mov word [ebp - 0xa8], ax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x68], ebx
push eax
lea eax, [ebp - 0x310]
mov dword [ebp - 0x94], edi
push eax
mov dword [ebp - 0x98], ebx
call fcn.0041ba35
push 0x42
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.00439ae0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.00431b33
xor eax, eax
mov dword [ebp - 0x7c], edi
add esp, 0x20
mov word [ebp - 0x90], ax
lea eax, [ebp - 0x310]
mov dword [ebp - 0x80], ebx
lea ecx, [ebp - 0x60]
push eax
call fcn.00405d80
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00432611
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x60]
call fcn.004046c0
xor eax, eax
mov dword [ebp - 0xc4], edi
cmp dword [ebp - 0x7c], 8
lea edx, [ebp - 0x90]
mov word [ebp - 0xd8], ax
lea ecx, [ebp - 0xa8]
cmovae edx, dword [ebp - 0x90]
lea eax, [ebp - 0x78]
cmp dword [ebp - 0x94], 8
push edx
cmovae ecx, dword [ebp - 0xa8]
lea edx, [ebp - 0x48]
cmp dword [ebp - 0x64], 8
push edx
cmovae eax, dword [ebp - 0x78]
push ecx
push eax
lea eax, [ebp - 0x310]
mov dword [ebp - 0xc8], ebx
push eax
push dword [ebp - 0x518]
lea eax, [ebp - 0x60]
push dword [ebp - 0x51c]
push str.__08X__06X___ls___ls__ls__ls__ls__r_n
push eax
call fcn.004045f0
add esp, 0x24
lea ecx, [ebp - 0xd8]
push eax
call fcn.00408b60
push ebx
push 1
lea ecx, [ebp - 0x60]
call fcn.004046c0
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0xd8]
mov ecx, esi
push eax
call fcn.00405030
lea eax, [ebp - 0x510]
push eax
lea ecx, [ebp - 0x60]
call fcn.00405d80
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00407350
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x41f988
mov eax, dword [eax]
push ecx
push ecx
mov esi, esp
mov dword [esi], eax
test eax, eax
jne 0x41f996
mov eax, ebx
jmp 0x41f99d
push eax
call fcn.00401310
pop ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0xf0]
push 0x47b048
push eax
call fcn.00407350
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x41f9bb
mov eax, dword [eax]
push ecx
push ecx
mov esi, esp
mov dword [esi], eax
test eax, eax
jne 0x41f9c9
mov eax, ebx
jmp 0x41f9d0
push eax
call fcn.00401310
pop ecx
mov dword [esi + 4], eax
call fcn.00407de0
add esp, 0x10
lea ecx, [ebp - 0xf0]
test eax, eax
sete bl
xor esi, esi
push esi
push 1
call fcn.00402710
push esi
push 1
lea ecx, [ebp - 0x108]
call fcn.00402710
push esi
push 1
lea ecx, [ebp - 0x60]
call fcn.004046c0
test bl, bl
je 0x41fba7
xor bl, bl
xor edi, edi
push dword [edi + section..data]
lea ecx, [ebp - 0x60]
call fcn.00405d80
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.00407350
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x41fa3d
mov eax, dword [eax]
push ecx
push ecx
mov esi, esp
mov dword [esi], eax
test eax, eax
je 0x41fa4e
push eax
call fcn.00401310
pop ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x108]
push 0x47b048
push eax
call fcn.00407350
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x41fa6c
mov eax, dword [eax]
push ecx
push ecx
mov esi, esp
mov dword [esi], eax
test eax, eax
je 0x41fa7d
push eax
call fcn.00401310
pop ecx
mov dword [esi + 4], eax
call fcn.00407de0
add esp, 0x10
lea ecx, [ebp - 0x108]
mov esi, eax
push 0
push 1
call fcn.00402710
push 0
push 1
lea ecx, [ebp - 0xf0]
call fcn.00402710
push 0
push 1
lea ecx, [ebp - 0x60]
call fcn.004046c0
test esi, esi
jne 0x41fb74
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0x60]
call fcn.00405d80
mov esi, 0x474e1c
push esi
call fcn.00405140
pop ecx
push eax
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x60]
call fcn.00408720
mov esi, eax
cmp esi, 0xffffffff
je 0x41fb82
push 0x474e1c
call fcn.00405140
pop ecx
push eax
lea ecx, [esi - 1]
push ecx
push 0x474e1c
lea ecx, [ebp - 0x60]
call fcn.00408720
cmp eax, 0xffffffff
je 0x41fb82
cmp eax, esi
je 0x41fb82
and dword [ebp - 0xb0], 0
xor ecx, ecx
sub esi, eax
mov word [ebp - 0xc0], cx
dec esi
mov dword [ebp - 0xac], 7
push esi
inc eax
lea ecx, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00406080
push 0xffffffffffffffff
xor esi, esi
lea eax, [ebp - 0xc0]
push esi
push eax
mov ecx, 0x47b060
call fcn.00406080
push esi
push 1
lea ecx, [ebp - 0xc0]
mov bl, 1
call fcn.004046c0
push esi
push 1
lea ecx, [ebp - 0x60]
call fcn.004046c0
add edi, 4
cmp edi, 0x18
jb 0x41fa15
jmp 0x41fb8e
push 0
push 1
lea ecx, [ebp - 0x60]
call fcn.004046c0
test bl, bl
jne 0x41fba4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x78]
mov ecx, 0x47b060
push eax
call fcn.00406080
push 7
pop edi
xor ebx, ebx
lea ecx, [ebp - 0xd8]
push 0
inc ebx
push ebx
call fcn.004046c0
push 0
push ebx
lea ecx, [ebp - 0x90]
call fcn.004046c0
push 0
push ebx
lea ecx, [ebp - 0xa8]
call fcn.004046c0
push 0
push ebx
lea ecx, [ebp - 0x78]
call fcn.004046c0
mov ebx, dword [ebp - 0x534]
lea ecx, [ebp - 0x530]
push ecx
push ebx
call sub.KERNEL32.dll_Module32NextW
mov esi, dword [ebp - 0x538]
test eax, eax
jne 0x41f835
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043834d
mov esp, ebp
pop ebp
ret