Function at 0x140039670
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x78]
sub rsp, 0x178
movaps xmmword [rsp + 0x160], xmm6
xorps xmm6, xmm6
xor eax, eax
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x50], xmm6
movups xmmword [rsp + 0x60], xmm6
movups xmmword [rsp + 0x70], xmm6
movups xmmword [rbp - 0x80], xmm6
movups xmmword [rbp - 0x70], xmm6
mov qword [rbp - 0x40], rax
mov byte [rsp + 0x4c], 1
mov dword [rbp - 0x7c], 0x7f7fffff
mov eax, 0xffff
mov word [rbp - 0x6c], ax
mov byte [rsp + 0x60], 0
mov dword [rsp + 0x58], 5
mov dword [rsp + 0x5c], 5
mov dword [rbp - 0x70], 0x3f99999a
lea rsi, [0x14009b2a0]
mov qword [rsp + 0x78], rsi
lea rdx, [0x14012c100]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x14003970d
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor edi, edi
mov qword [0x14012c16c], rdi
mov qword [0x14012c178], 1
mov qword [0x14012c194], rdi
mov dword [0x14012c188], 1
mov r9, qword [0x14012c0f8]
mov qword [0x14012c180], r9
mov dword [0x14012c174], edi
mov dword [0x14012c168], 0x15
mov eax, dword [0x14012c20c]
mov dword [0x14012c160], eax
mov eax, dword [0x14012c208]
mov dword [0x14012c164], eax
mov dword [0x14012c18c], 1
mov dword [0x14012c190], 0x50
mov dword [0x14012c19c], 1
mov rcx, qword [0x14012c100]
mov rax, qword [rcx]
lea rdx, [0x14012c1a8]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdi
lea rdx, [0x14012c160]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r8d, 1
call qword [rax + 0xa0]
test eax, eax
jns 0x1400397e0
mov rcx, qword [0x14012c100]
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 [0x14012c080]
test rbx, rbx
je 0x1400397f2
inc dword [rbx + 0xf4]
mov ecx, 0x5588
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0xa8], rax
lea rcx, [rbp + 0xa0]
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0xb8], rax
test rax, rax
je 0x14003982b
xor edx, edx
mov rcx, rax
call fcn.1400026e0
mov rdi, rax
mov qword [0x14012c080], rdi
call fcn.140009590
test rbx, rbx
je 0x140039843
mov qword [0x14012c080], rbx
mov rbx, qword [0x14012c0f8]
lea rcx, [0x14012c608]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14003996f
lea rcx, [0x14012c600]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003996f
mov qword [0x14012c5f8], rbx
mov rcx, qword [0x14012c080]
or dword [rcx + 0xc], 6
lea rax, str.imgui_impl_win32
mov qword [rcx + 0x88], rax
mov qword [rcx + 0xd0], rbx
mov dword [rcx + 0x900], 9
mov dword [rcx + 0x904], 0x25
mov dword [rcx + 0x908], 0x27
mov dword [rcx + 0x90c], 0x26
mov dword [rcx + 0x910], 0x28
mov dword [rcx + 0x914], 0x21
mov dword [rcx + 0x918], 0x22
mov dword [rcx + 0x91c], 0x24
mov dword [rcx + 0x920], 0x23
mov dword [rcx + 0x924], 0x2d
mov dword [rcx + 0x928], 0x2e
mov dword [rcx + 0x92c], 8
mov dword [rcx + 0x930], 0x20
mov dword [rcx + 0x934], 0xd
mov dword [rcx + 0x938], 0x1b
mov dword [rcx + 0x988], 0x41
mov dword [rcx + 0x990], 0x43
mov dword [rcx + 0x9dc], 0x56
mov dword [rcx + 0x9e4], 0x58
mov dword [rcx + 0x9e8], 0x59
mov dword [rcx + 0x9ec], 0x5a
jmp 0x140039976
mov rcx, qword [0x14012c080]
mov rax, qword [0x14012c1a8]
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x14003998d
mov byte [reloc.WS2_32.dll_accept], 0
lea rdx, str.imgui_impl_dx9
mov qword [rcx + 0x90], rdx
mov qword [0x14012c5e8], rax
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x20], xmm1
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x10], xmm0
movaps xmm1, xmmword [rsp + 0x70]
movaps xmmword [rbp], xmm1
movaps xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x10], xmm0
movaps xmm1, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp + 0x30], xmm6
movaps xmmword [rbp + 0x40], xmm6
movsd xmm0, qword [rbp - 0x40]
movsd qword [rbp + 0x50], xmm0
lea rax, [0x1400a7120]
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], 0x41d7c
mov dword [rbp - 0x1c], 0x41700000
mov qword [rbp + 8], rsi
lea rdx, [rbp - 0x30]
mov rcx, qword [rcx + 0x58]
call fcn.140026320
mov rcx, qword [0x14012c100]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
xor eax, eax
movaps xmm6, xmmword [rsp + 0x160]
add rsp, 0x178
pop rdi
pop rsi
pop rbx
pop rbp
ret