Function at 0x5dc410
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, 0x218
mov rax, qword [rsp + 0x290]
mov qword [rax], 0
xor eax, eax
mov qword [rsp + 0x270], r8
mov rbp, rcx
mov rcx, qword [rcx + 0x18]
mov rsi, r9
mov r8d, dword [rsp + 0x288]
mov qword [rsp + 0x268], rdx
mov qword [rsp + 0x58], 0
test r8d, r8d
setne al
mov dword [rsp + 0x4c], eax
test rcx, rcx
je 0x5dc474
call qword [0x0060b220]
mov edx, 0x38
mov rcx, rbp
lea r14, [rsp + 0x60]
call dbg.sqlite3DbMallocZero
mov rdx, rbp
mov rcx, r14
mov dword [rsp + 0x30], 0
mov r13, rax
mov dword [rsp + 0x3c], 0
lea rbx, [0x00747040]
call dbg.sqlite3ParseObjectInit
test r13, r13
je 0x5dc70f
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x5dc4c6
mov rcx, rbp
call sym.sqlite3DbFreeNN
mov qword [rsp + 0x58], 0
cmp byte [rbp + 0x6f], 0
je 0x5dc9a8
mov r9, qword [rsp + 0x268]
mov r8, qword [rsp + 0x270]
xor edx, edx
mov rcx, r14
call dbg.sqlite3LocateTable
mov r12, rax
test rax, rax
je 0x5dc9cc
movzx eax, byte [rax + 0x3f]
cmp al, 1
je 0x5dca16
mov edi, dword [r12 + 0x30]
and edi, 0x80
mov dword [rsp + 0x40], edi
jne 0x5dc9b5
cmp al, 2
je 0x5dcad9
mov rdx, qword [r12 + 0x60]
mov r9, qword [rbp + 0x20]
mov qword [r13 + 0x30], r12
test rdx, rdx
je 0x5dcabf
mov rcx, rbp
call sym.sqlite3SchemaToIndex.part.0
cdqe
shl rax, 5
mov rax, qword [r9 + rax]
movsx r10d, word [r12 + 0x36]
mov qword [r13 + 0x28], rax
test r10d, r10d
jle 0x5dc813
mov r9, qword [r12 + 8]
xor edi, edi
nop word [rax + rax]
mov r8, qword [r9]
xor ecx, ecx
jmp 0x5dc591
movzx edx, byte [rbx + rdx]
cmp byte [rbx + rax], dl
jne 0x5dc730
add rcx, 1
movzx eax, byte [r8 + rcx]
movzx edx, byte [rsi + rcx]
cmp eax, edx
jne 0x5dc580
test eax, eax
jne 0x5dc58d
mov ecx, dword [rsp + 0x288]
test ecx, ecx
jne 0x5dc82a
mov rcx, r14
call dbg.sqlite3VdbeCreate
mov qword [r13 + 0x18], rax
mov r15, rax
test rax, rax
je 0x5dc698
mov rdx, qword [r12 + 0x60]
test rdx, rdx
je 0x5dcb00
mov rcx, rbp
call sym.sqlite3SchemaToIndex.part.0
mov r11d, eax
mov eax, 1
mov ecx, r11d
shl eax, cl
mov dword [rsp + 0x40], eax
mov eax, dword [rdx + 4]
mov r9d, dword [rsp + 0x4c]
mov r8d, r11d
mov rcx, r15
mov dword [rsp + 0x48], r11d
mov dword [rsp + 0x28], eax
mov eax, dword [rdx]
mov edx, 2
mov dword [rsp + 0x20], eax
call dbg.sqlite3VdbeAddOp4Int
movsxd rax, dword [r15 + 0x90]
mov r11d, dword [rsp + 0x48]
test eax, eax
jle 0x5dc63f
mov r10, qword [r15 + 0x88]
lea rax, [rax + rax*2]
mov edx, 1
lea rax, [r10 + rax*8]
mov word [rax - 0x16], dx
lea r8, [0x0073f0f0]
mov edx, 6
mov rcx, r15
mov dword [rsp + 0x48], r11d
call sym.sqlite3VdbeAddOpList.isra.0
mov r11d, dword [rsp + 0x48]
mov r10d, dword [rsp + 0x40]
or dword [r15 + 0xcc], r10d
cmp r11d, 1
je 0x5dc68e
mov rcx, qword [r15]
movsxd rdx, r11d
shl rdx, 5
add rdx, qword [rcx + 0x20]
mov rdx, qword [rdx + 8]
cmp byte [rdx + 0x11], 0
je 0x5dc68e
or dword [r15 + 0xd0], r10d
cmp byte [rbp + 0x67], 0
je 0x5dc8d0
mov word [r13 + 8], di
mov qword [r13 + 0x20], rbp
cmp byte [rbp + 0x6f], 0
je 0x5dc981
cmp byte [rbp + 0x67], 0
jne 0x5dc993
mov rdx, qword [rsp + 0x280]
lea r8, [rsp + 0x58]
mov rcx, r13
call dbg.blobSeekToRow
add dword [rsp + 0x3c], 1
mov edi, dword [rsp + 0x3c]
cmp eax, 0x11
mov dword [rsp + 0x30], eax
setne al
cmp edi, 0x32
sete dl
or al, dl
jne 0x5dca91
mov rcx, r14
call dbg.sqlite3ParseObjectReset
mov rdx, rbp
mov rcx, r14
mov dword [rsp + 0x30], 0x11
call dbg.sqlite3ParseObjectInit
test r13, r13
jne 0x5dc4b4
mov eax, dword [rsp + 0x30]
mov edi, 1
test eax, eax
jne 0x5dc799
cmp byte [rbp + 0x67], 0
je 0x5dcaa5
xor edi, edi
jmp 0x5dc799
add edi, 1
add r9, 0x18
cmp edi, r10d
jne 0x5dc570
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x5dc752
mov rcx, rbp
call sym.sqlite3DbFreeNN
mov r8, rsi
lea rdx, str.no_such_column:___s_
mov rcx, rbp
call dbg.sqlite3MPrintf
mov qword [rsp + 0x58], rax
cmp byte [rbp + 0x6f], 0
je 0x5dca09
mov dword [rsp + 0x30], 1
mov edi, 1
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x5dc78e
call dbg.sqlite3VdbeFinalize
mov rdx, r13
mov rcx, rbp
call sym.sqlite3DbFreeNN
mov r9, qword [rsp + 0x58]
mov eax, 0
mov edx, dword [rsp + 0x30]
mov rcx, rbp
lea r8, [0x00736750]
test r9, r9
cmove r8, rax
call dbg.sqlite3ErrorWithMsg
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x5dc7cf
mov rcx, rbp
call sym.sqlite3DbFreeNN
mov rcx, r14
call dbg.sqlite3ParseObjectReset
cmp byte [rbp + 0x67], 0
jne 0x5dca7d
xor r12d, r12d
test dil, dil
jne 0x5dca7d
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x5dc7fc
call qword [0x0060b230]
mov eax, r12d
add rsp, 0x218
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
je 0x5dc740
mov ecx, dword [rsp + 0x288]
xor edi, edi
test ecx, ecx
je 0x5dc5b1
mov r10, qword [r12 + 0x10]
test byte [rbp + 0x31], 0x40
jne 0x5dca2f
xor r8d, r8d
test r10, r10
je 0x5dc5b1
nop dword [rax]
movzx eax, word [r10 + 0x5e]
test ax, ax
je 0x5dc890
mov rdx, qword [r10 + 8]
lea ecx, [rax - 1]
lea rax, [rdx + 2]
lea r9, [rax + rcx*2]
jmp 0x5dc87a
cmp cx, 0xfffe
je 0x5dc881
mov rdx, rax
cmp r9, rax
je 0x5dc890
add rax, 2
movsx ecx, word [rdx]
cmp ecx, edi
jne 0x5dc868
lea r8, str.indexed
mov rdx, rax
cmp r9, rax
jne 0x5dc876
mov r10, qword [r10 + 0x28]
test r10, r10
jne 0x5dc848
test r8, r8
je 0x5dc5b1
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x5dc8be
mov rcx, rbp
mov qword [rsp + 0x30], r8
call sym.sqlite3DbFreeNN
mov r8, qword [rsp + 0x30]
lea rdx, str.cannot_open__s_column_for_writing
jmp 0x5dc75c
mov edx, dword [r12 + 0x28]
mov ecx, dword [rsp + 0x4c]
mov dword [rax + 4], r11d
xor r9d, r9d
mov r8, qword [r12]
mov dword [rsp + 0x48], r11d
mov dword [rax + 8], edx
mov edx, 2
mov dword [rax + 0xc], ecx
mov rcx, r15
mov qword [rsp + 0x40], rax
call sym.sqlite3VdbeChangeP4
cmp byte [rbp + 0x67], 0
jne 0x5dc698
mov r9d, dword [rsp + 0x288]
mov rax, qword [rsp + 0x40]
mov r11d, dword [rsp + 0x48]
test r9d, r9d
je 0x5dc926
mov byte [rax + 0x18], 0x71
mov edx, dword [r12 + 0x28]
mov byte [rax + 0x19], 0xfd
xor r8d, r8d
mov dword [rax + 0x24], r11d
mov dword [rax + 0x20], edx
movsx edx, word [r12 + 0x36]
lea ecx, [rdx + 1]
mov dword [rax + 0x50], edx
mov rdx, r14
mov dword [rax + 0x28], ecx
mov rcx, r15
movabs rax, 0x100000001
mov word [rsp + 0x190], r8w
mov qword [rsp + 0x94], rax
call dbg.sqlite3VdbeMakeReady
mov word [r13 + 8], di
mov qword [r13 + 0x20], rbp
cmp byte [rbp + 0x6f], 0
jne 0x5dc6ab
mov rcx, rbp
call dbg.btreeLeaveAll
cmp byte [rbp + 0x67], 0
je 0x5dc6b5
mov ecx, dword [rsp + 0x30]
test ecx, ecx
setne dil
jmp 0x5dc780
mov rcx, rbp
call dbg.btreeEnterAll
jmp 0x5dc4d9
mov r8, qword [rsp + 0x270]
lea rdx, str.cannot_open_table_without_rowid:__s
mov rcx, r14
call dbg.sqlite3ErrorMsg
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x5dc769
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x5dc9f1
mov rcx, rbp
call sym.sqlite3DbFreeNN
mov rax, qword [rsp + 0x68]
cmp byte [rbp + 0x6f], 0
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], 0
jne 0x5dc773
mov rcx, rbp
call dbg.btreeLeaveAll
jmp 0x5dc773
mov r8, qword [rsp + 0x270]
lea rdx, str.cannot_open_virtual_table:__s
mov rcx, r14
call dbg.sqlite3ErrorMsg
jmp 0x5dc9cc
mov r9, qword [r12 + 0x48]
xor r8d, r8d
lea rcx, str.foreign_key
test r9, r9
je 0x5dcacb
mov edx, dword [r9 + 0x28]
test edx, edx
jle 0x5dca6f
sub edx, 1
lea rax, [r9 + 0x40]
shl rdx, 4
lea rdx, [r9 + rdx + 0x50]
nop
cmp dword [rax], edi
cmove r8, rcx
add rax, 0x10
cmp rdx, rax
jne 0x5dca60
mov r9, qword [r9 + 8]
test r9, r9
jne 0x5dca47
jmp 0x5dc894
mov edx, dword [rsp + 0x30]
mov rcx, rbp
call dbg.apiHandleError
mov r12d, eax
jmp 0x5dc7ed
mov edx, dword [rsp + 0x30]
mov edi, eax
test edx, edx
jne 0x5dc780
cmp byte [rbp + 0x67], 0
jne 0x5dcaf5
mov rax, qword [rsp + 0x290]
mov dword [rsp + 0x30], 0
xor edi, edi
mov qword [rax], r13
jmp 0x5dc799
mov rax, 0xfffffffffff00000
jmp 0x5dc54c
test r10, r10
jne 0x5dc848
jmp 0x5dc5b1
mov r8, qword [rsp + 0x270]
lea rdx, str.cannot_open_view:__s
mov rcx, r14
call dbg.sqlite3ErrorMsg
jmp 0x5dc9cc
xor edi, edi
jmp 0x5dc780
mov r11d, 0xffff8000
jmp 0x5dc5f0