Function at 0x140041050
Capabilities:
Terminate process

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
lea rdx, [0x140103640]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x14004107a
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor esi, esi
mov qword [0x14010369c], rsi
mov qword [0x1401036a8], 1
mov qword [0x1401036c4], rsi
mov dword [0x1401036b8], 1
mov r9, qword [0x140103638]
mov qword [0x1401036b0], r9
mov dword [0x1401036a4], esi
mov dword [0x140103698], 0x15
mov eax, dword [0x140103b4c]
mov dword [0x140103690], eax
mov eax, dword [0x1401036ec]
mov dword [0x140103694], eax
mov dword [0x1401036bc], 1
mov dword [0x1401036c0], 0x50
mov dword [0x1401036cc], esi
mov rcx, qword [0x140103640]
mov rax, qword [rcx]
lea rdx, [0x1401036d0]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rsi
lea rdx, [0x140103690]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r8d, 1
call qword [rax + 0xa0]
test eax, eax
jns 0x140041149
mov rcx, qword [0x140103640]
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 [0x1401035b0]
test rbx, rbx
je 0x14004115b
inc dword [rbx + 0xec]
mov ecx, 0x5e98
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 0x14004118b
xor edx, edx
mov rcx, rax
call fcn.140005bc0
jmp 0x14004118e
mov rax, rsi
mov qword [0x1401035b0], rax
call fcn.1400094c0
test rbx, rbx
je 0x1400411a6
mov qword [0x1401035b0], rbx
mov rdi, qword [0x140103638]
lea rcx, [0x140103ba0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ebx, 8
test eax, eax
je 0x1400412d3
lea rcx, [0x140103b98]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400412d3
mov qword [0x140103b90], rdi
mov rax, qword [0x1401035b0]
or dword [rax + 0xc], 6
lea rcx, str.imgui_impl_win32
mov qword [rax + 0x80], rcx
mov qword [rax + 0xc8], rdi
mov dword [rax + 0x8f8], 9
mov dword [rax + 0x8fc], 0x25
mov dword [rax + 0x900], 0x27
mov dword [rax + 0x904], 0x26
mov dword [rax + 0x908], 0x28
mov dword [rax + 0x90c], 0x21
mov dword [rax + 0x910], 0x22
mov dword [rax + 0x914], 0x24
mov dword [rax + 0x918], 0x23
mov dword [rax + 0x91c], 0x2d
mov dword [rax + 0x920], 0x2e
mov dword [rax + 0x924], ebx
mov dword [rax + 0x928], 0x20
mov dword [rax + 0x92c], 0xd
mov dword [rax + 0x930], 0x1b
mov dword [rax + 0x980], 0x41
mov dword [rax + 0x988], 0x43
mov dword [rax + 0x9d4], 0x56
mov dword [rax + 0x9dc], 0x58
mov dword [rax + 0x9e0], 0x59
mov dword [rax + 0x9e4], 0x5a
jmp 0x1400412da
mov rax, qword [0x1401035b0]
mov rcx, qword [0x1401036d0]
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1400412f1
mov byte [reloc.WS2_32.dll_accept], 0
lea rdx, str.imgui_impl_dx9
mov qword [rax + 0x88], rdx
mov qword [0x140103b80], rcx
xor ecx, ecx
call fcn.140027090
mov r8, qword [0x1401035b0]
lea rcx, [r8 + 0x37c8]
lea rdx, [0x1401036f0]
movups xmm0, xmmword [rcx]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rbx, 1
jne 0x140041322
movups xmm0, xmmword [rcx]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x40], xmm0
mov rax, qword [rcx + 0x50]
mov qword [rdx + 0x50], rax
mov eax, dword [rcx + 0x58]
mov dword [rdx + 0x58], eax
or dword [r8 + 8], 3
mov qword [r8 + 0x20], rsi
movss xmm0, dword [0x1401036fc]
mulss xmm0, dword [0x1400e7bdc]
movss xmm3, dword [0x1400e7c48]
subss xmm3, xmm0
lea rax, [0x1400e5cf0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea rdx, [0x1400ceee0]
mov rcx, qword [r8 + 0x38]
call fcn.14002d9b0
mov qword [0x140103600], rax
mov rcx, qword [0x140103640]
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