Function at 0x403a0c
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x544
mov eax, dword [0x466750]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ecx
mov esi, edx
push 8
mov dword [ebp - 0x544], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x540], ebx
cmp ebx, 0xffffffff
jne 0x403a47
xor eax, eax
jmp 0x403dd1
lea eax, [ebp - 0x538]
mov dword [ebp - 0x538], 0x428
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x403a40
push 7
pop edi
xor eax, eax
mov dword [ebp - 0x6c], edi
mov word [ebp - 0x80], ax
lea edx, [ebp - 0x80]
mov word [ebp - 0x98], ax
lea ecx, [ebp - 0x318]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x84], edi
xor ebx, ebx
push eax
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x88], ebx
call fcn.00401eb1
pop ecx
xor eax, eax
push 0x40
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x4e]
push ebx
push eax
call fcn.00435540
add esp, 0xc
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x318]
call fcn.00418951
xor eax, eax
mov dword [ebp - 0x9c], edi
mov word [ebp - 0xb0], ax
lea ecx, [ebp - 0x68]
lea eax, [ebp - 0x318]
mov dword [ebp - 0xa0], ebx
push eax
call fcn.0040276c
lea edx, [ebp - 0xb0]
lea ecx, [ebp - 0x68]
call fcn.00414133
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.00402c5d
xor eax, eax
mov dword [ebp - 0xb4], edi
cmp dword [ebp - 0x9c], 8
lea edx, [ebp - 0xb0]
mov word [ebp - 0xc8], ax
lea ecx, [ebp - 0x98]
cmovae edx, dword [ebp - 0xb0]
lea eax, [ebp - 0x80]
cmp dword [ebp - 0x84], 8
push edx
cmovae ecx, dword [ebp - 0x98]
lea edx, [ebp - 0x50]
cmp dword [ebp - 0x6c], 8
push edx
cmovae eax, dword [ebp - 0x80]
push ecx
push eax
lea eax, [ebp - 0x318]
mov dword [ebp - 0xb8], ebx
push eax
push dword [ebp - 0x520]
lea eax, [ebp - 0x68]
push dword [ebp - 0x524]
push str.__08X__06X___ls___ls__ls__ls__ls__r_n
push eax
call fcn.0041e1c0
add esp, 0x24
lea ecx, [ebp - 0xc8]
push eax
call fcn.004027c2
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.00402c5d
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0xc8]
mov ecx, esi
push eax
call fcn.004029c4
lea eax, [ebp - 0x518]
push eax
lea ecx, [ebp - 0x68]
call fcn.0040276c
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0xf8]
call fcn.0041f340
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x403bbf
mov esi, dword [esi]
mov edx, 0x467740
lea ecx, [ebp - 0xe0]
call fcn.0041f340
cmp dword [eax + 0x14], 0x10
jb 0x403bd7
mov eax, dword [eax]
push esi
push eax
call fcn.0042fc6d
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0xe0]
push 0
neg ebx
push 1
sbb bl, bl
call fcn.00402927
push 0
push 1
lea ecx, [ebp - 0xf8]
call fcn.00402927
push 0
push 1
lea ecx, [ebp - 0x68]
call fcn.00402c5d
inc bl
je 0x403d6e
mov byte [ebp - 0x539], 0
xor edi, edi
push dword [edi + 0x4569d0]
lea ecx, [ebp - 0x68]
call fcn.0040276c
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0xe0]
call fcn.0041f340
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x403c47
mov esi, dword [esi]
mov edx, 0x467740
lea ecx, [ebp - 0xf8]
call fcn.0041f340
cmp dword [eax + 0x14], 0x10
jb 0x403c5f
mov eax, dword [eax]
push esi
push eax
call fcn.0042fc6d
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0xf8]
xor esi, esi
push esi
push 1
call fcn.00402927
push esi
push 1
lea ecx, [ebp - 0xe0]
call fcn.00402927
push esi
push 1
lea ecx, [ebp - 0x68]
call fcn.00402c5d
inc bl
je 0x403d36
lea eax, [ebp - 0x318]
push eax
lea ecx, [ebp - 0x68]
call fcn.0040276c
mov ebx, 0x4549fc
push ebx
call fcn.004011a9
pop ecx
push eax
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x68]
call fcn.00402b70
mov esi, eax
cmp esi, 0xffffffff
je 0x403d44
push ebx
call fcn.004011a9
pop ecx
push eax
lea ecx, [esi - 1]
push ecx
push ebx
lea ecx, [ebp - 0x68]
call fcn.00402b70
cmp eax, 0xffffffff
je 0x403d44
cmp eax, esi
je 0x403d44
sub esi, eax
lea ecx, [ebp - 0x68]
dec esi
inc eax
push esi
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00402820
push 0xffffffffffffffff
xor ebx, ebx
lea eax, [ebp - 0x110]
push ebx
push eax
mov ecx, 0x467758
call fcn.00402ed6
push ebx
push 1
lea ecx, [ebp - 0x110]
mov byte [ebp - 0x539], 1
call fcn.00402c5d
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.00402c5d
add edi, 4
cmp edi, 0x18
jb 0x403c21
jmp 0x403d50
push 0
push 1
lea ecx, [ebp - 0x68]
call fcn.00402c5d
cmp byte [ebp - 0x539], 0
jne 0x403d6b
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x80]
mov ecx, 0x467758
push eax
call fcn.00402ed6
push 7
pop edi
xor ebx, ebx
lea ecx, [ebp - 0xc8]
push ebx
push 1
call fcn.00402c5d
push ebx
push 1
lea ecx, [ebp - 0xb0]
call fcn.00402c5d
push ebx
push 1
lea ecx, [ebp - 0x98]
call fcn.00402c5d
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.00402c5d
mov ebx, dword [ebp - 0x540]
lea ecx, [ebp - 0x538]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_Module32NextW]
mov esi, dword [ebp - 0x544]
test eax, eax
jne 0x403a66
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.0042ee4e
mov esp, ebp
pop ebp
ret