Function at 0x140009cb0
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 - 0x38]
sub rsp, 0x130
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
mov rax, qword [0x14002d040]
xor rax, rsp
mov qword [rbp - 0x40], rax
xor r14d, r14d
lea rcx, [rsp + 0x70]
call fcn.140007960
nop
movsd xmm0, qword [str.jyWKmls_]
movsd qword [rsp + 0x40], xmm0
movzx ecx, byte [0x140024d00]
mov byte [rsp + 0x40], 0x5c
xor byte [rsp + 0x41], 0x37
xor byte [rsp + 0x42], 0x38
xor byte [rsp + 0x43], 0x39
xor byte [rsp + 0x44], 0x3a
xor byte [rsp + 0x45], 0x3b
xor byte [rsp + 0x46], 0x3c
xor byte [rsp + 0x47], 0x3d
xor cl, 0x3e
mov byte [rsp + 0x48], cl
lea rcx, [rsp + 0x40]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rcx + r8], 0
jne 0x140009d60
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1400169b0
cmp qword [rax + 0x18], 0xf
jbe 0x140009d81
mov rax, qword [rax]
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
mov ebx, eax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140009dcf
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009dca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009dca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021eb4
test ebx, ebx
jne 0x14000a28f
lea rcx, [rsp + 0x70]
call fcn.140007960
nop
movsd xmm0, qword [str.jyWKmls_]
movsd qword [rsp + 0x40], xmm0
movzx ecx, byte [0x140024d00]
mov byte [rsp + 0x40], 0x5c
xor byte [rsp + 0x41], 0x37
xor byte [rsp + 0x42], 0x38
xor byte [rsp + 0x43], 0x39
xor byte [rsp + 0x44], 0x3a
xor byte [rsp + 0x45], 0x3b
xor byte [rsp + 0x46], 0x3c
xor byte [rsp + 0x47], 0x3d
xor cl, 0x3e
mov byte [rsp + 0x48], cl
lea rcx, [rsp + 0x40]
mov r8, rdi
nop
inc r8
cmp byte [rcx + r8], 0
jne 0x140009e30
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1400169b0
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140009e55
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rcx
call fcn.1400209d0
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.140004e40
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.140016ee0
test eax, eax
jne 0x14000a2e4
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140009ee6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009ee1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009ee1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021eb4
movdqa xmm0, xmmword [0x140025b90]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r14w
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140009f39
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009f34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009f34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021eb4
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x140009f4c
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x28]
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x30], xmm0
test rbx, rbx
je 0x140009f65
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x28]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
test rbx, rbx
je 0x140009fad
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140009fa8
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140009fa8
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
jmp 0x140009fad
mov rbx, qword [rsp + 0x28]
mov esi, dword [0x14002d090]
movdqa xmm9, xmmword [0x140025bf0]
movdqa xmm6, xmmword [0x140025bd0]
movdqa xmm7, xmmword [0x140025bc0]
movdqa xmm10, xmmword [0x140025c00]
movdqa xmm11, xmmword [0x140025be0]
movdqa xmm8, xmmword [0x140025c10]
nop word [rax + rax]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000a21d
add rcx, 0x20
lea rdx, [rsp + 0x70]
call fcn.140005340
nop
movsd xmm0, qword [str.CD_K]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x140024fd8]
mov dword [rsp + 0x48], eax
cmp byte [0x140024fdb], 0
je 0x14000a13c
mov ecx, r14d
cmp esi, 2
jl 0x14000a105
movdqa xmm1, xmm7
punpckldq xmm1, xmm7
pmuldq xmm1, xmm8
movdqa xmm0, xmm7
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm8
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
movdqa xmm1, xmm7
psubd xmm1, xmm0
andps xmm1, xmm9
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm10
movd xmm0, dword [str.CD_K]
xorps xmm1, xmm0
movd dword [rsp + 0x40], xmm1
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
pmuldq xmm1, xmm8
movdqa xmm0, xmm6
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm8
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
movdqa xmm1, xmm6
psubd xmm1, xmm0
andps xmm1, xmm9
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm10
movd xmm0, dword [rsp + 0x44]
xorps xmm1, xmm0
movd dword [rsp + 0x44], xmm1
mov ecx, 8
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xc
jl 0x14000a110
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
lea rax, [rsp + 0x40]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x14000a153
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.1400013b0
nop
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x60]
cmp rcx, rdx
jb 0x14000a188
mov rax, rcx
sub rax, rdx
cmp rcx, rax
jb 0x14000a2d6
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14000a1c0
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a1ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a20f
call fcn.140021eb4
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14000a1f8
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a1f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a216
call fcn.140021eb4
lea rcx, [rsp + 0x30]
call fcn.1400064d0
test eax, eax
jne 0x14000a2dc
jmp 0x140009ff0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000a25c
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000a257
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000a257
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x14000a28f
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000a28f
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14000a28f
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbp - 0x40]
xor rcx, rsp
call fcn.140021970
lea r11, [rsp + 0x130]
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]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop rbp
ret
call fcn.140016ad0
nop
mov edx, eax
call fcn.140006140
nop
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140006230
int3