Function at 0x18004e8f0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x230
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
mov r15, rcx
mov rax, qword [0x1800a7eb0]
test rax, rax
je 0x18004e937
inc dword [rax + 0x3b0]
mov ecx, 0x3f48
call fcn.1800671b8
xor r13d, r13d
test rax, rax
je 0x18004e955
xor edx, edx
mov rcx, rax
call fcn.1800168d0
jmp 0x18004e958
mov rax, r13
cmp qword [0x1800a7eb0], r13
jne 0x18004e968
mov qword [0x1800a7eb0], rax
mov rcx, rax
call fcn.18001d290
mov rbx, qword [0x1800a7eb0]
mov dword [rbx + 0x1560], 0x40c00000
mov dword [rbx + 0x1564], 0x40c00000
mov dword [rbx + 0x1594], 0x40c00000
mov dword [rbx + 0x1598], 0x40800000
mov dword [rbx + 0x15a4], 0x40c00000
mov dword [rbx + 0x15a8], 0x40800000
mov dword [rbx + 0x1578], 0x3f000000
mov dword [rbx + 0x157c], 0x3f000000
mov dword [rbx + 0x15cc], 0x41400000
mov qword [rbx + 0x1568], 0x40800000
mov qword [rbx + 0x1584], 0x40800000
mov qword [rbx + 0x158c], 0x40800000
mov qword [rbx + 0x159c], 0x40800000
mov dword [rbx + 0x15d0], 0x40800000
mov dword [rbx + 0x15d8], 0x40800000
mov dword [rbx + 0x15e0], 0x40800000
mov dword [rbx + 0x1620], 0x3f800000
mov dword [rbx + 0x1624], 0x3f800000
mov dword [rbx + 0x1628], 0x3f800000
mov dword [rbx + 0x162c], 0x3f800000
mov dword [rbx + 0x1630], 0x3ee147ae
mov dword [rbx + 0x1634], 0x3ee147ae
mov dword [rbx + 0x1638], 0x3ee147ae
mov dword [rbx + 0x163c], 0x3f800000
mov dword [rbx + 0x1640], 0x3e28a71e
mov dword [rbx + 0x1644], 0x3e40b780
mov dword [rbx + 0x1648], 0x3e84816f
mov qword [rbx + 0x164c], 0x3f800000
mov qword [rbx + 0x1654], r13
mov dword [rbx + 0x165c], r13d
mov dword [rbx + 0x1660], 0x3da3d70a
mov dword [rbx + 0x1664], 0x3da3d70a
mov dword [rbx + 0x1668], 0x3da3d70a
mov dword [rbx + 0x166c], 0x3f70a3d7
mov dword [rbx + 0x1670], 0x3e051eb8
mov dword [rbx + 0x1674], 0x3e23d70a
mov dword [rbx + 0x1678], 0x3e570a3d
mov dword [rbx + 0x167c], 0x3f800000
mov dword [rbx + 0x1680], 0x3e28a71e
mov dword [rbx + 0x1684], 0x3e40b780
mov dword [rbx + 0x1688], 0x3e84816f
mov dword [rbx + 0x168c], 0x3f800000
mov dword [rbx + 0x1690], 0x3de147ae
mov dword [rbx + 0x1694], 0x3de147ae
mov dword [rbx + 0x1698], 0x3de147ae
mov dword [rbx + 0x169c], 0x3f800000
mov dword [rbx + 0x16a0], 0x3e051eb8
mov dword [rbx + 0x16a4], 0x3e23d70a
mov dword [rbx + 0x16a8], 0x3e570a3d
mov dword [rbx + 0x16ac], 0x3f800000
mov dword [rbx + 0x16b0], 0x3e051eb8
mov dword [rbx + 0x16b4], 0x3e23d70a
mov dword [rbx + 0x16b8], 0x3e570a3d
mov dword [rbx + 0x16bc], 0x3f800000
mov dword [rbx + 0x16c0], 0x3e28a71e
mov dword [rbx + 0x16c4], 0x3e40b780
mov dword [rbx + 0x16c8], 0x3e84816f
mov dword [rbx + 0x16cc], 0x3f800000
mov dword [rbx + 0x16d0], 0x3e6b851f
mov dword [rbx + 0x16d4], 0x3e851eb8
mov dword [rbx + 0x16d8], 0x3e9eb852
mov qword [rbx + 0x16dc], 0x3f800000
mov qword [rbx + 0x16e4], r13
mov dword [rbx + 0x16ec], 0x3f028f5c
mov dword [rbx + 0x16f0], 0x3de147ae
mov dword [rbx + 0x16f4], 0x3de147ae
mov dword [rbx + 0x16f8], 0x3de147ae
mov dword [rbx + 0x16fc], 0x3f800000
mov dword [rbx + 0x1700], 0x3d75c28f
mov dword [rbx + 0x1704], 0x3d75c28f
mov dword [rbx + 0x1708], 0x3d75c28f
mov dword [rbx + 0x170c], 0x3f07ae14
mov dword [rbx + 0x1710], 0x3e570a3d
mov dword [rbx + 0x1714], 0x3e570a3d
mov dword [rbx + 0x1718], 0x3e570a3d
mov dword [rbx + 0x171c], 0x3f800000
mov dword [rbx + 0x1720], 0x3ef0a3d7
mov dword [rbx + 0x1724], 0x3ef0a3d7
mov dword [rbx + 0x1728], 0x3ef0a3d7
mov dword [rbx + 0x172c], 0x3f800000
mov dword [rbx + 0x1730], 0x3f4f5c29
mov dword [rbx + 0x1734], 0x3f547ae1
mov dword [rbx + 0x1738], 0x3f4f5c29
mov dword [rbx + 0x173c], 0x3f800000
mov qword [rbx + 0x1740], 0x3f000000
mov dword [rbx + 0x1748], 0x3f000000
mov dword [rbx + 0x174c], 0x3f800000
mov qword [rbx + 0x1750], 0x3f000000
mov dword [rbx + 0x1758], 0x3f000000
mov dword [rbx + 0x175c], 0x3f800000
mov qword [rbx + 0x1760], 0x3f000000
mov dword [rbx + 0x1768], 0x3f000000
mov dword [rbx + 0x176c], 0x3f800000
mov dword [rbx + 0x1770], 0x3e051eb8
mov dword [rbx + 0x1774], 0x3e23d70a
mov dword [rbx + 0x1778], 0x3e570a3d
mov dword [rbx + 0x177c], 0x3f800000
mov dword [rbx + 0x1780], 0x3e6b851f
mov dword [rbx + 0x1784], 0x3e851eb8
mov dword [rbx + 0x1788], 0x3e9eb852
mov dword [rbx + 0x178c], 0x3f800000
mov dword [rbx + 0x1790], 0x3e6b851f
mov dword [rbx + 0x1794], 0x3e851eb8
mov dword [rbx + 0x1798], 0x3e9eb852
mov dword [rbx + 0x179c], 0x3f800000
mov dword [rbx + 0x17a0], 0x3e051eb8
mov dword [rbx + 0x17a4], 0x3e23d70a
mov dword [rbx + 0x17a8], 0x3e570a3d
mov dword [rbx + 0x17ac], 0x3f800000
mov dword [rbx + 0x17b0], 0x3e6b851f
mov dword [rbx + 0x17b4], 0x3e851eb8
mov dword [rbx + 0x17b8], 0x3e9eb852
mov dword [rbx + 0x17bc], 0x3f800000
mov dword [rbx + 0x17c0], 0x3f6e147b
mov dword [rbx + 0x17c4], 0x3f266666
mov dword [rbx + 0x17c8], 0x3e0f5c29
mov dword [rbx + 0x17cc], 0x3f800000
mov dword [rbx + 0x17d0], 0x3e570a3d
mov dword [rbx + 0x17d4], 0x3e570a3d
mov dword [rbx + 0x17d8], 0x3e570a3d
mov dword [rbx + 0x17dc], 0x3f800000
mov qword [rbx + 0x17e0], 0x3f000000
mov dword [rbx + 0x17e8], 0x3f000000
mov dword [rbx + 0x17ec], 0x3f800000
mov qword [rbx + 0x17f0], 0x3f000000
mov dword [rbx + 0x17f8], 0x3f000000
mov dword [rbx + 0x17fc], 0x3f800000
mov dword [rbx + 0x1800], 0x3e570a3d
mov dword [rbx + 0x1804], 0x3e570a3d
mov dword [rbx + 0x1808], 0x3e570a3d
mov dword [rbx + 0x180c], 0x3f800000
mov qword [rbx + 0x1810], 0x3f000000
mov dword [rbx + 0x1818], 0x3f000000
mov dword [rbx + 0x181c], 0x3f800000
mov qword [rbx + 0x1820], 0x3f000000
mov dword [rbx + 0x1828], 0x3f000000
mov dword [rbx + 0x182c], 0x3f800000
mov dword [rbx + 0x1830], 0x3e051eb8
mov dword [rbx + 0x1834], 0x3e23d70a
mov dword [rbx + 0x1838], 0x3e570a3d
mov dword [rbx + 0x183c], 0x3f800000
mov dword [rbx + 0x1840], 0x3e6b851f
mov dword [rbx + 0x1844], 0x3e851eb8
mov dword [rbx + 0x1848], 0x3e9eb852
mov dword [rbx + 0x184c], 0x3f800000
mov dword [rbx + 0x1850], 0x3e6b851f
mov dword [rbx + 0x1854], 0x3e851eb8
mov dword [rbx + 0x1858], 0x3e9eb852
mov dword [rbx + 0x185c], 0x3f800000
mov dword [rbx + 0x1860], 0x3d8f5c29
mov dword [rbx + 0x1864], 0x3dcccccd
mov dword [rbx + 0x1868], 0x3e19999a
mov dword [rbx + 0x186c], 0x3f7851ec
mov dword [rbx + 0x1870], 0x3e0f5c29
mov dword [rbx + 0x1874], 0x3e851eb8
mov dword [rbx + 0x1878], 0x3ed70a3d
mov dword [rbx + 0x187c], 0x3f800000
mov dword [rbx + 0x1880], 0x3f1c28f6
mov dword [rbx + 0x1884], 0x3f1c28f6
mov dword [rbx + 0x1888], 0x3f1c28f6
mov dword [rbx + 0x188c], 0x3f800000
mov dword [rbx + 0x1890], 0x3f800000
mov dword [rbx + 0x1894], 0x3edc28f6
mov dword [rbx + 0x1898], 0x3eb33333
mov dword [rbx + 0x189c], 0x3f800000
mov dword [rbx + 0x18a0], 0x3e051eb8
mov dword [rbx + 0x18a4], 0x3e23d70a
mov dword [rbx + 0x18a8], 0x3e570a3d
mov dword [rbx + 0x18ac], 0x3f800000
mov qword [rbx + 0x18b0], 0x3f000000
mov dword [rbx + 0x18b8], 0x3f000000
mov dword [rbx + 0x18bc], 0x3f800000
mov dword [rbx + 0x1910], 0x3e851eb8
mov dword [rbx + 0x1914], 0x3f170a3d
mov dword [rbx + 0x1918], 0x3f7ae148
mov dword [rbx + 0x191c], 0x3eb33333
mov dword [rbx + 0x1920], 0x3f800000
mov qword [rbx + 0x1924], 0x3f800000
mov dword [rbx + 0x192c], 0x3f666666
mov dword [rbx + 0x1930], 0x3e851eb8
mov dword [rbx + 0x1934], 0x3f170a3d
mov dword [rbx + 0x1938], 0x3f7ae148
mov dword [rbx + 0x193c], 0x3f800000
mov dword [rbx + 0x1940], 0x3f800000
mov dword [rbx + 0x1944], 0x3f800000
mov dword [rbx + 0x1948], 0x3f800000
mov dword [rbx + 0x194c], 0x3f333333
mov dword [rbx + 0x1950], 0x3f4ccccd
mov dword [rbx + 0x1954], 0x3f4ccccd
mov dword [rbx + 0x1958], 0x3f4ccccd
mov dword [rbx + 0x195c], 0x3e4ccccd
mov dword [rbx + 0x1960], 0x3f4ccccd
mov dword [rbx + 0x1964], 0x3f4ccccd
mov dword [rbx + 0x1968], 0x3f4ccccd
mov dword [rbx + 0x196c], 0x3eb33333
mov qword [rbx + 0x20], r13
mov qword [rbx + 0x28], r13
or dword [rbx + 8], 0x20
lea r9, [rbp + 0x178]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1800835a0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x18004f562
lea rdx, [rbp + 0x178]
lea rcx, [rsp + 0x60]
call fcn.18000e8e0
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xorps xmm6, xmm6
xor eax, eax
movups xmmword [rbp - 0x70], xmm6
movups xmmword [rbp - 0x60], xmm6
movups xmmword [rbp - 0x30], xmm6
movups xmmword [rbp - 0x20], xmm6
mov qword [rbp + 0x10], rax
mov byte [rbp - 0x64], 1
mov dword [rbp - 0x58], 3
mov dword [rbp - 0x54], 1
mov dword [rbp - 0x2c], 0x7f7fffff
mov dword [rbp - 0x20], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x1c], ax
mov dword [rbp - 0x5c], 0x41700000
mov r12, qword [rbx + 0xa8]
call fcn.180052da0
lea rcx, str.tahoma.ttf
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], 0xa
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, [rbp + 0x20]
call fcn.180003ac0
lea r8, [rbp + 0x20]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x40]
call fcn.180003fe0
mov rsi, rax
cmp qword [rax + 0x18], 7
jbe 0x18004f1ff
mov rsi, qword [rax]
mov rdi, qword [rax + 0x10]
call fcn.180052da0
mov r14d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x180095940]
movdqu xmmword [rsp + 0x40], xmm1
mov byte [rsp + 0x30], r13b
test rdi, rdi
je 0x18004f29e
cmp rdi, 0x7fffffff
ja 0x18004f98f
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
mov ecx, eax
call fcn.180052e10
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x18004f995
movsxd rdx, ebx
xor r8d, r8d
lea rcx, [rsp + 0x30]
call fcn.180008ac0
lea r9, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova r9, qword [rsp + 0x30]
mov dword [rsp + 0x20], ebx
mov r8d, edi
mov rdx, rsi
mov ecx, r14d
call fcn.180052e10
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x18004f9a1
lea rbx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rbx, qword [rsp + 0x30]
mov qword [rbp + 0x180], r13
lea r8, [rbp + 0x180]
mov rcx, rbx
call fcn.180017dc0
mov rdi, rax
test rax, rax
je 0x18004f42c
movaps xmm2, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x60], xmm2
movaps xmm3, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x70], xmm3
movaps xmmword [rbp + 0x80], xmm6
xorps xmm4, xmm4
movaps xmmword [rbp + 0x90], xmm4
movaps xmm5, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0xa0], xmm5
movaps xmm1, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0xb0], xmm1
xorps xmm7, xmm7
movaps xmmword [rbp + 0xc0], xmm7
xorps xmm8, xmm8
movaps xmmword [rbp + 0xd0], xmm8
movsd xmm9, qword [rbp + 0x10]
movsd qword [rbp + 0xe0], xmm9
movdqa xmm0, xmm1
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x18004f3da
mov r9, 0xffffffffffffffff
nop dword [rax]
inc r9
cmp byte [rbx + r9], r13b
jne 0x18004f350
add r9, rbx
cmp r9, rbx
jbe 0x18004f378
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x18004f378
cmp al, 0x5c
je 0x18004f378
mov r9, rcx
cmp rcx, rbx
ja 0x18004f361
movsd xmm0, qword [0x180095850]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rbp + 0xb6]
call fcn.180017b60
movsd xmm9, qword [rbp + 0xe0]
movaps xmm8, xmmword [rbp + 0xd0]
movaps xmm7, xmmword [rbp + 0xc0]
movaps xmm1, xmmword [rbp + 0xb0]
movaps xmm5, xmmword [rbp + 0xa0]
movaps xmm4, xmmword [rbp + 0x90]
movaps xmm6, xmmword [rbp + 0x80]
movaps xmm3, xmmword [rbp + 0x70]
movaps xmm2, xmmword [rbp + 0x60]
movaps xmmword [rbp - 0x70], xmm2
movaps xmmword [rbp - 0x60], xmm3
movaps xmmword [rbp - 0x50], xmm6
movaps xmmword [rbp - 0x40], xmm4
movaps xmmword [rbp - 0x30], xmm5
movaps xmmword [rbp - 0x20], xmm1
movaps xmmword [rbp - 0x10], xmm7
movaps xmmword [rbp], xmm8
movsd qword [rbp + 0x10], xmm9
mov qword [rbp - 0x70], rdi
mov eax, dword [rbp + 0x180]
mov dword [rbp - 0x68], eax
mov dword [rbp - 0x5c], 0x41800000
lea rax, [0x1800937a0]
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x70]
mov rcx, r12
call fcn.180036bc0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x18004f469
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004f464
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004f9ab
call fcn.1800545ec
movdqa xmm0, xmmword [0x180095940]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], r13b
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x18004f4bc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004f4b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004f9ab
call fcn.1800545ec
movdqa xmm0, xmmword [0x180095920]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], r13w
mov rdx, qword [rbp + 0x38]
cmp rdx, 7
jbe 0x18004f50e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004f509
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004f9ab
call fcn.1800545ec
movdqa xmm0, xmmword [0x180095920]
movdqu xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x20], r13w
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x18004f562
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004f55d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004f989
call fcn.1800545ec
mov rax, qword [0x1800a5cf8]
mov rsi, qword [rax + 8]
mov rbx, qword [0x1800a7eb0]
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x18004f75a
lea rcx, [rbp + 0x188]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x18004f75a
mov rax, qword [0x1800a7eb0]
test rax, rax
je 0x18004f5b0
inc dword [rax + 0x3b0]
mov ecx, 0x48
call fcn.1800671b8
mov rdi, rax
test rax, rax
je 0x18004f5dc
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 0x18004f5df
mov rdi, r13
mov qword [rbx + 0xe8], rdi
lea rax, [0x180094888]
mov qword [rbx + 0xd8], rax
or dword [rbx + 0xc], 6
mov qword [rdi], rsi
mov byte [rdi + 0x2d], 1
mov rax, qword [rbp + 0x180]
mov qword [rdi + 0x20], rax
mov rax, qword [rbp + 0x188]
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 + 0x60], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x68], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x70], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x78], rax
lea rax, str.xinput1_1.dll
mov qword [rbp - 0x80], rax
mov rbx, r13
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x18004f72e
inc rbx
cmp rbx, 5
jl 0x18004f710
jmp 0x18004f75a
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 qword [0x1800a7ef0], r15
mov rax, qword [r15]
lea r8, [0x1800a7ec8]
lea rdx, [0x180094c00]
mov rcx, r15
call qword [rax + 0x38]
mov rcx, qword [0x1800a7ec8]
mov rax, qword [rcx]
lea rdx, [0x1800a7ed8]
call qword [rax + 0x140]
nop
mov qword [rbp + 0x178], r13
mov rcx, qword [0x1800a7ef0]
mov rax, qword [rcx]
lea r9, [rbp + 0x178]
lea r8, [0x180094c10]
xor edx, edx
call qword [rax + 0x48]
mov rdx, qword [rbp + 0x178]
test rdx, rdx
je 0x18004f7e5
mov rcx, qword [0x1800a7ec8]
mov rax, qword [rcx]
lea r9, [0x1800a7ed0]
xor r8d, r8d
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x178]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov r14, qword [0x1800a7ed8]
mov rsi, qword [0x1800a7ec8]
mov rdi, qword [0x1800a7eb0]
test rdi, rdi
je 0x18004f805
inc dword [rdi + 0x3b0]
mov ecx, 0x78
call fcn.1800671b8
mov rbx, rax
test rax, rax
je 0x18004f845
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 0x18004f848
mov rbx, r13
mov qword [rdi + 0xf0], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0xe0], rax
or dword [rdi + 0xc], 8
mov qword [rbp + 0x180], r13
mov qword [rbp + 0x188], r13
mov qword [rsp + 0x50], r13
mov rax, qword [rsi]
lea r8, [rbp + 0x180]
lea rdx, [0x180094858]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x18004f8da
mov rcx, qword [rbp + 0x180]
mov rax, qword [rcx]
lea r8, [rbp + 0x188]
lea rdx, [0x180094868]
call qword [rax + 0x30]
test eax, eax
jne 0x18004f8da
mov rcx, qword [rbp + 0x188]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
lea rdx, [0x180094878]
call qword [rax + 0x30]
test eax, eax
jne 0x18004f8da
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp + 0x180]
test rcx, rcx
je 0x18004f8ec
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x188]
test rcx, rcx
je 0x18004f8fe
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]
call fcn.18003c4d0
lea r8, [0x18004e860]
mov edx, 0xfffffffc
mov rcx, qword [0x1800a5cf8]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [0x1800a7f98], rax
lea r9, [0x18004e860]
lea r8, [0x1800a7f98]
lea rdx, str.WndProc_hooked__n_tOriginal:_0x_X_n_tNew:_0x_X_n
mov rcx, qword [0x1800a5d20]
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x40]
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 rdi
pop rsi
pop rbp
jmp fcn.18004d5c0
call fcn.180063aec
int3
call fcn.1800016f0
int3
shr rbx, 0x20
mov ecx, ebx
call fcn.180001a30
int3
shr rcx, 0x20
call fcn.180001a30
int3
call fcn.180063aec
int3