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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d53d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10071040]
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 [0x1007702c]
cmp dword [eax + 0xb0], 0
jne 0x1004c183
cmp dword [ebp + 0x1c], 7
lea ecx, [ebp + 8]
mov edi, dword [ebp + 0x18]
cmova ecx, dword [ebp + 8]
mov eax, dword [0x1007719c]
cmp edi, eax
ja 0x1004c04e
cmp eax, 7
mov dword [0x10077198], edi
lea eax, [edi + edi]
mov esi, 0x10077188
cmova esi, dword [0x10077188]
push eax
push ecx
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x1004c061
push ecx
mov byte [ebp - 0x14], 0
mov ecx, 0x10077188
push dword [ebp - 0x14]
push edi
call fcn.100507a0
mov esi, dword [0x10076f94]
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 [0x10076f94]
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 [0x1007702c]
cmp dword [eax], ecx
je 0x1004c0e5
mov edx, dword [ebp - 0x18]
cmp eax, edx
jae 0x1004c0e5
add eax, 4
mov dword [ebp - 0x24], eax
cmp dword [eax], ecx
jne 0x1004c0d7
movzx eax, word [ecx + 0xd0]
movsx ecx, ax
call fcn.1004a610
sub esp, 0x18
mov ecx, esp
mov esi, dword [eax]
push 0x10077188
call fcn.1003ea50
mov ecx, esi
call fcn.1004c310
mov esi, dword [0x1007702c]
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 [0x10076f94]
mov dword [ebp - 0x14], eax
mov eax, dword [0x1007702c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
call dword [0x10076ff8]
mov esi, dword [0x10077048]
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 0x1004c1bf
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1004c1b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004c1b5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
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.1005ae5b
mov esp, ebp
pop ebp
ret