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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1e0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
mov rax, qword [0x14004f040]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rax, qword [0x14004fa28]
test rax, rax
je 0x140001d27
inc dword [rax + 0x3b0]
mov ecx, 0x3fa8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor r14d, r14d
test rax, rax
je 0x140001d46
xor edx, edx
mov rcx, rax
call fcn.1400039d0
jmp 0x140001d49
mov rax, r14
cmp qword [0x14004fa28], r14
jne 0x140001d59
mov qword [0x14004fa28], rax
mov rcx, rax
call fcn.14000a220
mov rbx, qword [0x14004fa28]
mov qword [rbx + 0x20], r14
xor ecx, ecx
call fcn.140021570
mov rsi, qword [rbx + 0xa8]
mov qword [rbp - 0x18], r14
lea r8, [rbp - 0x18]
lea r15, str.C:WindowsFonts_segoeui.ttf
mov rcx, r15
call fcn.1400051d0
mov rdi, rax
test rax, rax
je 0x140001f06
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x30], xmm2
movups xmmword [rsp + 0x40], xmm2
movups xmmword [rsp + 0x70], xmm2
movups xmmword [rbp - 0x80], xmm2
mov qword [rbp - 0x50], rax
mov byte [rsp + 0x3c], 1
mov dword [rsp + 0x48], 3
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x74], 0x7f7fffff
mov dword [rbp - 0x80], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x7c], ax
movaps xmm3, xmmword [rsp + 0x30]
movaps xmmword [rbp], xmm3
movaps xmm4, xmmword [rsp + 0x40]
movaps xmmword [rbp + 0x10], xmm4
movaps xmmword [rbp + 0x20], xmm2
xorps xmm5, xmm5
movaps xmmword [rbp + 0x30], xmm5
movaps xmm6, xmmword [rsp + 0x70]
movaps xmmword [rbp + 0x40], xmm6
movaps xmm1, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x50], xmm1
xorps xmm7, xmm7
movaps xmmword [rbp + 0x60], xmm7
xorps xmm8, xmm8
movaps xmmword [rbp + 0x70], xmm8
movsd xmm9, qword [rbp - 0x50]
movsd qword [rbp + 0x80], xmm9
movdqa xmm0, xmm1
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x140001eb4
lea r9, [0x14004369c]
nop dword [rax + rax]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x140001e67
cmp al, 0x5c
je 0x140001e67
mov r9, rcx
cmp rcx, r15
ja 0x140001e50
movsd xmm0, qword [0x140048540]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rbp + 0x56]
call fcn.140004f70
movsd xmm9, qword [rbp + 0x80]
movaps xmm8, xmmword [rbp + 0x70]
movaps xmm7, xmmword [rbp + 0x60]
movaps xmm1, xmmword [rbp + 0x50]
movaps xmm6, xmmword [rbp + 0x40]
movaps xmm5, xmmword [rbp + 0x30]
movaps xmm2, xmmword [rbp + 0x20]
movaps xmm4, xmmword [rbp + 0x10]
movaps xmm3, xmmword [rbp]
movaps xmmword [rsp + 0x30], xmm3
movaps xmmword [rsp + 0x40], xmm4
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x60], xmm5
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rbp - 0x80], xmm1
movaps xmmword [rbp - 0x70], xmm7
movaps xmmword [rbp - 0x60], xmm8
movsd qword [rbp - 0x50], xmm9
mov qword [rsp + 0x30], rdi
mov eax, dword [rbp - 0x18]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x44], 0x41900000
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140025d60
test rax, rax
jne 0x140001f12
mov rcx, qword [rbx + 0xa8]
call fcn.140026020
mov rsi, qword [0x14004f9a8]
mov rbx, qword [0x14004fa28]
lea rcx, [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400020fa
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400020fa
mov rax, qword [0x14004fa28]
test rax, rax
je 0x140001f56
inc dword [rax + 0x3b0]
mov ecx, 0x48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x140001f83
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 0x140001f86
mov rdi, r14
mov qword [rbx + 0xe8], rdi
lea rax, str.imgui_impl_win32
mov qword [rbx + 0xd8], rax
or dword [rbx + 0xc], 6
mov qword [rdi], rsi
mov byte [rdi + 0x2d], 1
mov rax, qword [rbp - 0x18]
mov qword [rdi + 0x20], rax
mov rax, qword [rbp - 0x10]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
mov qword [rbx + 0x120], rsi
mov dword [rbx + 0x3c], 9
mov dword [rbx + 0x40], 0x25
mov dword [rbx + 0x44], 0x27
mov dword [rbx + 0x48], 0x26
mov dword [rbx + 0x4c], 0x28
mov dword [rbx + 0x50], 0x21
mov dword [rbx + 0x54], 0x22
mov dword [rbx + 0x58], 0x24
mov dword [rbx + 0x5c], 0x23
mov dword [rbx + 0x60], 0x2d
mov dword [rbx + 0x64], 0x2e
mov dword [rbx + 0x68], 8
mov dword [rbx + 0x6c], 0x20
mov dword [rbx + 0x70], 0xd
mov dword [rbx + 0x74], 0x1b
mov dword [rbx + 0x78], 0xd
mov dword [rbx + 0x7c], 0x41
mov dword [rbx + 0x80], 0x43
mov dword [rbx + 0x84], 0x56
mov dword [rbx + 0x88], 0x58
mov dword [rbx + 0x8c], 0x59
mov dword [rbx + 0x90], 0x5a
lea rax, str.xinput1_4.dll
mov qword [rbp - 0x40], rax
lea rax, str.xinput1_3.dll
mov qword [rbp - 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp - 0x30], rax
lea rax, str.xinput1_2.dll
mov qword [rbp - 0x28], rax
lea rax, str.xinput1_1.dll
mov qword [rbp - 0x20], rax
mov rbx, r14
nop word [rax + rax]
mov rcx, qword [rbp + rbx*8 - 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x1400020ce
inc rbx
cmp rbx, 5
jl 0x1400020b0
jmp 0x1400020fa
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
mov rdi, qword [0x14004f9b0]
mov rbx, qword [0x14004fa28]
test rbx, rbx
je 0x140002113
inc dword [rbx + 0x3b0]
mov ecx, 0x28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x140002142
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x140002145
mov rax, r14
mov qword [rbx + 0xf0], rax
lea rcx, str.imgui_impl_dx9
mov qword [rbx + 0xe0], rcx
or dword [rbx + 0xc], 8
mov qword [rax], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
nop
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140040df0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
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 rbp
ret