Function at 0x1400163b0
Capabilities:
Authenticate hmac
Encode data using xor

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 - 0x178]
sub rsp, 0x250
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
mov rax, qword [0x14006f040]
xor rax, rsp
mov qword [rbp + 0xf0], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
lea r13, [rbp + 0x178]
movabs rax, 0xff00ff00ff00ff00
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], r13
mov r15, qword [r13]
xor r15, rax
mov qword [rbp + 0x20], r15
xor edi, edi
mov qword [r13], rdi
mov rax, qword [0x140097818]
test rax, rax
je 0x140016441
inc dword [rax + 0xec]
mov ecx, 0x61d8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x50], rax
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x40], rcx
mov qword [rbp + 8], rax
test rax, rax
je 0x14001646e
xor edx, edx
mov rcx, rax
call fcn.14001d9e0
jmp 0x140016471
mov rax, rdi
cmp qword [0x140097818], 0
jne 0x140016482
mov qword [0x140097818], rax
mov rcx, rax
call fcn.1400241f0
mov rbx, qword [0x140097818]
mov dword [rbx + 0x18], 0x3c888889
mov qword [rbx + 0x20], rdi
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp + 0x60], xmm2
movups xmmword [rbp + 0x70], xmm2
movups xmmword [rbp + 0xa0], xmm2
movups xmmword [rbp + 0xb0], xmm2
mov qword [rbp + 0xe0], rax
mov byte [rbp + 0x6c], 1
mov dword [rbp + 0x78], 3
mov dword [rbp + 0x7c], 1
mov dword [rbp + 0xa4], 0x7f7fffff
mov dword [rbp + 0xb0], 0x3f800000
mov r14d, 0xffff
mov word [rbp + 0xb4], r14w
movups xmm0, xmmword [rbp + 0x60]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rbp + 0x70]
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x70], xmm2
movups xmmword [rbp - 0x80], xmm2
movups xmm0, xmmword [rbp + 0xa0]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rbp + 0xb0]
movups xmmword [rbp - 0x60], xmm1
movups xmmword [rbp - 0x50], xmm2
movups xmmword [rbp - 0x40], xmm2
movsd xmm0, qword [rbp + 0xe0]
movsd qword [rbp - 0x30], xmm0
lea rax, [0x14006f140]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x2755c
mov dword [rsp + 0x64], 0x41800000
lea rax, [0x140065af0]
mov qword [rbp - 0x78], rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x50]
call fcn.140041110
mov qword [0x140097600], rax
mov rsi, qword [rbx + 0x50]
movd xmm10, dword [0x14006f0e0]
cvtdq2ps xmm10, xmm10
movsd xmm0, qword [str.QC_QX]
movsd qword [rsp + 0x38], xmm0
movzx ecx, word [0x140065568]
mov word [rsp + 0x40], cx
movzx eax, byte [0x14006556a]
mov byte [rsp + 0x38], 0x61
xor byte [rsp + 0x39], 0x31
xor byte [rsp + 0x3a], 0x32
xor byte [rsp + 0x3b], 0x33
xor byte [rsp + 0x3c], 0x34
xor byte [rsp + 0x3d], 0x35
xor byte [rsp + 0x3e], 0x36
xor byte [rsp + 0x3f], 0x37
xor cl, 0x38
mov byte [rsp + 0x40], cl
xor byte [rsp + 0x41], 0x39
xor al, 0x3a
mov byte [rsp + 0x42], al
mov qword [rbp + 0x10], rdi
lea r8, [rbp + 0x10]
lea rcx, [rsp + 0x38]
call fcn.14001f200
mov rbx, rax
test rax, rax
je 0x1400167b1
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rsp + 0x50], xmm1
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rbp - 0x70], xmm1
movups xmmword [rbp - 0x60], xmm1
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], r14w
movups xmm3, xmmword [rsp + 0x50]
movups xmmword [rbp + 0x60], xmm3
movups xmm4, xmmword [rsp + 0x60]
movups xmmword [rbp + 0x70], xmm4
movups xmmword [rbp + 0x80], xmm1
xorps xmm5, xmm5
movups xmmword [rbp + 0x90], xmm5
movups xmm6, xmmword [rbp - 0x70]
movups xmmword [rbp + 0xa0], xmm6
movups xmm2, xmmword [rbp - 0x60]
movups xmmword [rbp + 0xb0], xmm2
xorps xmm7, xmm7
movups xmmword [rbp + 0xc0], xmm7
xorps xmm8, xmm8
movups xmmword [rbp + 0xd0], xmm8
movsd xmm9, qword [rbp - 0x30]
movsd qword [rbp + 0xe0], xmm9
movdqa xmm0, xmm2
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x14001675e
lea rcx, [rsp + 0x38]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400166c0
lea r9, [rsp + 0x38]
add r9, rax
lea rax, [rsp + 0x38]
cmp r9, rax
jbe 0x1400166fc
nop dword [rax + rax]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x1400166fc
cmp al, 0x5c
je 0x1400166fc
mov r9, rcx
lea rax, [rsp + 0x38]
cmp rcx, rax
ja 0x1400166e0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm10
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rbp + 0xb6]
call fcn.14001efa0
movsd xmm9, qword [rbp + 0xe0]
movups xmm8, xmmword [rbp + 0xd0]
movups xmm7, xmmword [rbp + 0xc0]
movups xmm2, xmmword [rbp + 0xb0]
movups xmm6, xmmword [rbp + 0xa0]
movups xmm5, xmmword [rbp + 0x90]
movups xmm1, xmmword [rbp + 0x80]
movups xmm4, xmmword [rbp + 0x70]
movups xmm3, xmmword [rbp + 0x60]
movups xmmword [rsp + 0x50], xmm3
movups xmmword [rsp + 0x60], xmm4
movups xmmword [rsp + 0x70], xmm1
movups xmmword [rbp - 0x80], xmm5
movups xmmword [rbp - 0x70], xmm6
movups xmmword [rbp - 0x60], xmm2
movups xmmword [rbp - 0x50], xmm7
movups xmmword [rbp - 0x40], xmm8
movsd qword [rbp - 0x30], xmm9
mov qword [rsp + 0x50], rbx
mov eax, dword [rbp + 0x10]
mov dword [rsp + 0x58], eax
xorps xmm0, xmm0
comiss xmm10, xmm0
jbe 0x1400167a4
movss dword [rsp + 0x64], xmm10
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140041110
mov r14, qword [0x140097808]
mov rsi, qword [0x140097818]
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400167df
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x14001698d
mov eax, dword [0x140065258]
movups xmm0, xmmword [str.VP__QQ]
mov dword [rbp + 0x38], eax
movups xmmword [rbp + 0x20], xmm0
movzx eax, byte [0x14006525c]
movsd xmm0, qword [0x140065250]
mov byte [rbp + 0x3c], al
movsd qword [rbp + 0x30], xmm0
cmp dword [0x14006f088], 2
jl 0x140016945
movdqa xmm5, xmmword [0x140066a10]
movdqa xmm4, xmmword [0x140066ae0]
movdqa xmm6, xmmword [0x140066a40]
movdqa xmm0, xmmword [str.0000000000000000]
movdqa xmmword [rbp + 0x50], xmm0
lea rcx, [rbp + 0x24]
mov edx, dword [rbp + 0x50]
movd xmm2, edi
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140066a60]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdi + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140066a60]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edi, 8
mov eax, edi
lea rcx, [rcx + 8]
cmp edi, 0x18
jl 0x140016843
cmp eax, 0x1d
jge 0x14001697d
movsxd rax, edi
lea r8, [rbp + 0x20]
add r8, rax
nop
mov eax, 0x5397829d
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, dil
sub al, cl
add al, 0x30
xor byte [r8], al
inc edi
lea r8, [r8 + 1]
cmp edi, 0x1d
jl 0x140016950
lea rcx, [rbp + 0x20]
call fcn.140001060
xor al, al
jmp 0x140016bc0
mov rax, qword [0x140097818]
test rax, rax
je 0x14001699f
inc dword [rax + 0xec]
mov ecx, 0x48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x1400169cc
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 0x1400169cf
mov rbx, rdi
mov qword [rsi + 0x90], rbx
lea rax, [0x140066008]
mov qword [rsi + 0x80], rax
or dword [rsi + 0xc], 6
mov qword [rbx], r14
mov byte [rbx + 0x2d], 1
mov rax, qword [rbp + 0x40]
mov qword [rbx + 0x20], rax
mov rax, qword [rbp + 0x50]
mov qword [rbx + 0x18], rax
mov dword [rbx + 0x28], 9
mov rax, qword [0x140097818]
mov rax, qword [rax + 0x4030]
mov rcx, qword [rax]
mov qword [rcx + 0x28], r14
lea rax, str.xinput1_4.dll
mov qword [rbp - 0x20], rax
lea rax, str.xinput1_3.dll
mov qword [rbp - 0x18], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp - 0x10], rax
lea rax, str.xinput1_2.dll
mov qword [rbp - 8], rax
lea rax, str.xinput1_1.dll
mov qword [rbp], rax
mov rsi, rdi
mov rcx, qword [rbp + rsi*8 - 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
jne 0x140016a73
inc rsi
cmp rsi, 5
jl 0x140016a55
jmp 0x140016a9f
mov qword [rbx + 0x30], r14
lea rdx, str.XInputGetCapabilities
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
lea rdx, str.XInputGetState
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x40], rax
mov r12, qword [0x140097610]
mov r14, qword [0x1400977f0]
mov rsi, qword [0x140097818]
test rsi, rsi
je 0x140016abf
inc dword [rsi + 0xec]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x140016b00
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov dword [rax + 0x70], 0x1388
mov dword [rax + 0x74], 0x2710
jmp 0x140016b03
mov rbx, rdi
mov qword [rsi + 0x98], rbx
lea rax, str.imgui_impl_dx11
mov qword [rsi + 0x88], rax
or dword [rsi + 0xc], 8
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x10], rdi
mov qword [rbp + 8], rdi
mov rax, qword [r14]
lea r8, [rbp + 0x18]
lea rdx, [0x140065fd8]
mov rcx, r14
call qword [rax]
test eax, eax
jne 0x140016b80
mov rcx, qword [rbp + 0x18]
mov rax, qword [rcx]
lea r8, [rbp + 0x10]
lea rdx, [0x140065fe8]
call qword [rax + 0x30]
test eax, eax
jne 0x140016b80
mov rcx, qword [rbp + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 8]
lea rdx, [0x140065ff8]
call qword [rax + 0x30]
test eax, eax
jne 0x140016b80
mov qword [rbx], r14
mov qword [rbx + 8], r12
mov rax, qword [rbp + 8]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x140016b8f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140016b9e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [0x1400977f0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov al, 1
movabs rcx, 0xff00ff00ff00ff00
xor r15, rcx
mov qword [r13], r15
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.14005d930
lea r11, [rsp + 0x250]
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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret