Function at 0x14028d9f0
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 0x14028da30
cmp ebp, 0xae
jne 0x14028da49
nop
mov r13, qword [r13 + 0x10]
movzx ebp, byte [r13]
cmp ebp, 0xae
je 0x14028da30
cmp ebp, 0xb5
je 0x14028da30
cmp ebp, 0xb0
jne 0x14028da56
movzx ebp, byte [r13 + 2]
cmp ebp, 0x24
je 0x14028dcc2
cmp ebp, 0xad
je 0x14028daa8
cmp ebp, 0x9b
jg 0x14028de3d
cmp ebp, 0x74
jle 0x14028dd3c
lea r12, [0x140329f88]
mov r14d, 1
lea eax, [rbp - 0x75]
cmp eax, 0x26
ja case.0x14028daa3.118
lea rdx, [0x14032b864]
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
mov r13, qword [r13 + 0x10]
mov r14, 0xffffffffffffffff
lea r12, [0x14032b60e]
movzx ebp, byte [r13]
mov eax, ebp
and eax, 0xfffffffd
cmp al, 0x99
je 0x14028da89
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 0x14028dc00
test rbp, rbp
je 0x14028db48
mov rcx, rbp
call sym.sqlite3VdbeMemNumerify.isra.0
movzx eax, word [rbp + 0x14]
test al, 8
je 0x14028e009
movsd xmm0, qword [rbp]
xorpd xmm0, xmmword [0x140335fb0]
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 0x14028dd62
test byte [r13 + 5], 8
je 0x14028dd43
movsxd rdx, dword [r13 + 8]
imul rdx, r14
test word [rax + 0x14], 0x9000
jne 0x14028dfca
mov r8d, 4
mov qword [rax], rdx
mov word [rax + 0x14], r8w
and ebp, 0xfffffffd
cmp ebp, 0x99
jne 0x14028dbcc
cmp bl, 0x41
je 0x14028e02c
movsx edx, bl
mov r8d, 1
call sym.applyAffinity
mov rbp, qword [rsp + 0x58]
movzx eax, word [rbp + 0x14]
test al, 0x2c
je 0x14028dda0
and eax, 0xfffffffd
cmp sil, 1
mov word [rbp + 0x14], ax
je 0x14028dc00
mov byte [rbp + 0x16], sil
nop dword [rax]
xor r12d, r12d
jmp 0x14028db48
mov rdx, qword [rsp + 0x118]
mov rcx, rdi
call sym.valueNew
test rax, rax
mov qword [rsp + 0x58], rax
je 0x14028dd62
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 0x14028db48
mov rdx, qword [rsp + 0x118]
mov rcx, rdi
call sym.valueNew
test rax, rax
mov rbp, rax
mov qword [rsp + 0x58], rax
je 0x14028dd62
test word [rax + 0x14], 0x9000
jne 0x14028ddd8
mov ecx, 1
xor r12d, r12d
mov word [rax + 0x14], cx
jmp 0x14028db48
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 0x14028db53
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 0x14028db53
xor ebp, ebp
jmp 0x14028dc00
mov r9, qword [r13 + 8]
lea rdx, str._s_s
mov r8, r12
mov rcx, rdi
call sym.sqlite3MPrintf
test rax, rax
jne 0x14028df91
cmp qword [rsp + 0x118], 0
je 0x14028dfe6
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
mov eax, dword [rax + 0x30]
test eax, eax
jne 0x14028dd8d
cmp byte [rdi + 0x67], 0
je 0x14028e041
mov r12d, 7
jmp 0x14028db53
xor r12d, r12d
cmp sil, 1
je 0x14028db48
test al, 2
je 0x14028dbf8
cmp byte [rbp + 0x16], sil
movzx edx, sil
je 0x14028dc00
mov rcx, rbp
call sym.sqlite3VdbeMemTranslate
mov rbp, qword [rsp + 0x58]
mov r12d, eax
jmp 0x14028db48
mov rcx, rax
xor r12d, r12d
call sym.vdbeMemClearExternAndSetNull
mov rbp, qword [rsp + 0x58]
jmp 0x14028db48
cmp ebp, 0xaa
jne 0x14028dd3c
mov rdx, qword [rsp + 0x118]
mov rcx, rdi
call sym.valueNew
test rax, rax
mov rbp, rax
mov qword [rsp + 0x58], rax
je 0x14028dc00
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 0x14028dc00
cmp ebp, 0xac
jne case.0x14028daa3.118
cmp qword [rsp + 0x118], 0
je case.0x14028daa3.118
mov rdx, qword [r13 + 8]
xor r14d, r14d
mov r13, qword [r13 + 0x20]
test r13, r13
je 0x14028de64
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 0x14028dfd9
test al, 0x20
jne 0x14028dfd9
test r13, r13
je 0x14028e062
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 0x14028e19e
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 0x14028e05f
mov eax, ebx
mov qword [rsp + 0x40], r9
mov rbx, r13
mov r12, r8
mov r13, rbp
mov esi, eax
jmp 0x14028df48
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 0x14028e1bb
test eax, eax
jne 0x14028e149
add r13, 8
add rbx, 0x20
cmp r15, r13
je 0x14028e058
mov rdx, qword [rbx]
test rdx, rdx
jne 0x14028df04
cmp qword [r13], 0
jne 0x14028df37
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 0x14028df70
mov rdx, r13
mov rcx, rdi
call sym.sqlite3DbFreeNN
jmp 0x14028db48
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14028dbb8
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 0x14028dbb8
call sym.vdbeReleaseAndSetInt64
mov rcx, qword [rsp + 0x58]
jmp 0x14028dbb8
mov rbp, qword [rsp + 0x58]
xor r12d, r12d
jmp 0x14028db48
cmp byte [rdi + 0x67], 0
jne 0x14028dffa
cmp byte [rdi + 0x68], 0
jne 0x14028dffa
mov rcx, rdi
call sym.sqlite3OomFault.part.0
mov rcx, qword [rsp + 0x58]
call sym.sqlite3ValueFree
jmp 0x14028dd8d
movabs rcx, 0x8000000000000000
mov rdx, qword [rbp]
cmp rdx, rcx
je 0x14028e168
neg rdx
mov qword [rbp], rdx
jmp 0x14028db30
mov r8d, 1
mov edx, 0x43
call sym.applyAffinity
jmp 0x14028dbda
cmp byte [rdi + 0x68], 0
jne 0x14028dd8d
mov rcx, rdi
call sym.sqlite3OomFault.part.0
jmp 0x14028dd8d
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 0x14028e196
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 0x14028e183
mov rcx, rbp
call sym.sqlite3ValueText.constprop.0
lea rdx, [0x14032a9a6]
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 0x14028db48
test r14d, r14d
movsxd r8, r14d
jg 0x14028df62
jmp 0x14028df81
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 0x14028df62
mov rdi, qword [0x140335da8]
and ax, 0xf240
or eax, 8
mov word [rbp + 0x14], ax
mov qword [rbp], rdi
jmp 0x14028db30
movsx edx, bl
mov r8d, 1
mov rcx, rbp
call sym.applyAffinity
jmp 0x14028e12f
mov r12d, 7
jmp 0x14028e11e
mov rax, qword [rsp + 0x118]
mov r12d, 7
mov rax, qword [rax]
mov dword [rax + 0x18], 7
jmp 0x14028db48
test eax, eax
mov r8, r12
mov r12d, eax
je 0x14028df5a
jmp 0x14028e14f