Function at 0x140060010
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x140091010]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rsi, qword [0x1401bca40]
lea rdx, [0x1401bca88]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x14006006e
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor r14d, r14d
mov qword [0x1401bcafc], r14
mov qword [0x1401bcb08], 1
mov qword [0x1401bcb24], r14
mov dword [0x1401bcb18], 1
mov qword [0x1401bcb10], rsi
mov dword [0x1401bcb04], r14d
mov dword [0x1401bcaf8], 0x15
mov eax, dword [0x1401bc9d0]
mov dword [0x1401bcaf0], eax
mov eax, dword [0x1401bc9d4]
mov dword [0x1401bcaf4], eax
mov dword [0x1401bcb1c], 1
mov dword [0x1401bcb20], 0x50
mov dword [0x1401bcb2c], 0x80000000
mov rcx, qword [0x1401bca88]
mov rax, qword [rcx]
lea rdx, [0x1401bcb40]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r14
lea rdx, [0x1401bcaf0]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
mov r9, rsi
xor edx, edx
lea r8d, [r14 + 1]
call qword [rax + 0xa0]
test eax, eax
jns 0x14006013c
mov rcx, qword [0x1401bca88]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
lea ecx, [r14 + 4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, qword [0x1401bc920]
test rbx, rbx
je 0x14006014e
inc dword [rbx + 0xec]
mov ecx, 0x5678
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0xa8], rax
lea rcx, [rsp + 0x40]
mov qword [rbp + 0xa0], rcx
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140060182
xor edx, edx
mov rcx, rax
call fcn.140012690
jmp 0x140060185
mov rax, r14
mov qword [0x1401bc920], rax
call fcn.1400192b0
test rbx, rbx
je 0x14006019f
mov qword [0x1401bc920], rbx
jmp 0x1400601a6
mov rbx, qword [0x1401bc920]
mov r10, qword [rbx + 0x50]
cmp word [0x1401bcbc0], 0
jne 0x14006020f
movups xmm0, xmmword [0x140091048]
movaps xmmword [0x1401bcbc0], xmm0
mov eax, dword [0x140091058]
mov dword [0x1401bcbd0], eax
lea rcx, [0x1401bcbd4]
mov edx, 0x4e00
lea r8, [0x140082df0]
mov r9d, 0xbb7
nop word [rax + rax]
movsx eax, word [r8]
add edx, eax
mov word [rcx + 2], dx
mov word [rcx], dx
lea r8, [r8 + 2]
lea rcx, [rcx + 4]
sub r9, 1
jne 0x1400601f0
mov word [rcx], r14w
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp - 0x80], xmm2
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x40], xmm2
movups xmmword [rbp - 0x30], xmm2
mov qword [rbp], rax
mov byte [rbp - 0x74], 1
mov dword [rbp - 0x68], 3
mov dword [rbp - 0x64], 1
mov dword [rbp - 0x3c], 0x7f7fffff
mov dword [rbp - 0x30], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x2c], ax
movaps xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x10], xmm0
movaps xmm1, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp + 0x30], xmm2
movaps xmmword [rbp + 0x40], xmm2
movaps xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x50], xmm0
movaps xmm1, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0x60], xmm1
movaps xmmword [rbp + 0x70], xmm2
movaps xmmword [rbp + 0x80], xmm2
movsd xmm0, qword [rbp]
movsd qword [rbp + 0x90], xmm0
lea rax, str.OTTO
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x18], 0x24b84
mov dword [rbp + 0x24], 0x41600000
lea rax, [0x1401bcbc0]
mov qword [rbp + 0x48], rax
lea rdx, [rbp + 0x10]
mov rcx, r10
call fcn.140036920
call fcn.14005f680
mov rbx, qword [0x1401bc920]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14006041a
lea rcx, [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14006041a
mov rax, qword [0x1401bc920]
test rax, rax
je 0x140060309
inc dword [rax + 0xec]
mov ecx, 0x48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x140060336
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
mov qword [rdi + 0x40], rax
jmp 0x140060339
mov rdi, r14
mov qword [rbx + 0x90], rdi
lea rax, [rsp + 0x50]
mov qword [rbx + 0x80], rax
or dword [rbx + 0xc], 6
mov qword [rdi], rsi
mov byte [rdi + 0x2d], 1
mov rax, qword [rbp + 0xa0]
mov qword [rdi + 0x20], rax
mov rax, qword [rbp + 0xa8]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
mov rax, qword [0x1401bc920]
mov rcx, qword [rax + 0x40b0]
mov rax, qword [rcx]
mov qword [rax + 0x28], rsi
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x58], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x60], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x68], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x70], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x78], rax
mov rbx, r14
nop dword [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x58]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x1400603ee
inc rbx
cmp rbx, 5
jl 0x1400603d0
jmp 0x14006041a
mov qword [rdi + 0x30], rsi
lea rdx, str.XInputGetCapabilities
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x38], rax
lea rdx, str.XInputGetState
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x40], rax
mov rdi, qword [0x1401bcb40]
mov rbx, qword [0x1401bc920]
test rbx, rbx
je 0x140060433
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 0x140060462
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x140060465
mov rax, r14
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]
xor eax, eax
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400726c0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret