Function at 0x140031130
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x48
lea rdx, [0x140041970]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x140031156
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [0x1400419c4]
lea rdx, [0x140041978]
mov rcx, qword [0x140041970]
mov r9, qword [0x140041968]
mov qword [rsp + 0x38], rdx
lea rdx, [0x140041980]
mov dword [0x140041980], eax
mov eax, dword [0x1400419c0]
mov qword [0x140041998], 1
mov dword [0x1400419a8], 1
mov qword [0x1400419a0], r9
mov dword [0x140041988], 0x15
mov dword [0x140041984], eax
mov dword [0x1400419ac], 1
mov dword [0x1400419b0], 0x50
mov dword [0x1400419bc], 0x80000000
mov qword [rsp + 0x40], rdi
xor edi, edi
mov qword [0x14004198c], rdi
mov qword [0x1400419b4], rdi
mov dword [0x140041994], 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 0x14003122a
mov rcx, qword [0x140041970]
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.140006bb0
mov rbx, qword [0x140041968]
lea rcx, [0x140041a18]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14003132d
lea rcx, [0x140041a10]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003132d
mov rdx, qword [0x140041928]
lea rax, str.imgui_impl_win32
mov qword [0x140041a08], 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 0x140031334
mov rdx, qword [0x140041928]
mov rax, qword [0x140041978]
lea rcx, str.imgui_impl_dx9
mov qword [rdx + 0xe0], rcx
mov qword [0x1400419f8], rax
call fcn.14001cc20
call fcn.14001cc20
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], edi
mov dword [rdx + 0x15f4], 0x3f2d9168
mov dword [rdx + 0x15f8], 0x3f6dd2f2
mov qword [rdx + 0x15fc], 0x3f800000
mov dword [rdx + 0x1604], 0x3cd77319
mov dword [rdx + 0x1608], 0x3d123a2a
mov dword [rdx + 0x160c], 0x3f800000
mov dword [rdx + 0x1610], 0x3d71a9fc
mov dword [rdx + 0x1614], 0x3d50e560
mov dword [rdx + 0x1618], 0x3d916873
mov dword [rdx + 0x161c], 0x3f800000
mov dword [rdx + 0x1620], 0x3d916873
mov dword [rdx + 0x1624], 0x3d916873
mov dword [rdx + 0x1628], 0x3db851ec
mov qword [rdx + 0x162c], 0x3f800000
mov dword [rdx + 0x1634], 0x3cd77319
mov dword [rdx + 0x1638], 0x3d123a2a
mov dword [rdx + 0x163c], 0x3f800000
movaps xmm0, xmmword [0x14003ab00]
movups xmmword [rdx + 0x1640], xmm0
mov dword [rdx + 0x1650], edi
mov dword [rdx + 0x1654], 0x3cd77319
mov qword [rdx + 0x1658], 0x3d123a2a
mov dword [rdx + 0x1660], 0x3dd0e560
mov dword [rdx + 0x1664], 0x3db851ec
mov dword [rdx + 0x1668], 0x3df9db23
mov dword [rdx + 0x166c], 0x3f800000
mov dword [rdx + 0x1670], 0x3dd0e560
mov dword [rdx + 0x1674], 0x3db851ec
mov dword [rdx + 0x1678], 0x3df9db23
mov dword [rdx + 0x167c], 0x3f800000
mov dword [rdx + 0x1680], 0x3dd0e560
mov dword [rdx + 0x1684], 0x3db851ec
mov dword [rdx + 0x1688], 0x3df9db23
mov dword [rdx + 0x168c], 0x3f800000
mov dword [rdx + 0x1690], 0x3dd0e560
mov dword [rdx + 0x1694], 0x3db851ec
mov dword [rdx + 0x1698], 0x3df9db23
mov dword [rdx + 0x169c], 0x3f800000
mov dword [rdx + 0x16b0], 0x3dd0e560
mov dword [rdx + 0x16b4], 0x3db851ec
mov dword [rdx + 0x16b8], 0x3df9db23
mov qword [rdx + 0x16bc], 0x3f800000
mov dword [rdx + 0x16a0], 0x3dd0e560
mov dword [rdx + 0x16a4], 0x3db851ec
mov dword [rdx + 0x16a8], 0x3df9db23
mov dword [rdx + 0x16ac], 0x3f800000
mov dword [rdx + 0x16c4], 0x3e86a7f0
mov dword [rdx + 0x16c8], 0x3eb6c8b4
mov dword [rdx + 0x16cc], 0x3f800000
mov dword [rdx + 0x16d0], 0x3dcccccd
mov dword [rdx + 0x16d4], 0x3db851ec
mov dword [rdx + 0x16d8], 0x3df5c28f
mov dword [rdx + 0x16dc], 0x3f800000
mov dword [rdx + 0x16e0], 0x3f4ccccd
mov dword [rdx + 0x16e4], 0x3f4ccccd
mov dword [rdx + 0x16e8], 0x3f547ae1
mov dword [rdx + 0x16ec], 0x3e9eb852
mov dword [rdx + 0x16f0], 0x3f0f5c29
mov dword [rdx + 0x16f4], 0x3f0f5c29
mov dword [rdx + 0x16f8], 0x3f147ae1
mov dword [rdx + 0x16fc], 0x3f800000
mov dword [rdx + 0x1700], 0x3d75c28f
mov dword [rdx + 0x1704], 0x3d4ccccd
mov dword [rdx + 0x1708], 0x3d8f5c29
mov dword [rdx + 0x170c], 0x3f800000
movaps xmm1, xmmword [0x14003aa70]
movaps xmm0, xmmword [0x14003aae0]
movups xmmword [rdx + 0x1710], xmm0
movups xmmword [rdx + 0x1720], xmm1
movups xmmword [rdx + 0x1730], xmm1
movaps xmm0, xmm1
movaps xmm1, xmmword [0x14003aab0]
movaps xmm0, xmmword [0x14003aac0]
movups xmmword [rdx + 0x1750], xmm0
movups xmmword [rdx + 0x1760], xmm0
movups xmmword [rdx + 0x1740], xmm1
mov qword [rdx + 0x1770], rdi
mov dword [rdx + 0x1778], edi
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], 0x3e800000
mov qword [rdx + 0x1894], 0x3f800000
mov dword [rdx + 0x189c], 0x3edc28f6
mov dword [rdx + 0x18e0], 0x3f800000
mov dword [rdx + 0x18e4], 0x3f7ae148
mov dword [rdx + 0x18e8], 0x3f733333
mov dword [rdx + 0x18ec], 0x3f3ae148
mov dword [rdx + 0x156c], 0x3f000000
mov dword [rdx + 0x158c], edi
mov rcx, qword [0x140041970]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [rsp + 0x50]
xor eax, eax
mov rdi, qword [rsp + 0x40]
add rsp, 0x48
ret