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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor ebp, ebp
mov rbx, rcx
mov rcx, qword [rcx + 0x18]
mov rdi, r9
mov r15, rdx
mov qword [rsp + 0x30], rbp
mov r13d, ebp
mov r14d, ebp
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x80], ebp
mov dword [rsp + 0x20], ebp
test rcx, rcx
je 0x180005cf7
call qword [0x1800bcef8]
mov esi, ebp
cmp dword [rbx + 0x28], ebp
jle 0x180005d36
mov rdi, rbp
mov rax, qword [rbx + 0x20]
mov rcx, qword [rdi + rax + 8]
test rcx, rcx
je 0x180005d23
cmp byte [rcx + 0x11], bpl
je 0x180005d23
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], bpl
jne 0x180005d23
call fcn.1800176c0
inc esi
add rdi, 0x20
cmp esi, dword [rbx + 0x28]
jl 0x180005d01
mov rdi, qword [rsp + 0x98]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1800538a0
mov r12d, eax
test eax, eax
jne 0x180005f11
mov rdx, qword [rsp + 0x90]
mov r8, r15
mov rcx, rbx
call fcn.18004de50
mov r13, rax
test rax, rax
je 0x180005f0e
cmp qword [rax + 0x18], rbp
jne 0x180005f0e
test rdi, rdi
je 0x180005eee
movsx r15, word [rax + 0x3e]
mov r10d, ebp
test r15d, r15d
jle 0x180005e39
mov r11, qword [r13 + 8]
mov rsi, r15
mov r15, qword [rsp + 0x98]
movzx eax, byte [r15]
lea r9, [0x1800a0de0]
mov rdi, rbp
movzx ecx, byte [rax + r9]
mov dword [rsp + 0x24], ecx
nop word [rax + rax]
mov r8, qword [r11]
mov r14, r11
movzx edx, byte [r8]
movzx eax, byte [rdx + r9]
sub eax, ecx
jne 0x180005e1d
mov r9, r15
sub r9, r8
nop dword [rax]
test dl, dl
je 0x180005e0e
movzx eax, byte [r9 + r8 + 1]
movzx edx, byte [r8 + 1]
inc r8
lea rcx, [0x1800a0de0]
movzx ecx, byte [rax + rcx]
lea rax, [0x1800a0de0]
movzx eax, byte [rdx + rax]
sub eax, ecx
je 0x180005de0
jmp 0x180005e12
test eax, eax
je 0x180005e2c
mov ecx, dword [rsp + 0x24]
lea r9, [0x1800a0de0]
inc rdi
inc r10d
add r11, 0x20
cmp rdi, rsi
jl 0x180005dc0
movsx r15d, word [r13 + 0x3e]
mov rdi, qword [rsp + 0x98]
cmp r10d, r15d
jne 0x180005e72
test byte [r13 + 0x46], 0x20
jne 0x180005f0e
mov rcx, rdi
call fcn.1800559a0
test eax, eax
je 0x180005f0e
movsx r10, word [r13 + 0x3c]
test r10d, r10d
js 0x180005eee
mov r14, r10
shl r14, 5
add r14, qword [r13 + 8]
test r14, r14
je 0x180005eee
movzx edx, byte [r14 + 0x1b]
test dl, 4
jne 0x180005e88
mov qword [rsp + 0x38], rbp
jmp 0x180005ea5
mov rcx, qword [r14]
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], bpl
jne 0x180005e90
lea r8, [rcx + 1]
add r8, rax
mov qword [rsp + 0x38], r8
mov r15, qword [r14 + 0x10]
mov eax, ebp
movzx ecx, dl
cmp byte [r14 + 0x18], al
setne al
and ecx, 1
mov dword [rsp + 0x28], eax
movsx eax, word [r13 + 0x3c]
mov dword [rsp + 0x80], ecx
cmp eax, r10d
jne 0x180005edc
test byte [r13 + 0x46], 8
mov dword [rsp + 0x20], 1
jne 0x180005ee0
mov dword [rsp + 0x20], ebp
test r15, r15
jne 0x180005f14
lea r15, [0x1800a0dbc]
jmp 0x180005f14
lea rax, str.INTEGER
mov dword [rsp + 0x80], 1
lea r15, [0x1800a0dbc]
mov qword [rsp + 0x38], rax
jmp 0x180005f14
mov r13, rbp
mov r15, rbp
mov esi, ebp
cmp dword [rbx + 0x28], ebp
jle 0x180005f49
mov rdi, rbp
nop
mov rax, qword [rbx + 0x20]
mov rcx, qword [rdi + rax + 8]
test rcx, rcx
je 0x180005f3e
cmp byte [rcx + 0x11], bpl
je 0x180005f3e
dec dword [rcx + 0x14]
jne 0x180005f3e
call fcn.180080340
inc esi
add rdi, 0x20
cmp esi, dword [rbx + 0x28]
jl 0x180005f20
mov rax, qword [rsp + 0xa0]
test rax, rax
je 0x180005f5e
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x180005f6e
mov qword [rax], r15
mov rax, qword [rsp + 0xb0]
test rax, rax
je 0x180005f81
mov ecx, dword [rsp + 0x28]
mov dword [rax], ecx
mov rax, qword [rsp + 0xb8]
test rax, rax
je 0x180005f97
mov ecx, dword [rsp + 0x80]
mov dword [rax], ecx
mov rax, qword [rsp + 0xc0]
test rax, rax
je 0x180005faa
mov ecx, dword [rsp + 0x20]
mov dword [rax], ecx
test r12d, r12d
jne 0x180006034
test r13, r13
jne 0x180006034
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180006008
cmp qword [rbx + 0x298], rbp
je 0x180005fd8
mov rdx, rcx
mov rcx, rbx
call fcn.18002c290
jmp 0x180006008
cmp rcx, qword [rbx + 0x180]
jb 0x180006003
cmp rcx, qword [rbx + 0x188]
jae 0x180006003
mov rax, qword [rbx + 0x178]
mov qword [rcx], rax
dec dword [rbx + 0x160]
mov qword [rbx + 0x178], rcx
jmp 0x180006008
call sym.sqlite3.dll_sqlite3_free
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
lea rdx, str.no_such_table_column:__s._s
mov rcx, rbx
call fcn.180057320
mov r12d, 1
mov qword [rsp + 0x30], rax
jmp 0x180006039
mov rax, qword [rsp + 0x30]
lea rcx, [0x1800a6394]
test rax, rax
mov r9, rax
cmovne rbp, rcx
mov edx, r12d
mov rcx, rbx
mov r8, rbp
call fcn.180048a10
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1800060a9
cmp qword [rbx + 0x298], 0
je 0x180006079
mov rdx, rcx
mov rcx, rbx
call fcn.18002c290
jmp 0x1800060a9
cmp rcx, qword [rbx + 0x180]
jb 0x1800060a4
cmp rcx, qword [rbx + 0x188]
jae 0x1800060a4
mov rax, qword [rbx + 0x178]
mov qword [rcx], rax
dec dword [rbx + 0x160]
mov qword [rbx + 0x178], rcx
jmp 0x1800060a9
call sym.sqlite3.dll_sqlite3_free
cmp byte [rbx + 0x55], 0
jne 0x1800060be
cmp r12d, 0xc0a
je 0x1800060be
and r12d, dword [rbx + 0x48]
jmp 0x1800060c9
mov rcx, rbx
call fcn.180013f60
mov r12d, eax
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1800060d8
call qword [0x1800bcf08]
mov eax, r12d
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret