Function at 0x1401453b0
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, 0x68
mov rax, qword [rdx + 0x148]
mov r14d, dword [rdx + 0x34]
mov edi, dword [rdx + 0x38]
mov rbp, qword [rcx]
mov qword [rcx + 0xb0], rax
mov rbx, rcx
mov r13, rdx
movzx eax, word [rdx + 0x130]
mov qword [rdx + 0x148], 0
add edi, r14d
test r14d, r14d
mov word [rsp + 0x46], ax
mov eax, dword [rdx + 0x88]
mov dword [rsp + 0x5c], eax
jne 0x140145411
test edi, edi
setg al
cmp al, 1
sbb edi, 0xffffffff
mov eax, dword [rbx + 0x90]
lea rdx, [rsp + 0x5c]
mov rcx, rbx
mov esi, dword [r13 + 0x3c]
lea eax, [rax + rax*2]
shl eax, 3
movsxd r12, eax
add r12, qword [rbx + 0x88]
sub esi, eax
and esi, 0xfffffff8
movsxd rsi, esi
mov qword [rsp + 0x38], r12
call dbg.resolveP2Values
xor eax, eax
cmp byte [r13 + 0x20], 0
je 0x140145456
cmp byte [r13 + 0x21], 0
setne al
shl eax, 5
mov edx, eax
movzx eax, byte [rbx + 0xc8]
and eax, 0xffffffdf
or eax, edx
mov byte [rbx + 0xc8], al
movzx edx, byte [r13 + 0x133]
test dl, dl
je 0x140145511
mov ecx, 0xa
cmp edi, ecx
cmovl edi, ecx
mov ecx, edx
and eax, 0xfffffff3
and ecx, 3
shl ecx, 2
or eax, ecx
cmp dl, 2
mov byte [rbx + 0xc8], al
je 0x140145760
mov edx, 8
mov rcx, rbx
call dbg.sqlite3VdbeSetNumCols
mov dword [rsp + 0x30], 8
xor r10d, r10d
lea r15, [0x140342a40]
movsxd r12, r10d
xor r13d, r13d
nop dword [rax + rax]
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
jne 0x140145502
mov rcx, qword [rbx + 0x98]
mov r9d, 1
mov qword [rsp + 0x20], 0
mov r8, 0xffffffffffffffff
mov rdx, qword [r15 + r12*8]
add rcx, r13
call dbg.sqlite3VdbeMemSetStr
add r12, 1
add r13, 0x38
cmp dword [rsp + 0x30], r12d
jg 0x1401454d0
and byte [rbx + 0xc8], 0xfc
movsxd r9, edi
imul r9, r9, 0x38
cmp rsi, r9
jl 0x140145750
mov rax, qword [rsp + 0x38]
sub rsi, r9
xor edx, edx
add rax, rsi
movsx r8, word [rsp + 0x46]
mov qword [rbx + 0x68], rax
imul r8, r8, 0x38
cmp r8, rsi
jg 0x140145740
mov rcx, qword [rsp + 0x38]
sub rsi, r8
add rcx, rsi
movsxd r15, dword [rsp + 0x5c]
mov qword [rbx + 0x80], rcx
shl r15, 3
cmp r15, rsi
jg 0x140145730
mov r11, qword [rsp + 0x38]
sub rsi, r15
lea r10, [r11 + rsi]
movsxd r13, r14d
mov qword [rbx + 0x70], r10
shl r13, 3
cmp r13, rsi
jg 0x140145720
mov r11, qword [rsp + 0x38]
sub rsi, r13
add r11, rsi
mov rsi, r11
test rdx, rdx
mov qword [rbx + 0x78], rsi
jne 0x140145610
cmp byte [rbp + 0x67], 0
je 0x140145694
xor r9d, r9d
mov qword [rbx + 0x24], 0
mov word [rbx + 0x20], r9w
movzx eax, word [0x1403490a0]
mov byte [rbx + 0xc5], 1
mov qword [rbx + 0x34], 0
mov qword [rbx + 0x3c], 0
mov qword [rbx + 0x50], 0
mov word [rbx + 0xc2], ax
movabs rax, 0xffffffff00000001
mov qword [rbx + 0x2c], rax
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rbp
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x30], rdx
call sym.sqlite3DbMallocRawNN
mov rdx, qword [rsp + 0x30]
mov qword [rbx + 0x100], rax
cmp byte [rbp + 0x67], 0
mov r10, rax
mov r9, qword [rsp + 0x38]
mov r8, qword [rsp + 0x48]
jne 0x1401455b1
mov rax, qword [rbx + 0x68]
test rax, rax
je 0x140145780
mov rcx, qword [rbx + 0x80]
mov qword [rbx + 0x68], rax
test rcx, rcx
je 0x1401457c8
mov r8, qword [rbx + 0x70]
mov qword [rbx + 0x80], rcx
test r8, r8
je 0x1401457b0
mov rsi, qword [rbx + 0x78]
mov qword [rbx + 0x70], r8
test rsi, rsi
je 0x140145798
mov qword [rbx + 0x78], rsi
movzx edx, word [rsp + 0x46]
mov dword [rbx + 0x28], r14d
test dx, dx
mov word [rbx + 0x20], dx
jle 0x1401456d7
movsx edx, word [rsp + 0x46]
imul rdx, rdx, 0x38
add rdx, rcx
nop word [rax + rax]
mov r8d, 1
mov qword [rcx + 0x18], rbp
add rcx, 0x38
mov word [rcx - 0x24], r8w
mov dword [rcx - 0x18], 0
cmp rdx, rcx
jne 0x1401456b8
test edi, edi
mov dword [rbx + 0x24], edi
jle 0x14014570a
mov edi, edi
imul rdi, rdi, 0x38
add rdi, rax
nop word [rax + rax]
xor edx, edx
mov qword [rax + 0x18], rbp
add rax, 0x38
mov word [rax - 0x24], dx
mov dword [rax - 0x18], 0
cmp rax, rdi
jne 0x1401456f0
mov r8, r13
xor edx, edx
mov rcx, rsi
call sym.memset
jmp 0x1401455c1
add rdx, r13
xor esi, esi
jmp 0x14014559e
add rdx, r15
xor r10d, r10d
jmp 0x14014557c
add rdx, r8
xor ecx, ecx
jmp 0x140145557
mov rdx, r9
xor eax, eax
jmp 0x140145535
mov edx, 4
mov rcx, rbx
call dbg.sqlite3VdbeSetNumCols
mov dword [rsp + 0x30], 0xc
mov r10d, 8
jmp 0x1401454bb
cmp r9, rdx
jg 0x140145657
sub rdx, r9
lea rax, [r10 + rdx]
jmp 0x140145657
mov r8, rdx
sub r8, r13
add r10, r8
cmp r13, rdx
cmovle rsi, r10
jmp 0x140145690
cmp r15, rdx
jg 0x14014567f
sub rdx, r15
lea r8, [r10 + rdx]
jmp 0x14014567f
cmp r8, rdx
jg 0x14014566b
sub rdx, r8
lea rcx, [r10 + rdx]
jmp 0x14014566b