Function at 0x140102f80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rdi, qword [rcx]
mov r12d, r9d
mov rsi, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
je 0x140102ff1
cmp dword [r8 + 8], 0
jbe 0x140102ff1
cmp byte [rdi + 0xa1], 0
je 0x140102fcb
lea rdx, str.corrupt_database
call fcn.1400d9350
jmp 0x14010315d
mov rcx, rdi
mov r15, rsi
call fcn.1400de700
test eax, eax
jns 0x140102ffb
mov r8, r14
lea rdx, str.unknown_database__T
mov rcx, rbx
call fcn.1400d9350
jmp 0x14010315d
movzx eax, byte [rdi + 0xa0]
mov r15, r14
mov ebp, eax
mov r14d, 1
test r12d, r12d
je 0x14010302a
cmp dword [rsi + 8], 0
jbe 0x140103027
cmp eax, r14d
je 0x140103027
lea rdx, str.temporary_table_name_must_be_unqualified
mov rcx, rbx
call fcn.1400d9350
jmp 0x14010315d
mov ebp, r14d
movups xmm0, xmmword [r15]
mov rdx, r15
mov rcx, rdi
movups xmmword [rbx + 0x238], xmm0
call fcn.1400f1b60
mov rsi, rax
test rax, rax
je 0x14010315d
mov rdx, rax
mov rcx, rbx
call fcn.1400d1f10
test eax, eax
jne 0x140103152
cmp byte [rdi + 0xa0], r14b
lea rcx, str.sqlite_master
mov rax, qword [rdi + 0x20]
lea r8, str.sqlite_temp_master
cmovne r14d, r12d
mov r12d, ebp
shl r12, 5
cmp r14d, 1
cmovne r8, rcx
xor r9d, r9d
mov rax, qword [r12 + rax]
mov rcx, rbx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x20], rax
lea edx, [r9 + 0x12]
call fcn.1400cc6a0
test eax, eax
jne 0x140103152
cmp dword [rsp + 0x80], 0
mov eax, 4
je 0x1401030d1
test r14d, r14d
mov edx, 6
mov eax, 8
cmove edx, eax
jmp 0x1401030dc
test r14d, r14d
mov edx, 2
cmovne edx, eax
cmp dword [rsp + 0x88], 0
jne 0x140103102
mov rax, qword [rsp + 0x60]
xor r9d, r9d
mov r8, rsi
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.1400cc6a0
test eax, eax
jne 0x140103152
cmp byte [rbx + 0x1f3], 0
jne 0x14010319f
mov rax, qword [rdi + 0x20]
mov rcx, rbx
mov r14, qword [r12 + rax]
call fcn.1400fb1e0
test eax, eax
jne 0x140103152
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call fcn.1400df360
test rax, rax
je 0x14010317d
cmp dword [rsp + 0x90], 0
mov rcx, rbx
jne 0x140103174
mov r8, r15
lea rdx, str.table__T_already_exists
call fcn.1400d9350
mov rdx, rsi
mov rcx, rdi
call fcn.1400d6010
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov edx, ebp
call fcn.1400d35f0
jmp 0x140103152
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call fcn.1400df190
test rax, rax
je 0x14010319f
mov r8, rsi
lea rdx, str.there_is_already_an_index_named__s
mov rcx, rbx
jmp 0x14010314d
mov edx, 0x78
mov rcx, rdi
call fcn.1400d6170
mov r14, rax
test rax, rax
jne 0x1401031c4
mov byte [rdi + 0x51], 1
inc dword [rbx + 0x4c]
mov dword [rbx + 0x18], 7
jmp 0x140103152
mov qword [rax], rsi
mov eax, 0xffffffff
mov word [r14 + 0x3c], ax
mov rax, qword [rdi + 0x20]
mov rcx, qword [rax + r12 + 0x18]
mov qword [r14 + 0x68], rcx
mov dword [r14 + 0x40], 0xc80001
cmp byte [rbx + 0x1e], 0
mov qword [rbx + 0x220], r14
jne 0x14010320e
lea rdx, str.sqlite_sequence
mov rcx, rsi
call fcn.1402212f0
test eax, eax
jne 0x14010320e
mov rax, qword [r14 + 0x68]
mov qword [rax + 0x68], r14
cmp byte [rdi + 0xa1], 0
jne 0x14010315d
mov rcx, rbx
call fcn.1400ec180
mov rsi, rax
test rax, rax
je 0x14010315d
mov r8d, ebp
xor edx, edx
mov rcx, rbx
call fcn.1400cd950
cmp dword [rsp + 0x88], 0
je 0x140103261
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov edx, 0x92
mov rcx, rsi
call fcn.1401089e0
mov r12d, dword [rbx + 0x54]
mov r8d, ebp
inc r12d
mov dword [rsp + 0x20], 2
mov edx, 0x33
mov dword [rbx + 0x1a0], r12d
mov rcx, rsi
lea r14d, [r12 + 1]
lea r15d, [r14 + 1]
mov dword [rbx + 0x1a4], r14d
mov r9d, r15d
mov dword [rbx + 0x54], r15d
call fcn.1401089e0
mov edx, ebp
mov rcx, rsi
call fcn.1401153f0
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov r8d, r15d
lea edx, [r9 + 0x2d]
call fcn.1401089e0
test dword [rdi + 0x2c], 0x8000
mov ecx, 1
mov r8d, 4
mov dword [rsp + 0x60], eax
cmovne r8d, ecx
mov dword [rsp + 0x20], 0
mov r9d, r15d
lea edx, [rcx + 0x18]
mov rcx, rsi
call fcn.1401089e0
mov r9d, 2
mov dword [rsp + 0x20], r15d
mov r8d, ebp
mov rcx, rsi
lea edx, [r9 + 0x32]
call fcn.1401089e0
movzx r8d, byte [rdi + 0x4e]
mov r9d, r15d
xor edi, edi
mov rcx, rsi
mov dword [rsp + 0x20], edi
lea edx, [rdi + 0x19]
call fcn.1401089e0
lea r9d, [rdi + 5]
mov dword [rsp + 0x20], r15d
mov r8d, ebp
lea edx, [rdi + 0x34]
mov rcx, rsi
call fcn.1401089e0
mov eax, dword [rsp + 0x60]
mov edx, dword [rsi + 0x3c]
cmp edx, eax
jbe 0x140103353
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsi + 0x3c]
lea ecx, [rdx - 1]
mov rax, qword [rsi + 0x30]
mov dword [rax + 0x64], ecx
cmp dword [rsp + 0x80], edi
jne 0x14010338e
cmp dword [rsp + 0x88], edi
jne 0x14010338e
mov r9d, r14d
mov dword [rsp + 0x20], edi
mov r8d, ebp
mov edx, 0x79
mov rcx, rsi
call fcn.1401089e0
mov dword [rbx + 0x1d0], eax
jmp 0x1401033a4
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov r9d, r14d
mov rcx, rsi
lea edx, [r8 + 0x19]
call fcn.1401089e0
mov edx, ebp
mov rcx, rbx
call fcn.1400f1e40
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov r9d, r12d
mov rcx, rsi
lea edx, [r8 + 0x4a]
call fcn.1401089e0
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov r9d, r15d
mov rcx, rsi
lea edx, [r8 + 0x1c]
call fcn.1401089e0
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov r9d, r15d
mov rcx, rsi
lea edx, [r8 + 0x4b]
call fcn.1401089e0
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140103407
movsxd rax, dword [rsi + 0x3c]
lea rdx, [rax + rax*2]
mov byte [rcx + rdx*8 - 0x15], 8
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0x3d]
call fcn.1401089e0
jmp 0x14010315d