Function at 0x140260230
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, 0xd8
xor r8d, r8d
pxor xmm0, xmm0
mov rdi, qword [rcx]
mov eax, dword [rdi + 0x88]
cmp dword [rdi + 0xe4], 1
mov qword [rsp + 0x120], rcx
mov r12, rdx
mov dword [rsp + 0x68], 0
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x80], 0
mov dword [rsp + 0x84], eax
mov dword [rsp + 0x88], 0
mov word [rsp + 0x8c], r8w
movups xmmword [rsp + 0x70], xmm0
jle 0x1402603e4
cmp byte [rdx], 0
je 0x140260557
xor ecx, ecx
lea rsi, [rsp + 0x70]
lea rdi, [0x1403327b8]
xor eax, eax
nop dword [rax]
mov rbx, r12
jmp 0x1402602cd
cmp byte [rbx], 0
je 0x1402602d7
add rbx, 1
cmp byte [rbx - 1], 0xa
jne 0x1402602c8
lea edx, [rax + 3]
cmp edx, ecx
jae 0x140260338
add rax, qword [rsp + 0x78]
mov ecx, 0x2d2d
mov dword [rsp + 0x88], edx
mov word [rax], cx
mov byte [rax + 2], 0x20
mov eax, dword [rsp + 0x88]
mov r8, rbx
sub r8, r12
lea edx, [rax + r8]
cmp edx, dword [rsp + 0x80]
jae 0x140260350
test r8d, r8d
jne 0x1402603b0
cmp byte [rbx], 0
je 0x140260360
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x80]
mov r12, rbx
jmp 0x1402602c0
mov r8d, 3
mov rdx, rdi
mov rcx, rsi
call sym.enlargeAndAppend
jmp 0x1402602f6
mov rdx, r12
mov rcx, rsi
call sym.enlargeAndAppend
cmp byte [rbx], 0
jne 0x14026031e
cmp byte [rsp + 0x8c], 0
jne 0x14026054d
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x140260393
mov edx, dword [rsp + 0x88]
mov byte [rax + rdx], 0
mov eax, dword [rsp + 0x84]
test eax, eax
jne 0x1402603ce
mov rax, qword [rsp + 0x78]
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov dword [rsp + 0x88], edx
mov ecx, eax
movsxd r8, r8d
mov rdx, r12
add rcx, qword [rsp + 0x78]
call sym.memcpy
jmp 0x140260319
test byte [rsp + 0x8d], 4
jne 0x14026038e
lea rcx, [rsp + 0x70]
call sym.strAccumFinishRealloc
jmp 0x140260393
cmp word [rcx + 0x20], 0
je 0x14026055e
cmp byte [rdx], 0
je 0x140260557
lea rax, [rsp + 0x70]
xor ebp, ebp
lea rdi, [rsp + 0x6c]
mov r13, rdx
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x90]
mov dword [rsp + 0x3c], 1
mov qword [rsp + 0x58], rax
jmp 0x140260438
add r12, rsi
add ebp, esi
cmp byte [r12], 0
je 0x140260650
mov rdx, rdi
mov rcx, r12
call sym.sqlite3GetToken
cmp dword [rsp + 0x6c], 0x9c
movsxd rsi, eax
jne 0x140260428
mov eax, dword [rsp + 0x88]
movsxd r8, ebp
lea r14, [r13 + r8]
lea edx, [rbp + rax]
cmp edx, dword [rsp + 0x80]
jae 0x140260660
test ebp, ebp
je 0x14026048a
mov dword [rsp + 0x88], edx
mov ecx, eax
mov rdx, r13
add rcx, qword [rsp + 0x78]
call sym.memcpy
test esi, esi
je 0x140260360
movsxd r15, esi
cmp byte [r14], 0x3f
lea r12, [r14 + r15]
jne 0x1402605b0
cmp esi, 1
jg 0x1402606bf
movsxd rdx, dword [rsp + 0x3c]
lea rax, [rdx*8]
mov dword [rsp + 0x68], edx
sub rax, rdx
lea rbx, [rax*8 - 0x38]
mov eax, edx
add eax, 1
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x120]
add rbx, qword [rax + 0x80]
movzx eax, word [rbx + 0x14]
test al, 1
jne 0x140260678
test al, 0x24
jne 0x1402606a6
test al, 8
jne 0x14026070f
test al, 2
je 0x1402606ed
mov rax, qword [rsp + 0x50]
movzx r9d, byte [rax + 0x64]
cmp r9b, 1
jne 0x140260788
mov r9, qword [rbx + 8]
mov r8d, dword [rbx + 0x10]
lea rdx, str._.q
mov rcx, qword [rsp + 0x40]
call sym.sqlite3_str_appendf
nop dword [rax]
cmp byte [r12], 0
je 0x140260360
mov r13, r12
xor ebp, ebp
jmp 0x140260438
test byte [rsp + 0x8d], 4
jne 0x14026058b
xor eax, eax
jmp 0x140260393
test rdx, rdx
je 0x1402608bf
mov rcx, rdx
call sym.strlen
mov r8d, eax
and r8d, 0x3fffffff
lea rcx, [rsp + 0x70]
mov rdx, r12
call sym.sqlite3_str_append
jmp 0x140260360
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x140260557
mov rcx, qword [rsp + 0x70]
call sym.sqlite3DbFreeNN
xor eax, eax
jmp 0x140260393
mov rax, qword [rsp + 0x120]
mov r13, qword [rax + 0xb0]
test r13, r13
je 0x14026077a
mov eax, dword [r13 + 4]
mov qword [rsp + 0x48], rdi
mov ebx, 2
mov rdi, r13
mov qword [rsp + 0x128], r12
mov r12, r15
mov r15, r14
mov r13d, eax
nop word [rax + rax]
movsxd r14, ebx
mov r8, r12
mov rdx, r15
lea rsi, [r14*4 + 8]
lea rbp, [rdi + rsi]
mov rcx, rbp
call sym.strncmp
test eax, eax
jne 0x14026061d
cmp byte [rbp + r12], 0
je 0x14026072e
add ebx, dword [rdi + rsi - 4]
cmp r13d, ebx
jg 0x1402605f0
mov r12, qword [rsp + 0x128]
mov rdi, qword [rsp + 0x48]
mov rbx, 0xffffffffffffffc8
xor eax, eax
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x3c], eax
jg 0x1402604d1
jmp 0x1402604ca
xor esi, esi
jmp 0x140260450
mov rcx, qword [rsp + 0x40]
mov r8d, ebp
mov rdx, r13
call sym.enlargeAndAppend
jmp 0x14026048a
mov eax, dword [rsp + 0x88]
lea edx, [rax + 4]
cmp edx, dword [rsp + 0x80]
jae 0x14026075e
add rax, qword [rsp + 0x78]
mov dword [rsp + 0x88], edx
mov dword [rax], 0x4c4c554e
jmp 0x140260538
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x40]
lea rdx, [0x1403327bc]
call sym.sqlite3_str_appendf
jmp 0x140260538
lea rdx, [rsp + 0x68]
lea rcx, [r14 + 1]
call sym.sqlite3GetInt32
movsxd rcx, dword [rsp + 0x68]
lea rdx, [rcx*8]
mov rax, rcx
sub rdx, rcx
lea rbx, [rdx*8 - 0x38]
jmp 0x140260640
test ah, 4
je 0x14026085d
mov r8d, dword [rbx]
mov rcx, qword [rsp + 0x40]
lea rdx, str.zeroblob__d_
call sym.sqlite3_str_appendf
jmp 0x140260538
movsd xmm2, qword [rbx]
mov rcx, qword [rsp + 0x40]
lea rdx, str.__.15g
movq r8, xmm2
call sym.sqlite3_str_appendf
jmp 0x140260538
mov r13, rdi
mov r12, qword [rsp + 0x128]
mov rdi, qword [rsp + 0x48]
movsxd rcx, dword [r13 + r14*4]
lea rdx, [rcx*8]
mov rax, rcx
sub rdx, rcx
lea rbx, [rdx*8 - 0x38]
jmp 0x14026063c
mov rcx, qword [rsp + 0x40]
mov r8d, 4
lea rdx, str.NULL
call sym.enlargeAndAppend
jmp 0x140260538
mov rbx, 0xffffffffffffffc8
xor eax, eax
jmp 0x14026063c
mov rcx, qword [rsp + 0x58]
mov qword [rcx], 0
mov qword [rcx + 8], 0
mov qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 0
mov qword [rcx + 0x20], 0
mov qword [rcx + 0x28], 0
mov qword [rcx + 0x30], 0
movsxd r8, dword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x20], 0
call sym.sqlite3VdbeMemSetStr
test byte [rsp + 0xa4], 2
je 0x1402608df
cmp byte [rsp + 0xa6], 1
je 0x140260812
mov rcx, qword [rsp + 0x58]
mov edx, 1
call sym.sqlite3VdbeMemTranslate
cmp eax, 7
je 0x1402608c7
mov r9, qword [rsp + 0x98]
mov r8d, dword [rsp + 0xa0]
lea rdx, str._.q
mov rcx, qword [rsp + 0x40]
call sym.sqlite3_str_appendf
test word [rsp + 0xa4], 0x9000
jne 0x14026084e
mov edx, dword [rsp + 0xb0]
test edx, edx
je 0x140260538
mov rcx, qword [rsp + 0x58]
call sym.vdbeMemClear
jmp 0x140260538
mov rcx, qword [rsp + 0x40]
mov r8d, 2
lea rdx, [0x1403327ce]
xor esi, esi
call sym.sqlite3_str_append
movsxd rbp, dword [rbx + 0x10]
mov r13, qword [rsp + 0x40]
test ebp, ebp
jle 0x1402608a9
nop dword [rax + rax]
mov rax, qword [rbx + 8]
lea rdx, str._02x
mov rcx, r13
movzx r8d, byte [rax + rsi]
add rsi, 1
call sym.sqlite3_str_appendf
cmp rsi, rbp
jne 0x140260888
mov rcx, qword [rsp + 0x40]
lea rdx, [0x1403327d1]
call sym.sqlite3_str_append.constprop.0
jmp 0x140260538
xor r8d, r8d
jmp 0x140260579
mov byte [rsp + 0x8c], 7
mov dword [rsp + 0x80], 0
jmp 0x140260812
mov byte [rsp + 0xa6], 1
jmp 0x140260812