Function at 0x18007c3b0
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 0x18007c44a
movsxd rsi, dword [rdi]
mov rdi, rsi
mov dword [rsp + 0x34], esi
shl rdi, 5
test rbp, rbp
je 0x18007c41a
mov rdx, rdi
mov rcx, rbp
call fcn.180012520
jmp 0x18007c422
mov rcx, rdi
call fcn.180011e00
mov qword [rsp + 0x38], rax
test rax, rax
je 0x18007c43e
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.180189610
mov rax, qword [rsp + 0x38]
mov rdi, qword [rsp + 0xc8]
xor edx, edx
jmp 0x18007c458
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 0x18007c786
mov qword [rsp + 0x40], rdx
nop
cmp byte [rbp + 0x55], 0
jne 0x18007c786
mov rdi, qword [rdi + 8]
mov rax, qword [rdi + rdx]
test rax, rax
je 0x18007c4bc
mov ecx, dword [rax + 4]
bt ecx, 0xc
jae 0x18007c4bc
bt ecx, 0x12
jae 0x18007c4b3
mov rax, qword [rax + 0x20]
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
jmp 0x18007c4b7
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x18007c497
mov r8, qword [rdi + rdx + 8]
test r8, r8
jne 0x18007c529
cmp byte [rax], 0x7a
jne 0x18007c4d9
nop dword [rax + rax]
mov rax, qword [rax + 0x18]
cmp byte [rax], 0x7a
je 0x18007c4d0
movzx ecx, byte [rax]
cmp cl, 0x98
jne 0x18007c519
mov rdx, qword [rax + 0x40]
test rdx, rdx
je 0x18007c514
movsx ecx, word [rax + 0x30]
test ecx, ecx
jns 0x18007c503
movsx ecx, word [rdx + 0x3c]
test ecx, ecx
jns 0x18007c503
lea r8, str.rowid
jmp 0x18007c529
mov rax, qword [rdx + 8]
movsxd rcx, ecx
shl rcx, 5
mov r8, qword [rcx + rax]
jmp 0x18007c529
mov rdx, qword [rsp + 0x40]
cmp cl, 0x1b
jne 0x18007c524
mov r8, qword [rax + 8]
jmp 0x18007c529
mov r8, qword [rdi + rdx + 0x10]
lea rdx, [0x18021319c]
mov rcx, rbp
call fcn.180014420
mov rbx, rax
xor eax, eax
mov esi, eax
mov dword [rsp + 0xc0], eax
test rbx, rbx
je 0x18007c6f4
nop
test r13, r13
je 0x18007c5ad
movzx ecx, byte [rbx]
mov rdi, rbx
test cl, cl
je 0x18007c596
lea r14, [0x180000000]
nop word [rax + rax]
movzx ecx, cl
inc rdi
movzx edx, byte [rcx + r14 + 0x20d070]
lea ecx, [rax*8]
xor edx, ecx
movzx ecx, byte [rdi]
xor eax, edx
test cl, cl
jne 0x18007c570
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 0x18007c5b3
mov r9, r12
mov r10d, r14d
test r10d, r10d
je 0x18007c6f4
movzx eax, byte [rbx]
lea rcx, [0x180000000]
movzx r11d, byte [rax + rcx + 0x20d070]
nop
mov rdi, qword [r9 + 0x18]
dec r10d
movzx edx, byte [rdi]
movzx eax, byte [rdx + rcx + 0x20d070]
sub eax, r11d
jne 0x18007c630
mov r8, rbx
sub r8, rdi
nop dword [rax]
test dl, dl
je 0x18007c62c
movzx eax, byte [rdi + r8 + 1]
movzx edx, byte [rdi + 1]
inc rdi
movzx ecx, byte [rax + rcx + 0x20d070]
lea rax, [0x180000000]
movzx eax, byte [rdx + rax + 0x20d070]
sub eax, ecx
lea rcx, [0x180000000]
je 0x18007c5f0
lea rcx, [0x180000000]
jmp 0x18007c630
test eax, eax
je 0x18007c63d
mov r9, qword [r9]
test r10d, r10d
jne 0x18007c5d0
jmp 0x18007c6f4
cmp qword [r9 + 0x10], 0
je 0x18007c6f4
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx - 1]
and edi, 0x3fffffff
jle 0x18007c6a3
lea ecx, [rdi - 1]
movsxd rdx, ecx
test ecx, ecx
jle 0x18007c699
lea r8, [0x180000000]
nop word [rax + rax]
movzx eax, byte [rdx + rbx]
test byte [rax + r8 + 0x20d170], 4
je 0x18007c699
dec rdx
dec ecx
test rdx, rdx
jg 0x18007c680
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.180014420
mov rbx, rax
cmp esi, 3
jbe 0x18007c6e6
lea rdx, [rsp + 0xc0]
mov ecx, 4
call fcn.1800147d0
mov esi, dword [rsp + 0xc0]
mov eax, 0
test rbx, rbx
jne 0x18007c550
mov rdi, qword [rsp + 0x48]
mov qword [rdi], rbx
test rbx, rbx
je 0x18007c753
lea rcx, [rsp + 0x50]
mov r8, rdi
mov rdx, rbx
call fcn.180016be0
cmp rax, rdi
jne 0x18007c73f
cmp byte [rbp + 0x55], 0
jne 0x18007c73f
cmp byte [rbp + 0x56], 0
jne 0x18007c73f
cmp dword [rbp + 0xb4], 0
mov byte [rbp + 0x55], 1
jle 0x18007c739
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 0x18007c480
test r13, r13
je 0x18007c7e6
cmp dword [0x180238740], 0
je 0x18007c7dd
mov rcx, qword [0x180242a68]
test rcx, rcx
je 0x18007c7a6
call qword [0x1802387c8]
mov rcx, r13
call qword [0x180238780]
dec qword [0x1802427b8]
mov rcx, r13
movsxd rdx, eax
sub qword [0x180242770], rdx
call qword [0x180238770]
mov rcx, qword [0x180242a68]
test rcx, rcx
je 0x18007c7ed
call qword [0x1802387d8]
jmp 0x18007c7e6
mov rcx, r13
call qword [0x180238770]
mov rcx, qword [0x180242a68]
test r12, r12
je 0x18007c859
cmp dword [0x180238740], 0
mov rdi, qword [r12]
je 0x18007c841
test rcx, rcx
je 0x18007c80a
call qword [0x1802387c8]
mov rcx, r12
call qword [0x180238780]
dec qword [0x1802427b8]
mov rcx, r12
movsxd rdx, eax
sub qword [0x180242770], rdx
call qword [0x180238770]
mov rcx, qword [0x180242a68]
test rcx, rcx
je 0x18007c851
call qword [0x1802387d8]
jmp 0x18007c84a
mov rcx, r12
call qword [0x180238770]
mov rcx, qword [0x180242a68]
mov r12, rdi
test rdi, rdi
jne 0x18007c7f2
cmp byte [rbp + 0x55], 0
je 0x18007c9ea
movsxd rsi, ebx
test ebx, ebx
jle 0x18007c929
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rbx]
test rdi, rdi
je 0x18007c91c
cmp qword [rbp + 0x290], 0
je 0x18007c896
mov rdx, rdi
mov rcx, rbp
call fcn.180012190
jmp 0x18007c915
cmp rdi, qword [rbp + 0x178]
jb 0x18007c8c1
cmp rdi, qword [rbp + 0x180]
jae 0x18007c8c1
mov rax, qword [rbp + 0x170]
mov qword [rdi], rax
dec dword [rbp + 0x158]
mov qword [rbp + 0x170], rdi
jmp 0x18007c915
cmp dword [0x180238740], 0
je 0x18007c90c
test rcx, rcx
je 0x18007c8d5
call qword [0x1802387c8]
mov rcx, rdi
call qword [0x180238780]
dec qword [0x1802427b8]
movsxd rcx, eax
sub qword [0x180242770], rcx
mov rcx, rdi
call qword [0x180238770]
mov rcx, qword [0x180242a68]
test rcx, rcx
je 0x18007c91c
call qword [0x1802387d8]
jmp 0x18007c915
mov rcx, rdi
call qword [0x180238770]
mov rcx, qword [0x180242a68]
add rbx, 0x20
dec rsi
jne 0x18007c873
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x18007c9cd
cmp qword [rbp + 0x290], 0
je 0x18007c94e
mov rdx, rdi
mov rcx, rbp
call fcn.180012190
jmp 0x18007c9cd
cmp rdi, qword [rbp + 0x178]
jb 0x18007c979
cmp rdi, qword [rbp + 0x180]
jae 0x18007c979
mov rax, qword [rbp + 0x170]
mov qword [rdi], rax
dec dword [rbp + 0x158]
mov qword [rbp + 0x170], rdi
jmp 0x18007c9cd
cmp dword [0x180238740], 0
je 0x18007c9c4
test rcx, rcx
je 0x18007c98d
call qword [0x1802387c8]
mov rcx, rdi
call qword [0x180238780]
dec qword [0x1802427b8]
movsxd rcx, eax
sub qword [0x180242770], rcx
mov rcx, rdi
call qword [0x180238770]
mov rcx, qword [0x180242a68]
test rcx, rcx
je 0x18007c9cd
call qword [0x1802387d8]
jmp 0x18007c9cd
mov rcx, rdi
call qword [0x180238770]
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 0x18007c9ec
xor eax, eax
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret