Function at 0x1800f3720
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x1801eab50]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rcx]
lea rbx, [0x180000000]
movsxd r10, edx
mov r13, rcx
shl r10, 5
mov r12d, 1
mov qword [rsp + 0x38], r9
mov rdx, qword [rax + 0x20]
mov qword [rsp + 0x40], r8
mov rsi, qword [r10 + rdx]
nop dword [rax]
mov r9d, r12d
lea r8, str.sqlite_stat_d
lea rdx, [rsp + 0x48]
mov ecx, 0x18
call fcn.1800637e0
mov r15, qword [r13]
xor r11d, r11d
movzx ebp, byte [rsp + 0x48]
cmp byte [r15 + 0x298], 3
jae 0x1800f37ec
movzx r8d, byte [rbp + rbx + 0x1a59b0]
sub r8d, 0x73
jne 0x1800f37ec
movzx edx, bpl
xor r9d, r9d
test dl, dl
je 0x1800f37e3
movzx edx, byte [rsp + r9 + 0x49]
inc r9
movzx eax, byte [r9 + rbx + 0x1adc60]
movzx r8d, byte [rdx + rbx + 0x1a59b0]
movzx ecx, byte [rax + rbx + 0x1a59b0]
sub r8d, ecx
je 0x1800f37b5
jmp 0x1800f37ec
test r8d, r8d
je 0x1800f39ad
mov r14d, dword [r15 + 0x28]
xor edi, edi
test r14d, r14d
jle 0x1800f39ad
nop dword [rax + rax]
mov r9d, edi
xor r9d, 1
cmp edi, 2
cmovge r9d, edi
test rsi, rsi
je 0x1800f3871
mov rax, qword [r15 + 0x20]
mov r8, rsi
movzx edx, byte [rsi]
movsxd rcx, r9d
shl rcx, 5
mov r10, qword [rcx + rax]
movzx ecx, byte [rdx + rbx + 0x1a59b0]
movzx eax, byte [r10]
movzx eax, byte [rax + rbx + 0x1a59b0]
cmp ecx, eax
jne 0x1800f3964
sub r10, rsi
test dl, dl
je 0x1800f3871
movzx eax, byte [r10 + r8 + 1]
inc r8
movzx ecx, byte [rax + rbx + 0x1a59b0]
movzx edx, byte [r8]
movzx eax, byte [rdx + rbx + 0x1a59b0]
cmp eax, ecx
je 0x1800f3847
jmp 0x1800f3964
mov rax, qword [r15 + 0x20]
movsxd rcx, r9d
shl rcx, 5
mov r9, qword [rcx + rax + 0x18]
mov r10, qword [r9 + 0x18]
test r10, r10
je 0x1800f38da
xor eax, eax
lea r8, [rsp + 0x48]
movzx ecx, bpl
test bpl, bpl
je 0x1800f38c2
nop word [rax + rax]
movzx ecx, cl
lea r8, [r8 + 1]
movzx edx, byte [rcx + rbx + 0x1a59b0]
lea ecx, [rax*8]
xor edx, ecx
movzx ecx, byte [r8]
xor eax, edx
test cl, cl
jne 0x1800f38a0
xor edx, edx
div dword [r9 + 8]
mov ecx, edx
shl rcx, 4
add rcx, r10
mov r10, qword [rcx + 8]
mov r11d, dword [rcx]
jmp 0x1800f38e2
mov r10, qword [r9 + 0x10]
mov r11d, dword [r9 + 0xc]
test r11d, r11d
je 0x1800f3961
lea rdx, [0x180000000]
movzx ebx, byte [rbp + rdx + 0x1a59b0]
nop word [rax + rax]
mov rax, qword [r10 + 0x18]
dec r11d
movzx r8d, byte [rax]
movzx ecx, byte [r8 + rdx + 0x1a59b0]
cmp ecx, ebx
jne 0x1800f3959
lea r9, [rsp + 0x48]
sub r9, rax
test r8b, r8b
je 0x1800f39d8
movzx ecx, byte [r9 + rax + 1]
inc rax
movzx edx, byte [rcx + rdx + 0x1a59b0]
lea rcx, [0x180000000]
movzx r8d, byte [rax]
movzx ecx, byte [r8 + rcx + 0x1a59b0]
cmp ecx, edx
lea rdx, [0x180000000]
je 0x1800f3920
mov r10, qword [r10]
test r11d, r11d
jne 0x1800f3900
xor r11d, r11d
inc edi
lea rbx, [0x180000000]
cmp edi, r14d
jl 0x1800f3800
test r11, r11
je 0x1800f39a6
mov rax, qword [rsp + 0x38]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.DELETE_FROM__Q._s_WHERE__s_Q
mov rax, qword [rsp + 0x40]
mov r8, rsi
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.18011e090
lea rbx, [0x180000000]
inc r12d
cmp r12d, 4
jle 0x1800f3770
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18015fd80
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov r11, qword [r10 + 0x10]
test r11, r11
jne 0x1800f397b
jmp 0x1800f3964