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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1014c1c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x101f64e3
mov dword [ebp - 0x20], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035f30
push ebx
push esi
push edi
sub ecx, edx
je 0x10035f9e
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
push 0x101f64e3
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 0
movups xmmword [ebp - 0x1c], xmm0
call fcn.1000d0f0
mov dword [ebp - 0x20], 1
lea esi, [ebp - 0x1c]
mov edi, dword [ebp - 8]
cmp edi, 0xf
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
cmova esi, edx
test eax, eax
je 0x10035fa4
lea ecx, [eax + esi]
mov eax, esi
cmp esi, ecx
jae 0x10035fa4
cmp byte [eax], 0x20
jne 0x10035f93
inc eax
cmp eax, ecx
jb 0x10035f87
jmp 0x10035fa4
sub eax, esi
cmp eax, 0xffffffff
je 0x10035fa4
xor bl, bl
jmp 0x10035fa6
mov edi, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
mov bl, 1
test byte [ebp - 0x20], 1
je 0x10035fde
cmp edi, 0xf
jbe 0x10035fde
lea ecx, [edi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10035fd4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10035fd4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10131b2c
add esp, 8
test bl, bl
je 0x10036149
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x10036160
sub eax, 0x78b0c1
mov byte [ebp - 0x28], 0xe8
mov dword [ebp - 0x27], eax
lea eax, [ebp - 0x20]
push eax
push 0x40
push 5
push 0x78b0bc
mov dword [ebp - 0x20], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10036044
mov eax, dword [ebp - 0x28]
mov ecx, 0x78b0bc
mov dword [ecx], eax
mov al, byte [ebp - 0x24]
mov byte [ecx + 4], al
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0x2c], 0
push 5
push ecx
call esi
test eax, eax
jne 0x10036046
call edi
mov eax, 0x10035eb0
mov byte [ebp - 0x28], 0xe9
sub eax, 0x78976c
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x27], eax
lea eax, [ebp - 0x20]
push eax
push 0x40
push 5
push 0x789767
call esi
test eax, eax
je 0x10036098
mov eax, dword [ebp - 0x28]
mov ecx, 0x789767
mov dword [ecx], eax
mov al, byte [ebp - 0x24]
mov byte [ecx + 4], al
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0x2c], 0
push 5
push ecx
call esi
test eax, eax
jne 0x1003609a
call edi
mov eax, 0x10035ed0
mov byte [ebp - 0x28], 0xe9
sub eax, 0x789a68
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x27], eax
lea eax, [ebp - 0x20]
push eax
push 0x40
push 5
push 0x789a63
call esi
test eax, eax
je 0x100360ec
mov eax, dword [ebp - 0x28]
mov ecx, 0x789a63
mov dword [ecx], eax
mov al, byte [ebp - 0x24]
mov byte [ecx + 4], al
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0x2c], 0
push 5
push ecx
call esi
test eax, eax
jne 0x100360ee
call edi
mov eax, 0x10035ef0
mov byte [ebp - 0x28], 0xe9
sub eax, 0x789db1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x27], eax
lea eax, [ebp - 0x20]
push eax
push 0x40
push 5
push 0x789dac
call esi
test eax, eax
je 0x10036140
mov eax, dword [ebp - 0x28]
mov ecx, 0x789dac
mov dword [ecx], eax
mov al, byte [ebp - 0x24]
mov byte [ecx + 4], al
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0x2c], 0
push 5
push ecx
call esi
test eax, eax
jne 0x10036142
call edi
mov byte [0x1014d46c], 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10131804
mov esp, ebp
pop ebp
ret