Function at 0x140039b80
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1400ba180]
xor rax, rsp
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
lea r14, [rsp + 0x98]
movabs r15, 0xff00ff00ff00ff00
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r14
mov rdi, qword [r14]
xor rdi, r15
mov qword [rsp + 0x60], rdi
xor ebp, ebp
mov qword [r14], rbp
lea rdx, [0x1400c16d0]
lea ecx, [rbp + 0x20]
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x140039bfc
lea ecx, [rbp + 3]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [0x1400c164c], rbp
mov qword [0x1400c1658], 1
mov qword [0x1400c1674], rbp
mov dword [0x1400c1668], 1
mov r9, qword [0x1400c16c8]
mov qword [0x1400c1660], r9
mov dword [0x1400c1654], ebp
mov dword [0x1400c1648], 0x15
mov eax, dword [0x1400c17dc]
mov dword [0x1400c1640], eax
mov eax, dword [0x1400c17e4]
mov dword [0x1400c1644], eax
mov dword [0x1400c166c], 1
mov dword [0x1400c1670], 0x50
mov dword [0x1400c167c], ebp
mov rcx, qword [0x1400c16d0]
mov rax, qword [rcx]
lea rdx, [0x1400c1638]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rbp
lea rdx, [0x1400c1640]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
xor edx, edx
lea r8d, [rdx + 1]
call qword [rax + 0xa0]
test eax, eax
jns 0x140039cc7
mov rcx, qword [0x1400c16d0]
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 [0x1400c1620]
test rbx, rbx
je 0x140039cd9
inc dword [rbx + 0xec]
mov ecx, 0x5e68
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140039d09
xor edx, edx
mov rcx, rax
call fcn.140001650
jmp 0x140039d0c
mov rax, rbp
mov qword [0x1400c1620], rax
call fcn.1400051f0
test rbx, rbx
je 0x140039d24
mov qword [0x1400c1620], rbx
mov rcx, qword [0x1400c16c8]
call fcn.14002c030
mov rsi, qword [0x1400c1638]
mov rbx, qword [0x1400c1620]
test rbx, rbx
je 0x140039d49
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 0x140039d78
mov qword [rax], rbp
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rbp
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x140039d7b
mov rax, rbp
mov qword [rbx + 0x98], rax
lea rcx, str.imgui_impl_dx9
mov qword [rbx + 0x88], rcx
or dword [rbx + 0xc], 8
mov qword [rax], rsi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + ioctlsocket]
mov rax, qword [0x1400c1620]
mov qword [rax + 0x20], rbp
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 [0x1400a28b0]
movups xmmword [rax + 0x38f4], xmm1
movaps xmm0, xmmword [0x1400a2890]
movups xmmword [rax + 0x3944], xmm0
movaps xmm1, xmmword [0x1400a28c0]
movups xmmword [rax + 0x3954], xmm1
movaps xmm0, xmmword [0x1400a2860]
movups xmmword [rax + 0x38c4], xmm0
movaps xmm1, xmmword [0x1400a2870]
movups xmmword [rax + 0x3914], xmm1
movaps xmm0, xmm1
movups xmmword [rax + 0x3934], xmm1
movups xmmword [rax + 0x3924], xmm1
movaps xmm0, xmmword [0x1400a2880]
movups xmmword [rax + 0x39f4], xmm0
movups xmmword [rax + 0x3a14], xmm1
movaps xmm0, xmm1
movups xmmword [rax + 0x3a04], xmm1
movaps xmm1, xmmword [0x1400a28d0]
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 [0x1400a28c0]
movups xmmword [rax + 0x38e4], xmm1
mov rcx, qword [0x1400c16d0]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
xor rdi, r15
mov qword [r14], rdi
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14008db60
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret