Function at 0x14004b3f0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x48
lea rdx, [0x1400752d8]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x14004b416
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [0x14007538c]
lea rdx, [0x140075360]
mov rcx, qword [0x1400752d8]
mov r8d, 1
mov r9, qword [0x1400752d0]
mov qword [rsp + 0x38], rdx
lea rdx, [0x140075320]
mov dword [0x140075320], eax
mov eax, dword [0x140075388]
mov qword [0x140075338], 1
mov dword [0x140075348], 1
mov qword [0x140075340], r9
mov dword [0x140075328], 0x15
mov dword [0x140075324], eax
mov dword [0x14007534c], 1
mov dword [0x140075350], 0x50
mov qword [rsp + 0x40], rdi
xor edi, edi
mov qword [0x14007532c], rdi
mov qword [0x140075354], rdi
mov dword [0x140075334], edi
mov dword [0x14007535c], edi
mov rax, qword [rcx]
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 0x14004b4ea
mov rcx, qword [0x1400752d8]
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
call fcn.140018300
mov rbx, qword [0x1400752d0]
lea rcx, [0x1400753e0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14004b5ed
lea rcx, [0x1400753d8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14004b5ed
mov rax, qword [0x140075260]
lea rcx, str.imgui_impl_win32
mov qword [0x1400753d0], rbx
or dword [rax + 0xc], 6
mov qword [rax + 0xd8], rcx
mov qword [rax + 0x108], rbx
mov dword [rax + 0x3c], 9
mov dword [rax + 0x40], 0x25
mov dword [rax + 0x44], 0x27
mov dword [rax + 0x48], 0x26
mov dword [rax + 0x4c], 0x28
mov dword [rax + 0x50], 0x21
mov dword [rax + 0x54], 0x22
mov dword [rax + 0x58], 0x24
mov dword [rax + 0x5c], 0x23
mov dword [rax + 0x60], 0x2d
mov dword [rax + 0x64], 0x2e
mov dword [rax + 0x68], 8
mov dword [rax + 0x6c], 0x20
mov dword [rax + 0x70], 0xd
mov dword [rax + 0x74], 0x1b
mov dword [rax + 0x78], 0x41
mov dword [rax + 0x7c], 0x43
mov dword [rax + 0x80], 0x56
mov dword [rax + 0x84], 0x58
mov dword [rax + 0x88], 0x59
mov dword [rax + 0x8c], 0x5a
jmp 0x14004b5f4
mov rax, qword [0x140075260]
cmp byte [0x1400740c0], dil
mov rcx, qword [0x140075360]
mov rbx, qword [rsp + 0x50]
je 0x14004b610
mov byte [0x1400740c0], dil
mov qword [0x1400753c0], rcx
lea rdx, str.imgui_impl_dx9
xor ecx, ecx
mov qword [rax + 0xe0], rdx
call fcn.14002df50
movdqa xmm2, xmmword [0x14006a9d0]
xorps xmm0, xmm0
movdqa xmm1, xmmword [0x14006a9c0]
mov qword [rax + 0x20], rdi
mov dword [rax + 0x1560], edi
mov dword [rax + 0x1590], 0x3f800000
mov dword [rax + 0x156c], 0x3f000000
mov dword [rax + 0x1570], 0x3f000000
movups xmmword [rax + 0x1650], xmm0
movdqa xmm0, xmmword [0x14006a9a0]
movups xmmword [rax + 0x1660], xmm0
movups xmmword [rax + 0x1680], xmm0
movups xmmword [rax + 0x1670], xmm0
movups xmmword [rax + 0x1740], xmm0
movups xmmword [rax + 0x1760], xmm0
movups xmmword [rax + 0x1750], xmm0
movups xmmword [rax + 0x1640], xmm1
movdqa xmm1, xmmword [0x14006a9e0]
xorps xmm0, xmm0
movups xmmword [rax + 0x1790], xmm0
movups xmmword [rax + 0x1690], xmm2
movups xmmword [rax + 0x16a0], xmm2
movups xmmword [rax + 0x1610], xmm2
movups xmmword [rax + 0x1720], xmm1
movups xmmword [rax + 0x1730], xmm1
movups xmmword [rax + 0x1710], xmm1
movups xmmword [rax + 0x1770], xmm1
movups xmmword [rax + 0x1780], xmm1
movups xmmword [rax + 0x1630], xmm2
mov rcx, qword [0x1400752d8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdi, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x48
ret