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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x8e0]
sub rsp, 0x9e0
mov rax, qword [0x1800e2008]
xor rax, rsp
mov qword [rbp + 0x8d0], rax
mov rsi, rcx
mov qword [rsp + 0x38], r8
xor ecx, ecx
mov r15, rdx
mov dword [rsp + 0x34], ecx
mov rbx, qword [rsi]
lea r14d, [rcx - 1]
mov r13d, dword [rbx + 0x80]
cmp dword [rbx + 0xc8], ecx
jne 0x18009ffdd
mov dword [rbx + 0x170], ecx
mov dword [rsi + 0x18], ecx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x60], ecx
lea rax, [rbp + 0x8a8]
mov qword [rbp + 0x8c0], rax
mov rcx, r15
mov qword [rsi + 0x140], r15
mov qword [rsp + 0x58], rsi
mov rax, qword [rbx + 0x138]
mov qword [rsi + 0xb0], rax
mov qword [rbx + 0x138], rsi
call fcn.18009f7f0
sub r13d, eax
mov r12d, eax
js 0x1800a02cd
nop word [rax + rax]
mov edi, dword [rsp + 0x20]
cmp edi, 0xa1
jl 0x1800a027a
mov eax, dword [rbx + 0x170]
test eax, eax
jne 0x1800a0334
mov eax, dword [rsp + 0x20]
cmp eax, 0xb3
jne 0x1800a0074
movsxd rax, r12d
add r15, rax
jmp 0x1800a02b4
cmp byte [r15], 0
jne 0x1800a00a0
cmp r14d, 1
jne 0x1800a008a
xor edi, edi
xor r12d, r12d
jmp 0x1800a0276
test r14d, r14d
je 0x1800a02d4
mov edi, 1
xor r12d, r12d
jmp 0x1800a0276
cmp eax, 0xa1
jne 0x1800a0175
lea rdi, [r15 + 6]
nop
lea rdx, [rsp + 0x24]
mov rcx, rdi
call fcn.18009f7f0
movsxd rcx, eax
add rdi, rcx
movsxd rcx, dword [rsp + 0x24]
cmp ecx, 0xb3
je 0x1800a00b0
cmp ecx, 0x3b
je 0x1800a0101
lea eax, [rcx - 0x73]
cmp eax, 0x2f
ja 0x1800a00ed
movabs rdx, 0xc00000000003
bt rdx, rax
jb 0x1800a0101
lea r14, [0x1800d2e60]
cmp word [r14 + rcx*2], 0x3b
je 0x1800a0108
jmp 0x1800a0271
lea r14, [0x1800d2e60]
mov dword [rsp + 0x24], 0x3b
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.18009f7f0
movsxd rcx, eax
add rdi, rcx
movsxd rcx, dword [rsp + 0x28]
cmp ecx, 0xb3
je 0x1800a0110
cmp ecx, 0x3b
je 0x1800a0168
lea eax, [rcx - 0x73]
cmp eax, 0x2f
ja 0x1800a014d
movabs rdx, 0xc00000000003
bt rdx, rax
jb 0x1800a0168
cmp word [r14 + rcx*2], 0x3b
je 0x1800a0168
cmp ecx, 0x18
jne 0x1800a0271
mov edi, 0xa1
jmp 0x1800a0276
mov dword [rsp + 0x28], 0x3b
jmp 0x1800a0271
cmp eax, 0xa2
jne 0x1800a01fd
cmp r14d, 0x17
jne 0x1800a0271
lea rdi, [r15 + 4]
nop
lea rdx, [rsp + 0x2c]
mov rcx, rdi
call fcn.18009f7f0
movsxd rcx, eax
add rdi, rcx
movsxd rcx, dword [rsp + 0x2c]
cmp ecx, 0xb3
je 0x1800a0190
cmp ecx, 0x3b
je 0x1800a01ee
lea eax, [rcx - 0x73]
cmp eax, 0x2f
ja 0x1800a01cd
movabs rdx, 0xc00000000003
bt rdx, rax
jb 0x1800a01ee
lea rdx, [0x1800d2e60]
cmp word [rdx + rcx*2], 0x3b
je 0x1800a01ee
cmp ecx, 0x16
jne 0x1800a0271
mov edi, 0xa2
jmp 0x1800a0276
mov dword [rsp + 0x2c], 0x3b
mov edi, 0xa2
jmp 0x1800a0276
cmp eax, 0xa3
jne 0x1800a031d
cmp r14d, 0x17
jne 0x1800a0271
lea rdi, [r15 + 6]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.18009f7f0
movsxd rcx, eax
add rdi, rcx
movsxd rcx, dword [rsp + 0x30]
cmp ecx, 0xb3
je 0x1800a0212
cmp ecx, 0x3b
je 0x1800a0269
lea eax, [rcx - 0x73]
cmp eax, 0x2f
ja 0x1800a024f
movabs rdx, 0xc00000000003
bt rdx, rax
jb 0x1800a0269
lea rdx, [0x1800d2e60]
cmp word [rdx + rcx*2], 0x3b
je 0x1800a0269
cmp ecx, 0x16
jne 0x1800a0271
mov edi, 0xa3
jmp 0x1800a0276
mov dword [rsp + 0x30], 0x3b
mov edi, 0x3b
mov dword [rsp + 0x20], edi
mov qword [rsi + 0x108], r15
lea r8, [rsp + 0x40]
mov dword [rsi + 0x110], r12d
lea rcx, [rsp + 0x50]
movups xmm0, xmmword [rsi + 0x108]
mov edx, edi
movaps xmmword [rsp + 0x40], xmm0
call fcn.18009f410
movsxd rax, r12d
mov r14d, edi
add r15, rax
cmp dword [rsi + 0x18], 0
jne 0x1800a02d4
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.18009f7f0
sub r13d, eax
mov r12d, eax
jns 0x1800a0040
mov dword [rsi + 0x18], 0x12
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
cmp rcx, rax
jbe 0x1800a030d
lea rax, [rcx - 0x18]
mov qword [rsp + 0x50], rax
lea r8, [rcx + 8]
movzx edx, word [rcx + 2]
lea rcx, [rsp + 0x50]
call fcn.18009c830
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
cmp rcx, rax
ja 0x1800a02e3
cmp byte [rbx + 0x61], 0
je 0x1800a033d
mov ecx, 7
mov dword [rsi + 0x18], ecx
jmp 0x1800a0349
mov r9, r15
lea rdx, str.unrecognized_token:___.s_
mov r8d, r12d
mov rcx, rsi
call fcn.180007af0
jmp 0x1800a02d4
mov dword [rsi + 0x18], 9
jmp 0x1800a02d4
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x1800a036b
cmp ecx, 0x65
je 0x1800a036b
cmp qword [rsi + 8], 0
jne 0x1800a036b
call sym.SQLite3.dll_sqlite3_errstr
mov r8, rax
lea rdx, [0x1800c7700]
mov rcx, rbx
call fcn.180006c70
mov qword [rsi + 8], rax
mov r8, qword [rsi + 8]
test r8, r8
je 0x1800a039f
mov rax, qword [rsp + 0x38]
lea rdx, str._s_in___s_
mov qword [rax], r8
mov r9, qword [rsi + 0x140]
mov ecx, dword [rsi + 0x18]
call sym.SQLite3.dll_sqlite3_log
xor r14d, r14d
mov qword [rsi + 8], r14
lea edi, [r14 + 1]
jmp 0x1800a03a6
mov edi, dword [rsp + 0x34]
xor r14d, r14d
mov rcx, qword [rsi + 0x10]
mov qword [rsi + 0x140], r15
test rcx, rcx
je 0x1800a03cf
cmp dword [rsi + 0x30], 0
jle 0x1800a03cf
cmp byte [rsi + 0x1e], 0
jne 0x1800a0450
call fcn.18002db30
mov qword [rsi + 0x10], r14
cmp byte [rsi + 0x1e], 0
jne 0x1800a0450
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x1800a0442
cmp qword [rbx + 0x2d8], 0
je 0x1800a03fc
mov rdx, rcx
mov rcx, rbx
call fcn.180004440
jmp 0x1800a0442
cmp rcx, qword [rbx + 0x1c8]
jae 0x1800a043d
cmp rcx, qword [rbx + 0x1b8]
jb 0x1800a0421
mov rax, qword [rbx + 0x1b0]
mov qword [rcx], rax
mov qword [rbx + 0x1b0], rcx
jmp 0x1800a0442
cmp rcx, qword [rbx + 0x1c0]
jb 0x1800a043d
mov rax, qword [rbx + 0x1a0]
mov qword [rcx], rax
mov qword [rbx + 0x1a0], rcx
jmp 0x1800a0442
call sym.SQLite3.dll_sqlite3_free
mov qword [rsi + 0x90], r14
mov dword [rsi + 0x88], r14d
mov rcx, qword [rsi + 0x178]
call sym.SQLite3.dll_sqlite3_free
cmp byte [rsi + 0x11c], 0
jne 0x1800a0489
mov rdx, qword [rsi + 0x148]
test rdx, rdx
je 0x1800a0489
cmp qword [rbx + 0x2d8], 0
jne 0x1800a0481
add dword [rdx + 0x3c], 0xffffffff
jne 0x1800a0489
mov rcx, rbx
call fcn.180052e80
cmp byte [rsi + 0x11c], 2
jae 0x1800a04a1
mov rdx, qword [rsi + 0x158]
mov rcx, rbx
call fcn.18007f530
mov rdx, qword [rsi + 0x198]
test rdx, rdx
je 0x1800a04b5
mov rcx, rbx
call fcn.18005b320
mov rcx, qword [rsi + 0x130]
test rcx, rcx
je 0x1800a051e
cmp qword [rbx + 0x2d8], 0
je 0x1800a04d8
mov rdx, rcx
mov rcx, rbx
call fcn.180004440
jmp 0x1800a051e
cmp rcx, qword [rbx + 0x1c8]
jae 0x1800a0519
cmp rcx, qword [rbx + 0x1b8]
jb 0x1800a04fd
mov rax, qword [rbx + 0x1b0]
mov qword [rcx], rax
mov qword [rbx + 0x1b0], rcx
jmp 0x1800a051e
cmp rcx, qword [rbx + 0x1c0]
jb 0x1800a0519
mov rax, qword [rbx + 0x1a0]
mov qword [rcx], rax
mov qword [rbx + 0x1a0], rcx
jmp 0x1800a051e
call sym.SQLite3.dll_sqlite3_free
mov rcx, qword [rsi + 0x98]
test rcx, rcx
je 0x1800a05a3
nop word [rax + rax]
mov rax, qword [rcx]
mov qword [rsi + 0x98], rax
cmp qword [rbx + 0x2d8], 0
je 0x1800a0551
mov rdx, rcx
mov rcx, rbx
call fcn.180004440
jmp 0x1800a0597
cmp rcx, qword [rbx + 0x1c8]
jae 0x1800a0592
cmp rcx, qword [rbx + 0x1b8]
jb 0x1800a0576
mov rax, qword [rbx + 0x1b0]
mov qword [rcx], rax
mov qword [rbx + 0x1b0], rcx
jmp 0x1800a0597
cmp rcx, qword [rbx + 0x1c0]
jb 0x1800a0592
mov rax, qword [rbx + 0x1a0]
mov qword [rcx], rax
mov qword [rbx + 0x1a0], rcx
jmp 0x1800a0597
call sym.SQLite3.dll_sqlite3_free
mov rcx, qword [rsi + 0x98]
test rcx, rcx
jne 0x1800a0530
mov rcx, qword [rsi + 0x180]
test rcx, rcx
je 0x1800a05e2
nop
mov rax, qword [rcx + 0x78]
mov qword [rsi + 0x180], rax
cmp qword [rbx + 0x2d8], 0
jne 0x1800a05cb
add dword [rcx + 0x3c], 0xffffffff
jne 0x1800a05d6
mov rdx, rcx
mov rcx, rbx
call fcn.180052e80
mov rcx, qword [rsi + 0x180]
test rcx, rcx
jne 0x1800a05b0
mov rcx, qword [rsi + 0xb0]
mov eax, edi
mov qword [rbx + 0x138], rcx
mov qword [rsi + 0xb0], r14
mov rcx, qword [rbp + 0x8d0]
xor rcx, rsp
call fcn.1800ae0b0
mov rbx, qword [rsp + 0xa38]
add rsp, 0x9e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret