Function at 0x14009e3b0
Capabilities:
Terminate process

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
lea rdx, [0x1400dd3c8]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x14009e3da
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor esi, esi
mov qword [0x1400dd34c], rsi
mov qword [0x1400dd358], 1
mov qword [0x1400dd374], rsi
mov dword [0x1400dd368], 1
mov r9, qword [0x1400dd3c0]
mov qword [0x1400dd360], r9
mov dword [0x1400dd354], esi
mov dword [0x1400dd348], 0x15
mov eax, dword [0x1400de824]
mov dword [0x1400dd340], eax
mov eax, dword [0x1400de834]
mov dword [0x1400dd344], eax
mov dword [0x1400dd36c], 1
mov dword [0x1400dd370], 0x50
mov dword [0x1400dd37c], esi
mov rcx, qword [0x1400dd3c8]
mov rax, qword [rcx]
lea rdx, [0x1400dd330]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rsi
lea rdx, [0x1400dd340]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
xor edx, edx
lea r8d, [rsi + 1]
call qword [rax + 0xa0]
test eax, eax
jns 0x14009e4a5
mov rcx, qword [0x1400dd3c8]
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 rbx, qword [0x1400dd310]
test rbx, rbx
je 0x14009e4b7
inc dword [rbx + 0xec]
mov ecx, 0x5e68
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14009e4e7
xor edx, edx
mov rcx, rax
call fcn.140001430
jmp 0x14009e4ea
mov rax, rsi
mov qword [0x1400dd310], rax
call fcn.140007500
test rbx, rbx
je 0x14009e502
mov qword [0x1400dd310], rbx
mov rcx, qword [0x1400dd3c0]
call fcn.14006bb70
mov rdi, qword [0x1400dd330]
mov rbx, qword [0x1400dd310]
test rbx, rbx
je 0x14009e527
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 0x14009e556
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 0x14009e559
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 rax, qword [0x1400dd310]
mov qword [rax + 0x20], rsi
mov dword [rax + 0x37dc], 0x3f800000
mov dword [rax + 0x3810], 0x3f800000
mov dword [rax + 0x37e8], 0x3f000000
mov dword [rax + 0x37ec], 0x3f000000
xorps xmm0, xmm0
movups xmmword [rax + 0x3904], xmm0
movaps xmm1, xmmword [0x1400c9360]
movups xmmword [rax + 0x38f4], xmm1
movaps xmm0, xmmword [0x1400c9370]
movups xmmword [rax + 0x3944], xmm0
movaps xmm1, xmm0
movups xmmword [rax + 0x3954], xmm0
movups xmmword [rax + 0x38c4], xmm0
movaps xmm1, xmmword [0x1400c9350]
movups xmmword [rax + 0x3914], xmm1
movaps xmm0, xmm1
movups xmmword [rax + 0x3934], xmm1
movups xmmword [rax + 0x3924], xmm1
movups xmmword [rax + 0x39f4], xmm1
movups xmmword [rax + 0x3a14], xmm1
movups xmmword [rax + 0x3a04], xmm1
movaps xmm1, xmmword [0x1400c9380]
movups xmmword [rax + 0x39d4], xmm1
movaps xmm0, xmm1
movups xmmword [rax + 0x39e4], xmm1
movups xmmword [rax + 0x39c4], xmm1
movups xmmword [rax + 0x3a24], xmm1
xorps xmm1, xmm1
movups xmmword [rax + 0x3a44], xmm1
movups xmmword [rax + 0x3a34], xmm0
movaps xmm1, xmmword [0x1400c9370]
movups xmmword [rax + 0x38e4], xmm1
mov rcx, qword [0x1400dd3c8]
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret