Function at 0x14002afd0
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14029fbf8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, r8
mov rbx, rdx
xor eax, eax
mov qword [rbp - 9], rax
mov qword [rbp + 0x1f], rax
lea r12, vtable.SqliteStatement.0
mov qword [rbp - 0x11], r12
xor edi, edi
mov dword [rbp - 9], edi
mov qword [rbp - 1], rcx
lea rdx, str.SELECT_PARAM_VALUE_FROM_GLOBAL_PARAMS_WHERE_PARAM_NAMELOWER__Name_
mov qword [rbp + 7], rdx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
mov byte [rbp + 0x1f], al
lea r8d, [rax + 6]
lea rcx, [0x1402441c0]
call fcn.1401a7c50
movzx ecx, byte [rbp + 0x1f]
mov r15d, 1
test eax, eax
cmove ecx, r15d
mov byte [rbp + 0x1f], cl
lea rax, vtable.DatabaseCreationStatement.0
mov qword [rbp - 0x11], rax
mov r8, rbx
mov edx, r15d
lea rcx, [rbp - 0x11]
call fcn.140029a00
mov ebx, eax
lea r14, str.P_a_
test eax, eax
jne 0x14002b0ee
mov eax, dword [rbp - 9]
test eax, eax
je 0x14002b0d4
add eax, 0xfffffffd
cmp eax, r15d
ja 0x14002b0e3
mov rcx, qword [str.P_a_]
cmp rcx, r14
je 0x14002b0c5
test dword [rcx + 0x44], 0x100
je 0x14002b0c5
cmp byte [rcx + 0x41], 3
jb 0x14002b0c5
lea edx, [rdi + 0x10]
lea r8, [0x1402441b0]
mov rcx, qword [rcx + 0x38]
call fcn.140022ad0
mov rcx, qword [rbp + 0xf]
call fcn.1400d8160
mov dword [rbp - 9], r15d
jmp 0x14002b0e3
lea rcx, [rbp - 0x11]
call fcn.140029520
mov ebx, eax
test eax, eax
jne 0x14002b0ee
lea rcx, [rbp - 0x11]
call fcn.140029d70
mov ebx, eax
lea eax, [rbx - 0x64]
cmp eax, 1
jbe 0x14002b1c0
test ebx, ebx
je 0x14002b1c0
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], 0
mov r8d, 0x12
lea rdx, str.DatabaseSchema.cpp
lea rcx, [rbp - 0x39]
call fcn.140006db0
mov rcx, qword [str.P_a_]
cmp rcx, r14
je 0x14002b166
test dword [rcx + 0x44], 0x100
je 0x14002b166
cmp byte [rcx + 0x41], 1
jb 0x14002b166
lea r9, [rbp - 0x39]
cmp qword [rbp - 0x21], 0x10
cmovae r9, qword [rbp - 0x39]
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 0xbc
mov rcx, qword [rcx + 0x38]
call fcn.14002a430
mov rax, qword [rbp - 0x21]
cmp rax, 0x10
jb 0x14002b298
inc rax
mov rcx, qword [rbp - 0x39]
cmp rax, 0x1000
jb 0x14002b293
test cl, 0x1f
je 0x14002b192
call fcn.1401a7998
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14002b1a1
call fcn.1401a7998
int3
sub rcx, rax
cmp rcx, 8
jae 0x14002b1b0
call fcn.1401a7998
int3
cmp rcx, 0x27
jbe 0x14002b290
call fcn.1401a7998
int3
cmp dword [rbp - 9], 2
jne 0x14002b1d9
xor edx, edx
mov rcx, qword [rbp + 0xf]
call fcn.1400d7c10
mov qword [rsi], rax
jmp 0x14002b29a
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], 0
mov r8d, 0x12
lea rdx, str.DatabaseSchema.cpp
lea rcx, [rbp - 0x39]
call fcn.140006db0
mov ebx, 0x15
mov rcx, qword [str.P_a_]
cmp rcx, r14
je 0x14002b242
test dword [rcx + 0x44], 0x100
je 0x14002b242
cmp byte [rcx + 0x41], 1
jb 0x14002b242
lea r9, [rbp - 0x39]
cmp qword [rbp - 0x21], 0x10
cmovae r9, qword [rbp - 0x39]
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 0xbe
mov rcx, qword [rcx + 0x38]
call fcn.14002a430
mov rax, qword [rbp - 0x21]
cmp rax, 0x10
jb 0x14002b298
inc rax
mov rcx, qword [rbp - 0x39]
cmp rax, 0x1000
jb 0x14002b293
test cl, 0x1f
je 0x14002b266
call fcn.1401a7998
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14002b275
call fcn.1401a7998
int3
sub rcx, rax
cmp rcx, 8
jae 0x14002b284
call fcn.1401a7998
int3
cmp rcx, 0x27
jbe 0x14002b290
call fcn.1401a7998
int3
mov rcx, rax
call fcn.1401998b8
mov edi, ebx
mov qword [rbp - 0x11], r12
mov rcx, qword [rbp + 0xf]
call fcn.1400d8050
mov eax, edi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140199a10
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret