Function at 0x140039020
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x48
lea rdx, [0x14006f7f8]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x140039046
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [0x14006f84c]
lea rdx, [0x14006f840]
mov rcx, qword [0x14006f7f8]
mov r8d, 1
mov r9, qword [0x14006f7f0]
mov qword [rsp + 0x38], rdx
lea rdx, [0x14006f800]
mov dword [0x14006f800], eax
mov eax, dword [0x14006f848]
mov qword [0x14006f818], 1
mov dword [0x14006f828], 1
mov qword [0x14006f820], r9
mov dword [0x14006f808], 0x15
mov dword [0x14006f804], eax
mov dword [0x14006f82c], 1
mov dword [0x14006f830], 0x50
mov dword [0x14006f83c], 0x80000000
mov qword [rsp + 0x58], rsi
xor esi, esi
mov qword [0x14006f80c], rsi
mov qword [0x14006f834], rsi
mov dword [0x14006f814], esi
mov rax, qword [rcx]
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 0x14003911e
mov rcx, qword [0x14006f7f8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ecx, 4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x40], rdi
call fcn.1400083b0
mov rdi, qword [0x14006f7f0]
lea rcx, [0x14006f8a0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140039226
lea rcx, [0x14006f898]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140039226
mov rbx, qword [0x14006f7b0]
lea rax, str.imgui_impl_win32
mov qword [0x14006f890], rdi
or dword [rbx + 0xc], 6
mov qword [rbx + 0xd8], rax
mov qword [rbx + 0x108], rdi
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], 0x41
mov dword [rbx + 0x7c], 0x43
mov dword [rbx + 0x80], 0x56
mov dword [rbx + 0x84], 0x58
mov dword [rbx + 0x88], 0x59
mov dword [rbx + 0x8c], 0x5a
jmp 0x14003922d
mov rbx, qword [0x14006f7b0]
cmp byte [0x1400490d0], sil
mov rax, qword [0x14006f840]
mov rdi, qword [rsp + 0x40]
je 0x140039249
mov byte [0x1400490d0], sil
lea rcx, str.imgui_impl_dx9
mov qword [0x14006f880], rax
mov qword [rbx + 0xe0], rcx
call fcn.14001ece0
movss xmm3, dword [0x140041c98]
lea rax, [0x140041720]
mov rcx, qword [rbx + 0xa0]
lea rdx, [0x1400490e0]
mov qword [rsp + 0x28], rax
mov r8d, 0x25e60
mov qword [rsp + 0x20], rsi
mov qword [rbx + 0x20], rsi
call fcn.140022a00
call fcn.14001ece0
movdqa xmm2, xmmword [0x140042040]
movdqa xmm0, xmmword [0x140041dd0]
movdqa xmm1, xmmword [0x140042080]
mov dword [rbx + 0x1554], 0x41000000
mov dword [rbx + 0x1558], 0x41000000
mov dword [rbx + 0x155c], 0x40a00000
mov dword [rbx + 0x1584], 0x40800000
mov dword [rbx + 0x1588], 0x40000000
mov dword [rbx + 0x1594], 0x41000000
mov dword [rbx + 0x1598], 0x40800000
mov dword [rbx + 0x159c], 0x40800000
mov dword [rbx + 0x15a0], 0x40800000
mov dword [rbx + 0x15ac], 0x41a80000
mov qword [rbx + 0x15b4], 0x41600000
mov qword [rbx + 0x15bc], 0x41200000
mov qword [rbx + 0x15c4], rsi
mov dword [rbx + 0x1574], esi
mov dword [rbx + 0x1560], 0x3f800000
mov dword [rbx + 0x1578], 0x3f800000
mov dword [rbx + 0x1580], esi
mov dword [rbx + 0x1590], esi
movups xmmword [rbx + 0x15f0], xmm0
movdqa xmm0, xmmword [0x140042070]
movups xmmword [rbx + 0x1610], xmm0
movdqa xmm0, xmmword [0x140042190]
movups xmmword [rbx + 0x1640], xmm0
movdqa xmm0, xmmword [0x1400420f0]
movups xmmword [rbx + 0x16c0], xmm0
movdqa xmm0, xmmword [0x140041e50]
movups xmmword [rbx + 0x1620], xmm1
movdqa xmm1, xmmword [0x140041db0]
movups xmmword [rbx + 0x16e0], xmm0
movdqa xmm0, xmmword [0x140042060]
movups xmmword [rbx + 0x1650], xmm1
movdqa xmm1, xmmword [0x140042090]
movups xmmword [rbx + 0x1700], xmm0
movdqa xmm0, xmmword [0x140041f10]
movups xmmword [rbx + 0x16d0], xmm1
movdqa xmm1, xmmword [0x140042150]
movups xmmword [rbx + 0x1720], xmm0
movups xmmword [rbx + 0x1730], xmm0
movdqa xmm0, xmmword [0x1400420a0]
movups xmmword [rbx + 0x1600], xmm2
movups xmmword [rbx + 0x1630], xmm2
movdqa xmm2, xmmword [0x1400420b0]
movups xmmword [rbx + 0x16f0], xmm1
movdqa xmm1, xmmword [0x140042140]
movups xmmword [rbx + 0x1740], xmm0
movups xmmword [rbx + 0x1660], xmm2
movups xmmword [rbx + 0x1670], xmm2
movups xmmword [rbx + 0x1680], xmm2
movups xmmword [rbx + 0x1690], xmm2
movups xmmword [rbx + 0x16b0], xmm2
movups xmmword [rbx + 0x16a0], xmm2
movups xmmword [rbx + 0x1750], xmm2
movups xmmword [rbx + 0x1760], xmm2
movdqa xmm2, xmmword [0x140041ff0]
xorps xmm0, xmm0
movups xmmword [rbx + 0x1710], xmm1
movups xmmword [rbx + 0x17d0], xmm0
movups xmmword [rbx + 0x1770], xmm2
movups xmmword [rbx + 0x1780], xmm2
movups xmmword [rbx + 0x1790], xmm2
movups xmmword [rbx + 0x17a0], xmm2
movups xmmword [rbx + 0x17b0], xmm2
movups xmmword [rbx + 0x17c0], xmm2
xorps xmm1, xmm1
movups xmmword [rbx + 0x17e0], xmm1
movdqa xmm1, xmmword [0x140041f40]
movups xmmword [rbx + 0x17f0], xmm0
movdqa xmm0, xmmword [0x140041eb0]
movups xmmword [rbx + 0x1890], xmm0
movups xmmword [rbx + 0x18e0], xmm1
movups xmmword [rbx + 0x1850], xmm2
movups xmmword [rbx + 0x1860], xmm2
movups xmmword [rbx + 0x1870], xmm2
movups xmmword [rbx + 0x1880], xmm2
mov dword [rbx + 0x156c], 0x3f000000
mov dword [rbx + 0x158c], esi
mov rcx, qword [0x14006f7f8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [rsp + 0x50]
xor eax, eax
mov rsi, qword [rsp + 0x58]
add rsp, 0x48
ret