Function at 0x1400317a0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x48
lea rdx, [0x140041960]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x1400317c6
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [0x1400419b4]
lea rdx, [0x140041968]
mov rcx, qword [0x140041960]
mov r9, qword [0x140041958]
mov qword [rsp + 0x38], rdx
lea rdx, [0x140041970]
mov dword [0x140041970], eax
mov eax, dword [0x1400419b0]
mov qword [0x140041988], 1
mov dword [0x140041998], 1
mov qword [0x140041990], r9
mov dword [0x140041978], 0x15
mov dword [0x140041974], eax
mov dword [0x14004199c], 1
mov dword [0x1400419a0], 0x50
mov dword [0x1400419ac], 0x80000000
mov qword [rsp + 0x40], rdi
xor edi, edi
mov qword [0x14004197c], rdi
mov qword [0x1400419a4], rdi
mov dword [0x140041984], edi
mov rax, qword [rcx]
lea r8d, [rdi + 1]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdx
xor edx, edx
mov dword [rsp + 0x20], 0x40
call qword [rax + 0xa0]
test eax, eax
jns 0x14003189a
mov rcx, qword [0x140041960]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea ecx, [rdi + 4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x50], rbx
call fcn.1400070f0
mov rbx, qword [0x140041958]
lea rcx, [0x140041a08]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14003199d
lea rcx, [0x140041a00]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003199d
mov rdx, qword [0x140041918]
lea rax, str.imgui_impl_win32
mov qword [0x1400419f8], rbx
or dword [rdx + 0xc], 6
mov qword [rdx + 0xd8], rax
mov qword [rdx + 0x108], rbx
mov dword [rdx + 0x3c], 9
mov dword [rdx + 0x40], 0x25
mov dword [rdx + 0x44], 0x27
mov dword [rdx + 0x48], 0x26
mov dword [rdx + 0x4c], 0x28
mov dword [rdx + 0x50], 0x21
mov dword [rdx + 0x54], 0x22
mov dword [rdx + 0x58], 0x24
mov dword [rdx + 0x5c], 0x23
mov dword [rdx + 0x60], 0x2d
mov dword [rdx + 0x64], 0x2e
mov dword [rdx + 0x68], 8
mov dword [rdx + 0x6c], 0x20
mov dword [rdx + 0x70], 0xd
mov dword [rdx + 0x74], 0x1b
mov dword [rdx + 0x78], 0x41
mov dword [rdx + 0x7c], 0x43
mov dword [rdx + 0x80], 0x56
mov dword [rdx + 0x84], 0x58
mov dword [rdx + 0x88], 0x59
mov dword [rdx + 0x8c], 0x5a
jmp 0x1400319a4
mov rdx, qword [0x140041918]
cmp byte [0x1400410c0], dil
mov rax, qword [0x140041968]
mov rbx, qword [rsp + 0x50]
je 0x1400319c0
mov byte [0x1400410c0], dil
lea rcx, str.imgui_impl_dx9
mov qword [0x1400419e8], rax
mov qword [rdx + 0xe0], rcx
call fcn.14001d210
call fcn.14001d210
mov dword [rdx + 0x1554], 0x41000000
mov dword [rdx + 0x1558], 0x41000000
mov dword [rdx + 0x155c], 0x40a00000
mov dword [rdx + 0x1584], 0x40800000
mov dword [rdx + 0x1588], 0x40000000
mov dword [rdx + 0x1594], 0x41000000
mov dword [rdx + 0x1598], 0x40800000
mov dword [rdx + 0x159c], 0x40800000
mov dword [rdx + 0x15a0], 0x40800000
mov dword [rdx + 0x15ac], 0x41a80000
mov qword [rdx + 0x15b4], 0x41600000
mov qword [rdx + 0x15bc], 0x41200000
mov qword [rdx + 0x15c4], rdi
mov dword [rdx + 0x1574], edi
mov dword [rdx + 0x1560], 0x3f800000
mov dword [rdx + 0x1578], 0x3f800000
mov dword [rdx + 0x1580], edi
mov dword [rdx + 0x1590], edi
mov dword [rdx + 0x15f0], 0x3f66e979
mov dword [rdx + 0x15f4], 0x3f66e979
mov dword [rdx + 0x15f8], 0x3f66e979
mov dword [rdx + 0x15fc], 0x3f800000
mov dword [rdx + 0x1600], 0x3f008312
mov dword [rdx + 0x1604], 0x3f008312
mov dword [rdx + 0x1608], 0x3f008312
mov dword [rdx + 0x160c], 0x3f800000
mov dword [rdx + 0x1610], 0x3d50e560
mov dword [rdx + 0x1614], 0x3d50e560
mov dword [rdx + 0x1618], 0x3d50e560
mov dword [rdx + 0x161c], 0x3f800000
mov dword [rdx + 0x1620], 0x3d916873
mov dword [rdx + 0x1624], 0x3d916873
mov dword [rdx + 0x1628], 0x3d916873
mov dword [rdx + 0x162c], 0x3f800000
mov dword [rdx + 0x1630], 0x3e808312
mov dword [rdx + 0x1634], 0x3e808312
mov dword [rdx + 0x1638], 0x3e808312
mov dword [rdx + 0x163c], 0x3f800000
mov dword [rdx + 0x1640], 0x3f66e979
mov dword [rdx + 0x1644], 0x3f66e979
mov dword [rdx + 0x1648], 0x3f66e979
mov dword [rdx + 0x164c], 0x3f800000
mov dword [rdx + 0x1650], 0x3e808312
mov dword [rdx + 0x1654], 0x3e808312
mov qword [rdx + 0x1658], 0x3e808312
mov dword [rdx + 0x1660], 0x3cfdf3b6
mov dword [rdx + 0x1664], 0x3cfdf3b6
mov dword [rdx + 0x1668], 0x3cfdf3b6
mov dword [rdx + 0x166c], 0x3f800000
mov dword [rdx + 0x1670], 0x3cfdf3b6
mov dword [rdx + 0x1674], 0x3cfdf3b6
mov dword [rdx + 0x1678], 0x3cfdf3b6
mov dword [rdx + 0x167c], 0x3f800000
mov dword [rdx + 0x1680], 0x3cfdf3b6
mov dword [rdx + 0x1684], 0x3cfdf3b6
mov dword [rdx + 0x1688], 0x3cfdf3b6
mov dword [rdx + 0x168c], 0x3f800000
mov dword [rdx + 0x1690], 0x3cfdf3b6
mov dword [rdx + 0x1694], 0x3cfdf3b6
mov dword [rdx + 0x1698], 0x3cfdf3b6
mov dword [rdx + 0x169c], 0x3f800000
mov dword [rdx + 0x16b0], 0x3cfdf3b6
mov dword [rdx + 0x16b4], 0x3cfdf3b6
mov dword [rdx + 0x16b8], 0x3cfdf3b6
mov dword [rdx + 0x16bc], 0x3f800000
mov dword [rdx + 0x16a0], 0x3cfdf3b6
mov dword [rdx + 0x16a4], 0x3cfdf3b6
mov dword [rdx + 0x16a8], 0x3cfdf3b6
mov dword [rdx + 0x16ac], 0x3f800000
mov dword [rdx + 0x16c0], 0x3e808312
mov dword [rdx + 0x16c4], 0x3e808312
mov dword [rdx + 0x16c8], 0x3e808312
mov dword [rdx + 0x16cc], 0x3f800000
mov dword [rdx + 0x16d0], 0x3d916873
mov dword [rdx + 0x16d4], 0x3d916873
mov dword [rdx + 0x16d8], 0x3d916873
mov dword [rdx + 0x16dc], 0x3f800000
mov dword [rdx + 0x16e0], 0x3f008312
mov dword [rdx + 0x16e4], 0x3f008312
mov dword [rdx + 0x16e8], 0x3f008312
mov dword [rdx + 0x16ec], 0x3e9eb852
mov dword [rdx + 0x16f0], 0x3eb8d4fe
mov dword [rdx + 0x16f4], 0x3eb8d4fe
mov dword [rdx + 0x16f8], 0x3eb8d4fe
mov dword [rdx + 0x16fc], 0x3f800000
mov dword [rdx + 0x1700], 0x3e1cac08
mov dword [rdx + 0x1704], 0x3e1cac08
mov dword [rdx + 0x1708], 0x3e1cac08
mov dword [rdx + 0x170c], 0x3f800000
mov dword [rdx + 0x1710], 0x3eae978d
mov dword [rdx + 0x1714], 0x3eae978d
mov dword [rdx + 0x1718], 0x3eae978d
mov dword [rdx + 0x171c], 0x3f800000
mov dword [rdx + 0x1720], 0x3eef1aa0
mov dword [rdx + 0x1724], 0x3eef1aa0
mov dword [rdx + 0x1728], 0x3eef1aa0
mov dword [rdx + 0x172c], 0x3f170a3d
mov dword [rdx + 0x1730], 0x3eef1aa0
mov dword [rdx + 0x1734], 0x3eef1aa0
mov dword [rdx + 0x1738], 0x3eef1aa0
mov dword [rdx + 0x173c], 0x3f170a3d
mov dword [rdx + 0x1740], 0x3cfdf3b6
mov dword [rdx + 0x1744], 0x3cfdf3b6
mov dword [rdx + 0x1748], 0x3cfdf3b6
mov dword [rdx + 0x174c], 0x3f800000
mov dword [rdx + 0x1750], 0x3d916873
mov dword [rdx + 0x1754], 0x3d916873
mov dword [rdx + 0x1758], 0x3d916873
mov dword [rdx + 0x175c], 0x3f800000
mov dword [rdx + 0x1760], 0x3d916873
mov dword [rdx + 0x1764], 0x3d916873
mov dword [rdx + 0x1768], 0x3d916873
mov qword [rdx + 0x176c], 0x3f800000
mov qword [rdx + 0x1774], rdi
mov qword [rdx + 0x177c], 0x3f800000
mov qword [rdx + 0x1784], rdi
mov qword [rdx + 0x178c], 0x3f800000
mov qword [rdx + 0x1794], rdi
mov qword [rdx + 0x179c], 0x3f800000
mov qword [rdx + 0x17a4], rdi
mov qword [rdx + 0x17ac], 0x3f800000
mov qword [rdx + 0x17b4], rdi
mov qword [rdx + 0x17bc], 0x3f800000
mov qword [rdx + 0x17c4], rdi
mov qword [rdx + 0x17cc], 0x3f800000
mov qword [rdx + 0x17d4], rdi
mov qword [rdx + 0x17dc], rdi
mov qword [rdx + 0x17e4], rdi
mov qword [rdx + 0x17ec], rdi
mov qword [rdx + 0x17f4], rdi
mov dword [rdx + 0x17fc], edi
mov qword [rdx + 0x1850], rdi
mov dword [rdx + 0x1858], edi
mov qword [rdx + 0x185c], 0x3f800000
mov qword [rdx + 0x1864], rdi
mov qword [rdx + 0x186c], 0x3f800000
mov qword [rdx + 0x1874], rdi
mov qword [rdx + 0x187c], 0x3f800000
mov qword [rdx + 0x1884], rdi
mov dword [rdx + 0x188c], 0x3f800000
mov dword [rdx + 0x1890], 0x3e808312
mov dword [rdx + 0x1894], 0x3e808312
mov dword [rdx + 0x1898], 0x3e808312
mov dword [rdx + 0x189c], 0x3edc28f6
mov dword [rdx + 0x18e0], 0x3e808312
mov dword [rdx + 0x18e4], 0x3e808312
mov dword [rdx + 0x18e8], 0x3e808312
mov dword [rdx + 0x18ec], 0x3f3ae148
mov dword [rdx + 0x156c], 0x3f000000
mov dword [rdx + 0x158c], edi
mov rcx, qword [0x140041960]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdi, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x48
ret