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, 0xb8
mov rax, qword [0x180099010]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rax, qword [0x180099e80]
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 - 8], r13
cmp byte [rax], 0
je 0x18000121e
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, [0x180062828]
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, [0x180062828]
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.18004e560
mov rax, qword gs:[0x58]
mov ecx, dword [0x1800999b4]
mov edx, 4
mov rbx, qword [rax + rcx*8]
add rbx, rdx
mov eax, dword [rbx]
cmp dword [0x1800abe48], eax
jle 0x180001285
lea rcx, [0x1800abe48]
call fcn.1800602c0
cmp dword [0x1800abe48], 0xffffffff
jne 0x180001285
mov rax, qword [0x180099cf0]
lea rcx, [0x1800abe48]
mov qword [0x1800abe58], rax
call fcn.180060260
mov rcx, qword [0x1800abe58]
test rcx, rcx
je 0x1800012a1
mov eax, dword [rcx]
add rcx, 4
add rcx, rax
mov qword [0x180099cb0], rcx
mov eax, dword [rbx]
cmp dword [0x1800ac3e0], eax
jle 0x1800012da
lea rcx, [0x1800ac3e0]
call fcn.1800602c0
cmp dword [0x1800ac3e0], 0xffffffff
jne 0x1800012da
mov rax, qword [0x180099e18]
lea rcx, [0x1800ac3e0]
mov qword [0x1800ac3d8], rax
call fcn.180060260
mov rcx, qword [0x1800ac3d8]
test rcx, rcx
je 0x1800012f6
mov eax, dword [rcx]
add rcx, 4
add rcx, rax
mov qword [0x180099e40], rcx
mov rax, qword [0x180099e80]
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xa8], r14
cmp byte [rax + 5], 0
je 0x180001367
lea r14, str.xinput1_4.dll
xor edi, edi
mov rbx, r14
lea rsi, str.Setting_P_d_as__ws__Skin:__ws_
nop
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x180099c48], rax
test rax, rax
jne 0x1800014f7
inc edi
add rbx, 8
cmp rbx, rsi
jl 0x180001330
lea rdx, str.Failed_to_initialize_XInput_
lea rcx, str.eGamepadManager::Initialize
call fcn.18004e560
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, qword [0x1800999d0]
mov r13d, 0x80000000
mov rbp, rax
mov eax, 0xffffffff
test rbx, rbx
je 0x1800013b2
nop dword [rax]
mov rcx, qword [rbx + 8]
sub rcx, rbp
add rcx, r13
cmp rcx, rax
ja 0x1800013aa
cmp qword [rbx + 0x10], 0xe
jae 0x18000149e
mov rbx, qword [rbx]
test rbx, rbx
jne 0x180001390
lea rcx, [rsp + 0x60]
mov qword [rsp + 0xa0], r15
mov rsi, rbp
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x88]
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 0x180001473
nop dword [rax]
cmp dword [rsp + 0x50], 0x10000
jne 0x180001452
mov rax, qword [rsp + 0x48]
cmp rax, rdi
jb 0x180001457
mov rcx, qword [rsp + 0x30]
mov edx, 0xffffffff
dec rcx
add rcx, r15
and rcx, r14
mov rax, rcx
sub rax, rbp
add rax, r13
cmp rax, rdx
ja 0x180001473
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x180001475
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 0x180001400
xor ebx, ebx
mov rax, qword [0x1800999d0]
mov r15, qword [rsp + 0xa0]
mov qword [0x1800999d0], 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, [0x18005ede0]
mov r14, qword [rsp + 0xa8]
mov r13, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xd8]
mov rsi, qword [rsp + 0xd0]
mov rbp, qword [rsp + 0xc8]
cmp rax, 0xe
jb 0x18000154c
mov rdx, qword [rbx + 8]
mov qword [rbx + 8], rdx
mov qword [rbx + 0x10], rax
test rdx, rdx
je 0x18000154e
add qword [rbx + 8], 0xe
add rax, 0xfffffffffffffff2
mov qword [rbx + 0x10], rax
jmp 0x18000154e
lea rdx, str.XInputGetState
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x180099c48], 0
mov qword [0x180099a38], rax
je 0x180001354
test rax, rax
je 0x180001354
test edi, edi
js 0x180001354
movsxd r8, edi
lea rdx, str.XInput_loaded___DLL:__s_
lea rcx, str.eGamepadManager::Initialize
mov r8, qword [r14 + r8*8]
call fcn.18004e560
jmp 0x180001367
xor edx, edx
mov dword [rdx], 0x25ff
mov word [rdx + 4], 0
mov qword [rdx + 6], rcx
mov rcx, qword [0x180099cd8]
call fcn.180001b90
mov rax, qword [rbx + 0x10]
lea rcx, [0x180052fd0]
cmp rax, 0xe
jb 0x18000159b
mov rdx, qword [rbx + 8]
mov qword [rbx + 8], rdx
mov qword [rbx + 0x10], rax
test rdx, rdx
je 0x18000159d
add qword [rbx + 8], 0xe
add rax, 0xfffffffffffffff2
mov qword [rbx + 0x10], rax
jmp 0x18000159d
xor edx, edx
mov dword [rdx], 0x25ff
mov word [rdx + 4], 0
mov qword [rdx + 6], rcx
mov rcx, qword [0x180099ce8]
call fcn.180001b90
mov rax, qword [rbx + 0x10]
lea rcx, [0x1800512c0]
cmp rax, 0xe
jb 0x1800015ea
mov rdx, qword [rbx + 8]
mov qword [rbx + 8], rdx
mov qword [rbx + 0x10], rax
test rdx, rdx
je 0x1800015ec
add qword [rbx + 8], 0xe
add rax, 0xfffffffffffffff2
mov qword [rbx + 0x10], rax
jmp 0x1800015ec
xor edx, edx
mov dword [rdx], 0x25ff
mov word [rdx + 4], 0
mov qword [rdx + 6], rcx
mov rcx, qword [0x180099d90]
call fcn.180001b90
mov rcx, qword [0x180099d20]
lea r8, [0x180099c68]
lea rdx, [0x180051280]
call fcn.18004fcd0
mov rcx, qword [0x180099d20]
call fcn.18004ffb0
mov rcx, qword [0x180099d28]
lea r8, [0x180099c60]
lea rdx, [0x1800512a0]
call fcn.18004fcd0
mov rcx, qword [0x180099d28]
call fcn.18004ffb0
mov rcx, qword [0x180099da8]
lea r8, [0x180099c80]
lea rdx, [0x180052510]
call fcn.18004fcd0
mov rcx, qword [0x180099da8]
call fcn.18004ffb0
mov rcx, qword [0x180099df0]
lea r8, [0x180099c78]
lea rdx, [0x180051b80]
call fcn.18004fcd0
mov rcx, qword [0x180099df0]
call fcn.18004ffb0
mov rcx, qword [0x180099df8]
lea r8, [0x180099c70]
lea rdx, [0x180051c10]
call fcn.18004fcd0
mov rcx, qword [0x180099df8]
call fcn.18004ffb0
mov rcx, qword [0x180099e10]
lea r8, [0x180099cc8]
lea rdx, [0x1800547c0]
call fcn.18004fcd0
mov rcx, qword [0x180099e10]
call fcn.18004ffb0
mov rcx, qword [0x180099d68]
lea r8, [0x180099c88]
lea rdx, [0x1800523a0]
call fcn.18004fcd0
mov rcx, qword [0x180099d68]
call fcn.18004ffb0
mov rcx, qword [0x180099de0]
lea r8, [0x180099cc0]
lea rdx, [0x180053aa0]
call fcn.18004fcd0
mov rcx, qword [0x180099de0]
call fcn.18004ffb0
mov rax, qword [0x180099e80]
mov rbx, qword [rsp + 0xc0]
cmp byte [rax + 2], 0
je 0x180001773
mov rcx, qword [0x180099d70]
lea r8, [0x180099e88]
lea rdx, [0x180001180]
call fcn.18004fcd0
mov rcx, qword [0x180099d70]
call fcn.18004ffb0
mov qword [rsp + 0x28], 0
lea r8, [0x1800024f0]
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1800017a6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.18005f9b0
add rsp, 0xb8
ret