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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005680d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10069040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x25], cl
movss dword [ebp - 0x20], xmm0
mov dword [ebp - 4], 0
mov eax, dword [0x1006efa4]
cmp dword [eax + 0xb0], 0
jne 0x10046083
cmp dword [ebp + 0x1c], 7
lea ecx, [ebp + 8]
mov edi, dword [ebp + 0x18]
cmova ecx, dword [ebp + 8]
mov eax, dword [0x1006f098]
cmp edi, eax
ja 0x10045f4e
cmp eax, 7
mov dword [0x1006f094], edi
lea eax, [edi + edi]
mov esi, 0x1006f084
cmova esi, dword [0x1006f084]
push eax
push ecx
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x10045f61
push ecx
mov byte [ebp - 0x14], 0
mov ecx, 0x1006f084
push dword [ebp - 0x14]
push edi
call fcn.1004a6f0
mov esi, dword [0x1006ef58]
lea eax, [ebp - 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
mov dword [ebp - 0x18], 0
call ebx
mov eax, dword [esi + 0x74]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push 4
push eax
call ebx
mov esi, dword [0x1006ef58]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
lea eax, [ebp - 0x18]
push eax
call ebx
mov eax, dword [esi + 0x78]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push 4
push eax
call ebx
mov eax, dword [ebp - 0x24]
mov ecx, dword [0x1006efa4]
cmp dword [eax], ecx
je 0x10045fe5
mov edx, dword [ebp - 0x18]
cmp eax, edx
jae 0x10045fe5
add eax, 4
mov dword [ebp - 0x24], eax
cmp dword [eax], ecx
jne 0x10045fd7
movzx eax, word [ecx + 0xd0]
movsx ecx, ax
call fcn.10044ec0
sub esp, 0x18
mov ecx, esp
mov esi, dword [eax]
push 0x1006f084
call fcn.1003d150
mov ecx, esi
call fcn.100460e0
mov esi, dword [0x1006efa4]
lea eax, [ebp - 0x14]
add esp, 0x18
add esi, 0xe0
push eax
push 0x40
push 4
push esi
call ebx
mov eax, dword [ebp - 0x20]
mov dword [esi], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 4
push esi
call ebx
mov eax, dword [0x1006ef58]
mov dword [ebp - 0x14], eax
mov eax, dword [0x1006efa4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
call dword [0x1006ef74]
mov esi, dword [0x1006efc0]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 1
push esi
call ebx
movzx ecx, byte [ebp - 0x25]
xor ecx, 1
movzx eax, cl
shl cx, 8
or cx, ax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
mov byte [esi], cl
push 1
push esi
call ebx
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x100460bf
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100460b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100460b5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10054b4d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005465b
mov esp, ebp
pop ebp
ret