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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movups xmm1, xmmword [0x10138c70]
lea eax, [ebp - 4]
mov dword [0x1018dc68], 0
movaps xmm0, xmmword [0x10138b60]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push eax
push 0x40
push 4
push 0x4d7530
mov word [0x1018dc6c], 0
mov dword [0x1018dc4c], 0xc942
movaps xmmword [0x1018dc50], xmm0
mov dword [0x1018dc60], 0x43980000
mov dword [0x1018dc64], 0x43a40000
mov byte [0x1018dc6e], 0
mov dword [0x1018dca8], 0
mov word [0x1018dcac], 0
mov dword [0x1018dc8c], 0xc93f
movaps xmmword [0x1018dc90], xmm1
mov dword [0x1018dca0], 0x43150000
mov dword [0x1018dca4], 0x42080000
mov byte [0x1018dcae], 0
mov dword [0x1018dce8], 0
mov word [0x1018dcec], 0
mov dword [0x1018dccc], 0xc93f
movaps xmmword [0x1018dcd0], xmm1
mov dword [0x1018dce0], 0x43150000
mov dword [0x1018dce4], 0x42080000
mov byte [0x1018dcee], 0
mov dword [0x1018dd28], 0
mov word [0x1018dd2c], 0
mov dword [0x1018dd0c], 0xc93f
movaps xmmword [0x1018dd10], xmm1
mov dword [0x1018dd20], 0x43150000
mov dword [0x1018dd24], 0x42080000
mov byte [0x1018dd2e], 0
mov dword [0x1018dd68], 0
mov word [0x1018dd6c], 0
mov dword [0x1018dd4c], 0xc93f
movaps xmmword [0x1018dd50], xmm1
mov dword [0x1018dd60], 0x43150000
mov dword [0x1018dd64], 0x42080000
mov byte [0x1018dd6e], 0
mov dword [0x1018dda8], 0
mov word [0x1018ddac], 0
mov dword [0x1018dd8c], 0xc93f
movaps xmmword [0x1018dd90], xmm1
mov dword [0x1018dda0], 0x43150000
mov dword [0x1018dda4], 0x42080000
mov byte [0x1018ddae], 0
mov dword [ebp - 4], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1004050b
lea eax, [ebp - 8]
mov dword [0x4d7530], 0xc942
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 4
push 0x4d7530
call esi
test eax, eax
jne 0x1004050d
call edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x40
push 4
push 0x4d7564
call esi
test eax, eax
je 0x1004054c
lea eax, [ebp - 8]
mov dword [0x4d7564], 0xc942
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 4
push 0x4d7564
call esi
test eax, eax
jne 0x1004054e
call edi
push 0x10040670
push 0x4d6c3e
push 0xe8
call fcn.100c9bf0
movsd xmm0, qword [0x10137a10]
lea eax, [ebp - 4]
add esp, 0xc
movsd qword [ebp - 0x10], xmm0
mov dword [ebp - 4], 0
push eax
push 0x40
push 8
push 0xd25508
call esi
test eax, eax
je 0x100405b8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [0xd25508], eax
lea eax, [ebp - 8]
push eax
mov dword [0xd2550c], ecx
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 8
push 0xd25508
call esi
test eax, eax
jne 0x100405ba
call edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x40
push 4
push 0x4d6c73
call esi
test eax, eax
je 0x100405f9
lea eax, [ebp - 8]
mov dword [0x4d6c73], 0
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 4
push 0x4d6c73
call esi
test eax, eax
jne 0x100405fb
call edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x40
push 1
push 0x402106
call esi
test eax, eax
je 0x10040637
lea eax, [ebp - 8]
mov byte [0x402106], 0
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 1
push 0x402106
call esi
test eax, eax
jne 0x10040639
call edi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x56faed
call esi
lea eax, [ebp - 4]
mov dword [0x56faed], 0xaf
push eax
push dword [ebp - 4]
push 4
push 0x56faed
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret