Function at 0x1401dbfc0
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
mov r13, rcx
mov rbx, r8
test rcx, rcx
je 0x1401dc438
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x1401dc2b8
movzx eax, word [rcx + 0x14]
mov edx, eax
and dx, 0x202
cmp dx, 0x202
je 0x1401dc2f8
test al, 1
jne 0x1401dc2b8
mov edx, 1
call sym.valueToText
mov r12, rax
test r12, r12
je 0x1401dc2b8
mov rcx, qword [rbx]
movzx eax, word [rcx + 0x14]
test al, 2
je 0x1401dc040
cmp byte [rcx + 0x16], 1
je 0x1401dc360
test al, 0x10
je 0x1401dc2d0
mov esi, dword [rcx + 0x10]
mov dword [rsp + 0x48], esi
test ah, 4
jne 0x1401dc350
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1401dc2b8
movzx eax, word [rcx + 0x14]
mov edx, eax
and dx, 0x202
cmp dx, 0x202
je 0x1401dc310
test al, 1
jne 0x1401dc2b8
mov edx, 1
call sym.valueToText
mov r15, rax
test r15, r15
je 0x1401dc2b8
cmp byte [r15], 0
je 0x1401dc380
mov rcx, qword [rbx + 8]
movzx eax, word [rcx + 0x14]
test al, 2
je 0x1401dc0b9
cmp byte [rcx + 0x16], 1
je 0x1401dc446
test al, 0x10
jne 0x1401dc328
mov dword [rsp + 0x3c], 0
test al, 1
jne 0x1401dc0db
mov edx, 1
call sym.valueBytes
mov dword [rsp + 0x3c], eax
mov rcx, qword [rbx + 0x10]
call sym.sqlite3ValueText.constprop.0
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1401dc2b8
mov rcx, qword [rbx + 0x10]
movzx eax, word [rcx + 0x14]
test al, 2
je 0x1401dc108
cmp byte [rcx + 0x16], 1
je 0x1401dc452
test al, 0x10
je 0x1401dc410
mov esi, dword [rcx + 0x10]
mov dword [rsp + 0x38], esi
test ah, 4
je 0x1401dc126
mov eax, esi
mov esi, dword [rcx]
add eax, esi
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x48]
add eax, 1
movsxd rsi, eax
mov qword [rsp + 0x40], rsi
test r13, r13
je 0x1401dc45e
mov rcx, qword [r13]
mov rax, qword [rcx + 0x18]
movsxd rax, dword [rax + 0x88]
cmp rsi, rax
jg 0x1401dc3d8
mov rcx, rsi
call sym.sqlite3Malloc
mov rbp, rax
test rax, rax
je 0x1401dc4d3
mov esi, dword [rsp + 0x48]
mov edx, dword [rsp + 0x3c]
sub esi, edx
js 0x1401dc4b5
mov eax, dword [rsp + 0x38]
movsxd rcx, edx
mov qword [rsp + 0x68], r13
mov r14, r12
mov dword [rsp + 0x4c], 0
mov r12, rbp
xor edi, edi
xor ebx, ebx
sub eax, edx
mov r13, r15
mov rbp, rcx
cdqe
mov qword [rsp + 0x60], rax
jmp 0x1401dc1c5
movsxd rax, edi
add ebx, 1
add edi, 1
mov byte [r12 + rax], r15b
cmp esi, ebx
jl 0x1401dc260
movsxd rcx, ebx
add rcx, r14
movzx r15d, byte [rcx]
cmp r15b, byte [r13]
jne 0x1401dc1b0
mov r8, rbp
mov rdx, r13
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1401dc1b0
mov edx, dword [rsp + 0x38]
cmp dword [rsp + 0x3c], edx
jge 0x1401dc370
mov rdx, qword [rsp + 0x60]
add qword [rsp + 0x40], rdx
mov rax, qword [rsp + 0x40]
lea rdx, [rax - 1]
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax + 0x88]
cmp rdx, rax
jg 0x1401dc467
mov eax, dword [rsp + 0x4c]
lea r15d, [rax + 1]
test eax, r15d
je 0x1401dc3a0
movsxd rcx, edi
movsxd r8, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x58]
add rcx, r12
call sym.memcpy
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x4c], r15d
add edi, dword [rsp + 0x38]
lea ebx, [rbx + rax - 1]
add ebx, 1
cmp esi, ebx
jge 0x1401dc1c5
nop dword [rax]
movsxd rax, ebx
mov rbp, r12
mov r12, r14
sub dword [rsp + 0x48], ebx
add r12, rax
mov eax, dword [rsp + 0x48]
movsxd rcx, edi
mov r13, qword [rsp + 0x68]
add rcx, rbp
lea ebx, [rdi + rax]
movsxd r8, dword [rsp + 0x48]
mov rdx, r12
call sym.memcpy
movsxd rax, ebx
mov r8d, ebx
mov rdx, rbp
mov byte [rbp + rax], 0
lea rax, [sym.sqlite3_free]
mov r9d, 1
mov rcx, r13
mov qword [rsp + 0x20], rax
call sym.setResultStrOrError
nop
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov dword [rsp + 0x48], 0
test al, 1
jne 0x1401dc058
mov edx, 1
call sym.valueBytes
mov dword [rsp + 0x48], eax
jmp 0x1401dc058
cmp byte [rcx + 0x16], 1
jne 0x1401dc00d
mov r12, qword [rcx + 8]
jmp 0x1401dc022
cmp byte [rcx + 0x16], 1
jne 0x1401dc07b
mov r15, qword [rcx + 8]
jmp 0x1401dc090
mov esi, dword [rcx + 0x10]
mov dword [rsp + 0x3c], esi
test ah, 4
je 0x1401dc0db
mov eax, esi
mov esi, dword [rcx]
add eax, esi
mov dword [rsp + 0x3c], eax
jmp 0x1401dc0db
mov eax, esi
mov esi, dword [rcx]
add eax, esi
mov dword [rsp + 0x48], eax
jmp 0x1401dc058
mov eax, dword [rcx + 0x10]
mov dword [rsp + 0x48], eax
jmp 0x1401dc058
mov r15d, dword [rsp + 0x4c]
jmp 0x1401dc22b
mov rdx, qword [rbx]
mov rcx, r13
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.sqlite3_result_value
mov rcx, qword [rsp + 0x40]
movsxd rax, dword [rsp + 0x48]
mov rdx, rcx
sub rdx, rax
movsxd rax, ecx
mov rcx, r12
lea rdx, [rdx + rax - 1]
call sym.sqlite3Realloc
test rax, rax
je 0x1401dc4c1
mov r12, rax
jmp 0x1401dc22b
mov dword [r13 + 0x24], 0x12
mov r9d, 1
mov r8, 0xffffffffffffffff
lea rdx, [0x140332721]
mov qword [rsp + 0x20], 0
call sym.sqlite3VdbeMemSetStr
jmp 0x1401dc2b8
mov dword [rsp + 0x38], 0
test al, 1
jne 0x1401dc126
mov edx, 1
call sym.valueBytes
mov dword [rsp + 0x38], eax
jmp 0x1401dc126
mov qword [rsp + 0x50], 0
jmp 0x1401dbfeb
mov eax, dword [rcx + 0x10]
mov dword [rsp + 0x3c], eax
jmp 0x1401dc0db
mov eax, dword [rcx + 0x10]
mov dword [rsp + 0x38], eax
jmp 0x1401dc126
mov eax, dword [0x88]
ud2
mov r13, qword [rsp + 0x68]
mov r9d, 1
mov rbp, r12
mov r8, 0xffffffffffffffff
lea rdx, [0x140332721]
mov dword [r13 + 0x24], 0x12
mov qword [rsp + 0x20], 0
mov rcx, qword [r13]
call sym.sqlite3VdbeMemSetStr
mov rcx, rbp
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.sqlite3_free
mov ebx, dword [rsp + 0x48]
mov rcx, rax
jmp 0x1401dc282
mov r13, qword [rsp + 0x68]
mov rbp, r12
mov rcx, r13
call sym.sqlite3_result_error_nomem
jmp 0x1401dc49d
mov rcx, r13
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.sqlite3_result_error_nomem