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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
xor r11d, r11d
mov rax, qword [rdx + 0x148]
mov ebp, dword [rdx + 0x34]
mov ebx, dword [rdx + 0x38]
mov rdi, qword [rcx]
mov qword [rcx + 0xb0], rax
mov eax, dword [rdx + 0x88]
mov r14, rcx
mov rsi, rdx
mov r15d, dword [rdx + 0x130]
mov qword [rdx + 0x148], r11
add ebx, ebp
test ebp, ebp
mov dword [rsp + 0x54], eax
jne 0x1401ef318
test ebx, ebx
setg al
cmp al, 1
sbb ebx, 0xffffffff
imul edx, dword [r14 + 0x90], 0x18
mov rcx, r14
movsxd rax, edx
add rax, qword [r14 + 0x88]
mov qword [rsp + 0x58], rax
mov eax, dword [rsi + 0x3c]
sub eax, edx
lea rdx, [rsp + 0x54]
and eax, 0xfffffff8
cdqe
mov qword [rsp + 0x60], rax
call sym.resolveP2Values
xor eax, eax
cmp byte [rsi + 0x20], 0
je 0x1401ef35c
xor eax, eax
cmp byte [rsi + 0x21], 0
setne al
mov edx, eax
mov al, byte [r14 + 0xc8]
shl edx, 5
and eax, 0xffffffdf
or eax, edx
mov byte [r14 + 0xc8], al
mov dl, byte [rsi + 0x133]
test dl, dl
je 0x1401ef40d
mov ecx, 0xa
cmp ebx, ecx
cmovl ebx, ecx
mov ecx, edx
and eax, 0xfffffff3
and ecx, 3
shl ecx, 2
or eax, ecx
cmp dl, 2
mov byte [r14 + 0xc8], al
jne 0x1401ef3bf
mov edx, 4
mov rcx, r14
mov r12d, 0xc
call sym.sqlite3VdbeSetNumCols
mov eax, 8
jmp 0x1401ef3d4
mov edx, 8
mov rcx, r14
mov r12d, 8
call sym.sqlite3VdbeSetNumCols
xor eax, eax
movsxd rcx, eax
sub r12d, eax
xor esi, esi
lea rdx, str.addr
lea r13, [rdx + rcx*8]
cmp r12d, esi
je 0x1401ef40d
xor r10d, r10d
mov edx, esi
xor r8d, r8d
mov qword [rsp + 0x20], r10
mov r9, qword [r13]
mov rcx, r14
inc esi
add r13, 8
call sym.sqlite3VdbeSetColName.isra.0
jmp 0x1401ef3e7
movsxd rax, ebx
movsx r13, r15w
xor r9d, r9d
imul rax, rax, 0x38
mov qword [rsp + 0x68], r9
and byte [r14 + 0xc8], 0xfc
imul r13, r13, 0x38
lea rsi, [rsp + 0x58]
mov rcx, rsi
mov rdx, rax
mov qword [rsp + 0x40], rax
call sym.allocSpace.part.0
mov rdx, r13
mov qword [r14 + 0x68], rax
call sym.allocSpace.part.0
movsxd r12, dword [rsp + 0x54]
mov qword [r14 + 0x80], rax
lea rax, [r12*8]
mov rdx, rax
mov qword [rsp + 0x48], rax
call sym.allocSpace.part.0
mov qword [r14 + 0x70], rax
movsxd rax, ebp
shl rax, 3
mov rdx, rax
mov qword [rsp + 0x38], rax
call sym.allocSpace.part.0
mov r12, qword [rsp + 0x68]
mov qword [r14 + 0x78], rax
test r12, r12
je 0x1401ef53b
mov rdx, r12
mov rcx, rdi
call sym.sqlite3DbMallocRawNN
mov qword [rsp + 0x60], r12
mov qword [r14 + 0x100], rax
cmp byte [rdi + 0x67], 0
mov qword [rsp + 0x58], rax
je 0x1401ef4cd
xor r8d, r8d
mov word [r14 + 0x20], 0
mov qword [r14 + 0x24], r8
jmp 0x1401ef5a4
mov rax, qword [r14 + 0x68]
test rax, rax
jne 0x1401ef4e3
mov rdx, qword [rsp + 0x40]
mov rcx, rsi
call sym.allocSpace.part.0
mov qword [r14 + 0x68], rax
mov rax, qword [r14 + 0x80]
test rax, rax
jne 0x1401ef4fe
mov rdx, r13
mov rcx, rsi
call sym.allocSpace.part.0
mov qword [r14 + 0x80], rax
mov rax, qword [r14 + 0x70]
test rax, rax
jne 0x1401ef51b
mov rdx, qword [rsp + 0x48]
mov rcx, rsi
call sym.allocSpace.part.0
mov qword [r14 + 0x70], rax
mov rax, qword [r14 + 0x78]
test rax, rax
jne 0x1401ef535
mov rdx, qword [rsp + 0x38]
mov rcx, rsi
call sym.allocSpace.part.0
mov qword [r14 + 0x78], rax
jmp 0x1401ef545
cmp byte [rdi + 0x67], 0
jne 0x1401ef4ba
movsx edx, r15w
mov dword [r14 + 0x28], ebp
test edx, edx
mov word [r14 + 0x20], r15w
jle 0x1401ef574
mov rax, qword [r14 + 0x80]
xor ecx, ecx
mov word [rax + 0x14], 1
add rax, 0x38
mov qword [rax - 0x20], rdi
mov dword [rax - 0x18], ecx
dec edx
jne 0x1401ef55d
test ebx, ebx
mov dword [r14 + 0x24], ebx
jle 0x1401ef597
mov rax, qword [r14 + 0x68]
xor edx, edx
mov word [rax + 0x14], 0
add rax, 0x38
mov qword [rax - 0x20], rdi
mov dword [rax - 0x18], edx
dec ebx
jne 0x1401ef580
mov rdi, qword [r14 + 0x78]
xor eax, eax
mov rcx, qword [rsp + 0x38]
rep stosb byte [rdi], al
movabs rax, 0xffffffff00000001
mov byte [r14 + 0xc5], 1
mov qword [r14 + 0x2c], rax
xor eax, eax
mov word [r14 + 0xc2], 0xff02
mov qword [r14 + 0x34], rax
mov qword [r14 + 0x3c], rax
mov qword [r14 + 0x50], rax
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret