Function at 0x5cd660
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea r12, [rsp - 0xf0]
cmp r12, qword [r14 + 0x10]
jbe 0x5cdc6e
push rbp
mov rbp, rsp
sub rsp, 0x168
movq qword [rsp + 0x160], xmm15
mov qword [rsp + 0x178], rax
mov qword [rsp + 0x180], rbx
mov dword [rsp + 0x188], ecx
mov dword [rsp + 0x18c], edi
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x198], r8
mov byte [rsp + 0x2b], 0
mov ebx, 0x30
nop
call sym.modernc.org_libc._TLS_.Alloc
mov qword [rsp + 0x60], rax
lea rcx, [sym.modernc.org_sqlite_lib._openStatTable.deferwrap1]
mov qword [rsp + 0xc0], rcx
mov rcx, qword [rsp + 0x178]
mov qword [rsp + 0xc8], rcx
lea rdx, [rsp + 0xc0]
mov qword [rsp + 0x160], rdx
mov byte [rsp + 0x2b], 1
mov word [rsp + 0x28], 0
mov byte [rsp + 0x2a], 0
mov qword [rsp + 0x34], 0
mov dword [rsp + 0x3c], 0
mov rbx, qword [rsp + 0x180]
mov rdx, rbx
mov rdx, qword [rdx]
mov qword [rsp + 0x58], rdx
mov rax, rcx
call sym.modernc.org_sqlite_lib._sqlite3GetVdbe
mov rbx, qword [rsp + 0x58]
mov rcx, rbx
mov edx, dword [rcx + 0x60]
test edx, 0x800
mov edx, 1
mov esi, 2
cmove edx, esi
test rax, rax
je 0x5cd786
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x2c], edx
mov r8d, dword [rsp + 0x188]
movsxd r10, r8d
shl r10, 5
add r10, qword [rcx + 0x20]
mov qword [rsp + 0x50], r10
mov r11, qword [rsp + 0x178]
xor ecx, ecx
jmp 0x5cd7cf
mov byte [rsp + 0x2b], 0
mov rdx, qword [rsp + 0x160]
mov rax, qword [rdx]
call rax
add rsp, 0x168
pop rbp
ret
lea ecx, [r10 + 1]
mov rax, qword [rsp + 0x178]
mov r10, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x48]
mov edx, r11d
mov r8d, dword [rsp + 0x188]
mov r11, qword [rsp + 0x178]
cmp ecx, 3
jge 0x5cdb9b
movsxd rsi, ecx
nop dword [rax + rax]
cmp rsi, 3
jae 0x5cdc4e
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x30], ecx
mov rdx, rsi
shl rsi, 4
mov qword [rsp + 0x68], rsi
lea r8, [0x00a31480]
mov rcx, qword [r8 + rsi]
mov qword [rsp + 0x40], rcx
mov byte [rsp + rdx + 0x28], 0
mov rdi, qword [r10]
mov rax, r11
call sym.modernc.org_sqlite_lib._sqlite3FindTable
nop
test rax, rax
jne 0x5cd952
mov r10d, dword [rsp + 0x30]
mov r11d, dword [rsp + 0x2c]
cmp r10d, r11d
jge 0x5cd7a1
movups xmmword [rsp + 0x130], xmm15
movups xmmword [rsp + 0x140], xmm15
movups xmmword [rsp + 0x150], xmm15
mov rax, qword [rsp + 0x60]
lea rdx, [rax + 8]
mov rsi, qword [rsp + 0x50]
mov rsi, qword [rsi]
mov qword [rsp + 0xb8], rsi
lea rsi, [0x00728cc0]
mov qword [rsp + 0x130], rsi
lea r9, [rsp + 0xb8]
mov qword [rsp + 0x138], r9
mov r9, qword [rsp + 0x40]
mov qword [rsp + 0xb0], r9
mov qword [rsp + 0x140], rsi
lea r9, [rsp + 0xb0]
mov qword [rsp + 0x148], r9
mov r9, qword [rsp + 0x68]
lea r10, [0x00a31480]
mov r9, qword [r10 + r9 + 8]
mov qword [rsp + 0xa8], r9
mov qword [rsp + 0x150], rsi
lea r9, [rsp + 0xa8]
mov qword [rsp + 0x158], r9
lea rbx, [rsp + 0x130]
mov ecx, 3
mov rdi, rcx
mov rax, rdx
call sym.modernc.org_libc.VaList
mov rcx, qword [0x00a30e10]
add rcx, 0x3328
mov rbx, qword [rsp + 0x180]
mov rdi, rax
mov rax, qword [rsp + 0x178]
nop
call sym.modernc.org_sqlite_lib._sqlite3NestedParse
mov rdx, qword [rsp + 0x180]
mov edx, dword [rdx + 0x8c]
mov r8, qword [rsp + 0x70]
mov dword [rsp + r8*4 + 0x34], edx
mov byte [rsp + r8 + 0x28], 0x10
mov r10d, dword [rsp + 0x30]
mov r11d, dword [rsp + 0x2c]
jmp 0x5cd7a1
mov edi, dword [rax + 0x28]
mov rdx, qword [rsp + 0x70]
mov dword [rsp + rdx*4 + 0x34], edi
mov rax, qword [rsp + 0x178]
mov rbx, qword [rsp + 0x180]
mov ecx, dword [rsp + 0x188]
mov esi, 1
mov r8, qword [rsp + 0x40]
nop
call sym.modernc.org_sqlite_lib._sqlite3TableLock
mov rdx, qword [rsp + 0x190]
test rdx, rdx
jne 0x5cda85
mov r9, qword [rsp + 0x58]
cmp qword [r9 + 0x170], 0
je 0x5cda55
movups xmmword [rsp + 0xd0], xmm15
movups xmmword [rsp + 0xe0], xmm15
mov rax, qword [rsp + 0x60]
lea rdx, [rax + 8]
mov rsi, qword [rsp + 0x50]
mov rsi, qword [rsi]
mov qword [rsp + 0x80], rsi
lea rsi, [0x00728cc0]
mov qword [rsp + 0xd0], rsi
lea r9, [rsp + 0x80]
mov qword [rsp + 0xd8], r9
mov r9, qword [rsp + 0x40]
mov qword [rsp + 0x78], r9
mov qword [rsp + 0xe0], rsi
lea r9, [rsp + 0x78]
mov qword [rsp + 0xe8], r9
lea rbx, [rsp + 0xd0]
mov ecx, 2
mov rdi, rcx
mov rax, rdx
call sym.modernc.org_libc.VaList
mov rcx, qword [0x00a30e10]
add rcx, 0x335d
mov rbx, qword [rsp + 0x180]
mov rdi, rax
mov rax, qword [rsp + 0x178]
call sym.modernc.org_sqlite_lib._sqlite3NestedParse
jmp 0x5cdb8c
mov rdx, qword [rsp + 0x70]
mov edi, dword [rsp + rdx*4 + 0x34]
mov rax, qword [rsp + 0x178]
mov rbx, qword [rsp + 0x48]
mov ecx, 0x91
mov esi, dword [rsp + 0x188]
xor r8d, r8d
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
nop
jmp 0x5cdb8c
movups xmmword [rsp + 0xf0], xmm15
movups xmmword [rsp + 0x100], xmm15
movups xmmword [rsp + 0x110], xmm15
movups xmmword [rsp + 0x120], xmm15
mov rax, qword [rsp + 0x60]
lea rsi, [rax + 8]
mov r8, qword [rsp + 0x50]
mov r8, qword [r8]
mov qword [rsp + 0xa0], r8
lea r8, [0x00728cc0]
mov qword [rsp + 0xf0], r8
lea r10, [rsp + 0xa0]
mov qword [rsp + 0xf8], r10
mov r10, qword [rsp + 0x40]
mov qword [rsp + 0x98], r10
mov qword [rsp + 0x100], r8
lea r10, [rsp + 0x98]
mov qword [rsp + 0x108], r10
mov r10, qword [rsp + 0x198]
mov qword [rsp + 0x90], r10
mov qword [rsp + 0x110], r8
lea r11, [rsp + 0x90]
mov qword [rsp + 0x118], r11
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x120], r8
lea r11, [rsp + 0x88]
mov qword [rsp + 0x128], r11
lea rbx, [rsp + 0xf0]
mov ecx, 4
mov rdi, rcx
mov rax, rsi
call sym.modernc.org_libc.VaList
mov rcx, qword [0x00a30e10]
add rcx, 0x333f
mov rbx, qword [rsp + 0x180]
mov rdi, rax
mov rax, qword [rsp + 0x178]
call sym.modernc.org_sqlite_lib._sqlite3NestedParse
mov r10d, dword [rsp + 0x30]
mov r11d, dword [rsp + 0x2c]
jmp 0x5cd7a1
xor ecx, ecx
jmp 0x5cdbc0
mov ecx, dword [rsp + 0x30]
inc ecx
mov rax, rbx
mov edx, dword [rsp + 0x2c]
mov r8d, dword [rsp + 0x188]
mov r11, qword [rsp + 0x178]
nop dword [rax]
cmp ecx, edx
jge 0x5cdc33
mov dword [rsp + 0x30], ecx
mov edx, dword [rsp + 0x18c]
lea edi, [rcx + rdx]
movsxd r10, ecx
mov qword [rsp + 0x70], r10
mov esi, dword [rsp + r10*4 + 0x34]
mov rbx, rax
mov r9d, 3
mov rax, r11
mov ecx, 0x71
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp4Int
mov rbx, qword [rsp + 0x48]
mov rdx, rbx
mov r10d, dword [rdx + 0x90]
test r10d, r10d
jle 0x5cdb9f
mov r11, qword [rsp + 0x70]
movzx r11d, byte [rsp + r11 + 0x28]
dec r10d
movsxd r10, r10d
lea r10, [r10 + r10*2]
shl r10, 3
add r10, qword [rdx + 0x88]
mov word [r10 + 2], r11w
jmp 0x5cdb9f
mov byte [rsp + 0x2b], 0
mov rdx, qword [rsp + 0x160]
mov rax, qword [rdx]
call rax
add rsp, 0x168
pop rbp
ret
mov rax, rsi
mov ecx, 3
call sym.runtime.panicIndex
nop
nop dword [rax]
call sym.runtime.deferreturn
add rsp, 0x168
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], ecx
mov dword [rsp + 0x1c], edi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r8
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x18]
mov edi, dword [rsp + 0x1c]
mov rsi, qword [rsp + 0x20]
mov r8, qword [rsp + 0x28]
jmp sym.modernc.org_sqlite_lib._openStatTable