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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e773
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100b700c]
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 ecx, dword [0x100b92d8]
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x20], 0x6835cca7
mov dword [ebp - 0x1c], 0xedd71fb9
mov byte [ebp - 0x18], 0xc3
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x14], ecx
lea edi, [ecx + 0x36cc]
mov eax, dword [ecx + 0x41d4]
test al, 1
jne 0x100668f9
or eax, 1
mov dword [ecx + 0x41d4], eax
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movlpd qword [ebp - 0x48], xmm0
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
mov byte [edi + 9], 1
mov cl, byte [ebp + eax - 0x20]
mov byte [eax + edi], cl
add eax, 1
adc edx, 0
jne 0x100668e5
cmp eax, 9
jb 0x100668d1
push 0x100a3200
call fcn.1007f376
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp byte [edi + 9], 0
je 0x1006693b
xorps xmm0, xmm0
movlpd qword [ebp - 0x48], xmm0
mov ebx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
nop dword [eax]
mov ecx, esi
mov eax, 0x5151ffc3
and ecx, 7
mov edx, 0x81bb7b97
shl ecx, 3
call fcn.1007fd10
xor byte [esi + edi], al
add esi, 1
adc ebx, 0
jne 0x10066937
cmp esi, 9
jb 0x10066910
mov byte [edi + 9], 0
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x100668a5
push 0x1c
lea ecx, [ebp - 0x3c]
add eax, 0x1000
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov ecx, dword [0x100c02b4]
test ecx, ecx
jne 0x10066a99
mov esi, dword [ebp - 0x30]
mov edx, esi
mov edi, dword [ebp - 0x3c]
push ecx
push 7
push str.xxx____xx__xxxxxxx____xxxx__xx
push 0x100a61b8
mov ecx, edi
call fcn.10066590
add esp, 0x10
mov dword [0x100c56c0], eax
call fcn.10066640
mov ecx, eax
mov dword [0x100c02b4], ecx
test ecx, ecx
jne 0x10066a99
push ecx
push 7
push str.xxx____x____xxxxxxxx____x____xxxxxx____xxxxxxxxxxxxx__
push 0x100a6210
mov edx, esi
mov ecx, edi
call fcn.10066590
add esp, 0x10
mov dword [0x100c56c0], eax
call fcn.10066640
mov ecx, eax
mov dword [0x100c02b4], ecx
test ecx, ecx
jne 0x10066a99
push ecx
push 0x15
push str.xxx____xxxxxxxxxx____xx
push 0x100a6260
mov edx, esi
mov ecx, edi
call fcn.10066590
add esp, 0x10
mov dword [0x100c56c0], eax
call fcn.10066640
mov ecx, eax
mov dword [0x100c02b4], ecx
test ecx, ecx
jne 0x10066a99
push ecx
push 7
push str.xxx____xx
push 0x100a6284
mov edx, esi
mov ecx, edi
call fcn.10066590
add esp, 0x10
mov dword [0x100c56c0], eax
call fcn.10066640
mov ecx, eax
mov dword [0x100c02b4], ecx
test ecx, ecx
jne 0x10066a99
push ecx
push 0xe
push str.xxx____xxx____x____
push 0x100a62a4
mov edx, esi
mov ecx, edi
call fcn.10066590
add esp, 0x10
mov dword [0x100c56c0], eax
call fcn.10066640
mov ecx, eax
mov dword [0x100c02b4], ecx
test ecx, ecx
jne 0x10066a99
push ecx
push 5
push str.xxxxx
push 0x100a62c0
mov edx, esi
mov ecx, edi
call fcn.10066590
add esp, 0x10
mov dword [0x100c56c0], eax
call fcn.10066640
mov ecx, eax
mov dword [0x100c02b4], ecx
test ecx, ecx
je 0x10066b0d
cmp ecx, 0x1000
jbe 0x10066aa6
mov eax, dword [ecx + 2]
jmp 0x10066aa8
xor eax, eax
mov eax, dword [eax]
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0x100ba8e8], eax
mov dword [0x100c084c], 0x10066600
mov dword [0x100c0288], 0x100c084c
nop dword [eax + eax]
lea eax, [ebp - 0x14]
push eax
push 0x40
lea eax, [ecx + 2]
push 1
add eax, esi
push eax
call edi
mov ecx, dword [0x100c02b4]
mov al, byte [esi + 0x100c0288]
add ecx, 2
add ecx, esi
mov byte [ecx], al
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 1
push ecx
call edi
inc esi
cmp esi, 3
jg 0x10066b0d
mov ecx, dword [0x100c02b4]
jmp 0x10066ad0
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.1007e999
mov esp, ebp
pop ebp
ret