Function at 0x14003b170
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push r14
push r15
sub rsp, 0x28
mov rsi, qword [rcx]
xor r15d, r15d
test rdx, rdx
mov rbp, r15
mov r14, rcx
je 0x14003b64b
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rdi
nop
nop
mov ecx, dword [rdx + 4]
movzx eax, byte [rdx]
bt ecx, 9
jb 0x14003b641
cmp eax, 0x26
je 0x14003b28e
cmp eax, 0x9e
je 0x14003b28e
cmp eax, 0x5f
je 0x14003b1d6
cmp eax, 0x9f
jne 0x14003b1fe
cmp byte [rdx + 0x36], 0x5f
jne 0x14003b211
mov rdi, qword [rdx + 8]
movzx ebx, byte [rsi + 0x4e]
test rdi, rdi
je 0x14003b2fc
lea rcx, [rsi + 0x228]
mov rdx, rdi
call fcn.1400113b0
mov rbp, rax
jmp 0x14003b300
cmp eax, 0x9c
je 0x14003b211
cmp eax, 0x9a
je 0x14003b211
cmp eax, 0x3e
jne 0x14003b21b
cmp qword [rdx + 0x40], rbp
jne 0x14003b2a0
bt ecx, 8
jae 0x14003b641
mov rax, qword [rdx + 0x10]
test rax, rax
je 0x14003b23a
bt dword [rax + 4], 8
jae 0x14003b23a
mov rdx, rax
jmp 0x14003b292
mov rax, qword [rdx + 0x20]
mov r9, qword [rdx + 0x18]
test rax, rax
je 0x14003b289
bt ecx, 0xb
jb 0x14003b289
mov r8d, dword [rax]
mov edx, r15d
mov rdi, r15
test r8d, r8d
jle 0x14003b289
mov r10, qword [rax + 8]
mov rcx, r10
mov rax, qword [rcx]
bt dword [rax + 4], 8
jb 0x14003b281
add edx, 1
add rdi, 1
add rcx, 0x28
cmp edx, r8d
jl 0x14003b262
mov rdx, r9
jmp 0x14003b292
lea rax, [rdi + rdi*4]
mov r9, qword [r10 + rax*8]
mov rdx, r9
jmp 0x14003b292
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x14003b1a0
jmp 0x14003b641
movsx rax, word [rdx + 0x30]
test eax, eax
js 0x14003b641
mov rdx, qword [rdx + 0x40]
lea rcx, [rax + rax*2]
mov rax, qword [rdx + 8]
shl rcx, 4
mov rdx, qword [rax + rcx + 0x20]
test rdx, rdx
je 0x14003b2d8
lea rcx, [rsi + 0x228]
call fcn.1400113b0
mov rbp, rax
jmp 0x14003b2dc
mov rbp, qword [rsi + 0x10]
test rbp, rbp
je 0x14003b391
movzx eax, byte [rsi + 0x4e]
sub eax, 1
cdqe
lea rcx, [rax + rax*4]
lea rbp, [rbp + rcx*8]
jmp 0x14003b391
mov rbp, qword [rsi + 0x10]
test rbp, rbp
je 0x14003b316
movzx eax, bl
sub eax, 1
cdqe
lea rcx, [rax + rax*4]
lea rbp, [rbp + rcx*8]
test rbp, rbp
je 0x14003b321
cmp qword [rbp + 0x18], r15
jne 0x14003b362
movzx ebx, bl
mov r8, rdi
mov rcx, rsi
mov edx, ebx
call fcn.14001c250
test rdi, rdi
je 0x14003b34a
lea rcx, [rsi + 0x228]
mov rdx, rdi
call fcn.1400113b0
mov rbp, rax
jmp 0x14003b34e
mov rbp, qword [rsi + 0x10]
test rbp, rbp
je 0x14003b362
lea eax, [rbx - 1]
movsxd rdx, eax
lea rax, [rdx + rdx*4]
lea rbp, [rbp + rax*8]
test rbp, rbp
je 0x14003b37f
cmp qword [rbp + 0x18], r15
jne 0x14003b391
mov rdx, rbp
mov rcx, rsi
call fcn.1400201e0
test eax, eax
je 0x14003b391
mov rbp, r15
lea rdx, str.no_such_collation_sequence:__s
mov r8, rdi
mov rcx, r14
call fcn.140034800
test rbp, rbp
je 0x14003b641
cmp qword [rbp + 0x18], r15
mov rsi, qword [r14]
mov qword [rsp + 0x68], r12
mov r12, qword [rbp]
mov qword [rsp + 0x20], r13
movzx r13d, byte [rsi + 0x4e]
mov rdi, rbp
jne 0x14003b601
cmp qword [rsi + 0x118], r15
je 0x14003b508
test r12, r12
je 0x14003b5e7
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r12
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
and ecx, 0x3fffffff
cmp byte [rsi + 0x51], r15b
lea eax, [rcx + 1]
movsxd rbx, eax
jne 0x14003b508
test eax, eax
je 0x14003b461
cmp rbx, 0x7fffff00
jae 0x14003b461
cmp dword [0x1400bf010], r15d
je 0x14003b44f
mov rcx, qword [0x1400c52b8]
test rcx, rcx
je 0x14003b423
call qword [0x1400bf098]
lea rdx, [rsp + 0x50]
mov ecx, ebx
call fcn.140011830
mov rcx, qword [0x1400c52b8]
test rcx, rcx
je 0x14003b448
call qword [0x1400bf0a8]
mov rdi, qword [rsp + 0x50]
jmp 0x14003b45a
mov rdi, qword [rsp + 0x50]
jmp 0x14003b45a
mov ecx, ebx
call qword [0x1400bf038]
mov rdi, rax
test rdi, rdi
jne 0x14003b468
jmp 0x14003b464
mov rdi, r15
mov byte [rsi + 0x51], 1
test rdi, rdi
je 0x14003b508
mov r8, rbx
mov rdx, r12
mov rcx, rdi
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsi + 0x128]
movzx r8d, r13b
mov r9, rdi
mov rdx, rsi
call qword [rsi + 0x118]
cmp qword [rsi + 0x2c0], r15
je 0x14003b4ac
mov rdx, rdi
mov rcx, rsi
call fcn.140011800
jmp 0x14003b508
cmp dword [0x1400bf010], r15d
je 0x14003b4ff
mov rcx, qword [0x1400c52b8]
test rcx, rcx
je 0x14003b4c7
call qword [0x1400bf098]
mov rcx, rdi
call qword [0x1400bf050]
sub qword [0x1400c5018], 1
movsxd rcx, eax
sub qword [0x1400c4fd0], rcx
mov rcx, rdi
call qword [0x1400bf040]
mov rcx, qword [0x1400c52b8]
test rcx, rcx
je 0x14003b508
call qword [0x1400bf0a8]
jmp 0x14003b508
mov rcx, rdi
call qword [0x1400bf040]
test r12, r12
je 0x14003b5e7
mov r8, qword [rsi + 0x238]
lea r10, [0x1400ab830]
test r8, r8
je 0x14003b56c
movzx ecx, byte [r12]
mov rax, r12
mov edi, r15d
test cl, cl
je 0x14003b550
movzx ecx, cl
add rax, 1
movzx edx, byte [rcx + r10]
lea ecx, [rdi*8]
xor edx, ecx
mov cl, byte [rax]
xor edi, edx
test cl, cl
jne 0x14003b533
xor edx, edx
mov eax, edi
div dword [rsi + 0x228]
mov ecx, edx
shl rcx, 4
add rcx, r8
mov r8, qword [rcx + 8]
mov r9d, dword [rcx]
jmp 0x14003b57a
mov r8, qword [rsi + 0x230]
mov r9d, dword [rsi + 0x22c]
test r9d, r9d
je 0x14003b5dc
nop
mov rdi, qword [r8 + 0x18]
sub r9d, 1
test rdi, rdi
je 0x14003b5d4
movzx eax, byte [rdi]
mov rdx, r12
test al, al
je 0x14003b5c0
nop
nop
nop
movzx ecx, al
movzx eax, byte [rdx]
movzx eax, byte [rax + r10]
cmp byte [rcx + r10], al
jne 0x14003b5c0
mov al, byte [rdi + 1]
add rdi, 1
add rdx, 1
test al, al
jne 0x14003b5a0
movzx eax, byte [rdx]
movzx edx, byte [rax + r10]
movzx eax, byte [rdi]
movzx ecx, byte [rax + r10]
sub ecx, edx
je 0x14003b5e1
test r9d, r9d
mov r8, qword [r8]
jne 0x14003b580
mov rdi, r15
jmp 0x14003b5eb
mov rdi, qword [r8 + 0x10]
jmp 0x14003b5eb
mov rdi, qword [rsi + 0x10]
test rdi, rdi
je 0x14003b601
movzx eax, r13b
sub eax, 1
cdqe
lea rax, [rax + rax*4]
lea rdi, [rdi + rax*8]
test rdi, rdi
mov r13, qword [rsp + 0x20]
je 0x14003b623
cmp qword [rdi + 0x18], r15
jne 0x14003b63c
mov rdx, rdi
mov rcx, rsi
call fcn.1400201e0
test eax, eax
je 0x14003b63c
mov rdi, r15
lea rdx, str.no_such_collation_sequence:__s
mov r8, r12
mov rcx, r14
call fcn.140034800
test rdi, rdi
cmove rbp, r15
mov r12, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov rax, rbp
add rsp, 0x28
pop r15
pop r14
pop rsi
pop rbp
ret