Function at 0x14003aa70
Capabilities:
Terminate process

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
lea rdx, [0x14013f500]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x14003aa9a
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor esi, esi
mov qword [0x14013f47c], rsi
mov qword [0x14013f488], 1
mov qword [0x14013f4a4], rsi
mov dword [0x14013f498], 1
mov r9, qword [0x14013f4e8]
mov qword [0x14013f490], r9
mov dword [0x14013f484], esi
mov dword [0x14013f478], 0x15
mov eax, dword [0x14013f9a8]
mov dword [0x14013f470], eax
mov eax, dword [0x14013fc30]
mov dword [0x14013f474], eax
mov dword [0x14013f49c], 1
mov dword [0x14013f4a0], 0x50
mov dword [0x14013f4ac], esi
mov rcx, qword [0x14013f500]
mov rax, qword [rcx]
lea rdx, [0x14013f468]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rsi
lea rdx, [0x14013f470]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r8d, 1
call qword [rax + 0xa0]
test eax, eax
jns 0x14003ab69
mov rcx, qword [0x14013f500]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov ecx, 4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, qword [0x14013f450]
test rbx, rbx
je 0x14003ab7b
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 0x14003abab
xor edx, edx
mov rcx, rax
call fcn.140002050
jmp 0x14003abae
mov rax, rsi
mov qword [0x14013f450], rax
call fcn.140005b50
test rbx, rbx
je 0x14003abc6
mov qword [0x14013f450], rbx
mov rcx, qword [0x14013f4e8]
call fcn.14002c020
mov rdi, qword [0x14013f468]
mov rbx, qword [0x14013f450]
test rbx, rbx
je 0x14003abeb
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 0x14003ac1a
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 0x14003ac1d
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 + reloc.WS2_32.dll_htonl]
mov rax, qword [0x14013f450]
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
movdqa xmm1, xmmword [0x140126690]
movups xmmword [rax + 0x38f4], xmm1
movdqa xmm2, xmmword [0x1401266a0]
movups xmmword [rax + 0x3944], xmm2
movups xmmword [rax + 0x3954], xmm2
movups xmmword [rax + 0x38c4], xmm2
movdqa xmm0, xmmword [0x140126660]
movups xmmword [rax + 0x3914], xmm0
movups xmmword [rax + 0x3934], xmm0
movups xmmword [rax + 0x3924], xmm0
movups xmmword [rax + 0x39f4], xmm0
movups xmmword [rax + 0x3a14], xmm0
movups xmmword [rax + 0x3a04], xmm0
movdqa xmm1, xmmword [0x1401266b0]
movups xmmword [rax + 0x39d4], xmm1
movups xmmword [rax + 0x39e4], xmm1
movups xmmword [rax + 0x39c4], xmm1
movups xmmword [rax + 0x3a24], xmm1
xorps xmm0, xmm0
movups xmmword [rax + 0x3a44], xmm0
movups xmmword [rax + 0x3a34], xmm1
movups xmmword [rax + 0x38e4], xmm2
mov rcx, qword [0x14013f500]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
xor eax, eax
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret