Function at 0x14009a0a0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1400c7010]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rsi, qword [0x1400ce970]
lea rdx, [0x1400ce9a8]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x14009a0fe
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor r14d, r14d
mov qword [0x1400ce9cc], r14
mov qword [0x1400ce9d8], 1
mov qword [0x1400ce9f4], r14
mov dword [0x1400ce9e8], 1
mov qword [0x1400ce9e0], rsi
mov dword [0x1400ce9d4], r14d
mov dword [0x1400ce9c8], 0x15
mov eax, dword [0x1400cd4cc]
mov dword [0x1400ce9c0], eax
mov eax, dword [0x1400cd520]
mov dword [0x1400ce9c4], eax
mov dword [0x1400ce9ec], 1
mov dword [0x1400ce9f0], 0x50
mov dword [0x1400ce9fc], 0x80000000
mov rcx, qword [0x1400ce9a8]
mov rax, qword [rcx]
lea rdx, [0x1400cea18]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r14
lea rdx, [0x1400ce9c0]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
mov r9, rsi
xor edx, edx
lea r8d, [r14 + 1]
call qword [rax + 0xa0]
test eax, eax
jns 0x14009a1cc
mov rcx, qword [0x1400ce9a8]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea ecx, [r14 + 4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rdi, qword [0x1400ce830]
test rdi, rdi
je 0x14009a1de
inc dword [rdi + 0xec]
mov ecx, 0x5680
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0xa8], rax
lea rcx, [rsp + 0x40]
mov qword [rbp + 0xa0], rcx
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14009a212
xor edx, edx
mov rcx, rax
call fcn.140050bb0
jmp 0x14009a215
mov rax, r14
mov qword [0x1400ce830], rax
call fcn.140057970
mov rbx, qword [0x1400ce830]
test rdi, rdi
cmovne rbx, rdi
mov qword [0x1400ce830], rbx
mov qword [rbx + 0x20], r14
mov r10, qword [rbx + 0x50]
call fcn.140077730
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
movss xmm3, dword [0x1400bc3f8]
lea rdx, [0x1400b6db0]
mov rcx, r10
call fcn.140075590
mov r10, qword [rbx + 0x50]
call fcn.140077730
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
movss xmm3, dword [0x1400bc3fc]
lea rdx, [0x1400b6db0]
mov rcx, r10
call fcn.140075590
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp - 0x80], xmm2
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x60], xmm2
movups xmmword [rbp - 0x40], xmm2
movups xmmword [rbp - 0x30], xmm2
mov qword [rbp], rax
mov byte [rbp - 0x74], 1
mov dword [rbp - 0x3c], 0x7f7fffff
mov dword [rbp - 0x30], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x2c], ax
mov dword [rbp - 0x68], 1
mov dword [rbp - 0x64], 1
mov byte [rbp - 0x60], 1
movaps xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x10], xmm0
movaps xmm1, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x20], xmm1
movaps xmm0, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x40], xmm2
movaps xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x50], xmm0
movaps xmm1, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0x60], xmm1
movaps xmmword [rbp + 0x70], xmm2
movaps xmmword [rbp + 0x80], xmm2
movsd xmm0, qword [rbp]
movsd qword [rbp + 0x90], xmm0
lea rax, [0x1400c7060]
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x18], 0x6458
mov dword [rbp + 0x24], 0x42180000
lea rax, [0x1400bbfd8]
mov qword [rbp + 0x48], rax
lea rdx, [rbp + 0x10]
mov rcx, qword [rbx + 0x50]
call fcn.1400752d0
xor ecx, ecx
call fcn.1400708a0
mov rbx, qword [0x1400ce830]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14009a4aa
lea rcx, [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14009a4aa
mov rax, qword [0x1400ce830]
test rax, rax
je 0x14009a397
inc dword [rax + 0xec]
mov ecx, 0x48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x14009a3c4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
mov qword [rdi + 0x40], rax
jmp 0x14009a3c7
mov rdi, r14
mov qword [rbx + 0x90], rdi
lea rax, [rsp + 0x50]
mov qword [rbx + 0x80], rax
or dword [rbx + 0xc], 6
mov qword [rdi], rsi
mov byte [rdi + 0x2d], 1
mov rax, qword [rbp + 0xa0]
mov qword [rdi + 0x20], rax
mov rax, qword [rbp + 0xa8]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
mov rax, qword [0x1400ce830]
mov rcx, qword [rax + 0x40b8]
mov rax, qword [rcx]
mov qword [rax + 0x28], rsi
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x58], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x60], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x68], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x70], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x78], rax
mov rbx, r14
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x58]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14009a47e
inc rbx
cmp rbx, 5
jl 0x14009a460
jmp 0x14009a4aa
mov qword [rdi + 0x30], rsi
lea rdx, str.XInputGetCapabilities
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
add byte [rax - 0x77], cl
cmp byte [r8 - 0x73], r9b
adc eax, 0x20adb
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x40], rax
mov rdi, qword [0x1400cea18]
mov rbx, qword [0x1400ce830]
test rbx, rbx
je 0x14009a4c3
inc dword [rbx + 0xec]
mov ecx, 0x28
invalid
invalid
fidivr word [rdi + 0x3b]