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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100167fd
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x1001c008]
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 ebx, 0xf
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x28], 0
sub esp, 0xc
mov dword [ebp - 4], 0
cmp byte [0x1001c773], 0
lea eax, [ebp - 0x28]
mov edi, esp
je 0x1000f1f1
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0x50
sub eax, ecx
mov dword [ebp - 0x5c], 0x1f
mov dword [ebp - 0x80], eax
sar eax, 2
mov dword [ebp - 0x58], 0x53
mov dword [ebp - 0x54], 0x54
mov dword [ebp - 0x50], 0x4d
mov dword [ebp - 0x4c], 0x51
mov dword [ebp - 0x48], 0x52
mov dword [ebp - 0x44], 0x58
mov dword [ebp - 0x40], 0x4d
mov dword [ebp - 0x3c], 0x58
mov dword [ebp - 0x38], 0x52
mov dword [ebp - 0x34], 0x4d
mov dword [ebp - 0x30], 0x51
mov dword [ebp - 0x2c], 0x58
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x1000f16c
push eax
mov ecx, edi
call fcn.10007880
push dword [ebp - 0x80]
mov esi, dword [edi]
lea eax, [ebp - 0x60]
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x7c]
lea eax, [esi + eax*4]
add esp, 0xc
mov dword [edi + 4], eax
lea ecx, [ebp - 0x78]
call fcn.100129f0
mov edx, eax
add esp, 0xc
lea eax, [ebp - 0x28]
cmp eax, edx
je 0x1000f1b6
mov eax, dword [edx + 8]
mov edi, dword [edx]
mov ecx, dword [edx + 4]
mov ebx, dword [edx + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0x10]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
mov byte [edx], 0
jmp 0x1000f1b9
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x1000f29f
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000f295
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000f295
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x5e
sub eax, ecx
mov dword [ebp - 0x58], 0x29
mov dword [ebp - 0x7c], eax
sar eax, 2
mov dword [ebp - 0x54], 0x5a
mov dword [ebp - 0x50], 0x57
mov dword [ebp - 0x4c], 0x5f
mov dword [ebp - 0x48], 0x61
mov dword [ebp - 0x44], 0x57
mov dword [ebp - 0x40], 0x5a
mov dword [ebp - 0x3c], 0x5c
mov dword [ebp - 0x38], 0x61
mov dword [ebp - 0x34], 0x57
mov dword [ebp - 0x30], 0x62
mov dword [ebp - 0x2c], 0x5a
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 0x80], eax
test eax, eax
je 0x1000f16c
push eax
mov ecx, edi
call fcn.10007880
push dword [ebp - 0x7c]
mov esi, dword [edi]
lea eax, [ebp - 0x5c]
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x80]
jmp 0x1000f163
push ecx
push edx
call fcn.100151aa
add esp, 8
push 0x763bb8
lea ecx, [ebp - 0x78]
call fcn.10007570
cmp dword [ebp - 0x64], 0x10
lea ecx, [ebp - 0x78]
jb 0x1000f2b8
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x28]
cmp ebx, 0x10
jb 0x1000f2c2
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000f2e2
test dl, dl
je 0x1000f2de
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000f2e2
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000f2c2
xor eax, eax
jmp 0x1000f2e7
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000f318
mov esi, 0x763bb8
lea ecx, [ebp - 0x28]
cmp ebx, 0x10
jb 0x1000f2fa
mov ecx, edi
mov edx, esi
sub edx, ecx
mov edi, edi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x1000f300
add esi, 0x70
cmp esi, 0x764018
jl 0x1000f2f0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x7c]
push eax
push 0x40
push 1
push 0x4f8998
call esi
lea eax, [ebp - 0x80]
mov byte [0x4f8998], 0x75
push eax
push dword [ebp - 0x7c]
push 1
push 0x4f8998
call esi
cmp byte [0x1001c773], 0
lea eax, [ebp - 0x7c]
push eax
push 0x40
push 2
push 0x4e40fa
je 0x1000f363
call esi
mov eax, 0x1d62
jmp 0x1000f36a
call esi
mov eax, 0x1c03
mov word [0x4e40fa], ax
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x7c]
push 2
push 0x4e40fa
call esi
mov eax, dword [ebp - 0x64]
cmp eax, 0x10
jb 0x1000f3b2
mov edx, dword [ebp - 0x78]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000f3a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f3d2
push ecx
push edx
call fcn.100151aa
add esp, 8
cmp ebx, 0x10
jb 0x1000f3e2
inc ebx
mov eax, edi
cmp ebx, 0x1000
jb 0x1000f3d8
mov edi, dword [eax - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000f3d8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ebx
push edi
call fcn.100151aa
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.10014f6f
mov esp, ebp
pop ebp
ret