Function at 0x140043820
Capabilities:
Terminate process

Disassembly:
push rbp
lea rbp, [rsp - 0x130]
sub rsp, 0x230
lea rdx, [0x140096d40]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x140043853
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [0x140096d9c]
lea rdx, [0x140096d90]
mov rcx, qword [0x140096d40]
mov r9, qword [0x140096d38]
mov qword [rsp + 0x38], rdx
lea rdx, [0x140096d50]
mov dword [0x140096d50], eax
mov eax, dword [0x140096d98]
mov qword [0x140096d68], 1
mov dword [0x140096d78], 1
mov qword [0x140096d70], r9
mov dword [0x140096d58], 0x15
mov dword [0x140096d54], eax
mov dword [0x140096d7c], 1
mov dword [0x140096d80], 0x50
mov dword [0x140096d8c], 0x80000000
mov qword [rsp + 0x248], rsi
xor esi, esi
mov qword [0x140096d5c], rsi
mov qword [0x140096d84], rsi
mov dword [0x140096d64], esi
mov rax, qword [rcx]
lea r8d, [rsi + 1]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rdx
xor edx, edx
mov dword [rsp + 0x20], 0x40
call qword [rax + 0xa0]
test eax, eax
jns 0x14004392a
mov rcx, qword [0x140096d40]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea ecx, [rsi + 4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x240], rbx
mov qword [rsp + 0x250], rdi
mov qword [rsp + 0x228], r14
mov qword [rsp + 0x220], r15
movaps xmmword [rsp + 0x210], xmm6
movaps xmmword [rsp + 0x200], xmm7
movaps xmmword [rsp + 0x1f0], xmm8
call fcn.14000eed0
mov rbx, qword [0x140096d38]
lea rcx, [0x140096df0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140043a61
lea rcx, [0x140096de8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140043a61
mov rdi, qword [0x140096cf8]
lea rax, str.imgui_impl_win32
mov qword [0x140096de0], rbx
or dword [rdi + 0xc], 6
mov qword [rdi + 0xd8], rax
mov qword [rdi + 0x108], rbx
mov dword [rdi + 0x3c], 9
mov dword [rdi + 0x40], 0x25
mov dword [rdi + 0x44], 0x27
mov dword [rdi + 0x48], 0x26
mov dword [rdi + 0x4c], 0x28
mov dword [rdi + 0x50], 0x21
mov dword [rdi + 0x54], 0x22
mov dword [rdi + 0x58], 0x24
mov dword [rdi + 0x5c], 0x23
mov dword [rdi + 0x60], 0x2d
mov dword [rdi + 0x64], 0x2e
mov dword [rdi + 0x68], 8
mov dword [rdi + 0x6c], 0x20
mov dword [rdi + 0x70], 0xd
mov dword [rdi + 0x74], 0x1b
mov dword [rdi + 0x78], 0x41
mov dword [rdi + 0x7c], 0x43
mov dword [rdi + 0x80], 0x56
mov dword [rdi + 0x84], 0x58
mov dword [rdi + 0x88], 0x59
mov dword [rdi + 0x8c], 0x5a
jmp 0x140043a68
mov rdi, qword [0x140096cf8]
cmp byte [0x140096060], sil
mov rax, qword [0x140096d90]
je 0x140043a7f
mov byte [0x140096060], sil
lea rcx, str.imgui_impl_dx9
mov qword [0x140096dd0], rax
mov qword [rdi + 0xe0], rcx
call fcn.140026900
xor eax, eax
mov qword [rsp + 0x40], rsi
xorps xmm0, xmm0
mov qword [rbp - 0x4c], rax
movups xmmword [rbp - 0x6c], xmm0
mov byte [rbp - 0x10], al
movups xmmword [rbp - 0x5c], xmm0
mov qword [rbp - 0xc], rax
mov qword [rbp - 4], rax
mov dword [rbp + 0x10], eax
mov byte [rbp + 0x18], al
movups xmmword [rbp + 0x24], xmm0
mov qword [rbp + 0x44], rax
movups xmmword [rbp + 0x34], xmm0
mov byte [rbp - 0x24], al
mov dword [rsp + 0x48], esi
mov byte [rsp + 0x4c], 1
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x64], rsi
mov qword [rsp + 0x6c], rsi
mov qword [rsp + 0x78], rsi
mov dword [rbp - 0x80], esi
mov dword [rbp - 0x7c], 0x7f7fffff
mov dword [rbp - 0x74], esi
mov dword [rbp - 0x70], 0x3f800000
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x30], rsi
mov dword [rbp - 0x28], esi
mov qword [rbp - 0x20], rsi
mov dword [rbp - 0x18], 3
mov dword [rbp - 0x14], 1
mov qword [rbp + 8], rsi
mov dword [rbp + 0x14], 0x7f7fffff
mov dword [rbp + 0x1c], esi
mov dword [rbp + 0x20], 0x3f800000
mov qword [rbp + 0x50], rsi
call fcn.140026900
mov dword [rdi + 0x1554], 0x41700000
mov dword [rdi + 0x1558], 0x41700000
mov dword [rdi + 0x155c], 0x40a00000
mov dword [rdi + 0x1584], 0x40900000
mov dword [rdi + 0x1588], 0x40200000
mov dword [rdi + 0x158c], 0x40200000
mov dword [rdi + 0x1594], 0x41400000
mov dword [rdi + 0x1598], 0x41000000
mov dword [rdi + 0x156c], 0x3f000000
mov dword [rdi + 0x1570], 0x3f000000
mov dword [rdi + 0x15ac], 0x41c80000
mov dword [rdi + 0x159c], 0x41900000
mov dword [rdi + 0x15a0], 0x40c00000
mov qword [rdi + 0x15b4], rsi
mov qword [rdi + 0x15bc], 0x40c00000
mov dword [rdi + 0x15f0], 0x3f800000
mov dword [rdi + 0x15f4], 0x3f800000
mov dword [rdi + 0x15f8], 0x3f800000
mov dword [rdi + 0x15fc], 0x3f800000
mov dword [rdi + 0x1600], 0x3f000000
mov dword [rdi + 0x1604], 0x3f000000
mov dword [rdi + 0x1608], 0x3f000000
mov qword [rdi + 0x160c], 0x3f800000
mov qword [rdi + 0x1614], rsi
mov dword [rdi + 0x161c], 0x3f800000
mov dword [rdi + 0x1630], 0x3dcccccd
mov dword [rdi + 0x1634], 0x3dcccccd
mov dword [rdi + 0x1638], 0x3e19999a
mov qword [rdi + 0x163c], 0x3f800000
mov qword [rdi + 0x1644], rsi
mov qword [rdi + 0x164c], rsi
mov qword [rdi + 0x1654], rsi
mov dword [rdi + 0x165c], esi
mov dword [rdi + 0x1660], 0x3e99999a
mov dword [rdi + 0x1664], 0x3e99999a
mov dword [rdi + 0x1668], 0x3e99999a
mov dword [rdi + 0x166c], 0x3f800000
mov dword [rdi + 0x1670], 0x3e23d70a
mov dword [rdi + 0x1674], 0x3e2e147b
mov dword [rdi + 0x1678], 0x3e6147ae
mov dword [rdi + 0x167c], 0x3f800000
mov dword [rdi + 0x1680], 0x3e0f5c29
mov dword [rdi + 0x1684], 0x3e19999a
mov dword [rdi + 0x1688], 0x3e4ccccd
mov dword [rdi + 0x168c], 0x3f800000
mov dword [rdi + 0x1690], 0x3dcccccd
mov dword [rdi + 0x1694], 0x3dcccccd
mov dword [rdi + 0x1698], 0x3e19999a
mov dword [rdi + 0x169c], 0x3f800000
mov dword [rdi + 0x16b0], 0x3dcccccd
mov dword [rdi + 0x16b4], 0x3dcccccd
mov dword [rdi + 0x16b8], 0x3e19999a
mov dword [rdi + 0x16bc], 0x3f800000
mov dword [rdi + 0x16a0], 0x3dcccccd
mov dword [rdi + 0x16a4], 0x3dcccccd
mov dword [rdi + 0x16a8], 0x3e19999a
mov dword [rdi + 0x16ac], 0x3f800000
mov qword [rdi + 0x16c0], 0x3f800000
mov dword [rdi + 0x16c8], esi
mov dword [rdi + 0x16cc], 0x3f800000
mov qword [rdi + 0x16d0], 0x3f800000
mov dword [rdi + 0x16d8], esi
mov dword [rdi + 0x16dc], 0x3f800000
mov qword [rdi + 0x16e0], 0x3f800000
mov dword [rdi + 0x16e8], esi
mov dword [rdi + 0x16ec], 0x3f800000
mov dword [rdi + 0x16f0], 0x3eae147b
mov dword [rdi + 0x16f4], 0x3eae147b
mov dword [rdi + 0x16f8], 0x3eb851ec
mov dword [rdi + 0x16fc], 0x3f800000
mov dword [rdi + 0x1700], 0x3cf5c28f
mov dword [rdi + 0x1704], 0x3ca3d70a
mov dword [rdi + 0x1708], 0x3cf5c28f
mov dword [rdi + 0x170c], 0x3f800000
mov dword [rdi + 0x1710], 0x3f800000
mov dword [rdi + 0x1714], 0x3f800000
mov dword [rdi + 0x1718], 0x3f800000
mov dword [rdi + 0x171c], 0x3f800000
mov dword [rdi + 0x1720], 0x3c23d70a
mov dword [rdi + 0x1724], 0x3c23d70a
mov dword [rdi + 0x1728], 0x3c23d70a
mov dword [rdi + 0x172c], 0x3f800000
mov dword [rdi + 0x1730], 0x3c23d70a
mov dword [rdi + 0x1734], 0x3c23d70a
mov dword [rdi + 0x1738], 0x3c23d70a
mov dword [rdi + 0x173c], 0x3f800000
mov dword [rdi + 0x1740], 0x3f4ccccd
mov dword [rdi + 0x1744], 0x3dcccccd
mov dword [rdi + 0x1748], 0x3dcccccd
mov dword [rdi + 0x174c], 0x3f4ccccd
mov dword [rdi + 0x1750], 0x3e75c28f
mov dword [rdi + 0x1754], 0x3e75c28f
mov dword [rdi + 0x1758], 0x3e75c28f
mov dword [rdi + 0x175c], 0x3f800000
mov dword [rdi + 0x1760], 0x3e0f5c29
mov dword [rdi + 0x1764], 0x3e0f5c29
mov dword [rdi + 0x1768], 0x3e0f5c29
mov dword [rdi + 0x176c], 0x3f800000
mov dword [rdi + 0x1770], 0x3dcccccd
mov dword [rdi + 0x1774], 0x3dcccccd
mov dword [rdi + 0x1778], 0x3dcccccd
mov dword [rdi + 0x177c], 0x3f800000
mov dword [rdi + 0x1780], 0x3eae147b
mov dword [rdi + 0x1784], 0x3eae147b
mov dword [rdi + 0x1788], 0x3eb851ec
mov dword [rdi + 0x178c], 0x3f800000
mov dword [rdi + 0x1790], 0x3cf5c28f
mov dword [rdi + 0x1794], 0x3ca3d70a
mov dword [rdi + 0x1798], 0x3cf5c28f
mov dword [rdi + 0x179c], 0x3f800000
mov qword [rdi + 0x17d0], rsi
mov qword [rdi + 0x17d8], rsi
mov dword [rdi + 0x17e0], 0x3eae147b
mov dword [rdi + 0x17e4], 0x3eae147b
mov dword [rdi + 0x17e8], 0x3eb851ec
mov dword [rdi + 0x17ec], 0x3f800000
mov dword [rdi + 0x17f0], 0x3cf5c28f
mov dword [rdi + 0x17f4], 0x3ca3d70a
mov dword [rdi + 0x17f8], 0x3cf5c28f
mov dword [rdi + 0x17fc], 0x3f800000
mov dword [rdi + 0x1850], 0x3ecccccd
mov dword [rdi + 0x1854], 0x3ec7ae14
mov dword [rdi + 0x1858], 0x3ec28f5c
mov dword [rdi + 0x185c], 0x3f2147ae
mov dword [rdi + 0x1860], 0x3e800000
mov qword [rdi + 0x1864], 0x3f800000
mov dword [rdi + 0x186c], 0x3f800000
mov dword [rdi + 0x1870], 0x3ecccccd
mov dword [rdi + 0x1874], 0x3ec7ae14
mov dword [rdi + 0x1878], 0x3ec28f5c
mov dword [rdi + 0x187c], 0x3f2147ae
mov dword [rdi + 0x1880], 0x3e800000
mov qword [rdi + 0x1884], 0x3f800000
mov dword [rdi + 0x188c], 0x3f800000
mov dword [rdi + 0x1890], 0x3e800000
mov qword [rdi + 0x1894], 0x3f800000
mov dword [rdi + 0x189c], 0x3edc28f6
call fcn.14000eed0
movaps xmm0, xmmword [rbp - 0x30]
lea rax, [0x14006ab00]
movaps xmm1, xmmword [rbp - 0x20]
lea rdx, [rbp + 0x60]
mov rcx, qword [rdi + 0xa0]
movaps xmmword [rbp + 0x60], xmm0
movaps xmm0, xmmword [rbp - 0x10]
movaps xmmword [rbp + 0x70], xmm1
movaps xmm1, xmmword [rbp]
movaps xmmword [rbp + 0x80], xmm0
movaps xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0xa0], xmm0
movaps xmm0, xmmword [rbp + 0x30]
movaps xmmword [rbp + 0x90], xmm1
movaps xmm1, xmmword [rbp + 0x20]
movaps xmmword [rbp + 0xc0], xmm0
movsd xmm0, qword [rbp + 0x50]
movaps xmmword [rbp + 0xb0], xmm1
movaps xmm1, xmmword [rbp + 0x40]
movsd qword [rbp + 0xe0], xmm0
mov qword [rdi + 0x20], rsi
mov byte [rbp - 0x78], 1
mov byte [rsp + 0x60], 1
mov dword [rsp + 0x58], 2
mov dword [rsp + 0x5c], 2
movaps xmmword [rbp + 0xd0], xmm1
mov qword [rbp + 0x60], rax
mov dword [rbp + 0x68], 0x225bc
mov dword [rbp + 0x74], 0x41a80000
call fcn.14002aea0
mov rax, qword [0x140096cf8]
mov r15, qword [rdi + 0xa0]
test rax, rax
je 0x14004413c
inc dword [rax + 0x3c8]
mov ecx, 0x286ac
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
lea rbx, [0x14004c470]
lea rax, [0x14004c460]
mov qword [0x140096db0], r14
mov rcx, rbx
mov qword [0x140096da0], rax
mov qword [0x140096db8], r14
lea rsi, [r14 + 0x286ac]
mov qword [0x140096da8], rsi
call fcn.14002e630
cmp rax, rbx
je 0x1400441a9
nop dword [rax + rax]
cmp qword [0x140096db8], rsi
ja 0x1400441a9
mov rcx, rax
mov rbx, rax
call fcn.14002e630
cmp rax, rbx
jne 0x140044190
movaps xmm0, xmmword [rsp + 0x40]
lea rax, [0x14008e5c0]
movaps xmm2, xmmword [rsp + 0x50]
lea rdx, [rsp + 0x40]
movaps xmm4, xmmword [rsp + 0x70]
mov rcx, r15
movaps xmm3, xmmword [rsp + 0x60]
movaps xmm5, xmmword [rbp - 0x80]
movaps xmm6, xmmword [rbp - 0x70]
movaps xmm7, xmmword [rbp - 0x60]
movaps xmm8, xmmword [rbp - 0x50]
movsd xmm1, qword [rbp - 0x40]
movaps xmmword [rbp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x70], xmm4
mov byte [rbp + 0x6c], 1
movaps xmm0, xmmword [rbp + 0x60]
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], 0x286ac
movaps xmmword [rsp + 0x60], xmm3
movaps xmmword [rbp - 0x80], xmm5
movaps xmmword [rbp - 0x70], xmm6
movaps xmmword [rbp - 0x60], xmm7
movaps xmmword [rbp - 0x50], xmm8
movsd qword [rbp - 0x40], xmm1
mov dword [rsp + 0x54], 0x41980000
mov qword [rsp + 0x78], rax
call fcn.14002aea0
movss xmm2, dword [0x14008e73c]
mov rcx, qword [rdi + 0xa0]
call fcn.14002b280
mov rcx, qword [rdi + 0xa0]
call fcn.14002b120
mov rcx, qword [0x140096d40]
mov rax, qword [rcx]
call qword [rax + 0x10]
movaps xmm8, xmmword [rsp + 0x1f0]
xor eax, eax
movaps xmm7, xmmword [rsp + 0x200]
movaps xmm6, xmmword [rsp + 0x210]
mov r15, qword [rsp + 0x220]
mov r14, qword [rsp + 0x228]
mov rdi, qword [rsp + 0x250]
mov rbx, qword [rsp + 0x240]
mov rsi, qword [rsp + 0x248]
add rsp, 0x230
pop rbp
ret