Function at 0x180081370
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rbp, qword [rcx]
mov rdi, rdx
xor edx, edx
mov r12d, edx
mov qword [rsp + 0x58], rdx
mov r14d, edx
mov r15d, edx
mov qword [rsp + 0x50], rdx
mov r13d, edx
mov qword [rsp + 0x60], rdx
mov rbx, r9
test rdi, rdi
je 0x18008140a
movsxd rsi, dword [rdi]
mov rdi, rsi
mov dword [rsp + 0x34], esi
shl rdi, 5
test rbp, rbp
je 0x1800813da
mov rdx, rdi
mov rcx, rbp
call fcn.180017520
jmp 0x1800813e2
mov rcx, rdi
call fcn.180016e00
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1800813fe
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1800b45b0
mov rax, qword [rsp + 0x38]
mov rdi, qword [rsp + 0xc8]
xor edx, edx
jmp 0x180081418
mov esi, edx
mov dword [rsp + 0x34], edx
mov rax, rdx
mov qword [rsp + 0x38], rdx
mov rcx, qword [rsp + 0xd0]
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x48], rax
mov word [rcx], si
mov qword [rbx], rax
mov ebx, edx
test esi, esi
jle 0x180081746
mov qword [rsp + 0x40], rdx
nop
cmp byte [rbp + 0x55], 0
jne 0x180081746
mov rdi, qword [rdi + 8]
mov rax, qword [rdi + rdx]
test rax, rax
je 0x18008147c
mov ecx, dword [rax + 4]
bt ecx, 0xc
jae 0x18008147c
bt ecx, 0x12
jae 0x180081473
mov rax, qword [rax + 0x20]
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
jmp 0x180081477
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x180081457
mov r8, qword [rdi + rdx + 8]
test r8, r8
jne 0x1800814e9
cmp byte [rax], 0x7a
jne 0x180081499
nop dword [rax + rax]
mov rax, qword [rax + 0x18]
cmp byte [rax], 0x7a
je 0x180081490
movzx ecx, byte [rax]
cmp cl, 0x98
jne 0x1800814d9
mov rdx, qword [rax + 0x40]
test rdx, rdx
je 0x1800814d4
movsx ecx, word [rax + 0x30]
test ecx, ecx
jns 0x1800814c3
movsx ecx, word [rdx + 0x3c]
test ecx, ecx
jns 0x1800814c3
lea r8, str.rowid
jmp 0x1800814e9
mov rax, qword [rdx + 8]
movsxd rcx, ecx
shl rcx, 5
mov r8, qword [rcx + rax]
jmp 0x1800814e9
mov rdx, qword [rsp + 0x40]
cmp cl, 0x1b
jne 0x1800814e4
mov r8, qword [rax + 8]
jmp 0x1800814e9
mov r8, qword [rdi + rdx + 0x10]
lea rdx, [0x1802bbb9c]
mov rcx, rbp
call fcn.180019420
mov rbx, rax
xor eax, eax
mov esi, eax
mov dword [rsp + 0xc0], eax
test rbx, rbx
je 0x1800816b4
nop
test r13, r13
je 0x18008156d
movzx ecx, byte [rbx]
mov rdi, rbx
test cl, cl
je 0x180081556
lea r14, [0x180000000]
nop word [rax + rax]
movzx ecx, cl
inc rdi
movzx edx, byte [rcx + r14 + 0x2b5490]
lea ecx, [rax*8]
xor edx, ecx
movzx ecx, byte [rdi]
xor eax, edx
test cl, cl
jne 0x180081530
mov r14d, dword [rsp + 0x54]
xor edx, edx
div r15d
mov ecx, edx
shl rcx, 4
add rcx, r13
mov r9, qword [rcx + 8]
mov r10d, dword [rcx]
jmp 0x180081573
mov r9, r12
mov r10d, r14d
test r10d, r10d
je 0x1800816b4
movzx eax, byte [rbx]
lea rcx, [0x180000000]
movzx r11d, byte [rax + rcx + 0x2b5490]
nop
mov rdi, qword [r9 + 0x18]
dec r10d
movzx edx, byte [rdi]
movzx eax, byte [rdx + rcx + 0x2b5490]
sub eax, r11d
jne 0x1800815f0
mov r8, rbx
sub r8, rdi
nop dword [rax]
test dl, dl
je 0x1800815ec
movzx eax, byte [rdi + r8 + 1]
movzx edx, byte [rdi + 1]
inc rdi
movzx ecx, byte [rax + rcx + 0x2b5490]
lea rax, [0x180000000]
movzx eax, byte [rdx + rax + 0x2b5490]
sub eax, ecx
lea rcx, [0x180000000]
je 0x1800815b0
lea rcx, [0x180000000]
jmp 0x1800815f0
test eax, eax
je 0x1800815fd
mov r9, qword [r9]
test r10d, r10d
jne 0x180081590
jmp 0x1800816b4
cmp qword [r9 + 0x10], 0
je 0x1800816b4
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx - 1]
and edi, 0x3fffffff
jle 0x180081663
lea ecx, [rdi - 1]
movsxd rdx, ecx
test ecx, ecx
jle 0x180081659
lea r8, [0x180000000]
nop word [rax + rax]
movzx eax, byte [rdx + rbx]
test byte [rax + r8 + 0x2b5590], 4
je 0x180081659
dec rdx
dec ecx
test rdx, rdx
jg 0x180081640
movsxd rax, ecx
cmp byte [rax + rbx], 0x3a
cmove edi, ecx
inc esi
lea rdx, str._.z:_u
mov r9, rbx
mov r8d, edi
mov rcx, rbp
mov dword [rsp + 0xc0], esi
mov dword [rsp + 0x20], esi
call fcn.180019420
mov rbx, rax
cmp esi, 3
jbe 0x1800816a6
lea rdx, [rsp + 0xc0]
mov ecx, 4
call fcn.1800197d0
mov esi, dword [rsp + 0xc0]
mov eax, 0
test rbx, rbx
jne 0x180081510
mov rdi, qword [rsp + 0x48]
mov qword [rdi], rbx
test rbx, rbx
je 0x180081713
lea rcx, [rsp + 0x50]
mov r8, rdi
mov rdx, rbx
call fcn.18001bbe0
cmp rax, rdi
jne 0x1800816ff
cmp byte [rbp + 0x55], 0
jne 0x1800816ff
cmp byte [rbp + 0x56], 0
jne 0x1800816ff
cmp dword [rbp + 0xb4], 0
mov byte [rbp + 0x55], 1
jle 0x1800816f9
mov dword [rbp + 0x148], 1
inc dword [rbp + 0x150]
mov r15d, dword [rsp + 0x50]
mov r14d, dword [rsp + 0x54]
mov r12, qword [rsp + 0x58]
mov r13, qword [rsp + 0x60]
mov ebx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
add rdi, 0x20
inc ebx
add rdx, 0x28
mov qword [rsp + 0x48], rdi
mov rdi, qword [rsp + 0xc8]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x40], rdx
cmp ebx, dword [rsp + 0x34]
jl 0x180081440
test r13, r13
je 0x1800817a6
cmp dword [0x1802e7f80], 0
je 0x18008179d
mov rcx, qword [0x1802f0c18]
test rcx, rcx
je 0x180081766
call qword [0x1802e8008]
mov rcx, r13
call qword [0x1802e7fc0]
dec qword [0x1802f0968]
mov rcx, r13
movsxd rdx, eax
sub qword [0x1802f0920], rdx
call qword [0x1802e7fb0]
mov rcx, qword [0x1802f0c18]
test rcx, rcx
je 0x1800817ad
call qword [0x1802e8018]
jmp 0x1800817a6
mov rcx, r13
call qword [0x1802e7fb0]
mov rcx, qword [0x1802f0c18]
test r12, r12
je 0x180081819
cmp dword [0x1802e7f80], 0
mov rdi, qword [r12]
je 0x180081801
test rcx, rcx
je 0x1800817ca
call qword [0x1802e8008]
mov rcx, r12
call qword [0x1802e7fc0]
dec qword [0x1802f0968]
mov rcx, r12
movsxd rdx, eax
sub qword [0x1802f0920], rdx
call qword [0x1802e7fb0]
mov rcx, qword [0x1802f0c18]
test rcx, rcx
je 0x180081811
call qword [0x1802e8018]
jmp 0x18008180a
mov rcx, r12
call qword [0x1802e7fb0]
mov rcx, qword [0x1802f0c18]
mov r12, rdi
test rdi, rdi
jne 0x1800817b2
cmp byte [rbp + 0x55], 0
je 0x1800819aa
movsxd rsi, ebx
test ebx, ebx
jle 0x1800818e9
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rbx]
test rdi, rdi
je 0x1800818dc
cmp qword [rbp + 0x290], 0
je 0x180081856
mov rdx, rdi
mov rcx, rbp
call fcn.180017190
jmp 0x1800818d5
cmp rdi, qword [rbp + 0x178]
jb 0x180081881
cmp rdi, qword [rbp + 0x180]
jae 0x180081881
mov rax, qword [rbp + 0x170]
mov qword [rdi], rax
dec dword [rbp + 0x158]
mov qword [rbp + 0x170], rdi
jmp 0x1800818d5
cmp dword [0x1802e7f80], 0
je 0x1800818cc
test rcx, rcx
je 0x180081895
call qword [0x1802e8008]
mov rcx, rdi
call qword [0x1802e7fc0]
dec qword [0x1802f0968]
movsxd rcx, eax
sub qword [0x1802f0920], rcx
mov rcx, rdi
call qword [0x1802e7fb0]
mov rcx, qword [0x1802f0c18]
test rcx, rcx
je 0x1800818dc
call qword [0x1802e8018]
jmp 0x1800818d5
mov rcx, rdi
call qword [0x1802e7fb0]
mov rcx, qword [0x1802f0c18]
add rbx, 0x20
dec rsi
jne 0x180081833
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x18008198d
cmp qword [rbp + 0x290], 0
je 0x18008190e
mov rdx, rdi
mov rcx, rbp
call fcn.180017190
jmp 0x18008198d
cmp rdi, qword [rbp + 0x178]
jb 0x180081939
cmp rdi, qword [rbp + 0x180]
jae 0x180081939
mov rax, qword [rbp + 0x170]
mov qword [rdi], rax
dec dword [rbp + 0x158]
mov qword [rbp + 0x170], rdi
jmp 0x18008198d
cmp dword [0x1802e7f80], 0
je 0x180081984
test rcx, rcx
je 0x18008194d
call qword [0x1802e8008]
mov rcx, rdi
call qword [0x1802e7fc0]
dec qword [0x1802f0968]
movsxd rcx, eax
sub qword [0x1802f0920], rcx
mov rcx, rdi
call qword [0x1802e7fb0]
mov rcx, qword [0x1802f0c18]
test rcx, rcx
je 0x18008198d
call qword [0x1802e8018]
jmp 0x18008198d
mov rcx, rdi
call qword [0x1802e7fb0]
mov rax, qword [rsp + 0xd8]
xor ecx, ecx
mov qword [rax], rcx
mov rax, qword [rsp + 0xd0]
mov word [rax], cx
lea eax, [rcx + 7]
jmp 0x1800819ac
xor eax, eax
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret