Function at 0x14000eea0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x1400b89e8]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov ebp, dword [rsp + 0xf0]
mov r14, r9
mov dword [rsp + 0x40], ebp
mov r13, r8
mov r12, rdx
mov r15, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov r8, qword [r15 + 0x20]
mov rcx, rax
sub rcx, qword [0x1400c2430]
movabs rax, 0x624dd2f1a9fbe77
mul rcx
mov r9, qword [r8 + 0x1d0]
lea rax, [rsp + 0x48]
mov r8, qword [r8 + 0x198]
sub rcx, rdx
mov qword [rsp + 0x30], rax
mov rax, qword [r15 + 0x60]
shr rcx, 1
add rcx, rdx
mov qword [rsp + 0x28], r12
mov rdx, qword [r15 + 0x58]
shr rcx, 9
mov qword [rsp + 0x20], rax
call fcn.14000d0d0
mov r9, qword [r15 + 0x20]
lea rcx, [rsp + 0x48]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x14000ef44
cmp rax, 0x81
jae 0x14000ef61
mov r10d, dword [r9 + 0x1d8]
test r10d, r10d
jne 0x14000ef77
lea rdx, str.Could_not_register_nonce__is_the_nonce_array_size_zero__._n
mov rcx, r9
call fcn.14000fca0
xor eax, eax
jmp 0x14000f243
movzx eax, byte [rsp + 0x48]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x98], rbx
xor ebx, ebx
mov qword [rsp + 0x90], rsi
mov r8d, ebx
mov qword [rsp + 0x88], rdi
test al, al
je 0x14000efd2
nop dword [rax]
nop word [rax + rax]
movsx eax, al
lea rdx, [rdx + 1]
mov ecx, r8d
shr ecx, 0x18
xor ecx, eax
mov eax, r8d
shl eax, 8
mov r8d, ecx
or r8d, eax
movzx eax, byte [rdx]
test al, al
jne 0x14000efb0
xor edx, edx
lea rsi, [r9 + 0x1a8]
mov eax, r8d
div r10d
mov ecx, edx
imul rdi, rcx, 0x98
mov rcx, rsi
add rdi, qword [r9 + 0x1a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsp + 0x48]
mov r8, rdi
sub r8, rcx
lea rdx, [rsp + 0x48]
nop word [rax + rax]
movzx eax, byte [rdx]
mov byte [r8 + rdx + 0x10], al
lea rdx, [rdx + 1]
test al, al
jne 0x14000f010
mov rcx, rsi
mov qword [rdi], rbx
mov qword [rdi + 8], rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, str._stale_true_
test ebp, ebp
lea rax, [0x1400c2429]
mov r9, r12
cmovne rax, rcx
lea r8, str.Digest_realm__s__qop_auth__nonce__s__opaque__s__s
mov qword [rsp + 0x30], rax
xor edx, edx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], r13
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.140002010
mov edi, eax
test eax, eax
jle 0x14000f219
inc eax
mov ecx, 1
movsxd rbp, eax
mov rdx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rsi, rax
test rax, rax
jne 0x14000f0a7
mov rcx, qword [r15 + 0x20]
lea rdx, str.Failed_to_allocate_memory_for_auth_response_header_n
call fcn.14000fca0
xor eax, eax
jmp 0x14000f22b
cmp dword [rsp + 0x40], ebx
lea rcx, [0x1400bc0c8]
lea rax, [0x1400c2428]
mov r9, r12
cmovne rax, rcx
lea r8, [0x1400bc090]
mov qword [rsp + 0x30], rax
mov rdx, rbp
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], r13
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.140002010
cmp eax, edi
jne 0x14000f1f7
test r14, r14
je 0x14000f1f7
cmp byte [str.WWW_Authenticate], bl
je 0x14000f1f7
cmp byte [rsi], bl
je 0x14000f1f7
mov edx, 9
lea rcx, str.WWW_Authenticate
call sub.VCRUNTIME140.dll_strchr
test rax, rax
jne 0x14000f1f7
lea edx, [rax + 0xd]
lea rcx, str.WWW_Authenticate
call sub.VCRUNTIME140.dll_strchr
test rax, rax
jne 0x14000f1f7
lea edx, [rax + 0xa]
lea rcx, str.WWW_Authenticate
call sub.VCRUNTIME140.dll_strchr
test rax, rax
jne 0x14000f1f7
lea edx, [rax + 9]
mov rcx, rsi
call sub.VCRUNTIME140.dll_strchr
test rax, rax
jne 0x14000f1f7
lea edx, [rax + 0xd]
mov rcx, rsi
call sub.VCRUNTIME140.dll_strchr
test rax, rax
jne 0x14000f1f7
lea edx, [rax + 0xa]
mov rcx, rsi
call sub.VCRUNTIME140.dll_strchr
test rax, rax
jne 0x14000f1f7
lea ecx, [rax + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x14000f1f7
lea rcx, str.WWW_Authenticate
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov qword [rdi + 8], rax
test rax, rax
jne 0x14000f1bb
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000f1f7
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov qword [rdi + 0x10], rax
test rax, rax
jne 0x14000f1e2
mov rcx, qword [rdi + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000f1f7
mov dword [rdi + 0x18], 1
mov ebx, 1
mov rax, qword [r14]
mov qword [rdi], rax
mov qword [r14], rdi
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp ebx, 1
jne 0x14000f219
mov r8, r14
mov edx, 0x191
mov rcx, r15
call fcn.14000ac10
mov ebx, eax
jmp 0x14000f229
mov rcx, qword [r15 + 0x20]
lea rdx, str.Failed_to_add_Digest_auth_header_n
call fcn.14000fca0
mov eax, ebx
mov rsi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14008ccd0
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rbp
ret