Function at 0x7ff6d4987550
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
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x148]
sub rsp, 0x240
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x7ff6d4c6b040]
xor rax, rsp
mov qword [rbp + 0x120], rax
xor ebx, ebx
mov r14, qword [0x7ff6d4c70800]
lea rcx, [rbp - 0x10]
call fcn.7ff6d4a5cb10
nop
lea rcx, str.APPDATA
call qword [0x7ff6d4a6e878]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x7ff6d49875c0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.7ff6d498b300
nop
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x7ff6d4987613
lea rax, [rcx + 1]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x60]
mov word [rax + rcx], 0x5c
lea rax, [rsp + 0x60]
jmp 0x7ff6d4987632
mov qword [rsp + 0x20], 1
lea r9, [0x7ff6d4a6f080]
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.7ff6d498b7a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rdx, qword [rbp - 0x10]
mov r8, qword [rbp]
lea rcx, [rsp + 0x40]
call fcn.7ff6d498a940
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x7ff6d49876ec
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6d49876e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff6d49876e7
call qword [0x7ff6d4a6ea30]
int3
call fcn.7ff6d4a69ff8
movdqa xmm0, xmmword [0x7ff6d4c56960]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x7ff6d498773f
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6d498773a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff6d498773a
call qword [0x7ff6d4a6ea30]
int3
call fcn.7ff6d4a69ff8
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rbx
movups xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x7ff6d4c56960]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], 0
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x10]
call fcn.7ff6d4a6b25e
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
mov r8d, 1
lea rcx, [rbp + 0x10]
call fcn.7ff6d49889f0
nop
cmp qword [rbp + 0xa0], 0
je 0x7ff6d4987b1c
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x10]
add rcx, rax
mov dl, 0xa
call qword [0x7ff6d4a6e3d0]
movzx r8d, al
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x10]
call fcn.7ff6d498bd10
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [0x7ff6d4a6e4c0]
test al, al
je 0x7ff6d4987add
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rcx, qword [rbp - 0x30]
xor edx, edx
lea r8d, [rdx + 0x10]
call qword [0x7ff6d4a6e868]
mov esi, eax
mov dword [rbp - 0x60], 0xaf5bc6
mov byte [rbp - 0x5c], 0
mov dword [rbp - 0x58], ebx
xor ecx, ecx
call qword [0x7ff6d4a6eb60]
mov rdi, rax
call qword [0x7ff6d4a6e310]
mov ecx, eax
imul rcx, rdi
mov qword [rbp - 0x50], rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rbx
mov byte [rbp - 0x5c], 0xb
mov edx, 4
lea rcx, [rbp - 0x48]
call fcn.7ff6d4989c80
mov rax, qword [rbp - 0x48]
mov dword [rax], esi
mov rax, qword [rbp - 0x40]
sub rax, qword [rbp - 0x48]
mov dword [rbp - 0x58], eax
lea rdx, [rbp - 0x60]
mov rcx, qword [r14 + 0x48]
call fcn.7ff6d4a65b60
test eax, eax
jne 0x7ff6d4987aa0
mov eax, dword [str.pDEWK:]
mov dword [rsp + 0x30], eax
movzx eax, word [0x7ff6d4a6f0d4]
mov word [rsp + 0x34], ax
mov byte [rsp + 0x30], 0x45
xor byte [rsp + 0x31], 0x36
xor byte [rsp + 0x32], 0x37
xor byte [rsp + 0x33], 0x38
xor al, 0x39
mov byte [rsp + 0x34], al
xor byte [rsp + 0x35], 0x3a
movups xmm0, xmmword [str.gSFMIO]
movups xmmword [rsp + 0x60], xmm0
movzx eax, word [0x7ff6d4a6f0e8]
mov word [rsp + 0x70], ax
cmp byte [0x7ff6d4a6f0e9], 0
je 0x7ff6d4987a4e
cmp dword [0x7ff6d4c6b088], 2
jl 0x7ff6d4987a0b
movdqa xmm5, xmmword [0x7ff6d4c569c0]
movdqa xmm4, xmmword [0x7ff6d4c56f60]
movdqa xmm6, xmmword [0x7ff6d4c56a80]
movdqa xmm0, xmmword [str.55555555555555556666666666666666]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x64]
mov edx, dword [rsp + 0x40]
movd xmm2, ebx
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x7ff6d4c56ad0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x7ff6d4c56ad0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x10
jl 0x7ff6d4987901
cmp eax, 0x12
jge 0x7ff6d4987a4e
movsxd rax, ebx
lea r8, [rsp + 0x60]
add r8, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, bl
sub al, cl
add al, 0x35
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x12
jl 0x7ff6d4987a20
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [0x7ff6d4a6e680]
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x7ff6d4987b1c
mov rdx, qword [rbp - 0x38]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6d4987a99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff6d4987ad1
call fcn.7ff6d4a69ff8
jmp 0x7ff6d4987b1c
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x7ff6d4987add
mov rdx, qword [rbp - 0x38]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6d4987ad8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff6d4987ad8
call qword [0x7ff6d4a6ea30]
int3
call fcn.7ff6d4a69ff8
lea rcx, [rbp + 0x20]
call fcn.7ff6d498a550
test rax, rax
jne 0x7ff6d4987b07
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x10]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [0x7ff6d4a6e478]
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rcx, qword [rbp - 0x80]
call qword [0x7ff6d4a6e888]
nop
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x10], rax
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xc], edx
lea rcx, [rbp + 0x20]
call fcn.7ff6d49888d0
lea rcx, [rbp + 0x28]
call qword [0x7ff6d4a6e4b8]
lea rcx, [rbp + 0xc0]
call qword [0x7ff6d4a6e4b0]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x7ff6d4987ba1
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6d4987b9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff6d4987b9c
call qword [0x7ff6d4a6ea30]
int3
call fcn.7ff6d4a69ff8
movdqa xmm0, xmmword [0x7ff6d4c56960]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x7ff6d4987bf0
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6d4987beb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff6d4987beb
call qword [0x7ff6d4a6ea30]
int3
call fcn.7ff6d4a69ff8
movdqa xmm0, xmmword [0x7ff6d4c56960]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x7ff6d4987c3f
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6d4987c3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff6d4987c3a
call qword [0x7ff6d4a6ea30]
int3
call fcn.7ff6d4a69ff8
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.7ff6d4a69a50
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret