Function at 0x140045e30
Capabilities:
Terminate process

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm7
movaps xmmword [rsp + 0x40], xmm8
lea rdx, [0x1400dc658]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x140045e6a
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor esi, esi
mov qword [0x1400dc5cc], rsi
mov qword [0x1400dc5d8], 1
mov qword [0x1400dc5f4], rsi
mov dword [0x1400dc5e8], 1
mov r9, qword [0x1400dc650]
mov qword [0x1400dc5e0], r9
mov dword [0x1400dc5d4], esi
mov dword [0x1400dc5c8], 0x15
mov eax, dword [0x1400dcbc8]
mov dword [0x1400dc5c0], eax
mov eax, dword [0x1400dcbe8]
mov dword [0x1400dc5c4], eax
mov dword [0x1400dc5ec], 1
mov dword [0x1400dc5f0], 0x50
mov dword [0x1400dc5fc], esi
mov rcx, qword [0x1400dc658]
mov rax, qword [rcx]
lea rdx, [0x1400dc598]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rsi
lea rdx, [0x1400dc5c0]
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 0x140045f35
mov rcx, qword [0x1400dc658]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
lea ecx, [rsi + 4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, qword [0x1400dc580]
test rbx, rbx
je 0x140045f47
inc dword [rbx + 0xec]
mov ecx, 0x5e68
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x90]
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0xa8], rax
test rax, rax
je 0x140045f83
xor edx, edx
mov rcx, rax
call fcn.140001fc0
jmp 0x140045f86
mov rax, rsi
mov qword [0x1400dc580], rax
call fcn.1400061c0
test rbx, rbx
je 0x140045f9e
mov qword [0x1400dc580], rbx
mov rcx, qword [0x1400dc650]
call fcn.14002e950
mov rdi, qword [0x1400dc598]
mov rbx, qword [0x1400dc580]
test rbx, rbx
je 0x140045fc3
inc dword [rbx + 0xec]
mov ecx, Ordinal_41
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x140045ff2
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 0x140045ff5
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 [0x1400dc580]
mov qword [rax + 0x20], rsi
xor ecx, ecx
call fcn.1400242c0
mov rax, qword [0x1400dc580]
mov dword [rax + 0x37d8], 0x41400000
mov dword [rax + 0x37f4], 0x41400000
mov dword [rax + 0x37fc], 0x41400000
mov dword [rax + 0x380c], 0x41400000
mov dword [rax + 0x3840], 0x41400000
mov dword [rax + 0x3848], 0x41400000
mov dword [rax + 0x384c], 0x41400000
movaps xmm0, xmmword [0x1400ca430]
movaps xmm1, xmmword [0x1400ca420]
movaps xmm2, xmmword [0x1400ca450]
movaps xmm3, xmmword [0x1400ca460]
movaps xmm4, xmmword [0x1400ca440]
movaps xmm5, xmmword [0x1400ca4a0]
movaps xmm8, xmmword [0x1400ca410]
mov qword [rax + 0x38c4], rsi
mov dword [rax + 0x38cc], esi
mov dword [rax + 0x38d0], 0x3f41cac1
movups xmmword [rax + 0x3914], xmm0
movups xmmword [rax + 0x3924], xmm1
movups xmmword [rax + 0x3934], xmm2
movups xmmword [rax + 0x3944], xmm3
movups xmmword [rax + 0x3954], xmm4
movups xmmword [rax + 0x39c4], xmm5
movups xmmword [rax + 0x39d4], xmm5
movups xmmword [rax + 0x39e4], xmm5
movups xmmword [rax + 0x39f4], xmm8
mov rcx, qword [0x1400dc658]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
xor eax, eax
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm8, xmmword [rsp + 0x40]
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret