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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008bd73
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100b200c]
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 [0x100b385c]
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 + 0x3608]
mov eax, dword [ecx + 0x3f24]
test al, 1
jne 0x10065c89
or eax, 1
mov dword [ecx + 0x3f24], eax
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movlpd qword [ebp - 0x48], xmm0
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
mov byte [edi + 9], 1
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + edi], al
add ecx, 1
adc edx, 0
jne 0x10065c75
cmp ecx, 9
jb 0x10065c61
push 0x1009f790
call fcn.1007d62a
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp byte [edi + 9], 0
je 0x10065ccb
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.1007dfd0
xor byte [esi + edi], al
add esi, 1
adc ebx, 0
jne 0x10065cc7
cmp esi, 9
jb 0x10065ca0
mov byte [edi + 9], 0
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x10065c35
push 0x1c
lea ecx, [ebp - 0x3c]
add eax, 0x1000
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov eax, dword [0x100b62f0]
test eax, eax
jne 0x10065f24
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 0x100a1ff4
mov ecx, edi
call fcn.10065960
mov edx, eax
add esp, 0x10
mov dword [0x100bfb60], edx
cmp edx, 0x1000
jb 0x10065d58
xor ecx, ecx
nop dword [eax]
cmp byte [ecx + edx], 0xff
lea eax, [ecx + edx]
jne 0x10065d40
cmp byte [ecx + edx + 1], 0x15
je 0x10065d4b
dec ecx
cmp ecx, 0xfffffe00
jne 0x10065d30
jmp 0x10065d58
mov dword [0x100b62f0], eax
test eax, eax
jne 0x10065f24
push ecx
push 7
push str.xxx____x____xxxxxxxx____x____xxxxxx____xxxxxxxxxxxxx__
push 0x100a204c
mov edx, esi
mov ecx, edi
call fcn.10065960
mov edx, eax
add esp, 0x10
mov dword [0x100bfb60], edx
cmp edx, 0x1000
jb 0x10065dab
xor ecx, ecx
cmp byte [ecx + edx], 0xff
lea eax, [ecx + edx]
jne 0x10065d93
cmp byte [ecx + edx + 1], 0x15
je 0x10065d9e
dec ecx
cmp ecx, 0xfffffe00
jne 0x10065d83
jmp 0x10065dab
mov dword [0x100b62f0], eax
test eax, eax
jne 0x10065f24
push ecx
push 0x15
push str.xxx____xxxxxxxxxx____xx
push 0x100a209c
mov edx, esi
mov ecx, edi
call fcn.10065960
mov edx, eax
add esp, 0x10
mov dword [0x100bfb60], edx
cmp edx, 0x1000
jb 0x10065dfe
xor ecx, ecx
cmp byte [ecx + edx], 0xff
lea eax, [ecx + edx]
jne 0x10065de6
cmp byte [ecx + edx + 1], 0x15
je 0x10065df1
dec ecx
cmp ecx, 0xfffffe00
jne 0x10065dd6
jmp 0x10065dfe
mov dword [0x100b62f0], eax
test eax, eax
jne 0x10065f24
push ecx
push 7
push str.xxx____xx
push 0x100a20c0
mov edx, esi
mov ecx, edi
call fcn.10065960
mov edx, eax
add esp, 0x10
mov dword [0x100bfb60], edx
cmp edx, 0x1000
jb 0x10065e58
xor ecx, ecx
nop dword [eax]
cmp byte [ecx + edx], 0xff
lea eax, [ecx + edx]
jne 0x10065e40
cmp byte [ecx + edx + 1], 0x15
je 0x10065e4b
dec ecx
cmp ecx, 0xfffffe00
jne 0x10065e30
jmp 0x10065e58
mov dword [0x100b62f0], eax
test eax, eax
jne 0x10065f24
push ecx
push 0xe
push str.xxx____xxx____x____
push 0x100a20e0
mov edx, esi
mov ecx, edi
call fcn.10065960
mov edx, eax
add esp, 0x10
mov dword [0x100bfb60], edx
cmp edx, 0x1000
jb 0x10065ea7
xor ecx, ecx
cmp byte [ecx + edx], 0xff
lea eax, [ecx + edx]
jne 0x10065e93
cmp byte [ecx + edx + 1], 0x15
je 0x10065e9e
dec ecx
cmp ecx, 0xfffffe00
jne 0x10065e83
jmp 0x10065ea7
mov dword [0x100b62f0], eax
test eax, eax
jne 0x10065f24
push ecx
push 5
push str.xxxxx
push 0x100a20fc
mov edx, esi
mov ecx, edi
call fcn.10065960
mov edx, eax
add esp, 0x10
mov dword [0x100bfb60], edx
cmp edx, 0x1000
jae 0x10065ef6
mov dword [0x100b62f0], 0
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.1007cc49
mov esp, ebp
pop ebp
ret
xor ecx, ecx
nop dword [eax + eax]
cmp byte [ecx + edx], 0xff
lea eax, [ecx + edx]
jne 0x10065f10
cmp byte [ecx + edx + 1], 0x15
je 0x10065f1b
dec ecx
cmp ecx, 0xfffffe00
jne 0x10065f00
jmp 0x10065ed0
mov dword [0x100b62f0], eax
test eax, eax
je 0x10065eda
cmp eax, 0x1000
jbe 0x10065f30
mov ecx, dword [eax + 2]
jmp 0x10065f32
xor ecx, ecx
mov ecx, dword [ecx]
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0x100baa24], ecx
mov dword [0x100b6894], 0x100659d0
mov dword [0x100b62c4], 0x100b6894
lea ecx, [ebp - 0x14]
add eax, 2
push ecx
push 0x40
push 1
add eax, esi
push eax
call edi
mov ecx, dword [0x100b62f0]
mov al, byte [esi + 0x100b62c4]
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 0x10065eda
mov eax, dword [0x100b62f0]
jmp 0x10065f56