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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0xb0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x1801c85c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, qword [0x1802040b0]
test rdi, rdi
je 0x1801152b5
inc dword [rdi + 0xf4]
mov ecx, 0x5df0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x38], rax
xor ebx, ebx
test rax, rax
je 0x1801152e7
xor edx, edx
mov rcx, rax
call fcn.180088a00
jmp 0x1801152ea
mov rax, rbx
mov qword [0x1802040b0], rax
call fcn.18008d8a0
test rdi, rdi
je 0x180115304
mov qword [0x1802040b0], rdi
jmp 0x18011530b
mov rdi, qword [0x1802040b0]
mov qword [rdi + 0x20], rbx
mov qword [rdi + 0x28], rbx
mov rax, qword [rdi + 0x58]
or dword [rax], 1
movss xmm2, dword [0x1801a5210]
mov rcx, qword [rdi + 0x58]
call fcn.1800aec10
movss xmm2, dword [0x1801a5208]
mov rcx, qword [rdi + 0x58]
call fcn.1800aec10
movss xmm2, dword [0x1801a5214]
mov rcx, qword [rdi + 0x58]
call fcn.1800aec10
movss xmm2, dword [0x1801a521c]
mov rcx, qword [rdi + 0x58]
call fcn.1800aec10
mov rdi, qword [0x1802040b0]
lea rcx, [rdi + 0x37e0]
movss xmm1, dword [0x1801a5148]
call fcn.180089a30
movdqa xmm5, xmmword [0x1801a5a50]
movups xmmword [rcx + 0xdc], xmm5
movdqa xmm0, xmmword [0x1801a59d0]
movups xmmword [rcx + 0xec], xmm0
movdqa xmm2, xmmword [0x1801a5860]
movups xmmword [rcx + 0xfc], xmm2
movups xmmword [rcx + 0x10c], xmm2
movups xmmword [rcx + 0x11c], xmm2
movdqa xmm5, xmmword [0x1801a57a0]
movups xmmword [rcx + 0x12c], xmm5
movdqa xmm0, xmmword [0x1801a53b0]
movups xmmword [rcx + 0x13c], xmm0
movdqa xmm1, xmmword [0x1801a5880]
movups xmmword [rcx + 0x14c], xmm1
movdqa xmm8, xmmword [0x1801a58c0]
movups xmmword [rcx + 0x15c], xmm8
movdqa xmm0, xmmword [0x1801a58e0]
movups xmmword [rcx + 0x16c], xmm0
movups xmmword [rcx + 0x17c], xmm2
movups xmmword [rcx + 0x18c], xmm1
movdqa xmm0, xmmword [0x1801a5770]
movups xmmword [rcx + 0x19c], xmm0
movdqa xmm6, xmmword [0x1801a5870]
movups xmmword [rcx + 0x1ac], xmm6
movups xmmword [rcx + 0x1bc], xmm2
movdqa xmm4, xmmword [0x1801a58b0]
movups xmmword [rcx + 0x1cc], xmm4
movdqa xmm3, xmmword [0x1801a58d0]
movups xmmword [rcx + 0x1dc], xmm3
movdqa xmm0, xmmword [0x1801a58f0]
movups xmmword [rcx + 0x1ec], xmm0
movdqa xmm7, xmmword [0x1801a5920]
movups xmmword [rcx + 0x1fc], xmm7
movups xmmword [rcx + 0x20c], xmm4
movups xmmword [rcx + 0x21c], xmm3
movdqa xmm2, xmmword [0x1801a5890]
movups xmmword [rcx + 0x22c], xmm2
movups xmmword [rcx + 0x23c], xmm4
movups xmmword [rcx + 0x24c], xmm3
movups xmmword [rcx + 0x25c], xmm2
movups xmmword [rcx + 0x26c], xmm4
movups xmmword [rcx + 0x27c], xmm3
movups xmmword [rcx + 0x28c], xmm5
movdqa xmm0, xmmword [0x1801a57b0]
movups xmmword [rcx + 0x29c], xmm0
movdqa xmm1, xmmword [0x1801a57c0]
movups xmmword [rcx + 0x2ac], xmm1
movups xmmword [rcx + 0x2bc], xmm2
movups xmmword [rcx + 0x2cc], xmm4
movups xmmword [rcx + 0x2dc], xmm3
movups xmmword [rcx + 0x2ec], xmm6
movdqa xmm0, xmmword [0x1801a58a0]
movups xmmword [rcx + 0x2fc], xmm0
movups xmmword [rcx + 0x30c], xmm8
movups xmmword [rcx + 0x31c], xmm6
movups xmmword [rcx + 0x32c], xmm0
movups xmmword [rcx + 0x33c], xmm7
movdqa xmm0, xmmword [0x1801a59e0]
movups xmmword [rcx + 0x34c], xmm0
movups xmmword [rcx + 0x35c], xmm7
movups xmmword [rcx + 0x36c], xmm0
movdqa xmm0, xmmword [0x1801a56c0]
movups xmmword [rcx + 0x3cc], xmm0
movups xmmword [rcx + 0x3dc], xmm7
movdqa xmm0, xmmword [0x1801a5900]
movups xmmword [rcx + 0x3ec], xmm0
movdqa xmm1, xmmword [0x1801a5910]
movups xmmword [rcx + 0x3fc], xmm1
movdqa xmm0, xmmword [0x1801a5750]
movups xmmword [rcx + 0x40c], xmm0
movups xmmword [rcx + 0x41c], xmm0
mov dword [rcx + 0x10], 0x40400000
mov dword [rcx + 0x44], 0x40400000
mov dword [rcx + 0x78], 0x40400000
mov dword [rcx + 0x80], 0x40400000
mov dword [rcx + 0x88], 0x40400000
mov dword [rcx + 0x14], 0x3f800000
mov dword [rcx + 0x48], 0x3f800000
mov dword [rcx + 0x38], 0x3f800000
mov dword [rcx + 8], 0x41000000
mov dword [rcx + 0xc], 0x41000000
mov dword [rcx + 0x3c], 0x40800000
mov dword [rcx + 0x40], 0x40800000
mov dword [rcx + 0x4c], 0x41000000
mov dword [rcx + 0x50], 0x40800000
mov dword [rcx + 0x54], 0x40800000
mov dword [rcx + 0x58], 0x40800000
mov dword [rcx + 0x6c], 0x41a00000
mov dword [rcx + 0x74], 0x41600000
mov dword [rcx + 0x7c], 0x41200000
mov rax, qword [0x180204418]
mov rcx, qword [rax]
mov rsi, qword [rcx + 0x150]
test rdi, rdi
je 0x18011562b
inc dword [rdi + 0xf4]
mov ecx, 0x28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x18011565a
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbx
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x18011565d
mov rax, rbx
mov qword [rdi + 0xa0], rax
lea rcx, str.imgui_impl_dx9
mov qword [rdi + 0x90], rcx
or dword [rdi + 0xc], 8
mov qword [rax], rsi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
mov rbp, qword [0x1802043c0]
mov rsi, qword [0x1802040b0]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1801157cc
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1801157cc
mov rax, qword [0x1802040b0]
test rax, rax
je 0x1801156c8
inc dword [rax + 0xf4]
mov ecx, 0x48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x1801156f5
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 0x1801156f8
mov rdi, rbx
mov qword [rsi + 0x98], rdi
lea rax, str.imgui_impl_win32
mov qword [rsi + 0x88], rax
or dword [rsi + 0xc], 6
mov qword [rdi], rbp
mov rax, qword [rsp + 0x68]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x70]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
mov rax, qword [0x1802040b0]
mov rcx, qword [rax + 0x4890]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
mov byte [rdi + 0x2d], 1
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x50], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x58], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + rbx*8 + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x1801157a0
inc rbx
cmp rbx, 5
jl 0x180115782
jmp 0x1801157cc
mov qword [rdi + 0x30], rsi
lea rdx, str.XInputGetCapabilities
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x38], rax
lea rdx, str.XInputGetState
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x40], rax
call fcn.180062210
movaps xmm0, xmmword [0x180195640]
movups xmmword [0x1802050ec], xmm0
movaps xmm1, xmmword [0x180195650]
movups xmmword [0x1802050fc], xmm1
movaps xmm0, xmmword [0x180195660]
movups xmmword [0x18020510c], xmm0
movaps xmm1, xmmword [0x180195670]
movups xmmword [0x18020511c], xmm1
movaps xmm0, xmmword [0x180195680]
movups xmmword [0x18020512c], xmm0
mov eax, dword [0x180195690]
mov dword [0x18020513c], eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18015b9a0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rdi
ret