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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
xor r15d, r15d
mov r12, rdx
mov rsi, rcx
test rdx, rdx
jne 0x1800e8eeb
mov r13d, r15d
jmp 0x1800e8f25
movzx ecx, word [rdx + 0x14]
mov edx, 0x202
movzx eax, cx
and ax, dx
cmp ax, dx
jne 0x1800e8f0e
cmp byte [r12 + 0x16], 1
jne 0x1800e8f0e
mov r13, qword [r12 + 8]
jmp 0x1800e8f25
test cl, 1
je 0x1800e8f18
mov r13, r15
jmp 0x1800e8f25
mov dl, 1
mov rcx, r12
call fcn.180033820
mov r13, rax
movzx ecx, word [r12 + 0x14]
mov qword [rsp + 0x30], rbp
test cl, 2
je 0x1800e8f44
cmp byte [r12 + 0x16], 1
jne 0x1800e8f44
mov ebp, dword [r12 + 0x10]
jmp 0x1800e8f74
test cl, 0x10
je 0x1800e8f5e
mov ebp, dword [r12 + 0x10]
mov eax, 0x400
test ax, cx
je 0x1800e8f74
add ebp, dword [r12]
jmp 0x1800e8f74
test cl, 1
je 0x1800e8f68
mov ebp, r15d
jmp 0x1800e8f74
mov dl, 1
mov rcx, r12
call fcn.180033f90
mov ebp, eax
or r10d, 0xffffffff
mov rdi, r15
mov dword [rsp + 0x24], r15d
mov r9d, r15d
mov dword [rsp + 0x78], r15d
mov dword [rsp + 0x20], r10d
test r13, r13
jne 0x1800e8f99
xor eax, eax
jmp 0x1800e9252
mov r14d, r15d
mov qword [rsp + 0x70], rbx
mov rax, qword [rsi + 0x18]
lea edx, [r14 - 0x68f72]
mov rcx, qword [rax + 0x128]
test rcx, rcx
je 0x1800e90a9
nop dword [rax]
cmp dword [rcx + 4], edx
jne 0x1800e8fd0
mov eax, dword [rsi + 0x20]
cmp dword [rcx], eax
je 0x1800e8fde
test edx, edx
js 0x1800e8fde
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1800e8fc0
jmp 0x1800e90a9
mov rbx, qword [rcx + 8]
test rbx, rbx
je 0x1800e90a9
test rdi, rdi
jne 0x1800e906f
cmp dword [rbx + 0x3c], ebp
jne 0x1800e9035
cmp byte [rbx + 0x37], r15b
je 0x1800e9006
mov eax, dword [rsp + 0x88]
test eax, eax
jne 0x1800e903c
mov rcx, qword [rbx + 0x10]
cmp rcx, r13
je 0x1800e9028
movsxd r8, ebp
mov rdx, r13
call fcn.180136a90
mov r10d, dword [rsp + 0x20]
test eax, eax
jne 0x1800e9035
mov r9d, dword [rsp + 0x78]
mov byte [rbx + 0x32], r15b
mov byte [rbx + 0x36], r15b
mov rdi, rbx
jmp 0x1800e9088
mov eax, dword [rsp + 0x88]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1800e906f
test eax, eax
jne 0x1800e906f
cmp dword [rbx + 0x40], ebp
jne 0x1800e906f
movsxd r8, ebp
mov rdx, r13
call fcn.180136a90
mov r10d, dword [rsp + 0x20]
test eax, eax
jne 0x1800e906f
mov byte [rbx + 0x32], r15b
mov byte [rbx + 0x36], 1
mov rdi, rbx
jmp 0x1800e9083
mov eax, dword [rbx + 0x4c]
cmp eax, r10d
jae 0x1800e9083
mov r10d, eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], r14d
mov r9d, dword [rsp + 0x78]
mov eax, dword [rbx + 0x4c]
cmp eax, r9d
cmova r9d, eax
inc r14d
mov dword [rsp + 0x78], r9d
cmp r14d, 4
jl 0x1800e8fa1
mov r14d, dword [rsp + 0x24]
test rdi, rdi
je 0x1800e90c1
lea ecx, [r9 + 1]
mov byte [rdi + 0x32], r15b
mov rax, rdi
mov dword [rdi + 0x4c], ecx
jmp 0x1800e924d
movzx eax, word [r12 + 0x14]
mov edx, 1
test al, 0x12
je 0x1800e90ef
mov ecx, 0x1000
test cx, ax
je 0x1800e90ef
lea rax, [0x18000ddd0]
cmp qword [r12 + 0x30], rax
jne 0x1800e90ef
mov edi, edx
mov eax, r15d
jmp 0x1800e90f5
mov edi, r15d
lea eax, [rbp + 1]
movsxd rbx, eax
add rbx, 0x50
call sym.sqlite.dll_sqlite3_initialize
test eax, eax
jne 0x1800e9217
test rbx, rbx
je 0x1800e9217
mov rcx, rbx
call fcn.18000af90
mov rbx, rax
test rax, rax
je 0x1800e9217
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x50]
call fcn.18012d640
test edi, edi
je 0x1800e9146
inc qword [r13 - 8]
mov qword [rbx + 0x10], r13
mov byte [rbx + 0x34], 1
jmp 0x1800e915c
lea eax, [rbp + 1]
lea rcx, [rbx + 0x50]
mov rdx, r13
movsxd r8, eax
mov qword [rbx + 0x10], rcx
call fcn.1801278d0
mov rdi, qword [rsp + 0x80]
mov ecx, 1
mov dword [rbx + 0x38], ecx
mov rdx, rdi
mov rcx, rbx
call fcn.1800e8ce0
test eax, eax
je 0x1800e91b3
test rdi, rdi
jne 0x1800e918c
mov byte [rbx + 0x32], 1
mov rax, rbx
jmp 0x1800e924d
mov eax, dword [rbx + 0x38]
cmp eax, 1
jbe 0x1800e919e
dec eax
mov dword [rbx + 0x38], eax
jmp 0x1800e924b
mov rcx, rbx
call fcn.1800e6a30
mov rcx, rbx
call sym.sqlite.dll_sqlite3_free
jmp 0x1800e924b
mov eax, dword [rsp + 0x78]
lea edi, [r14 - 0x68f72]
lea r9, [0x1800e6b60]
inc eax
mov r8, rbx
mov edx, edi
mov rcx, rsi
mov dword [rbx + 0x3c], ebp
mov dword [rbx + 0x4c], eax
call sym.sqlite.dll_sqlite3_set_auxdata
mov r11, qword [rsi + 0x18]
mov rcx, qword [r11 + 0x128]
test rcx, rcx
je 0x1800e9212
nop word [rax + rax]
cmp dword [rcx + 4], edi
jne 0x1800e9200
mov eax, dword [rsi + 0x20]
cmp dword [rcx], eax
je 0x1800e920e
test edi, edi
js 0x1800e920e
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1800e91f0
mov rax, r15
jmp 0x1800e924d
mov r15, qword [rcx + 8]
mov rax, r15
jmp 0x1800e924d
mov rax, qword [rsi]
mov ecx, 0x9000
test word [rax + 0x14], cx
je 0x1800e922f
mov rcx, rax
call fcn.180032aa0
jmp 0x1800e9238
mov ecx, 1
mov word [rax + 0x14], cx
mov rcx, qword [rsi]
mov dword [rsi + 0x24], 7
mov rcx, qword [rcx + 0x18]
call fcn.18000ba30
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret