Function at 0x14003a2b0
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x68]
sub rsp, 0x168
lea rdx, [0x14006d660]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x14003a2e3
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor esi, esi
mov qword [0x14006d5cc], rsi
mov qword [0x14006d5d8], 1
mov qword [0x14006d5f4], rsi
mov dword [0x14006d5e8], 1
mov r9, qword [0x14006d628]
mov qword [0x14006d5e0], r9
mov dword [0x14006d5d4], esi
mov dword [0x14006d5c8], 0x15
mov eax, dword [0x14006d6d8]
mov dword [0x14006d5c0], eax
mov eax, dword [0x14006d6c8]
mov dword [0x14006d5c4], eax
mov dword [0x14006d5ec], 1
mov dword [0x14006d5f0], 0x50
mov dword [0x14006d5fc], esi
mov rcx, qword [0x14006d660]
mov rax, qword [rcx]
lea rdx, [0x14006d5a8]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rsi
lea rdx, [0x14006d5c0]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r8d, 1
call qword [rax + 0xa0]
test eax, eax
jns 0x14003a3b2
mov rcx, qword [0x14006d660]
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 rbx, qword [0x14006d590]
test rbx, rbx
je 0x14003a3c4
inc dword [rbx + 0xec]
mov ecx, 0x5e68
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x98], rax
lea rcx, [rbp + 0x90]
mov qword [rbp + 0xa0], rcx
mov qword [rbp + 0xa8], rax
test rax, rax
je 0x14003a3fc
xor edx, edx
mov rcx, rax
call fcn.140001380
jmp 0x14003a3ff
mov rax, rsi
mov qword [0x14006d590], rax
call fcn.140004e80
test rbx, rbx
je 0x14003a417
mov qword [0x14006d590], rbx
mov rcx, qword [0x14006d628]
call fcn.14002b5d0
mov rdi, qword [0x14006d5a8]
mov rbx, qword [0x14006d590]
test rbx, rbx
je 0x14003a43c
inc dword [rbx + 0xec]
mov ecx, 0x28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14003a46b
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x14003a46e
mov rax, rsi
mov qword [rbx + 0x98], rax
lea rcx, str.imgui_impl_dx9
mov qword [rbx + 0x88], rcx
or dword [rbx + 0xc], 8
mov qword [rax], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rcx, qword [0x14006d590]
mov qword [rcx + 0x20], rsi
mov dword [rcx + 0x37dc], 0x3f800000
mov dword [rcx + 0x3810], 0x3f800000
mov dword [rcx + 0x37e8], 0x3f000000
mov dword [rcx + 0x37ec], 0x3f000000
xorps xmm0, xmm0
movups xmmword [rcx + 0x3904], xmm0
movdqa xmm1, xmmword [0x14004bb60]
movups xmmword [rcx + 0x38f4], xmm1
movdqa xmm2, xmmword [0x14004bb70]
movups xmmword [rcx + 0x3944], xmm2
movups xmmword [rcx + 0x3954], xmm2
movups xmmword [rcx + 0x38c4], xmm2
movdqa xmm0, xmmword [0x14004bb50]
movups xmmword [rcx + 0x3914], xmm0
movups xmmword [rcx + 0x3934], xmm0
movups xmmword [rcx + 0x3924], xmm0
movups xmmword [rcx + 0x39f4], xmm0
movups xmmword [rcx + 0x3a14], xmm0
movups xmmword [rcx + 0x3a04], xmm0
movdqa xmm1, xmmword [0x14004bb80]
movups xmmword [rcx + 0x39d4], xmm1
movups xmmword [rcx + 0x39e4], xmm1
movups xmmword [rcx + 0x39c4], xmm1
movups xmmword [rcx + 0x3a24], xmm1
xorps xmm0, xmm0
movups xmmword [rcx + 0x3a44], xmm0
movups xmmword [rcx + 0x3a34], xmm1
movups xmmword [rcx + 0x38e4], xmm2
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x40], xmm2
movups xmmword [rsp + 0x50], xmm2
movups xmmword [rbp - 0x80], xmm2
movups xmmword [rbp - 0x70], xmm2
mov qword [rbp - 0x40], rax
mov byte [rsp + 0x4c], 1
mov dword [rsp + 0x58], 3
mov dword [rsp + 0x5c], 1
mov dword [rbp - 0x7c], 0x7f7fffff
mov dword [rbp - 0x70], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x6c], ax
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x20], xmm1
movaps xmmword [rbp - 0x10], xmm2
movaps xmmword [rbp], xmm2
movaps xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x10], xmm0
movaps xmm1, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp + 0x30], xmm2
movaps xmmword [rbp + 0x40], xmm2
movsd xmm0, qword [rbp - 0x40]
movsd qword [rbp + 0x50], xmm0
lea rax, [0x1400530b0]
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], 0x19d94
mov dword [rbp - 0x1c], 0x41900000
lea rdx, [rbp - 0x30]
mov rcx, qword [rcx + 0x38]
call fcn.140026840
mov rcx, qword [0x14006d660]
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
pop rbx
pop rbp
ret