Function at 0x140067720
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x240
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
mov rax, qword [0x1400a0040]
xor rax, rsp
mov qword [rbp + 0xb8], rax
mov rdi, qword [0x140236c50]
lea rdx, [0x140236c68]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x1400677af
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor r13d, r13d
mov qword [0x140236cac], r13
mov qword [0x140236cb8], 1
mov qword [0x140236cd4], r13
mov dword [0x140236cc8], 1
mov qword [0x140236cc0], rdi
mov dword [0x140236cb4], r13d
mov dword [0x140236ca8], 0x15
mov eax, dword [0x140236bc8]
mov dword [0x140236ca0], eax
mov eax, dword [0x140236bcc]
mov dword [0x140236ca4], eax
mov dword [0x140236ccc], 1
mov dword [0x140236cd0], 0x50
mov dword [0x140236cdc], 0x80000000
mov rcx, qword [0x140236c68]
mov rax, qword [rcx]
lea rdx, [0x140236cf0]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r13
lea rdx, [0x140236ca0]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
mov r9, rdi
xor edx, edx
lea r8d, [r13 + 1]
call qword [rax + 0xa0]
test eax, eax
jns 0x14006787d
mov rcx, qword [0x140236c68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
lea ecx, [r13 + 4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, qword [0x140236b00]
test rbx, rbx
je 0x14006788f
inc dword [rbx + 0xf4]
mov ecx, 0x5588
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0xb0], rax
lea rcx, [rsp + 0x40]
mov qword [rbp + 0xa8], rcx
mov qword [rbp - 0x20], rax
test rax, rax
je 0x1400678c2
xor edx, edx
mov rcx, rax
call fcn.1400146f0
jmp 0x1400678c5
mov rax, r13
mov qword [0x140236b00], rax
call fcn.14001bda0
test rbx, rbx
je 0x1400678df
mov qword [0x140236b00], rbx
jmp 0x1400678e6
mov rbx, qword [0x140236b00]
mov r11, qword [rbx + 0x58]
call fcn.14003bcb0
mov r10, rax
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp - 0x10], xmm2
movups xmmword [rbp], xmm2
movups xmmword [rbp + 0x30], xmm2
movups xmmword [rbp + 0x40], xmm2
mov qword [rbp + 0x70], rax
mov byte [rbp - 4], 1
mov dword [rbp + 8], 3
mov dword [rbp + 0xc], 1
mov dword [rbp + 0x34], 0x7f7fffff
mov dword [rbp + 0x40], 0x3f800000
mov r12d, 0xffff
mov word [rbp + 0x44], r12w
movaps xmm0, xmmword [rbp - 0x10]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [rbp]
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x70], xmm2
movaps xmmword [rbp - 0x80], xmm2
movaps xmm0, xmmword [rbp + 0x30]
movaps xmmword [rbp - 0x70], xmm0
movaps xmm1, xmmword [rbp + 0x40]
movaps xmmword [rbp - 0x60], xmm1
movaps xmmword [rbp - 0x50], xmm2
movaps xmmword [rbp - 0x40], xmm2
movsd xmm0, qword [rbp + 0x70]
movsd qword [rbp - 0x30], xmm0
lea r15, str.OTTO
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], 0x24b84
mov dword [rsp + 0x64], 0x41600000
psrldq xmm2, 8
movq rax, xmm2
test r10, r10
cmovne rax, r10
mov qword [rbp - 0x78], rax
lea rdx, [rsp + 0x50]
mov rcx, r11
call fcn.140039860
xorps xmm13, xmm13
xor eax, eax
movups xmmword [rbp - 0x10], xmm13
movups xmmword [rbp], xmm13
movups xmmword [rbp + 0x10], xmm13
movups xmmword [rbp + 0x20], xmm13
movups xmmword [rbp + 0x30], xmm13
movups xmmword [rbp + 0x40], xmm13
mov qword [rbp + 0x70], rax
mov byte [rbp - 4], 1
mov dword [rbp + 0x34], 0x7f7fffff
mov word [rbp + 0x44], r12w
mov byte [rbp + 0x10], al
mov dword [rbp + 8], 5
mov dword [rbp + 0xc], 5
mov dword [rbp + 0x40], 0x3f99999a
lea r14, [0x1400949d0]
mov qword [rbp + 0x28], r14
movaps xmm12, xmmword [rbp - 0x10]
movaps xmmword [rsp + 0x50], xmm12
movaps xmm11, xmmword [rbp]
movaps xmmword [rsp + 0x60], xmm11
movaps xmm10, xmmword [rbp + 0x10]
movaps xmmword [rsp + 0x70], xmm10
movaps xmm9, xmmword [rbp + 0x20]
movaps xmmword [rbp - 0x80], xmm9
movaps xmm8, xmmword [rbp + 0x30]
movaps xmmword [rbp - 0x70], xmm8
movaps xmm7, xmmword [rbp + 0x40]
movaps xmmword [rbp - 0x60], xmm7
movaps xmmword [rbp - 0x50], xmm13
movaps xmmword [rbp - 0x40], xmm13
movsd xmm6, qword [rbp + 0x70]
movsd qword [rbp - 0x30], xmm6
lea rax, [0x1400a1500]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x24200
mov dword [rsp + 0x64], 0x41700000
mov qword [rbp - 0x78], r14
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x58]
call fcn.140039860
movaps xmmword [rsp + 0x50], xmm12
movaps xmmword [rsp + 0x60], xmm11
movaps xmmword [rsp + 0x70], xmm10
movaps xmmword [rbp - 0x80], xmm9
movaps xmmword [rbp - 0x70], xmm8
movaps xmmword [rbp - 0x60], xmm7
movaps xmmword [rbp - 0x50], xmm13
movaps xmmword [rbp - 0x40], xmm13
movsd qword [rbp - 0x30], xmm6
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], 0x24b84
mov dword [rsp + 0x64], 0x41700000
mov qword [rbp - 0x78], r14
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x58]
call fcn.140039860
mov qword [0x140236d10], rax
movaps xmmword [rsp + 0x50], xmm12
movaps xmmword [rsp + 0x60], xmm11
movaps xmmword [rsp + 0x70], xmm10
movaps xmmword [rbp - 0x80], xmm9
movaps xmmword [rbp - 0x70], xmm8
movaps xmmword [rbp - 0x60], xmm7
movaps xmmword [rbp - 0x50], xmm13
movaps xmmword [rbp - 0x40], xmm13
movsd qword [rbp - 0x30], xmm6
lea rsi, [0x1400a00d0]
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], 0x13e8
mov dword [rsp + 0x64], 0x41700000
mov qword [rbp - 0x78], r14
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x58]
call fcn.140039860
mov qword [0x140236d20], rax
movaps xmmword [rsp + 0x50], xmm12
movaps xmmword [rsp + 0x60], xmm11
movaps xmmword [rsp + 0x70], xmm10
movaps xmmword [rbp - 0x80], xmm9
movaps xmmword [rbp - 0x70], xmm8
movaps xmmword [rbp - 0x60], xmm7
movaps xmmword [rbp - 0x50], xmm13
movaps xmmword [rbp - 0x40], xmm13
movsd qword [rbp - 0x30], xmm6
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], 0x13e8
mov dword [rsp + 0x64], 0x41a80000
mov qword [rbp - 0x78], r14
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x58]
call fcn.140039860
movaps xmmword [rsp + 0x50], xmm12
movaps xmmword [rsp + 0x60], xmm11
movaps xmmword [rsp + 0x70], xmm10
movaps xmmword [rbp - 0x80], xmm9
movaps xmmword [rbp - 0x70], xmm8
movaps xmmword [rbp - 0x60], xmm7
movaps xmmword [rbp - 0x50], xmm13
movaps xmmword [rbp - 0x40], xmm13
movsd qword [rbp - 0x30], xmm6
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], 0x24b84
mov dword [rsp + 0x64], 0x41980000
mov qword [rbp - 0x78], r14
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x58]
call fcn.140039860
mov qword [0x140236ce8], rax
movaps xmmword [rsp + 0x50], xmm12
movaps xmmword [rsp + 0x60], xmm11
movaps xmmword [rsp + 0x70], xmm10
movaps xmmword [rbp - 0x80], xmm9
movaps xmmword [rbp - 0x70], xmm8
movaps xmmword [rbp - 0x60], xmm7
movaps xmmword [rbp - 0x50], xmm13
movaps xmmword [rbp - 0x40], xmm13
movsd qword [rbp - 0x30], xmm6
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], 0x13e8
mov dword [rsp + 0x64], 0x41900000
mov qword [rbp - 0x78], r14
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x58]
call fcn.140039860
mov qword [0x140236bd8], rax
movaps xmmword [rsp + 0x50], xmm12
movaps xmmword [rsp + 0x60], xmm11
movaps xmmword [rsp + 0x70], xmm10
movaps xmmword [rbp - 0x80], xmm9
movaps xmmword [rbp - 0x70], xmm8
movaps xmmword [rbp - 0x60], xmm7
movaps xmmword [rbp - 0x50], xmm13
movaps xmmword [rbp - 0x40], xmm13
movsd qword [rbp - 0x30], xmm6
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], 0x24b84
mov dword [rsp + 0x64], 0x41700000
mov qword [rbp - 0x78], r14
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x58]
call fcn.140039860
mov qword [0x140236d00], rax
movaps xmmword [rsp + 0x50], xmm12
movaps xmmword [rsp + 0x60], xmm11
movaps xmmword [rsp + 0x70], xmm10
movaps xmmword [rbp - 0x80], xmm9
movaps xmmword [rbp - 0x70], xmm8
movaps xmmword [rbp - 0x60], xmm7
movaps xmmword [rbp - 0x50], xmm13
movaps xmmword [rbp - 0x40], xmm13
movsd qword [rbp - 0x30], xmm6
lea rax, [0x1400e02b0]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x5bc
mov dword [rsp + 0x64], 0x41100000
mov qword [rbp - 0x78], r14
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x58]
call fcn.140039860
mov qword [0x140236d18], rax
mov r11, qword [rbx + 0x58]
call fcn.14003bcb0
mov r10, rax
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp - 0x10], xmm2
movups xmmword [rbp], xmm2
movups xmmword [rbp + 0x30], xmm2
movups xmmword [rbp + 0x40], xmm2
mov qword [rbp + 0x70], rax
mov byte [rbp - 4], 1
mov dword [rbp + 8], 3
mov dword [rbp + 0xc], 1
mov dword [rbp + 0x34], 0x7f7fffff
mov dword [rbp + 0x40], 0x3f800000
mov word [rbp + 0x44], r12w
movaps xmm0, xmmword [rbp - 0x10]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [rbp]
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x70], xmm2
movaps xmmword [rbp - 0x80], xmm2
movaps xmm0, xmmword [rbp + 0x30]
movaps xmmword [rbp - 0x70], xmm0
movaps xmm1, xmmword [rbp + 0x40]
movaps xmmword [rbp - 0x60], xmm1
movaps xmmword [rbp - 0x50], xmm2
movaps xmmword [rbp - 0x40], xmm2
movsd xmm0, qword [rbp + 0x70]
movsd qword [rbp - 0x30], xmm0
lea rax, [0x140174f70]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0xe364
mov dword [rsp + 0x64], 0x41600000
psrldq xmm2, 8
movq rax, xmm2
test r10, r10
cmovne rax, r10
mov qword [rbp - 0x78], rax
lea rdx, [rsp + 0x50]
mov rcx, r11
call fcn.140039860
mov qword [0x140236ba0], rax
call fcn.140066d90
mov rsi, qword [0x140236b00]
lea rcx, [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140067f4d
lea rcx, [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140067f4d
mov rax, qword [0x140236b00]
test rax, rax
je 0x140067e31
inc dword [rax + 0xf4]
mov ecx, 0x48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x140067e5e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
mov qword [rbx + 0x40], rax
jmp 0x140067e61
mov rbx, r13
mov qword [rsi + 0x98], rbx
lea rax, str.imgui_impl_win32
mov qword [rsi + 0x88], rax
or dword [rsi + 0xc], 6
mov qword [rbx], rdi
mov byte [rbx + 0x2d], 1
mov rax, qword [rbp + 0xa8]
mov qword [rbx + 0x20], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbx + 0x18], rax
mov dword [rbx + 0x28], 9
mov rax, qword [0x140236b00]
mov rcx, qword [rax + 0x4090]
mov rax, qword [rcx]
mov qword [rax + 0x28], rdi
lea rax, str.xinput1_4.dll
mov qword [rbp + 0x80], rax
lea rax, str.xinput1_3.dll
mov qword [rbp + 0x88], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp + 0x90], rax
lea rax, str.xinput1_2.dll
mov qword [rbp + 0x98], rax
lea rax, str.xinput1_1.dll
mov qword [rbp + 0xa0], rax
mov rdi, r13
nop dword [rax]
mov rcx, qword [rbp + rdi*8 + 0x80]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x140067f21
inc rdi
cmp rdi, 5
jl 0x140067f00
jmp 0x140067f4d
mov qword [rbx + 0x30], rsi
lea rdx, str.XInputGetCapabilities
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
lea rdx, str.XInputGetState
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x40], rax
mov rdi, qword [0x140236cf0]
mov rbx, qword [0x140236b00]
test rbx, rbx
je 0x140067f66
inc dword [rbx + 0xf4]
mov ecx, 0x28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x140067f95
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x140067f98
mov rax, r13
mov qword [rbx + 0xa0], rax
lea rcx, str.imgui_impl_dx9
mov qword [rbx + 0x90], 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]
xor eax, eax
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.14007fe60
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret