Function at 0x405b10
Capabilities:
Create thread
Enumerate process modules

Disassembly:
mov eax, 0x131c
call fcn.00409980
mov eax, dword [ecx + 0x2e0]
push ebp
xor ebp, ebp
cmp eax, ebp
push esi
mov dword [esp + 0x10], ecx
je 0x405b46
lea esp, [esp]
mov edx, dword [eax + 8]
cmp edx, dword [esp + 0x1328]
je 0x405db0
mov eax, dword [eax]
cmp eax, ebp
jne 0x405b30
mov eax, dword [ecx + 0x2e4]
push edi
lea esi, [ecx + 0x2dc]
push ebp
push eax
mov ecx, esi
call fcn.00405660
mov edi, dword [esp + 0x132c]
mov dword [eax + 8], edi
mov ecx, dword [esi + 8]
cmp ecx, ebp
je 0x405b71
mov dword [ecx], eax
jmp 0x405b74
mov dword [esi + 4], eax
push edi
push ebp
push 0x410
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebp
mov dword [esp + 0xc], esi
je 0x405daf
lea ecx, [esp + 0x18]
push ecx
push 0x1000
lea edx, [esp + 0x330]
push edx
push esi
mov dword [esp + 0x20], ebp
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x405da8
push ebx
mov ebx, dword [esp + 0x1c]
jmp 0x405bd0
mov edi, dword [esp + 0x1330]
mov esi, dword [esp + 0x10]
jmp 0x405bd0
mov ecx, dword [esp + ebp*4 + 0x32c]
push 0x104
lea eax, [esp + 0x24]
push eax
push ecx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
je 0x405d7a
lea edx, [esp + 0x20]
push edx
call fcn.004053b0
add esp, 4
test eax, eax
je 0x405c92
push 0x210
mov dword [esp + 0x18], 1
call fcn.004196f5
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov dword [ebx], edi
mov dword [ebx + 4], eax
add esp, 4
mov ecx, 0x41
xor eax, eax
lea edi, [ebx + 0x10c]
rep stosd dword es:[edi], eax
mov cl, byte [esp + eax + 0x20]
mov byte [esp + eax + 0x124], cl
inc eax
test cl, cl
jne 0x405c34
lea ecx, [esp + 0x124]
push 0x2e
push ecx
call fcn.0040aaf0
add esp, 8
test eax, eax
je 0x405d7a
lea edx, [esp + 0x124]
push 0x5c
push edx
mov byte [eax], 0
call fcn.0040aaf0
add esp, 8
test eax, eax
je 0x405d7a
inc eax
mov ecx, ebx
sub ecx, eax
lea edx, [ecx + 8]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x405c83
jmp 0x405d7a
xor ebp, ebp
lea eax, [esp + 0x20]
lea edx, [eax + 1]
jmp 0x405ca0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405ca0
mov esi, dword [ebp*8 + 0x4347dc]
sub eax, edx
mov ecx, eax
mov eax, esi
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x405cb7
sub eax, edi
sub ecx, eax
lea edx, [esp + ecx + 0x20]
push esi
push edx
call fcn.0040ace4
add esp, 8
test eax, eax
je 0x405ce2
inc ebp
cmp ebp, 0x81
jb 0x405c94
jmp 0x405d7a
push 0x210
mov dword [esp + 0x18], 1
call fcn.004196f5
mov ecx, dword [esp + 0x1c]
mov ebx, eax
mov eax, dword [esp + 0x1334]
mov dword [ebx + 4], ecx
mov dword [ebx], eax
mov eax, dword [ebp*8 + 0x4347d8]
add esp, 4
lea ecx, [ebx + 0x10c]
mov dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
test dl, dl
jne 0x405d16
xor eax, eax
mov cl, byte [esp + eax + 0x20]
mov byte [esp + eax + 0x228], cl
inc eax
test cl, cl
jne 0x405d22
lea edx, [esp + 0x228]
push 0x5c
push edx
call fcn.0040aaf0
add esp, 8
test eax, eax
je 0x405d7a
mov byte [eax], 0
lea eax, [esp + 0x228]
push 0x5c
push eax
call fcn.0040aaf0
add esp, 8
test eax, eax
je 0x405d7a
inc eax
mov ecx, ebx
sub ecx, eax
lea edx, [ecx + 8]
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x405d70
inc ebp
cmp ebp, 1
jb 0x405bbd
mov eax, dword [esp + 0x14]
test eax, eax
je 0x405da3
lea edx, [esp + 0x18]
push edx
push 0
push ebx
push 0x4056e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [esp + 0x10]
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
add esp, 0x131c
ret 4