Function at 0x180089440
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x138]
sub rsp, 0x210
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x180182240]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r12, r9
mov r15, r8
mov rbx, rdx
mov rax, qword [0x1801aaa58]
test rax, rax
je 0x1800894a4
inc dword [rax + 0x3b0]
mov ecx, 0x3fb0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x28], rax
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 8], rax
xor r13d, r13d
test rax, rax
je 0x1800894d4
xor edx, edx
mov rcx, rax
call fcn.1800f2e50
jmp 0x1800894d7
mov rax, r13
cmp qword [0x1801aaa58], 0
jne 0x1800894e8
mov qword [0x1801aaa58], rax
mov rcx, rax
call fcn.1800f9560
mov rdi, qword [0x1801aaa58]
mov dword [rdi + 8], 0x20
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1800896cf
lea rcx, [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1800896cf
mov rax, qword [0x1801aaa58]
test rax, rax
je 0x180089534
inc dword [rax + 0x3b0]
mov ecx, 0x48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180089561
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm0
mov qword [rsi + 0x40], rax
jmp 0x180089564
mov rsi, r13
mov qword [rdi + 0xe8], rsi
lea rax, [0x180164298]
mov qword [rdi + 0xd8], rax
or dword [rdi + 0xc], 6
mov qword [rsi], rbx
mov byte [rsi + 0x2d], 1
mov rax, qword [rbp + 0x20]
mov qword [rsi + 0x20], rax
mov rax, qword [rbp + 0x28]
mov qword [rsi + 0x18], rax
mov dword [rsi + 0x28], 9
mov qword [rdi + 0x120], rbx
mov dword [rdi + 0x3c], 9
mov dword [rdi + 0x40], 0x25
mov dword [rdi + 0x44], 0x27
mov dword [rdi + 0x48], 0x26
mov dword [rdi + 0x4c], 0x28
mov dword [rdi + 0x50], 0x21
mov dword [rdi + 0x54], 0x22
mov dword [rdi + 0x58], 0x24
mov dword [rdi + 0x5c], 0x23
mov dword [rdi + 0x60], 0x2d
mov dword [rdi + 0x64], 0x2e
mov dword [rdi + 0x68], 8
mov dword [rdi + 0x6c], 0x20
mov dword [rdi + 0x70], 0xd
mov dword [rdi + 0x74], 0x1b
mov dword [rdi + 0x78], 0xd
mov dword [rdi + 0x7c], 0x41
mov dword [rdi + 0x80], 0x43
mov dword [rdi + 0x84], 0x56
mov dword [rdi + 0x88], 0x58
mov dword [rdi + 0x8c], 0x59
mov dword [rdi + 0x90], 0x5a
lea rax, str.xinput1_4.dll
mov qword [rbp - 0x20], rax
lea rax, str.xinput1_3.dll
mov qword [rbp - 0x18], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp - 0x10], rax
lea rax, str.xinput1_2.dll
mov qword [rbp - 8], rax
lea rax, str.xinput1_1.dll
mov qword [rbp], rax
mov rbx, r13
mov rcx, qword [rbp + rbx*8 - 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
jne 0x1800896a3
inc rbx
cmp rbx, 5
jl 0x180089685
jmp 0x1800896cf
mov qword [rsi + 0x30], r14
lea rdx, str.XInputGetCapabilities
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x38], rax
lea rdx, str.XInputGetState
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x40], rax
mov rsi, qword [0x1801aaa58]
test rsi, rsi
je 0x1800896e1
inc dword [rsi + 0x3b0]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x180089722
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov dword [rax + 0x70], 0x1388
mov dword [rax + 0x74], 0x2710
jmp 0x180089725
mov rbx, r13
mov qword [rsi + 0xf0], rbx
lea rax, str.imgui_impl_dx11
mov qword [rsi + 0xe0], rax
or dword [rsi + 0xc], 8
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], r13
mov qword [rbp + 8], r13
mov rax, qword [r15]
lea r8, [rbp + 0x10]
lea rdx, [0x180164268]
mov rcx, r15
call qword [rax]
test eax, eax
jne 0x1800897a2
mov rcx, qword [rbp + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x18]
lea rdx, [0x180164278]
call qword [rax + 0x30]
test eax, eax
jne 0x1800897a2
mov rcx, qword [rbp + 0x18]
mov rax, qword [rcx]
lea r8, [rbp + 8]
lea rdx, [0x180164288]
call qword [rax + 0x30]
test eax, eax
jne 0x1800897a2
mov qword [rbx], r15
mov qword [rbx + 8], r12
mov rax, qword [rbp + 8]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x1800897b1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1800897c0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 8]
mov rsi, qword [rdi + 0xa8]
movdqa xmm0, xmmword [0x180169c20]
mov dword [rsp + 0x48], 0x9b312ba4
mov word [rsp + 0x4c], 0xaa19
mov ecx, dword [0x1801aa71c]
mov rax, qword gs:[0x58]
mov rdx, qword [rax + rcx*8]
mov r8d, 0x1600
mov eax, dword [r8 + rdx]
mov ecx, 0x1b90
test al, 1
jne 0x180089875
or eax, 1
mov dword [r8 + rdx], eax
lea rbx, [rdx + rcx]
mov byte [rbx + 0x16], 1
lea rax, [rbx + 0x15]
lea rcx, [rsp + 0x4d]
cmp rbx, rcx
ja 0x180089853
lea rcx, [rsp + 0x38]
cmp rax, rcx
jb 0x180089853
movups xmmword [rbx], xmm0
mov eax, dword [rsp + 0x48]
mov dword [rbx + 0x10], eax
movzx eax, word [rsp + 0x4c]
mov word [rbx + 0x14], ax
jmp 0x180089866
movups xmmword [rbx], xmm0
mov eax, dword [rsp + 0x48]
mov dword [rbx + 0x10], eax
movzx eax, word [rsp + 0x4c]
mov word [rbx + 0x14], ax
lea rcx, [0x180152360]
call fcn.180143d60
nop
jmp 0x180089879
lea rbx, [rcx + rdx]
mov rcx, rbx
call fcn.1800f1fc0
mov qword [rbp + 8], r13
lea r8, [rbp + 8]
mov rcx, rbx
call fcn.1800f4650
mov rdi, rax
test rax, rax
je 0x180089a2d
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x50], xmm2
movups xmmword [rsp + 0x60], xmm2
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x60], xmm2
mov qword [rbp - 0x30], rax
mov byte [rsp + 0x5c], 1
mov dword [rsp + 0x68], 3
mov dword [rsp + 0x6c], 1
mov dword [rbp - 0x6c], 0x7f7fffff
mov dword [rbp - 0x60], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x5c], ax
movaps xmm3, xmmword [rsp + 0x50]
movaps xmmword [rbp + 0x30], xmm3
movaps xmm4, xmmword [rsp + 0x60]
movaps xmmword [rbp + 0x40], xmm4
movaps xmmword [rbp + 0x50], xmm2
xorps xmm5, xmm5
movaps xmmword [rbp + 0x60], xmm5
movaps xmm6, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x70], xmm6
movaps xmm1, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x80], xmm1
xorps xmm7, xmm7
movaps xmmword [rbp + 0x90], xmm7
xorps xmm8, xmm8
movaps xmmword [rbp + 0xa0], xmm8
movsd xmm9, qword [rbp - 0x30]
movsd qword [rbp + 0xb0], xmm9
movdqa xmm0, xmm1
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x1800899e2
mov r9, 0xffffffffffffffff
inc r9
cmp byte [rbx + r9], 0
jne 0x180089955
add r9, rbx
cmp r9, rbx
jbe 0x180089989
nop word [rax + rax]
lea rax, [r9 - 1]
movzx ecx, byte [rax]
cmp cl, 0x2f
je 0x180089989
cmp cl, 0x5c
je 0x180089989
mov r9, rax
cmp rax, rbx
ja 0x180089970
movsd xmm0, qword [0x180164a18]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rbp + 0x86]
call fcn.1800f43f0
movsd xmm9, qword [rbp + 0xb0]
movaps xmm8, xmmword [rbp + 0xa0]
movaps xmm7, xmmword [rbp + 0x90]
movaps xmm1, xmmword [rbp + 0x80]
movaps xmm6, xmmword [rbp + 0x70]
movaps xmm5, xmmword [rbp + 0x60]
movaps xmm2, xmmword [rbp + 0x50]
movaps xmm4, xmmword [rbp + 0x40]
movaps xmm3, xmmword [rbp + 0x30]
movaps xmmword [rsp + 0x50], xmm3
movaps xmmword [rsp + 0x60], xmm4
movaps xmmword [rsp + 0x70], xmm2
movaps xmmword [rbp - 0x80], xmm5
movaps xmmword [rbp - 0x70], xmm6
movaps xmmword [rbp - 0x60], xmm1
movaps xmmword [rbp - 0x50], xmm7
movaps xmmword [rbp - 0x40], xmm8
movsd qword [rbp - 0x30], xmm9
mov qword [rsp + 0x50], rdi
mov eax, dword [rbp + 8]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x64], 0x41a00000
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.180115900
mov rax, qword [0x1801aaa58]
or dword [rax + 0x1d18], 0x10
movdqa xmm0, xmmword [0x180165fb0]
movups xmmword [rax + 0x1d54], xmm0
mov qword [rax + 0x1d68], r13
mov qword [rax + 0x1d70], r13
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1801436c0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret