Function at 0x14002fed0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0xd8
lea rdx, [0x14005f490]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x14002fef9
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [0x14005f4a4]
lea rdx, [0x14005f5f8]
mov rcx, qword [0x14005f490]
mov r9, qword [0x14005f5c8]
mov qword [rsp + 0x30], rdx
lea rdx, [0x14005f410]
mov dword [0x14005f410], eax
mov eax, dword [0x14005f4a0]
mov qword [rsp + 0x28], rdx
xor edx, edx
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xe8], rsi
xor esi, esi
mov qword [0x14005f41c], rsi
mov qword [0x14005f444], rsi
mov dword [0x14005f44c], esi
mov dword [0x14005f424], esi
lea r8d, [rsi + 1]
mov qword [0x14005f428], 1
mov dword [0x14005f414], eax
mov dword [0x14005f418], 0x15
mov dword [0x14005f440], 0x50
mov dword [0x14005f43c], 1
mov qword [0x14005f430], r9
mov dword [0x14005f438], 1
mov rax, qword [rcx]
mov qword [rsp + 0xd0], rdi
mov dword [rsp + 0x20], 0x20
call qword [rax + 0x80]
call fcn.140004f40
mov rdi, qword [0x14005f3f0]
lea rcx, [0x14005f578]
mov rbx, qword [0x14005f5c8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400300c1
lea rcx, [0x14005f570]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400300c1
mov rcx, qword [0x14005f3f0]
lea rax, str.imgui_impl_win32
mov qword [0x14005f568], rbx
or dword [rcx + 0xc], 6
mov qword [rcx + 0xd8], rax
mov qword [rcx + 0x108], rbx
mov dword [rcx + 0x3c], 9
mov dword [rcx + 0x40], 0x25
mov dword [rcx + 0x44], 0x27
mov dword [rcx + 0x48], 0x26
mov dword [rcx + 0x4c], 0x28
mov dword [rcx + 0x50], 0x21
mov dword [rcx + 0x54], 0x22
mov dword [rcx + 0x58], 0x24
mov dword [rcx + 0x5c], 0x23
mov dword [rcx + 0x60], 0x2d
mov dword [rcx + 0x64], 0x2e
mov dword [rcx + 0x68], 8
mov dword [rcx + 0x6c], 0x20
mov dword [rcx + 0x70], 0xd
mov dword [rcx + 0x74], 0x1b
mov dword [rcx + 0x78], 0x41
mov dword [rcx + 0x7c], 0x43
mov dword [rcx + 0x80], 0x56
mov dword [rcx + 0x84], 0x58
mov dword [rcx + 0x88], 0x59
mov dword [rcx + 0x8c], 0x5a
jmp 0x1400300c8
mov rcx, qword [0x14005f3f0]
mov rax, qword [0x14005f5f8]
lea rdx, str.imgui_impl_dx9
movss xmm0, dword [0x14005833c]
movss xmm1, dword [0x140058214]
movss xmm2, dword [0x1400582c8]
mov qword [rcx + 0xe0], rdx
movss dword [rsp + 0x84], xmm0
xorps xmm0, xmm0
mov qword [0x14005f558], rax
xor eax, eax
mov dword [rcx + 0x1590], 0x3f800000
mov dword [rcx + 0x15c0], 0x41200000
mov dword [rcx + 0x155c], 0x41200000
mov dword [rcx + 0x156c], 0x3f000000
mov dword [rcx + 0x1570], 0x3f000000
mov dword [rcx + 0x15b8], 0x41200000
mov dword [rcx + 0x15b4], 0x40800000
mov dword [rcx + 0x1584], 0x40000000
mov dword [rcx + 0x1588], 0x40800000
mov rcx, qword [rdi + 0xa0]
movups xmmword [rsp + 0x94], xmm0
mov qword [rsp + 0xb4], rax
movups xmmword [rsp + 0xa4], xmm0
mov qword [rsp + 0x40], rsi
movss dword [rsp + 0x90], xmm1
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 [rsp + 0x80], esi
mov dword [rsp + 0x8c], esi
mov qword [rsp + 0xc0], rsi
mov byte [rsp + 0x88], 1
mov byte [rsp + 0x60], 1
mov dword [rsp + 0x58], 3
mov dword [rsp + 0x5c], 3
call fcn.14001eff0
movss xmm3, dword [0x1400582c4]
lea rax, [0x140058198]
mov rcx, qword [rdi + 0xa0]
lea rdx, [0x140039540]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.14001f320
mov rcx, qword [0x14005f490]
mov rax, qword [rcx]
mov rdi, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0xe0]
add rsp, 0xd8
jmp qword [rax + 0x10]