Function at 0x405bb0
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x1110
call fcn.004109c0
push ebx
push ebp
push esi
push edi
mov ebx, ecx
xor ebp, ebp
push 0x14
push 0x446138
mov dword [ebx + 0x5c], ebp
call fcn.00403090
add esp, 8
mov esi, 0x445850
mov edi, 0x446138
mov eax, dword [edi]
cmp eax, ebp
je 0x405c2d
push 0x14
push 0x4460e8
push eax
call fcn.004031d0
add esp, 0xc
test eax, eax
jne 0x405c2d
mov edx, dword [edi]
xor ecx, ecx
mov dword [esi], edx
mov dword [esi + 4], ebx
mov eax, 0x4460e8
cmp dword [eax], ebp
je 0x405c17
add eax, 4
inc ecx
cmp eax, 0x446138
jl 0x405c06
jmp 0x405c1e
mov dword [ecx*4 + 0x4460e8], edx
push ebp
push ebp
push ebp
push ebp
push esi
push 0x405ee0
call fcn.00426690
add edi, 4
add esi, 8
cmp edi, 0x446188
jl 0x405bde
mov eax, dword [ebx + 0xb0]
push 0x14
push 0x446138
push eax
call fcn.004031d0
add esp, 0xc
test eax, eax
jne 0x405c5c
mov dword [ebx + 0x74], 4
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
push 0x440fc4
push ebp
call esi
push eax
call fcn.0042276f
test eax, eax
je 0x405c7b
mov dword [ebx + 0x74], 5
mov ecx, ebx
call fcn.004077c0
and eax, 0xff
dec eax
je 0x405ca2
dec eax
je 0x405c99
dec eax
jne 0x405ca9
mov dword [ebx + 0x74], 0xb
jmp 0x405ca9
mov dword [ebx + 0x74], 0xa
jmp 0x405ca9
mov dword [ebx + 0x74], 5
push 0x440fa8
push ebp
call esi
push eax
call fcn.0042276f
test eax, eax
je 0x405cc2
mov dword [ebx + 0x74], 6
mov ecx, dword [0x440f98]
mov edx, dword [0x440f9c]
mov eax, dword [0x440fa0]
mov dword [esp + 0x1c], ecx
mov cx, word [0x440fa4]
mov dword [esp + 0x20], edx
mov dl, byte [0x440fa6]
mov dword [esp + 0x24], eax
mov word [esp + 0x28], cx
mov ecx, 0x3d
xor eax, eax
lea edi, [esp + 0x2b]
mov byte [esp + 0x2a], dl
mov dword [esp + 0x18], ebp
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
lea ecx, [esp + 0x120]
push eax
push 0x1000
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x405ecb
mov eax, dword [esp + 0x14]
shr eax, 2
je 0x405eb9
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea edi, [esp + 0x120]
mov dword [esp + 0x10], eax
mov edx, dword [edi]
push edx
push 0
push 0x410
call ebp
mov esi, eax
test esi, esi
je 0x405ea7
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push 4
push ecx
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x405ea0
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push 0x104
push edx
push eax
push esi
call sub.PSAPI.DLL_GetModuleBaseNameA
push 0xa
lea ecx, [esp + 0x20]
push 0x440f8c
push ecx
call fcn.00416aa0
add esp, 0xc
test eax, eax
jne 0x405da8
mov dword [ebx + 0x74], 6
push 0xb
lea edx, [esp + 0x20]
push 0x440f80
push edx
call fcn.00416aa0
add esp, 0xc
test eax, eax
jne 0x405dc7
mov dword [ebx + 0x74], 6
push 0xd
lea eax, [esp + 0x20]
push 0x440f70
push eax
call fcn.00416aa0
add esp, 0xc
test eax, eax
jne 0x405de6
mov dword [ebx + 0x74], 5
push 0xa
lea ecx, [esp + 0x20]
push 0x440f64
push ecx
call fcn.00416aa0
add esp, 0xc
test eax, eax
jne 0x405e05
mov dword [ebx + 0x5c], 1
push 0xb
lea edx, [esp + 0x20]
push 0x440f58
push edx
call fcn.00416aa0
add esp, 0xc
test eax, eax
jne 0x405e24
mov dword [ebx + 0x5c], 1
push 0xe
lea eax, [esp + 0x20]
push 0x440f48
push eax
call fcn.00416aa0
add esp, 0xc
test eax, eax
jne 0x405e43
mov dword [ebx + 0x5c], 1
push 0xe
lea ecx, [esp + 0x20]
push 0x440f38
push ecx
call fcn.00416aa0
add esp, 0xc
test eax, eax
jne 0x405e62
mov dword [ebx + 0x5c], 1
push 0xe
lea edx, [esp + 0x20]
push 0x440f2c
push edx
call fcn.00416aa0
add esp, 0xc
test eax, eax
jne 0x405e81
mov dword [ebx + 0x5c], 1
push 0x11
lea eax, [esp + 0x20]
push 0x440f18
push eax
call fcn.00416aa0
add esp, 0xc
test eax, eax
jne 0x405ea0
mov dword [ebx + 0x5c], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
add edi, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x405d44
mov ecx, ebx
call fcn.004076f0
test eax, eax
je 0x405ecb
mov dword [ebx + 0x74], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1110
ret