Function at 0x140068080
Capabilities:
Authenticate hmac
Encode data using xor
Get common file path

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 - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x1400bd040]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
xor esi, esi
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
xorps xmm1, xmm1
test eax, eax
js 0x14006817b
movups xmmword [rbp - 0x80], xmm0
movdqu xmmword [rbp - 0x70], xmm1
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x1400680f5
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x80]
call fcn.140006490
nop
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rdx, qword [rbp - 0x80]
mov rax, qword [rbp - 0x70]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x80]
cmova rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.14000bdc0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140068198
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068174
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068174
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008b704
jmp 0x140068198
movups xmmword [rbp - 0x60], xmm0
movdqu xmmword [rbp - 0x50], xmm1
xor r8d, r8d
lea rdx, [0x14009f7ef]
lea rcx, [rbp - 0x60]
call fcn.140002d00
nop
mov eax, dword [str.j_WNV_]
mov dword [rsp + 0x30], eax
movzx eax, word [0x1400a38a0]
mov word [rsp + 0x34], ax
mov byte [rsp + 0x30], 0x5c
xor byte [rsp + 0x31], 0x37
xor byte [rsp + 0x32], 0x38
xor byte [rsp + 0x33], 0x39
xor al, 0x3a
mov byte [rsp + 0x34], al
xor byte [rsp + 0x35], 0x3b
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.14000bef0
nop
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400681ef
mov rax, qword [rax]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rcx
call fcn.14008c944
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140015770
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.1400171c0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x30], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x80], ecx
lea r14, [0x1400bd0c8]
mov qword [rbp - 0x78], r14
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140068296
cmp eax, 1
sete bl
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1400682a7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400682a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400682a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov bl, 1
test ecx, ecx
jne 0x1400689d4
jmp 0x140068256
call fcn.14008b704
movdqa xmm0, xmmword [0x1400ac170]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1400682fa
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400682f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400682f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008b704
test bl, bl
je 0x14006843d
mov eax, dword [str.j_WNV_]
mov dword [rsp + 0x30], eax
movzx eax, word [0x1400a38a0]
mov word [rsp + 0x34], ax
mov byte [rsp + 0x30], 0x5c
xor byte [rsp + 0x31], 0x37
xor byte [rsp + 0x32], 0x38
xor byte [rsp + 0x33], 0x39
xor al, 0x3a
mov byte [rsp + 0x34], al
xor byte [rsp + 0x35], 0x3b
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.14000bef0
nop
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140068359
mov rax, qword [rax]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rcx
call fcn.14008c944
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140015770
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.14008cba4
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x140068a00
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1400683ea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400683e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400683e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008b704
movdqa xmm0, xmmword [0x1400ac170]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14006843d
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068438
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068438
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008b704
movsd xmm0, qword [str.j_WNVg_RPY_1C]
movsd qword [rbp - 0x80], xmm0
mov eax, dword [0x1400a42d8]
mov dword [rbp - 0x78], eax
movzx eax, word [0x1400a42dc]
mov word [rbp - 0x74], ax
mov edi, dword [0x1400bd090]
cmp byte [0x1400a42dd], 0
je 0x1400685b3
mov r8d, esi
cmp edi, 2
jl 0x140068568
movdqa xmm4, xmmword [0x1400ac790]
movdqa xmm2, xmmword [0x1400ac1e0]
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, xmmword [0x1400ac220]
psubd xmm2, xmm0
andps xmm2, xmmword [0x1400ac280]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400ac2e0]
movd xmm0, dword [str.j_WNVg_RPY_1C]
xorps xmm2, xmm0
movd dword [rbp - 0x80], xmm2
movdqa xmm2, xmmword [0x1400ac200]
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, xmmword [0x1400ac220]
psubd xmm2, xmm0
andps xmm2, xmmword [0x1400ac280]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400ac2e0]
movd xmm0, dword [rbp - 0x7c]
xorps xmm2, xmm0
movd dword [rbp - 0x7c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x80]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x140068580
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.14000bef0
nop
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400685d4
mov rax, qword [rax]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rcx
call fcn.14008c944
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140015770
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.1400171c0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x30], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x80], ecx
mov qword [rbp - 0x78], r14
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140068674
cmp eax, 1
sete bl
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140068685
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068680
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068680
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov bl, 1
test ecx, ecx
jne 0x1400689ea
jmp 0x140068634
call fcn.14008b704
movdqa xmm0, xmmword [0x1400ac170]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1400686d8
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400686d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400686d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008b704
test bl, bl
je 0x140068954
movsd xmm0, qword [str.j_WNVg_RPY_1C]
movsd qword [rbp - 0x80], xmm0
mov eax, dword [0x1400a42d8]
mov dword [rbp - 0x78], eax
movzx eax, word [0x1400a42dc]
mov word [rbp - 0x74], ax
cmp byte [0x1400a42dd], 0
je 0x14006884e
mov ecx, esi
cmp edi, 2
jl 0x140068809
movdqa xmm5, xmmword [0x1400ac790]
movdqa xmm3, xmmword [0x1400ac1e0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400ac220]
psubd xmm3, xmm0
andps xmm3, xmmword [0x1400ac280]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [0x1400ac2e0]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [str.j_WNVg_RPY_1C]
xorps xmm3, xmm0
movd dword [rbp - 0x80], xmm3
movdqa xmm2, xmmword [0x1400ac200]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400ac220]
psubd xmm2, xmm0
andps xmm2, xmmword [0x1400ac280]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x7c]
xorps xmm2, xmm1
movd dword [rbp - 0x7c], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rbp - 0x80]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xe
jl 0x140068820
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.14000bef0
nop
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14006886f
mov rax, qword [rax]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rcx
call fcn.14008c944
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140015770
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.14008cba4
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1400689be
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140068900
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400688fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400688fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008b704
movdqa xmm0, xmmword [0x1400ac170]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140068954
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006894e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006894e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008b704
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140068992
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006898d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006898d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008b704
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14008b6a0
lea r11, [rsp + 0x2e0]
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
shr rdx, 0x20
lea r8, [rsp + 0x40]
lea rcx, str.create_directory
call fcn.140016a00
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x80]
lea rcx, str.exists
call fcn.14005f290
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x80]
lea rcx, str.exists
call fcn.14005f290
nop
shr rdx, 0x20
lea r8, [rsp + 0x40]
lea rcx, str.create_directory
call fcn.140016a00
int3