Function at 0x14006abb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x140104080]
xor rax, rsp
mov qword [rbp + 0xb8], rax
mov rsi, rdx
mov rbx, rcx
mov rdx, rcx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
js 0x14006ac8c
lea rdx, [rbx + 0x10]
xor r13d, r13d
mov qword [rbx + 0x1c], r13
mov qword [rbx + 0x28], 1
mov qword [rbx + 0x44], r13
mov dword [rbx + 0x38], 1
mov qword [rbx + 0x30], rsi
mov dword [rbx + 0x24], r13d
mov dword [rbx + 0x18], reloc.WS2_32.dll_setsockopt
mov eax, dword [rbx + 0xe0]
mov dword [rdx], eax
mov eax, dword [rbx + 0xe4]
mov dword [rbx + 0x14], eax
mov dword [rbx + 0x3c], 1
mov dword [rbx + 0x40], 0x50
mov dword [rbx + 0x4c], 0x80000000
mov rcx, qword [rbx]
mov rax, qword [rcx]
lea r14, [rbx + 8]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
mov r9, rsi
xor edx, edx
lea r8d, [r13 + 1]
call qword [rax + 0xa0]
test eax, eax
jns 0x14006ac96
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov eax, 0x80004005
jmp 0x14006b0eb
mov rdi, qword [0x14011df00]
test rdi, rdi
je 0x14006aca8
inc dword [rdi + 0xf4]
mov ecx, 0x5dd8
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 [rsp + 0x48], rax
test rax, rax
je 0x14006acdc
xor edx, edx
mov rcx, rax
call fcn.140027cf0
jmp 0x14006acdf
mov rax, r13
mov qword [0x14011df00], rax
call fcn.14002bca0
test rdi, rdi
je 0x14006acf9
mov qword [0x14011df00], rdi
jmp 0x14006ad00
mov rdi, qword [0x14011df00]
mov qword [rdi + 0x20], r13
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x50], xmm2
movups xmmword [rsp + 0x60], xmm2
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x60], xmm2
mov qword [rbp - 0x30], rax
mov byte [rsp + 0x5c], 1
mov dword [rsp + 0x68], 3
mov dword [rsp + 0x6c], 1
mov dword [rbp - 0x6c], 0x7f7fffff
mov dword [rbp - 0x60], 0x3f800000
mov r12d, 0xffff
mov word [rbp - 0x5c], r12w
movaps xmm0, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x10], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movaps xmmword [rbp], xmm1
movaps xmmword [rbp + 0x10], xmm2
movaps xmmword [rbp + 0x20], xmm2
movaps xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x30], xmm0
movaps xmm1, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x40], xmm1
movaps xmmword [rbp + 0x50], xmm2
movaps xmmword [rbp + 0x60], xmm2
movsd xmm0, qword [rbp - 0x30]
movsd qword [rbp + 0x70], xmm0
lea rax, [0x140104190]
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], 0x3b90
mov dword [rbp + 4], 0x41880000
lea r15, [0x1400efc48]
mov qword [rbp + 0x28], r15
lea rdx, [rbp - 0x10]
mov rcx, qword [rdi + 0x58]
call fcn.14004e180
mov qword [rbx + 0x118], rax
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x50], xmm2
movups xmmword [rsp + 0x60], xmm2
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x60], xmm2
mov qword [rbp - 0x30], rax
mov byte [rsp + 0x5c], 1
mov dword [rsp + 0x68], 3
mov dword [rsp + 0x6c], 1
mov dword [rbp - 0x6c], 0x7f7fffff
mov dword [rbp - 0x60], 0x3f800000
mov word [rbp - 0x5c], r12w
movaps xmm0, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x10], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movaps xmmword [rbp], xmm1
movaps xmmword [rbp + 0x10], xmm2
movaps xmmword [rbp + 0x20], xmm2
movaps xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x30], xmm0
movaps xmm1, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x40], xmm1
movaps xmmword [rbp + 0x50], xmm2
movaps xmmword [rbp + 0x60], xmm2
movsd xmm0, qword [rbp - 0x30]
movsd qword [rbp + 0x70], xmm0
lea rax, str.OTTO
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], 0x87d8
mov dword [rbp + 4], 0x41980000
mov qword [rbp + 0x28], r15
lea rdx, [rbp - 0x10]
mov rcx, qword [rdi + 0x58]
call fcn.14004e180
mov qword [rbx + 0x120], rax
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x50], xmm2
movups xmmword [rsp + 0x60], xmm2
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x60], xmm2
mov qword [rbp - 0x30], rax
mov byte [rsp + 0x5c], 1
mov dword [rsp + 0x68], 3
mov dword [rsp + 0x6c], 1
mov dword [rbp - 0x6c], 0x7f7fffff
mov dword [rbp - 0x60], 0x3f800000
mov word [rbp - 0x5c], r12w
movaps xmm0, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x10], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movaps xmmword [rbp], xmm1
movaps xmmword [rbp + 0x10], xmm2
movaps xmmword [rbp + 0x20], xmm2
movaps xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x30], xmm0
movaps xmm1, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x40], xmm1
movaps xmmword [rbp + 0x50], xmm2
movaps xmmword [rbp + 0x60], xmm2
movsd xmm0, qword [rbp - 0x30]
movsd qword [rbp + 0x70], xmm0
lea rax, [0x140107d20]
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], 0xc718
mov dword [rbp + 4], 0x41880000
mov qword [rbp + 0x28], r15
lea rdx, [rbp - 0x10]
mov rcx, qword [rdi + 0x58]
call fcn.14004e180
mov qword [rbx + 0x148], rax
mov rdi, qword [0x14011df00]
lea rcx, [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14006b07d
lea rcx, [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14006b07d
mov rax, qword [0x14011df00]
test rax, rax
je 0x14006af64
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 0x14006af91
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 0x14006af94
mov rbx, r13
mov qword [rdi + 0x98], rbx
lea rax, [rbp - 0x20]
mov qword [rdi + 0x88], rax
or dword [rdi + 0xc], 6
mov qword [rbx], rsi
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 [0x14011df00]
mov rcx, qword [rax + 0x4878]
mov rax, qword [rcx]
mov qword [rax + 0x28], rsi
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 0x14006b051
inc rdi
cmp rdi, 5
jl 0x14006b030
jmp 0x14006b07d
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 [r14]
mov rbx, qword [0x14011df00]
test rbx, rbx
je 0x14006b092
inc dword [rbx + 0xf4]
mov ecx, Ordinal_41
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14006b0c1
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 0x14006b0c4
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.1400d1f30
mov rbx, qword [rsp + 0x210]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret