Function at 0x140294cc0
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, 0xa8
movzx ebp, byte [rdx]
cmp ebp, 0xb5
mov rdi, rcx
mov r13, rdx
mov qword [rsp + 0x58], 0
mov esi, r8d
mov ebx, r9d
mov r12d, r9d
je 0x140294d00
cmp ebp, 0xae
jne 0x140294d19
nop
mov r13, qword [r13 + 0x10]
movzx ebp, byte [r13]
cmp ebp, 0xae
je 0x140294d00
cmp ebp, 0xb5
je 0x140294d00
cmp ebp, 0xb0
jne 0x140294d26
movzx ebp, byte [r13 + 2]
cmp ebp, 0x24
je 0x140294f92
cmp ebp, 0xad
je 0x140294d78
cmp ebp, 0x9b
jg 0x14029510d
cmp ebp, 0x74
jle 0x14029500c
lea r12, [0x140313768]
mov r14d, 1
lea eax, [rbp - 0x75]
cmp eax, 0x26
ja case.0x140294d73.118
lea rdx, [0x140315044]
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
mov r13, qword [r13 + 0x10]
mov r14, 0xffffffffffffffff
lea r12, [0x140314dee]
movzx ebp, byte [r13]
mov eax, ebp
and eax, 0xfffffffd
cmp al, 0x99
je 0x140294d59
mov rax, qword [rsp + 0x118]
movzx esi, sil
movzx r9d, bl
mov rdx, r13
mov r8d, esi
mov rcx, rdi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
call sym.valueFromExpr
mov rbp, qword [rsp + 0x58]
test eax, eax
mov r12d, eax
jne 0x140294ed0
test rbp, rbp
je 0x140294e18
mov rcx, rbp
call sym.sqlite3VdbeMemNumerify.isra.0
movzx eax, word [rbp + 0x14]
test al, 8
je 0x1402952d9
movsd xmm0, qword [rbp]
xorpd xmm0, xmmword [0x14031f790]
movsd qword [rbp], xmm0
mov rcx, rbp
movsx edx, bl
mov r8d, esi
call sym.applyAffinity
mov rbp, qword [rsp + 0x58]
nop dword [rax + rax]
mov rax, qword [rsp + 0x110]
mov qword [rax], rbp
mov eax, r12d
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rsp + 0x118]
mov rcx, rdi
call sym.valueNew
test rax, rax
mov rcx, rax
mov qword [rsp + 0x58], rax
je 0x140295032
test byte [r13 + 5], 8
je 0x140295013
movsxd rdx, dword [r13 + 8]
imul rdx, r14
test word [rax + 0x14], 0x9000
jne 0x14029529a
mov r8d, 4
mov qword [rax], rdx
mov word [rax + 0x14], r8w
and ebp, 0xfffffffd
cmp ebp, 0x99
jne 0x140294e9c
cmp bl, 0x41
je 0x1402952fc
movsx edx, bl
mov r8d, 1
call sym.applyAffinity
mov rbp, qword [rsp + 0x58]
movzx eax, word [rbp + 0x14]
test al, 0x2c
je 0x140295070
and eax, 0xfffffffd
cmp sil, 1
mov word [rbp + 0x14], ax
je 0x140294ed0
mov byte [rbp + 0x16], sil
nop dword [rax]
xor r12d, r12d
jmp 0x140294e18
mov rdx, qword [rsp + 0x118]
mov rcx, rdi
call sym.valueNew
test rax, rax
mov qword [rsp + 0x58], rax
je 0x140295032
mov rsi, qword [r13 + 8]
xor r12d, r12d
add rsi, 2
mov rcx, rsi
call sym.strlen
mov rcx, rdi
mov rdx, rsi
lea rdi, [sym.sqlite3OomClear]
and eax, 0x3fffffff
lea ebx, [rax - 1]
mov r8d, ebx
call sym.sqlite3HexToBlob
mov edx, ebx
mov rcx, qword [rsp + 0x58]
xor r9d, r9d
shr edx, 0x1f
mov qword [rsp + 0x20], rdi
lea r8d, [rdx + rbx]
mov rdx, rax
sar r8d, 1
movsxd r8, r8d
call sym.sqlite3VdbeMemSetStr
mov rbp, qword [rsp + 0x58]
jmp 0x140294e18
mov rdx, qword [rsp + 0x118]
mov rcx, rdi
call sym.valueNew
test rax, rax
mov rbp, rax
mov qword [rsp + 0x58], rax
je 0x140295032
test word [rax + 0x14], 0x9000
jne 0x1402950a8
mov ecx, 1
xor r12d, r12d
mov word [rax + 0x14], cx
jmp 0x140294e18
mov rcx, qword [r13 + 8]
xor edx, edx
movzx esi, sil
call sym.sqlite3AffinityType
mov rdx, qword [r13 + 0x10]
mov rcx, rdi
mov r8d, esi
movzx ebp, al
mov rax, qword [rsp + 0x118]
mov r9d, ebp
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x20], rax
call sym.valueFromExpr
mov r12d, eax
mov rax, qword [rsp + 0x110]
mov rcx, qword [rax]
test rcx, rcx
je 0x140294e23
mov r8d, esi
mov edx, ebp
call sym.sqlite3VdbeMemCast
mov rax, qword [rsp + 0x110]
movsx edx, bl
mov r8d, esi
mov rcx, qword [rax]
call sym.applyAffinity
jmp 0x140294e23
xor ebp, ebp
jmp 0x140294ed0
mov r9, qword [r13 + 8]
lea rdx, str._s_s
mov r8, r12
mov rcx, rdi
call sym.sqlite3MPrintf
test rax, rax
jne 0x140295261
cmp qword [rsp + 0x118], 0
je 0x1402952b6
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
mov eax, dword [rax + 0x30]
test eax, eax
jne 0x14029505d
cmp byte [rdi + 0x67], 0
je 0x140295311
mov r12d, 7
jmp 0x140294e23
xor r12d, r12d
cmp sil, 1
je 0x140294e18
test al, 2
je 0x140294ec8
cmp byte [rbp + 0x16], sil
movzx edx, sil
je 0x140294ed0
mov rcx, rbp
call sym.sqlite3VdbeMemTranslate
mov rbp, qword [rsp + 0x58]
mov r12d, eax
jmp 0x140294e18
mov rcx, rax
xor r12d, r12d
call sym.vdbeMemClearExternAndSetNull
mov rbp, qword [rsp + 0x58]
jmp 0x140294e18
cmp ebp, 0xaa
jne 0x14029500c
mov rdx, qword [rsp + 0x118]
mov rcx, rdi
call sym.valueNew
test rax, rax
mov rbp, rax
mov qword [rsp + 0x58], rax
je 0x140294ed0
mov edx, 4
mov word [rax + 0x14], dx
mov rax, qword [r13 + 8]
cmp byte [rax + 4], 0
sete al
movzx eax, al
mov qword [rbp], rax
jmp 0x140294ed0
cmp ebp, 0xac
jne case.0x140294d73.118
cmp qword [rsp + 0x118], 0
je case.0x140294d73.118
mov rdx, qword [r13 + 8]
xor r14d, r14d
mov r13, qword [r13 + 0x20]
test r13, r13
je 0x140295134
mov r14d, dword [r13]
movzx eax, sil
mov dword [rsp + 0x20], 0
mov r8d, r14d
mov rcx, rdi
mov r9d, eax
mov dword [rsp + 0x30], eax
call sym.sqlite3FindFunction
mov r9, rax
mov eax, dword [rax + 4]
test ah, 0x28
je 0x1402952a9
test al, 0x20
jne 0x1402952a9
test r13, r13
je 0x140295332
movsxd r8, r14d
mov rcx, rdi
mov qword [rsp + 0x48], r9
lea r15, [r8*8]
mov qword [rsp + 0x40], r8
mov rdx, r15
call sym.sqlite3DbMallocZero
test rax, rax
mov rbp, rax
je 0x14029546e
add r15, rax
add r13, 8
movzx eax, r12b
mov r8, qword [rsp + 0x40]
test r14d, r14d
mov r9, qword [rsp + 0x48]
mov dword [rsp + 0x3c], eax
jle 0x14029532f
mov eax, ebx
mov qword [rsp + 0x40], r9
mov rbx, r13
mov r12, r8
mov r13, rbp
mov esi, eax
jmp 0x140295218
mov r9d, dword [rsp + 0x3c]
mov qword [rsp + 0x20], r13
mov rcx, rdi
mov qword [rsp + 0x28], 0
mov r8d, dword [rsp + 0x30]
call sym.valueFromExpr
cmp qword [r13], 0
je 0x14029548b
test eax, eax
jne 0x140295419
add r13, 8
add rbx, 0x20
cmp r15, r13
je 0x140295328
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1402951d4
cmp qword [r13], 0
jne 0x140295207
mov r8, r12
mov r13, rbp
xor r12d, r12d
xor ebp, ebp
lea rsi, [r13 + r8*8]
mov rbx, r13
nop word [rax + rax]
mov rcx, qword [rbx]
add rbx, 8
call sym.sqlite3ValueFree
cmp rbx, rsi
jne 0x140295240
mov rdx, r13
mov rcx, rdi
call sym.sqlite3DbFreeNN
jmp 0x140294e18
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140294e88
lea rdi, [sym.sqlite3OomClear]
mov r9d, 1
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rdi
mov rdx, rax
call sym.sqlite3VdbeMemSetStr
mov rcx, qword [rsp + 0x58]
jmp 0x140294e88
call sym.vdbeReleaseAndSetInt64
mov rcx, qword [rsp + 0x58]
jmp 0x140294e88
mov rbp, qword [rsp + 0x58]
xor r12d, r12d
jmp 0x140294e18
cmp byte [rdi + 0x67], 0
jne 0x1402952ca
cmp byte [rdi + 0x68], 0
jne 0x1402952ca
mov rcx, rdi
call sym.sqlite3OomFault.part.0
mov rcx, qword [rsp + 0x58]
call sym.sqlite3ValueFree
jmp 0x14029505d
movabs rcx, 0x8000000000000000
mov rdx, qword [rbp]
cmp rdx, rcx
je 0x140295438
neg rdx
mov qword [rbp], rdx
jmp 0x140294e00
mov r8d, 1
mov edx, 0x43
call sym.applyAffinity
jmp 0x140294eaa
cmp byte [rdi + 0x68], 0
jne 0x14029505d
mov rcx, rdi
call sym.sqlite3OomFault.part.0
jmp 0x14029505d
mov r9, qword [rsp + 0x40]
mov ebx, esi
mov r13, rbp
mov rdx, qword [rsp + 0x118]
mov rcx, rdi
mov qword [rsp + 0x30], r9
call sym.valueNew
test rax, rax
mov rbp, rax
je 0x140295466
mov r9, qword [rsp + 0x30]
movq xmm0, rax
mov r8, r13
mov edx, r14d
movzx eax, byte [rdi + 0x64]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
movq xmm1, r9
mov qword [rsp + 0x80], 0
punpcklqdq xmm0, xmm1
mov byte [rsp + 0x88], al
mov qword [rsp + 0x90], 0
movaps xmmword [rsp + 0x60], xmm0
call qword [r9 + 0x18]
mov r12d, dword [rsp + 0x84]
test r12d, r12d
je 0x140295453
mov rcx, rbp
call sym.sqlite3ValueText.constprop.0
lea rdx, [0x140314186]
mov r8, rax
mov rax, qword [rsp + 0x118]
mov rcx, qword [rax]
call sym.sqlite3ErrorMsg
mov rax, qword [rsp + 0x118]
xor ebp, ebp
mov rax, qword [rax]
mov dword [rax + 0x18], r12d
test r13, r13
je 0x140294e18
test r14d, r14d
movsxd r8, r14d
jg 0x140295232
jmp 0x140295251
mov r8, r12
mov r12d, eax
mov rax, qword [rsp + 0x118]
mov r13, rbp
xor ebp, ebp
mov rax, qword [rax]
mov dword [rax + 0x18], r12d
jmp 0x140295232
mov rdi, qword [0x14031f588]
and ax, 0xf240
or eax, 8
mov word [rbp + 0x14], ax
mov qword [rbp], rdi
jmp 0x140294e00
movsx edx, bl
mov r8d, 1
mov rcx, rbp
call sym.applyAffinity
jmp 0x1402953ff
mov r12d, 7
jmp 0x1402953ee
mov rax, qword [rsp + 0x118]
mov r12d, 7
mov rax, qword [rax]
mov dword [rax + 0x18], 7
jmp 0x140294e18
test eax, eax
mov r8, r12
mov r12d, eax
je 0x14029522a
jmp 0x14029541f