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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010555d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10167080]
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 edi, ecx
push 0
push 0
push 0
push 0
push 0
push 0
push str.Do_not_use_a_border_in_windowed_mode
push 1
push 0
push str.r_noborder
mov dword [edi], vtable.components::window.0
call dword [0x10167e44]
add esp, 0x28
mov dword [0x1020d3c4], eax
lea ecx, [ebp - 0x5c]
call fcn.10004700
cmp byte [ebp - 0x5c], 0
jne 0x1006510c
mov byte [ebp - 0x5c], 1
mov byte [ebp - 0x47], 1
mov dword [ebp - 0x58], 0x5f4963
mov dword [ebp - 0x54], 0x10064dd0
mov eax, dword [0x5f4964]
add eax, 0x5f4968
mov dword [ebp - 0x50], eax
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.10068a70
cmp byte [eax + 1], 0
je 0x10065128
mov byte [eax + 1], 0
mov dword [ebp - 4], 1
cmp byte [ebp - 0x5c], 0
je 0x1006513e
push ecx
lea ecx, [ebp - 0x5c]
call fcn.10068b40
lea eax, [ebp - 0x40]
push eax
call fcn.1000ab50
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x60]
add esp, 4
push eax
push 0x40
push 6
push 0x5f49ca
call esi
mov eax, 0x5f49ca
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
push 6
push 0x5f49ca
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 6
push 0x5f49ca
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea ecx, [ebp - 0x5c]
call fcn.10004700
cmp byte [ebp - 0x5c], 0
jne 0x100651c6
mov byte [ebp - 0x5c], 1
mov byte [ebp - 0x47], 0
mov dword [ebp - 0x58], 0x5f49ca
mov dword [ebp - 0x54], 0x10064e10
mov eax, dword [0x5f49cb]
add eax, 0x5f49cf
mov dword [ebp - 0x50], eax
sub esp, 8
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.10068a70
cmp byte [eax + 1], 0
je 0x100651e2
mov byte [eax + 1], 0
mov dword [ebp - 4], 3
cmp byte [ebp - 0x5c], 0
je 0x100651f8
push ecx
lea ecx, [ebp - 0x5c]
call fcn.10068b40
lea eax, [ebp - 0x40]
push eax
call fcn.1000ab50
add esp, 4
lea eax, [ebp - 0x60]
push eax
push 0x40
push 4
push 0x69128c
call esi
lea eax, [ebp - 0x60]
mov dword [0x69128c], 0x10064e00
push eax
push dword [ebp - 0x60]
push 4
push 0x69128c
call esi
push 4
push 0x69128c
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 0x60]
push eax
push 0x40
push 4
push 0x5774ee
call esi
lea eax, [ebp - 0x60]
mov dword [0x5774ee], 0x10064ec0
push eax
push dword [ebp - 0x60]
push 4
push 0x5774ee
call esi
push 4
push 0x5774ee
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 0x60]
push eax
push 0x40
push 9
push 0x5f4c47
call esi
mov eax, 0x5f4c47
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
mov byte [eax + 8], 0x90
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
push 9
push 0x5f4c47
call esi
push 9
push 0x5f4c47
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea ecx, [ebp - 0x5c]
call fcn.10004700
cmp byte [ebp - 0x5c], 0
jne 0x100652ec
mov byte [ebp - 0x5c], 1
mov byte [ebp - 0x47], 1
mov dword [ebp - 0x58], 0x5f4c47
mov dword [ebp - 0x54], 0x10065050
mov eax, dword [0x5f4c48]
add eax, 0x5f4c4c
mov dword [ebp - 0x50], eax
sub esp, 8
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.10068a70
cmp byte [eax + 1], 0
je 0x10065308
mov byte [eax + 1], 0
mov dword [ebp - 4], 5
cmp byte [ebp - 0x5c], 0
je 0x1006531e
push ecx
lea ecx, [ebp - 0x5c]
call fcn.10068b40
lea eax, [ebp - 0x40]
push eax
call fcn.1000ab50
add esp, 4
mov eax, edi
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.100d8e9a
mov esp, ebp
pop ebp
ret