Function at 0x1400a9360
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
mov esi, r8d
mov r14, rdx
mov rdi, rcx
test r8d, r8d
je 0x1400a93a2
test rdx, rdx
jne 0x1400a93af
lea r8, str.pbVal___NULL
mov edx, 0x2c6
lea rcx, str.base_stor_blbcatalog_atomtbl.cpp
call fcn.140087b08
test r14, r14
jne 0x1400a93af
or eax, 0xffffffff
jmp 0x1400a9567
xor eax, eax
test esi, esi
je 0x1400a93cb
mov rdx, r14
mov r8, rsi
movzx ecx, byte [rdx]
inc rdx
rol eax, 1
xor eax, ecx
sub r8, 1
jne 0x1400a93bb
mov r9, qword [rdi + 0x10]
xor edx, edx
div dword [rdi]
mov ecx, edx
shl rcx, 3
add r9, rcx
mov ebx, edx
mov r12d, edx
mov qword [rbp + 0x58], rcx
mov r15, qword [r9]
test r15, r15
jne 0x1400a9405
mov r8d, esi
mov rdx, r14
mov rcx, rdi
call fcn.1400ab198
test eax, eax
js 0x1400a957d
jmp 0x1400a9463
mov rax, qword [rdi + 0x18]
mov ecx, ebx
and ecx, 0x1f
shr r12, 5
mov r13d, 1
shl r13d, cl
test dword [rax + r12*4], r13d
jne 0x1400a94b7
cmp byte [r15], 9
jne 0x1400a946b
lea rax, [r15 + 1]
and eax, 7
lea rcx, [0x14015c118]
mov ecx, dword [rcx + rax*4]
mov eax, dword [rcx + r15 + 1]
test eax, eax
jne 0x1400a9449
xor ecx, ecx
jmp 0x1400a9450
add rcx, 5
add rcx, r15
cmp eax, esi
jne 0x1400a946b
mov r8, rax
mov rdx, r14
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1400a946b
shl ebx, 0xb
jmp 0x1400a9565
lea r9, [rbp + 0x48]
mov r8d, esi
mov rdx, r14
mov rcx, rdi
call fcn.1400ab198
test eax, eax
js 0x1400a9591
mov r9, qword [rbp + 0x58]
mov rdx, r15
add r9, qword [rdi + 0x10]
mov rcx, rdi
mov r8, qword [rbp + 0x48]
call fcn.1400ab26c
test eax, eax
js 0x1400a95a5
mov rax, qword [rdi + 0x18]
shl ebx, 0xb
or dword [rax + r12*4], r13d
or ebx, 1
jmp 0x1400a9565
mov r13d, dword [r15]
lea rcx, [r15 + 8]
xor r12d, r12d
mov qword [rbp + 0x48], rcx
test r13d, r13d
je 0x1400a9524
lea rdx, [0x14015c118]
mov rcx, qword [rcx]
cmp byte [rcx], 9
jne 0x1400a9510
lea rax, [rcx + 1]
and eax, 7
mov edx, dword [rdx + rax*4]
mov eax, dword [rdx + rcx + 1]
test eax, eax
jne 0x1400a94ef
xor ecx, ecx
jmp 0x1400a94f6
add rcx, 5
add rcx, rdx
cmp eax, esi
jne 0x1400a9509
mov r8, rax
mov rdx, r14
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x1400a953c
lea rdx, [0x14015c118]
mov rcx, qword [rbp + 0x48]
inc r12d
add rcx, 8
mov qword [rbp + 0x48], rcx
cmp r12d, r13d
jb 0x1400a94d1
lea r9, [rbp + 0x48]
mov r8d, esi
mov rdx, r14
mov rcx, rdi
call fcn.1400ab198
test eax, eax
js 0x1400a95b9
jmp 0x1400a9544
shl ebx, 0xb
or ebx, r12d
jmp 0x1400a9565
mov r9, qword [rbp + 0x58]
mov rdx, r15
add r9, qword [rdi + 0x10]
mov rcx, rdi
mov r8, qword [rbp + 0x48]
call fcn.1400ab39c
test eax, eax
js 0x1400a95cd
shl ebx, 0xb
or ebx, r13d
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, [0x140177a10]
mov dword [rbp + 0x50], eax
lea rcx, [rbp + 0x50]
call sub.msvcrt.dll__CxxThrowException
int3
lea rdx, [0x140177a10]
mov dword [rbp + 0x50], eax
lea rcx, [rbp + 0x50]
call sub.msvcrt.dll__CxxThrowException
int3
lea rdx, [0x140177a10]
mov dword [rbp + 0x50], eax
lea rcx, [rbp + 0x50]
call sub.msvcrt.dll__CxxThrowException
int3
lea rdx, [0x140177a10]
mov dword [rbp + 0x50], eax
lea rcx, [rbp + 0x50]
call sub.msvcrt.dll__CxxThrowException
int3
lea rdx, [0x140177a10]
mov dword [rbp + 0x50], eax
lea rcx, [rbp + 0x50]
call sub.msvcrt.dll__CxxThrowException
int3