Function at 0x406c00
Capabilities:
Enumerate process modules

Disassembly:
push 0xffffffffffffffff
push 0x416369
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x248
mov eax, dword [0x41b3c0]
xor eax, dword [esp + 0x254]
push ebx
push ebp
mov dword [esp + 0x24c], eax
mov al, byte [esp + 0xb]
xor ebx, ebx
push esi
mov ebp, 0xf
push edi
mov byte [esp + 0x4c], al
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
mov cl, byte [esp + 0x13]
mov dword [esp + 0x260], ebx
mov byte [esp + 0x68], cl
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
xor eax, eax
mov ecx, 0x14
lea edi, [esp + 0x1dc]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x268]
push edi
push ebx
push 0x410
mov byte [esp + 0x26c], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x406d5e
lea edx, [esp + 0xd8]
push edx
push 0x28
lea eax, [esp + 0x1bc]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x406d57
mov edx, dword [esp + 0x1b4]
push 0x78
lea ecx, [esp + 0x1e0]
push ecx
push edx
push esi
call sub.PSAPI.DLL_GetModuleBaseNameA
test eax, eax
je 0x406d41
lea eax, [esp + 0x1dc]
push eax
lea ecx, [esp + 0xa4]
call fcn.00403860
mov ecx, dword [esp + 0xb4]
add ecx, 0xfffffffc
push 4
push ecx
lea ecx, [esp + 0xa8]
mov byte [esp + 0x268], 2
call fcn.00402790
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x58]
call fcn.00402b30
cmp dword [esp + 0xb8], 0x10
mov byte [esp + 0x260], 1
jb 0x406d41
mov edx, dword [esp + 0xa4]
push edx
call fcn.004099a0
add esp, 4
cmp dword [0x41bdf8], ebx
je 0x406d57
lea eax, [esp + 0x68]
push edi
push eax
call fcn.00404e30
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jne 0x406d79
mov eax, str.System
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406d70
jmp 0x406d8d
cmp edi, 4
jne 0x406d9e
mov eax, str.System
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406d86
sub eax, edx
push eax
lea ecx, [esp + 0x50]
push str.System
call fcn.00402c40
mov edx, dword [esp + 0x270]
push 0xa
lea ecx, [esp + 0xc8]
push ecx
push edx
call fcn.00414c96
mov al, byte [esp + 0x1f]
mov byte [esp + 0x20], al
lea eax, [esp + 0xd0]
add esp, 0xc
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406dd6
sub eax, edx
push eax
lea ecx, [esp + 0xc8]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402c40
mov dl, byte [esp + 0x13]
lea eax, [esp + 0xc4]
mov byte [esp + 0x84], dl
mov byte [esp + 0x260], 3
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406e23
sub eax, edx
push eax
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x8c]
call fcn.00402c40
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0xa8]
push eax
mov byte [esp + 0x26c], 4
call fcn.00404d20
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x26c], 5
call fcn.00402b30
cmp dword [esp + 0xb8], 0x10
mov byte [esp + 0x260], 4
jb 0x406e9a
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.004099a0
add esp, 4
mov esi, dword [esp + 0x26c]
mov dl, byte [esp + 0x13]
mov eax, esi
mov byte [esp + 0x30], dl
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406ec0
sub eax, edi
push eax
push esi
lea ecx, [esp + 0x38]
call fcn.00402c40
mov al, byte [esp + 0x68]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xdc], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x8c]
mov byte [ecx], al
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x288], 6
mov byte [ecx + 4], bl
call fcn.00402b30
mov al, byte [esp + 0x68]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xf4], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x8c]
mov byte [ecx], al
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x2a4], 7
mov byte [ecx + 4], bl
call fcn.00402b30
mov al, byte [esp + 0x68]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x130], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x8c]
mov byte [ecx], al
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x2c0], 8
mov byte [ecx + 4], bl
call fcn.00402b30
mov eax, dword [esp + 0x2c4]
mov ecx, dword [esp + 0x2bc]
push eax
push ecx
lea ecx, [esp + 0x13c]
mov byte [esp + 0x2bc], 6
call fcn.00403750
lea edx, [esp + 0xe0]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x144]
mov byte [esp + 0x268], 9
call fcn.00405130
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x41bdfc
mov byte [esp + 0x264], 0xa
call fcn.00406970
mov edx, dword [esp + 0xe0]
mov esi, eax
push 0xffffffffffffffff
lea ecx, [esp + 0xec]
mov dword [esi], edx
mov eax, dword [esp + 0xe8]
push ebx
push ecx
mov dword [esi + 4], eax
lea ecx, [esi + 8]
call fcn.00402b30
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x10c]
push edx
lea ecx, [esi + 0x24]
call fcn.00402b30
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x128]
push eax
lea ecx, [esi + 0x40]
call fcn.00402b30
lea ecx, [esp + 0x158]
call fcn.00401df0
mov eax, dword [esp + 0x154]
mov esi, 0x10
cmp eax, esi
jb 0x407043
mov ecx, dword [esp + 0x140]
push ecx
call fcn.004099a0
add esp, 4
lea ecx, [esp + 0xe0]
mov dword [esp + 0x154], ebp
mov dword [esp + 0x150], ebx
mov byte [esp + 0x140], bl
call fcn.00401df0
cmp dword [esp + 0x48], esi
jb 0x407077
mov edx, dword [esp + 0x34]
push edx
call fcn.004099a0
add esp, 4
cmp dword [esp + 0x9c], esi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
jb 0x40709c
mov eax, dword [esp + 0x88]
push eax
call fcn.004099a0
add esp, 4
cmp dword [esp + 0x2c], esi
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
jb 0x4070c4
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004099a0
add esp, 4
cmp dword [esp + 0x80], esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x4070e6
mov edx, dword [esp + 0x6c]
push edx
call fcn.004099a0
add esp, 4
cmp dword [esp + 0x64], esi
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
jb 0x407108
mov eax, dword [esp + 0x50]
push eax
call fcn.004099a0
add esp, 4
mov ecx, dword [esp + 0x258]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x24c]
xor ecx, dword [esp + 0x25c]
pop ebp
pop ebx
add esp, 0x254
jmp fcn.0040e242