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

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 - 0x10]
sub rsp, 0x110
mov rax, qword [0x14005c040]
xor rax, rsp
mov qword [rbp], rax
mov rax, qword [0x14005d298]
test rax, rax
je 0x140003aa1
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 0x140003ac0
xor edx, edx
mov rcx, rax
call fcn.140013730
jmp 0x140003ac3
mov rax, r14
cmp qword [0x14005d298], r14
jne 0x140003ad3
mov qword [0x14005d298], rax
mov rcx, rax
call fcn.1400198a0
mov rbx, qword [0x14005d298]
mov qword [rbx + 0x20], r14
xor ecx, ecx
call fcn.1400305d0
mov rax, qword [0x14005d298]
mov qword [rax + 0x1658], r14
mov dword [rax + 0x1660], r14d
mov dword [rax + 0x1664], 0x3f800000
mov dword [rax + 0x1788], 0x3d8f5c29
mov dword [rax + 0x178c], 0x3d8f5c29
mov dword [rax + 0x1790], 0x3d8f5c29
mov dword [rax + 0x1794], 0x3f800000
mov dword [rax + 0x1798], 0x3e19999a
mov dword [rax + 0x179c], 0x3e19999a
mov dword [rax + 0x17a0], 0x3e19999a
mov dword [rax + 0x17a4], 0x3f800000
mov dword [rax + 0x17a8], 0x3e3851ec
mov dword [rax + 0x17ac], 0x3e3851ec
mov dword [rax + 0x17b0], 0x3e3851ec
mov dword [rax + 0x17b4], 0x3f800000
mov qword [rax + 0x1638], 0x3f4ccccd
mov dword [rax + 0x1640], r14d
mov dword [rax + 0x1644], 0x3f800000
mov qword [rax + 0x1768], 0x3f4ccccd
mov dword [rax + 0x1770], r14d
mov dword [rax + 0x1774], 0x3f000000
mov qword [rax + 0x1778], 0x3f4ccccd
mov dword [rax + 0x1780], r14d
mov dword [rax + 0x1784], 0x3f4ccccd
mov qword [rax + 0x1758], 0x3f4ccccd
mov dword [rax + 0x1760], r14d
mov dword [rax + 0x1764], 0x3f800000
mov dword [rax + 0x1848], 0x3d8f5c29
mov dword [rax + 0x184c], 0x3d8f5c29
mov dword [rax + 0x1850], 0x3d8f5c29
mov dword [rax + 0x1854], 0x3f800000
mov dword [rax + 0x1858], 0x3e19999a
mov dword [rax + 0x185c], 0x3e19999a
mov dword [rax + 0x1860], 0x3e19999a
mov dword [rax + 0x1864], 0x3f800000
mov dword [rax + 0x1868], 0x3e3851ec
mov dword [rax + 0x186c], 0x3e3851ec
mov dword [rax + 0x1870], 0x3e3851ec
mov dword [rax + 0x1874], 0x3f800000
mov qword [rax + 0x1698], r14
mov qword [rax + 0x16a0], r14
mov dword [rax + 0x16a8], 0x3d8f5c29
mov dword [rax + 0x16ac], 0x3d8f5c29
mov dword [rax + 0x16b0], 0x3d8f5c29
mov dword [rax + 0x16b4], 0x3f800000
mov dword [rax + 0x16b8], 0x3e19999a
mov dword [rax + 0x16bc], 0x3e19999a
mov dword [rax + 0x16c0], 0x3e19999a
mov dword [rax + 0x16c4], 0x3f800000
mov dword [rax + 0x16c8], 0x3e3851ec
mov dword [rax + 0x16cc], 0x3e3851ec
mov dword [rax + 0x16d0], 0x3e3851ec
mov dword [rax + 0x16d4], 0x3f800000
mov dword [rax + 0x17b8], 0x3d8f5c29
mov dword [rax + 0x17bc], 0x3d8f5c29
mov dword [rax + 0x17c0], 0x3d8f5c29
mov dword [rax + 0x17c4], 0x3f800000
mov dword [rax + 0x17c8], 0x3e19999a
mov dword [rax + 0x17cc], 0x3e19999a
mov dword [rax + 0x17d0], 0x3e19999a
mov dword [rax + 0x17d4], 0x3f800000
mov dword [rax + 0x17d8], 0x3e3851ec
mov dword [rax + 0x17dc], 0x3e3851ec
mov dword [rax + 0x17e0], 0x3e3851ec
mov dword [rax + 0x17e4], 0x3f800000
mov dword [rax + 0x17e8], 0x3f333333
mov dword [rax + 0x17ec], 0x3f333333
mov dword [rax + 0x17f0], 0x3f333333
mov dword [rax + 0x17f4], 0x3f800000
mov dword [rax + 0x17f8], 0x3f333333
mov dword [rax + 0x17fc], 0x3f333333
mov dword [rax + 0x1800], 0x3f333333
mov dword [rax + 0x1804], 0x3f800000
mov dword [rax + 0x1808], 0x3f333333
mov dword [rax + 0x180c], 0x3f333333
mov dword [rax + 0x1810], 0x3f333333
mov dword [rax + 0x1814], 0x3f800000
mov dword [rax + 0x1718], 0x3d8f5c29
mov dword [rax + 0x171c], 0x3d8f5c29
mov dword [rax + 0x1720], 0x3d8f5c29
mov dword [rax + 0x1724], 0x3f800000
mov dword [rax + 0x1728], 0x3e9eb852
mov dword [rax + 0x172c], 0x3e9eb852
mov dword [rax + 0x1730], 0x3e9eb852
mov dword [rax + 0x1734], 0x3f800000
mov dword [rax + 0x1738], 0x3ed1eb85
mov dword [rax + 0x173c], 0x3ed1eb85
mov dword [rax + 0x1740], 0x3ed1eb85
mov dword [rax + 0x1744], 0x3f800000
mov dword [rax + 0x1748], 0x3f028f5c
mov dword [rax + 0x174c], 0x3f028f5c
mov dword [rax + 0x1750], 0x3f028f5c
mov dword [rax + 0x1754], 0x3f800000
mov dword [rax + 0x1928], 0x3e3851ec
mov dword [rax + 0x192c], 0x3e3851ec
mov dword [rax + 0x1930], 0x3e3851ec
mov dword [rax + 0x1934], 0x3f800000
mov dword [rax + 0x16d8], 0x3d23d70a
mov dword [rax + 0x16dc], 0x3d23d70a
mov dword [rax + 0x16e0], 0x3d23d70a
mov dword [rax + 0x16e4], 0x3f800000
mov dword [rax + 0x16e8], 0x3d23d70a
mov dword [rax + 0x16ec], 0x3d23d70a
mov dword [rax + 0x16f0], 0x3d23d70a
mov dword [rax + 0x16f4], 0x3f800000
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
mov dword [rsp + 0x78], 3
mov dword [rsp + 0x7c], 1
mov dword [rbp - 0x5c], 0x7f7fffff
mov dword [rbp - 0x50], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x4c], ax
mov byte [rsp + 0x6c], r14b
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
movss xmm3, dword [0x140052ba8]
lea rdx, [0x14004c160]
mov rcx, qword [rbx + 0xa8]
call fcn.140035010
mov rsi, qword [0x14005d378]
mov rbx, qword [0x14005d298]
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14000415f
lea rcx, [rbp - 8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14000415f
mov rax, qword [0x14005d298]
test rax, rax
je 0x140003fbf
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 0x140003fec
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 0x140003fef
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 - 0x10]
mov qword [rdi + 0x20], rax
mov rax, qword [rbp - 8]
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 [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov rbx, r14
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x140004133
inc rbx
cmp rbx, 5
jl 0x140004115
jmp 0x14000415f
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 [0x14005d380]
mov rbx, qword [0x14005d298]
test rbx, rbx
je 0x140004178
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 0x1400041a7
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 0x1400041aa
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]
xor rcx, rsp
call fcn.140048d70
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret