Function at 0x1800011a0
Capabilities:
Allocate or change rwx memory
Create thread
Get system information on windows
Spawn thread to rwx shellcode

Disassembly:
mov r11, rsp
sub rsp, 0xc8
mov rax, qword [0x180085010]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [0x180085d70]
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 - 8], rdi
cmp byte [rax], 0
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
je 0x180001226
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rax
lea rdx, [0x1800517e8]
lea rcx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rax
lea rdx, [0x1800517e8]
lea rcx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
lea rdx, str.INFO:_MK1Hook_Begin_
lea rcx, str.OnInitializeHook
call fcn.180045c30
call fcn.180047300
mov ecx, dword [0x1800859b4]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180097878], ecx
jle 0x180001290
lea rcx, [0x180097878]
call fcn.18004ede0
cmp dword [0x180097878], 0xffffffff
jne 0x180001290
mov rax, qword [0x180085cd0]
lea rcx, [0x180097878]
mov qword [0x180097880], rax
call fcn.18004ed80
mov rcx, qword [0x180097880]
test rcx, rcx
je 0x1800012ac
mov eax, dword [rcx]
add rcx, 4
add rcx, rax
mov qword [0x180085c78], rcx
mov rax, qword [0x180085d70]
mov qword [rsp + 0xe0], rsi
mov qword [rsp + 0xa8], r14
cmp byte [rax + 5], 0
je 0x180001317
lea r14, str.xinput1_4.dll
xor edi, edi
mov rbx, r14
lea rsi, str.Setting_P_d_as__ws__Skin:__ws___Extra_Moveset:__ws_
nop dword [rax]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x180085c48], rax
test rax, rax
jne 0x1800014a2
inc edi
add rbx, 8
cmp rbx, rsi
jl 0x1800012e0
lea rdx, str.Failed_to_initialize_XInput_
lea rcx, str.eGamepadManager::Initialize
call fcn.180045c30
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, qword [0x1800859d0]
mov r12d, 0x80000000
mov rbp, rax
mov r13d, 0xffffffff
test rbx, rbx
je 0x180001362
nop word [rax + rax]
mov rcx, qword [rbx + 8]
sub rcx, rbp
add rcx, r12
cmp rcx, r13
ja 0x18000135a
cmp qword [rbx + 0x10], 0xe
jae 0x180001449
mov rbx, qword [rbx]
test rbx, rbx
jne 0x180001340
lea rcx, [rsp + 0x68]
mov qword [rsp + 0xa0], r15
mov rsi, rbp
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x90]
lea rdx, [rsp + 0x30]
mov r15d, ecx
mov r8d, 0x30
lea r14d, [rcx - 1]
lea rdi, [rcx + 0x25]
not r14
mov rcx, rbp
and rdi, r14
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18000141e
nop dword [rax]
cmp dword [rsp + 0x50], 0x10000
jne 0x1800013fd
mov rax, qword [rsp + 0x48]
cmp rax, rdi
jb 0x180001402
mov rcx, qword [rsp + 0x30]
dec rcx
add rcx, r15
and rcx, r14
mov rax, rcx
sub rax, rbp
add rax, r12
cmp rax, r13
ja 0x18000141e
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x180001420
mov rax, qword [rsp + 0x48]
add rsi, rax
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x30
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1800013b0
xor ebx, ebx
mov rax, qword [0x1800859d0]
mov r15, qword [rsp + 0xa0]
mov qword [0x1800859d0], rbx
mov qword [rbx], rax
lea rax, [rbx + 0x18]
mov qword [rbx + 8], rax
lea rax, [rdi - 0x18]
mov qword [rbx + 0x10], rax
mov rax, qword [rbx + 0x10]
lea rcx, [0x18004d9a0]
mov r14, qword [rsp + 0xa8]
mov r13, qword [rsp + 0xb0]
mov r12, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xd8]
cmp rax, 0xe
jb 0x1800014f7
mov rdx, qword [rbx + 8]
mov qword [rbx + 8], rdx
mov qword [rbx + 0x10], rax
test rdx, rdx
je 0x1800014f9
add qword [rbx + 8], 0xe
add rax, 0xfffffffffffffff2
mov qword [rbx + 0x10], rax
jmp 0x1800014f9
lea rdx, str.XInputGetState
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x180085c48], 0
mov qword [0x180085a38], rax
je 0x180001304
test rax, rax
je 0x180001304
test edi, edi
js 0x180001304
movsxd r8, edi
lea rdx, str.XInput_loaded___DLL:__s_
lea rcx, str.eGamepadManager::Initialize
mov r8, qword [r14 + r8*8]
call fcn.180045c30
jmp 0x180001317
xor edx, edx
mov dword [rdx], 0x25ff
mov word [rdx + 4], 0
mov qword [rdx + 6], rcx
mov rcx, qword [0x180085ca8]
call fcn.180001c20
mov rax, qword [rbx + 0x10]
lea rcx, [0x180048140]
cmp rax, 0xe
jb 0x180001546
mov rdx, qword [rbx + 8]
mov qword [rbx + 8], rdx
mov qword [rbx + 0x10], rax
test rdx, rdx
je 0x180001548
add qword [rbx + 8], 0xe
add rax, 0xfffffffffffffff2
mov qword [rbx + 0x10], rax
jmp 0x180001548
xor edx, edx
mov dword [rdx], 0x25ff
mov word [rdx + 4], 0
mov qword [rdx + 6], rcx
mov rcx, qword [0x180085cb8]
call fcn.180001c20
mov rax, qword [rbx + 0x10]
lea rcx, [0x1800480a0]
cmp rax, 0xe
jb 0x180001583
mov rdi, qword [rbx + 8]
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rax
jmp 0x180001585
xor edi, edi
test rdi, rdi
je 0x180001597
add qword [rbx + 8], 0xe
add rax, 0xfffffffffffffff2
mov qword [rbx + 0x10], rax
mov dword [rdi], 0x25ff
lea r9, [rsp + 0x60]
mov word [rdi + 4], 0
mov edx, 5
mov rbx, qword [0x180085cc8]
mov qword [rdi + 6], rcx
mov rcx, rbx
lea r8d, [rdx + 0x3b]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, dword [rsp + 0x60]
lea rax, [rbx + 1]
sub edi, eax
mov byte [rbx], 0xe9
sub edi, 4
lea r9, [rsp + 0x60]
mov edx, 5
mov dword [rax], edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [0x180085cf0]
lea r8, [0x180085c60]
lea rdx, [0x180047f10]
call fcn.1800473a0
mov rcx, qword [0x180085cf0]
call fcn.180047680
mov rcx, qword [0x180085d18]
lea r8, [0x180085c90]
lea rdx, [0x180048710]
call fcn.1800473a0
mov rcx, qword [0x180085d18]
call fcn.180047680
mov rcx, qword [0x180085d20]
lea r8, [0x180085c68]
lea rdx, [0x180047f30]
call fcn.1800473a0
mov rcx, qword [0x180085d20]
call fcn.180047680
mov rax, qword [0x180085d70]
mov rdi, qword [rsp + 0xc0]
cmp byte [rax + 2], 0
je 0x18000169f
mov rcx, qword [0x180085d28]
lea r8, [0x180085d78]
lea rdx, [0x180001180]
call fcn.1800473a0
mov rcx, qword [0x180085d28]
call fcn.180047680
mov rax, qword [0x180085d70]
cmp byte [rax + 4], 0
je 0x1800016de
mov rbx, qword [0x180085d30]
lea r9, [rsp + 0x60]
mov edx, 1
mov rcx, rbx
lea r8d, [rdx + 0x3f]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, dword [rsp + 0x60]
lea r9, [rsp + 0x60]
mov edx, 1
mov byte [rbx], 0xc3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [rsp + 0x28], 0
lea r8, [0x180002520]
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0xd0]
test rax, rax
je 0x180001719
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.18004e500
add rsp, 0xc8
ret