Function at 0x405a80
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x1110
call fcn.00410890
push ebx
push ebp
push esi
push edi
mov ebx, ecx
xor ebp, ebp
push 0x14
push 0x4450a8
mov dword [ebx + 0x5c], ebp
call fcn.00402f60
add esp, 8
mov esi, 0x4447c0
mov edi, 0x4450a8
mov eax, dword [edi]
cmp eax, ebp
je 0x405afd
push 0x14
push 0x445058
push eax
call fcn.004030a0
add esp, 0xc
test eax, eax
jne 0x405afd
mov edx, dword [edi]
xor ecx, ecx
mov dword [esi], edx
mov dword [esi + 4], ebx
mov eax, 0x445058
cmp dword [eax], ebp
je 0x405ae7
add eax, 4
inc ecx
cmp eax, 0x4450a8
jl 0x405ad6
jmp 0x405aee
mov dword [ecx*4 + 0x445058], edx
push ebp
push ebp
push ebp
push ebp
push esi
push 0x405db0
call fcn.00426566
add edi, 4
add esi, 8
cmp edi, 0x4450f8
jl 0x405aae
mov eax, dword [ebx + 0xb0]
push 0x14
push 0x4450a8
push eax
call fcn.004030a0
add esp, 0xc
test eax, eax
jne 0x405b2c
mov dword [ebx + 0x74], 4
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
push 0x43ff40
push ebp
call esi
push eax
call fcn.0042263f
test eax, eax
je 0x405b4b
mov dword [ebx + 0x74], 5
mov ecx, ebx
call fcn.00407690
and eax, 0xff
dec eax
je 0x405b72
dec eax
je 0x405b69
dec eax
jne 0x405b79
mov dword [ebx + 0x74], 0xb
jmp 0x405b79
mov dword [ebx + 0x74], 0xa
jmp 0x405b79
mov dword [ebx + 0x74], 5
push 0x43ff24
push ebp
call esi
push eax
call fcn.0042263f
test eax, eax
je 0x405b92
mov dword [ebx + 0x74], 6
mov ecx, dword [0x43ff14]
mov edx, dword [0x43ff18]
mov eax, dword [0x43ff1c]
mov dword [esp + 0x1c], ecx
mov cx, word [0x43ff20]
mov dword [esp + 0x20], edx
mov dl, byte [0x43ff22]
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 0x405d9b
mov eax, dword [esp + 0x14]
shr eax, 2
je 0x405d89
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 0x405d77
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 0x405d70
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 0x43ff08
push ecx
call fcn.00416970
add esp, 0xc
test eax, eax
jne 0x405c78
mov dword [ebx + 0x74], 6
push 0xb
lea edx, [esp + 0x20]
push 0x43fefc
push edx
call fcn.00416970
add esp, 0xc
test eax, eax
jne 0x405c97
mov dword [ebx + 0x74], 6
push 0xd
lea eax, [esp + 0x20]
push 0x43feec
push eax
call fcn.00416970
add esp, 0xc
test eax, eax
jne 0x405cb6
mov dword [ebx + 0x74], 5
push 0xa
lea ecx, [esp + 0x20]
push 0x43fee0
push ecx
call fcn.00416970
add esp, 0xc
test eax, eax
jne 0x405cd5
mov dword [ebx + 0x5c], 1
push 0xb
lea edx, [esp + 0x20]
push 0x43fed4
push edx
call fcn.00416970
add esp, 0xc
test eax, eax
jne 0x405cf4
mov dword [ebx + 0x5c], 1
push 0xe
lea eax, [esp + 0x20]
push 0x43fec4
push eax
call fcn.00416970
add esp, 0xc
test eax, eax
jne 0x405d13
mov dword [ebx + 0x5c], 1
push 0xe
lea ecx, [esp + 0x20]
push 0x43feb4
push ecx
call fcn.00416970
add esp, 0xc
test eax, eax
jne 0x405d32
mov dword [ebx + 0x5c], 1
push 0xe
lea edx, [esp + 0x20]
push 0x43fea8
push edx
call fcn.00416970
add esp, 0xc
test eax, eax
jne 0x405d51
mov dword [ebx + 0x5c], 1
push 0x11
lea eax, [esp + 0x20]
push 0x43fe94
push eax
call fcn.00416970
add esp, 0xc
test eax, eax
jne 0x405d70
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 0x405c14
mov ecx, ebx
call fcn.004075c0
test eax, eax
je 0x405d9b
mov dword [ebx + 0x74], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1110
ret