Function at 0x1800ee2d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xb8
xor r15d, r15d
lea r8, [rbp + 0x7f]
xor r9d, r9d
mov qword [rbp - 0x49], r15
mov r14, rcx
mov qword [rbp + 0x7f], r15
mov edi, r15d
mov r12d, r15d
lea edx, [r15 + 0x1b]
call fcn.1800dfaa0
mov dword [rbp + 0x77], eax
mov ebx, eax
test eax, eax
jne 0x1800eec64
movsxd r8, dword [r14 + 0x208]
lea edx, [rax + 1]
mov qword [rsp + 0xb0], rsi
mov rsi, qword [rbp + 0x7f]
mov rcx, rsi
mov qword [rsp + 0xa8], r13
call sym.QoOBJSl.dll_hqlite3_bind_int64
movsxd r8, dword [r14 + 0x1e8]
lea edx, [rbx + 2]
mov rcx, rsi
call sym.QoOBJSl.dll_hqlite3_bind_int64
mov r13, qword [rbp + 0x67]
lea rdi, [0x180135c18]
mov rcx, rsi
call sym.QoOBJSl.dll_hqlite3_step
cmp eax, 0x64
jne 0x1800ee47a
test rsi, rsi
je 0x1800ee3b5
mov rax, qword [rsi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1800ee38b
call qword [0x18015a100]
mov rcx, qword [rsi + 0xa0]
test rcx, rcx
je 0x1800ee3a1
cmp r15w, word [rsi + 0xc0]
jb 0x1800ee3b8
mov rcx, qword [rsi]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call fcn.180009f80
mov rcx, rdi
movzx eax, word [rcx + 8]
test al, 0x24
je 0x1800ee3c5
mov r14, qword [rcx]
jmp 0x1800ee3ee
test al, 8
je 0x1800ee3d7
movsd xmm0, qword [rcx]
call fcn.180030cd0
mov r14, rax
jmp 0x1800ee3ee
test al, 0x12
je 0x1800ee3eb
cmp qword [rcx + 0x10], r12
je 0x1800ee3eb
call fcn.180030d10
mov r14, rax
jmp 0x1800ee3ee
mov r14, r15
test rsi, rsi
je 0x1800ee427
mov rax, qword [rsi]
mov edx, dword [rsi + 0x38]
cmp byte [rax + 0x61], r12b
jne 0x1800ee408
test edx, edx
jne 0x1800ee408
mov ecx, r15d
jmp 0x1800ee415
mov rcx, rax
call fcn.180006550
mov ecx, eax
mov rax, qword [rsi]
mov dword [rsi + 0x38], ecx
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1800ee427
call qword [0x18015a110]
mov edi, r15d
cmp dword [r13 + 0x1e8], r15d
jle 0x1800ee46b
mov rsi, qword [rbp - 0x49]
nop word [rax + rax]
lea r9, [rbp + 0x77]
mov r8d, edi
mov edx, r14d
mov rcx, r13
call fcn.1800ede80
xor rsi, rax
inc edi
cmp edi, dword [r13 + 0x1e8]
jl 0x1800ee440
mov ebx, dword [rbp + 0x77]
mov qword [rbp - 0x49], rsi
mov rsi, qword [rbp + 0x7f]
lea rdi, [0x180135c18]
test ebx, ebx
je 0x1800ee363
test rsi, rsi
jne 0x1800ee487
mov esi, r15d
jmp 0x1800ee509
mov rdi, qword [rsi]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1800ee499
call qword [0x18015a100]
cmp qword [rsi + 0xb8], r12
jle 0x1800ee4ad
mov rdx, rsi
mov rcx, rdi
call fcn.18003a060
mov rcx, rsi
call fcn.180037790
mov dword [rsi + 0x24], 0x2df20da3
mov dword [rsi + 0x34], 0xffffffff
mov qword [rsi + 0x38], r15
mov word [rsi + 0xc2], 0xff02
mov dword [rsi + 0x30], 1
mov dword [rsi + 0x40], r15d
mov qword [rsi + 0x50], r15
cmp byte [rdi + 0x61], r12b
jne 0x1800ee4ee
test eax, eax
jne 0x1800ee4ee
mov esi, r15d
jmp 0x1800ee4fa
mov edx, eax
mov rcx, rdi
call fcn.180006550
mov esi, eax
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1800ee509
call qword [0x18015a110]
test ebx, ebx
jne 0x1800eec50
mov ebx, esi
test esi, esi
jne 0x1800eec50
mov r14, qword [rbp + 0x67]
mov qword [rbp - 0x11], r15
mov rax, qword [r14 + 0x48]
mov rdx, qword [r14 + 0x1b8]
mov rcx, qword [rax]
mov qword [rbp - 1], rcx
lea rcx, str.SELECT__s
call sym.QoOBJSl.dll_hqlite3_mprintf
mov rdi, rax
test rax, rax
jne 0x1800ee551
lea ebx, [rsi + 7]
jmp 0x1800eec50
mov rcx, qword [r14 + 0x18]
lea rax, [rbp - 0x11]
mov qword [rsp + 0x30], r15
mov r9d, 0x80
mov qword [rsp + 0x28], rax
mov r8d, 0xffffffff
mov rdx, rdi
mov qword [rsp + 0x20], r15
call fcn.1800894d0
cmp dword [0x18015a080], r12d
mov ebx, eax
je 0x1800ee5d0
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x1800ee599
call qword [0x18015a100]
mov rcx, rdi
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
movsxd rcx, eax
sub qword [0x18015d0a0], rcx
mov rcx, rdi
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x1800ee5d9
call qword [0x18015a110]
jmp 0x1800ee5d9
mov rcx, rdi
call qword [0x18015a0a8]
mov r13, qword [rbp - 0x11]
test ebx, ebx
jne 0x1800eeaa2
mov edi, 0x202
nop word [rax + rax]
mov rcx, r13
call sym.QoOBJSl.dll_hqlite3_step
cmp eax, 0x64
jne 0x1800eeaa2
test r13, r13
je 0x1800ee64d
mov rax, qword [r13]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1800ee619
call qword [0x18015a100]
mov rcx, qword [r13 + 0xa0]
test rcx, rcx
je 0x1800ee638
cmp r15w, word [r13 + 0xc0]
jae 0x1800ee638
lea rsi, [0x180135c18]
jmp 0x1800ee657
mov rcx, qword [r13]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call fcn.180009f80
lea rsi, [0x180135c18]
mov rcx, rsi
movzx eax, word [rcx + 8]
test al, 0x24
je 0x1800ee668
mov rax, qword [rcx]
mov qword [rbp - 0x29], rax
jmp 0x1800ee694
test al, 8
je 0x1800ee67b
movsd xmm0, qword [rcx]
call fcn.180030cd0
mov qword [rbp - 0x29], rax
jmp 0x1800ee694
test al, 0x12
je 0x1800ee690
cmp qword [rcx + 0x10], r15
je 0x1800ee690
call fcn.180030d10
mov qword [rbp - 0x29], rax
jmp 0x1800ee694
mov qword [rbp - 0x29], r15
test r13, r13
je 0x1800ee6d1
mov rax, qword [r13]
mov edx, dword [r13 + 0x38]
cmp byte [rax + 0x61], r15b
jne 0x1800ee6b0
test edx, edx
jne 0x1800ee6b0
mov ecx, r15d
jmp 0x1800ee6be
mov rcx, rax
call fcn.180006550
mov ecx, eax
mov rax, qword [r13]
mov dword [r13 + 0x38], ecx
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1800ee6d1
call qword [0x18015a110]
mov dword [rbp - 0x39], r15d
cmp qword [r14 + 0x58], r15
je 0x1800ee7bc
mov edi, dword [r14 + 0x30]
inc edi
test r13, r13
je 0x1800ee73a
mov rax, qword [r13]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1800ee6fd
call qword [0x18015a100]
mov rdx, qword [r13 + 0xa0]
test rdx, rdx
je 0x1800ee725
movzx eax, word [r13 + 0xc0]
cmp edi, eax
jge 0x1800ee725
test edi, edi
js 0x1800ee725
movsxd rax, edi
imul rcx, rax, 0x38
add rcx, rdx
jmp 0x1800ee73d
mov rcx, qword [r13]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call fcn.180009f80
mov rcx, rsi
movzx eax, word [rcx + 8]
test al, 0x24
je 0x1800ee74e
mov rax, qword [rcx]
mov qword [rbp - 0x39], rax
jmp 0x1800ee77a
test al, 8
je 0x1800ee761
movsd xmm0, qword [rcx]
call fcn.180030cd0
mov qword [rbp - 0x39], rax
jmp 0x1800ee77a
test al, 0x12
je 0x1800ee776
cmp qword [rcx + 0x10], r15
je 0x1800ee776
call fcn.180030d10
mov qword [rbp - 0x39], rax
jmp 0x1800ee77a
mov qword [rbp - 0x39], r15
test r13, r13
je 0x1800ee7b7
mov rax, qword [r13]
mov edx, dword [r13 + 0x38]
cmp byte [rax + 0x61], r15b
jne 0x1800ee796
test edx, edx
jne 0x1800ee796
mov ecx, r15d
jmp 0x1800ee7a4
mov rcx, rax
call fcn.180006550
mov ecx, eax
mov rax, qword [r13]
mov dword [r13 + 0x38], ecx
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1800ee7b7
call qword [0x18015a110]
mov edi, 0x202
mov rcx, r15
mov r8d, 1
mov qword [rbp + 7], rcx
mov dword [rbp + 0x7f], r8d
nop dword [rax]
lea eax, [r8 - 1]
mov dword [rbp - 0x19], eax
cmp eax, dword [r14 + 0x30]
jge 0x1800ee5f0
mov rax, qword [r14 + 0x40]
cmp byte [rcx + rax], r15b
jne 0x1800ee925
test r13, r13
je 0x1800ee84f
mov rax, qword [r13]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1800ee80b
call qword [0x18015a100]
mov r8d, dword [rbp + 0x7f]
mov rdx, qword [r13 + 0xa0]
test rdx, rdx
je 0x1800ee83a
movzx eax, word [r13 + 0xc0]
cmp r8d, eax
jge 0x1800ee83a
test r8d, r8d
js 0x1800ee83a
movsxd rax, r8d
imul rcx, rax, 0x38
add rcx, rdx
jne 0x1800ee852
mov rbx, r15
jmp 0x1800ee881
mov rcx, qword [r13]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call fcn.180009f80
mov rcx, rsi
movzx edx, word [rcx + 8]
movzx eax, dx
and ax, di
cmp ax, di
jne 0x1800ee86d
cmp byte [rcx + 0xa], 1
jne 0x1800ee86d
mov rbx, qword [rcx + 0x10]
jmp 0x1800ee881
test dl, 1
je 0x1800ee877
mov rbx, r15
jmp 0x1800ee881
mov dl, 1
call fcn.180031ae0
mov rbx, rax
test r13, r13
je 0x1800ee8be
mov rax, qword [r13]
mov edx, dword [r13 + 0x38]
cmp byte [rax + 0x61], r15b
jne 0x1800ee89d
test edx, edx
jne 0x1800ee89d
mov ecx, r15d
jmp 0x1800ee8ab
mov rcx, rax
call fcn.180006550
mov ecx, eax
mov rax, qword [r13]
mov dword [r13 + 0x38], ecx
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1800ee8be
call qword [0x18015a110]
mov rsi, qword [r14 + 0x48]
lea r9, [rbp - 0x41]
mov r8d, 0xffffffff
mov qword [rbp - 0x41], r15
mov rdx, rbx
mov rcx, rsi
mov rdi, qword [rsi]
call qword [rdi + 0x18]
test eax, eax
jne 0x1800ee94c
mov rcx, qword [rbp - 0x41]
mov qword [rcx], rsi
cmp dword [rdi], 1
jl 0x1800ee94c
mov edx, dword [rbp - 0x39]
mov rcx, qword [rbp - 0x41]
call qword [rdi + 0x30]
mov ebx, eax
test eax, eax
je 0x1800ee94c
mov rcx, qword [rbp - 0x41]
call qword [rdi + 0x20]
mov rcx, r15
mov qword [rbp - 0x41], r15
mov rsi, qword [rbp - 1]
test rcx, rcx
je 0x1800ee916
call qword [rsi + 0x20]
mov r8d, dword [rbp + 0x7f]
cmp ebx, 0x65
mov rcx, qword [rbp + 7]
cmove ebx, r15d
inc r8d
inc rcx
mov dword [rbp + 0x7f], r8d
mov qword [rbp + 7], rcx
test ebx, ebx
jne 0x1800eeaa2
lea rsi, [0x180135c18]
mov edi, 0x202
jmp 0x1800ee7d0
mov rcx, qword [rbp - 0x41]
mov ebx, eax
mov qword [rbp - 9], rcx
test eax, eax
jne 0x1800ee90a
nop word [rax + rax]
mov rsi, qword [rbp - 1]
lea rax, [rbp + 0x77]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x1d]
lea rax, [rbp - 0x21]
mov dword [rbp - 0x31], r15d
lea r8, [rbp - 0x31]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0xf]
mov dword [rbp - 0x1d], r15d
mov dword [rbp - 0x21], r15d
mov dword [rbp + 0x77], r15d
call qword [rsi + 0x28]
mov ebx, eax
test eax, eax
jne 0x1800eea91
mov rax, qword [rbp - 0x29]
movsxd r13, dword [rbp - 0x19]
movsxd rdx, dword [rbp + 0x77]
mov esi, dword [rbp - 0x31]
mov r11, qword [rbp + 0xf]
lea r14, [rax + rax*8]
movsxd rax, dword [rbp - 0x39]
add r14, rax
imul rcx, r14, 0x51
add rcx, r13
lea rax, [rdx + rcx*8]
add rcx, rax
test esi, esi
jle 0x1800ee9f9
mov rdx, r11
mov r8d, esi
nop word [rax + rax]
movsx rax, byte [rdx]
lea rcx, [rcx + rcx*8]
add rcx, rax
lea rdx, [rdx + 1]
sub r8, 1
jne 0x1800ee9e0
movsxd rdx, dword [rbp + 0x77]
mov r8, qword [rbp + 0x67]
xor r12, rcx
mov rcx, qword [rbp - 9]
mov eax, dword [r8 + 0x1e8]
cmp eax, 1
jle 0x1800ee960
mov r10, qword [r8 + 0x1f0]
lea edi, [rax - 1]
add r10, 0x28
mov ebx, 1
movsxd rcx, dword [r10]
cmp ecx, esi
jg 0x1800eea77
lea r8, [rbx + r14*8]
mov r9, rcx
add r8, r14
lea rax, [r8*8]
add rax, r13
add r8, rax
lea rax, [rdx + r8*8]
mov rdx, r15
add r8, rax
test ecx, ecx
jle 0x1800eea74
nop dword [rax]
nop dword [rax + rax]
movsx rcx, byte [rdx + r11]
lea r8, [r8 + r8*8]
add r8, rcx
inc rdx
cmp rdx, r9
jl 0x1800eea60
xor r12, r8
movsxd rdx, dword [rbp + 0x77]
inc rbx
add r10, 0x28
sub rdi, 1
jne 0x1800eea27
mov rcx, qword [rbp - 9]
jmp 0x1800ee960
mov r13, qword [rbp - 0x11]
mov rcx, qword [rbp - 9]
mov r14, qword [rbp + 0x67]
jmp 0x1800ee90e
test r13, r13
je 0x1800eec50
mov rsi, qword [r13]
test rsi, rsi
jne 0x1800eeaf0
lea rdx, str.API_called_with_finalized_prepared_statement
lea ecx, [rsi + 0x15]
call sym.QoOBJSl.dll_hqlite3_log
lea rax, [0x180140714]
mov r9d, 0x14591
lea r8, str.misuse
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
lea ecx, [rsi + 0x15]
call sym.QoOBJSl.dll_hqlite3_log
jmp 0x1800eec50
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x1800eeaff
call qword [0x18015a100]
cmp qword [r13 + 0xb8], r15
jle 0x1800eeb13
mov rdx, r13
mov rcx, rsi
call fcn.18003a060
mov eax, dword [r13 + 0x24]
mov r14d, r15d
cmp eax, 0x2df20da3
je 0x1800eeb28
cmp eax, 0x319c2973
jne 0x1800eeb33
mov rcx, r13
call fcn.180037790
mov r14d, eax
mov rdi, qword [r13]
mov rdx, r13
mov rcx, rdi
call fcn.1800379f0
mov rcx, qword [r13 + 8]
mov rax, qword [r13 + 0x10]
test rcx, rcx
je 0x1800eeb55
mov qword [rcx + 0x10], rax
jmp 0x1800eeb59
mov qword [rdi + 8], rax
mov rcx, qword [r13 + 0x10]
test rcx, rcx
je 0x1800eeb6a
mov rax, qword [r13 + 8]
mov qword [rcx + 8], rax
mov dword [r13 + 0x24], 0x5606c3c8
mov qword [r13], r15
test rdi, rdi
je 0x1800eebd7
cmp qword [rdi + 0x2d8], r15
je 0x1800eeb94
mov rdx, r13
mov rcx, rdi
call fcn.180005b30
jmp 0x1800eec32
cmp r13, qword [rdi + 0x1c8]
jae 0x1800eebd7
cmp r13, qword [rdi + 0x1b8]
jb 0x1800eebba
mov rax, qword [rdi + 0x1b0]
mov qword [r13], rax
mov qword [rdi + 0x1b0], r13
jmp 0x1800eec32
cmp r13, qword [rdi + 0x1c0]
jb 0x1800eebd7
mov rax, qword [rdi + 0x1a0]
mov qword [r13], rax
mov qword [rdi + 0x1a0], r13
jmp 0x1800eec32
cmp dword [0x18015a080], r15d
je 0x1800eec29
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x1800eebf2
call qword [0x18015a100]
mov rcx, r13
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
movsxd rcx, eax
sub qword [0x18015d0a0], rcx
mov rcx, r13
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x1800eec32
call qword [0x18015a110]
jmp 0x1800eec32
mov rcx, r13
call qword [0x18015a0a8]
cmp byte [rsi + 0x61], r15b
jne 0x1800eec3d
test r14d, r14d
je 0x1800eec48
mov edx, r14d
mov rcx, rsi
call fcn.180006550
mov rcx, rsi
call fcn.1800c55b0
mov rdi, qword [rbp - 0x49]
mov rsi, qword [rsp + 0xb0]
mov r13, qword [rsp + 0xa8]
mov rax, qword [rbp + 0x6f]
cmp rdi, r12
sete r15b
mov dword [rax], r15d
mov eax, ebx
add rsp, 0xb8
pop r15
pop r14
pop r12
pop rdi
pop rbx
pop rbp
ret