Function at 0x1800e9e70
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 0x1800e9e9b
mov r13d, r15d
jmp 0x1800e9ed5
movzx ecx, word [rdx + 0x14]
mov edx, 0x202
movzx eax, cx
and ax, dx
cmp ax, dx
jne 0x1800e9ebe
cmp byte [r12 + 0x16], 1
jne 0x1800e9ebe
mov r13, qword [r12 + 8]
jmp 0x1800e9ed5
test cl, 1
je 0x1800e9ec8
mov r13, r15
jmp 0x1800e9ed5
mov dl, 1
mov rcx, r12
call fcn.180034790
mov r13, rax
movzx ecx, word [r12 + 0x14]
mov qword [rsp + 0x30], rbp
test cl, 2
je 0x1800e9ef4
cmp byte [r12 + 0x16], 1
jne 0x1800e9ef4
mov ebp, dword [r12 + 0x10]
jmp 0x1800e9f24
test cl, 0x10
je 0x1800e9f0e
mov ebp, dword [r12 + 0x10]
mov eax, 0x400
test ax, cx
je 0x1800e9f24
add ebp, dword [r12]
jmp 0x1800e9f24
test cl, 1
je 0x1800e9f18
mov ebp, r15d
jmp 0x1800e9f24
mov dl, 1
mov rcx, r12
call fcn.180034f00
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 0x1800e9f49
xor eax, eax
jmp 0x1800ea202
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 0x1800ea059
nop dword [rax]
cmp dword [rcx + 4], edx
jne 0x1800e9f80
mov eax, dword [rsi + 0x20]
cmp dword [rcx], eax
je 0x1800e9f8e
test edx, edx
js 0x1800e9f8e
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1800e9f70
jmp 0x1800ea059
mov rbx, qword [rcx + 8]
test rbx, rbx
je 0x1800ea059
test rdi, rdi
jne 0x1800ea01f
cmp dword [rbx + 0x3c], ebp
jne 0x1800e9fe5
cmp byte [rbx + 0x37], r15b
je 0x1800e9fb6
mov eax, dword [rsp + 0x88]
test eax, eax
jne 0x1800e9fec
mov rcx, qword [rbx + 0x10]
cmp rcx, r13
je 0x1800e9fd8
movsxd r8, ebp
mov rdx, r13
call fcn.180137910
mov r10d, dword [rsp + 0x20]
test eax, eax
jne 0x1800e9fe5
mov r9d, dword [rsp + 0x78]
mov byte [rbx + 0x32], r15b
mov byte [rbx + 0x36], r15b
mov rdi, rbx
jmp 0x1800ea038
mov eax, dword [rsp + 0x88]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1800ea01f
test eax, eax
jne 0x1800ea01f
cmp dword [rbx + 0x40], ebp
jne 0x1800ea01f
movsxd r8, ebp
mov rdx, r13
call fcn.180137910
mov r10d, dword [rsp + 0x20]
test eax, eax
jne 0x1800ea01f
mov byte [rbx + 0x32], r15b
mov byte [rbx + 0x36], 1
mov rdi, rbx
jmp 0x1800ea033
mov eax, dword [rbx + 0x4c]
cmp eax, r10d
jae 0x1800ea033
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 0x1800e9f51
mov r14d, dword [rsp + 0x24]
test rdi, rdi
je 0x1800ea071
lea ecx, [r9 + 1]
mov byte [rdi + 0x32], r15b
mov rax, rdi
mov dword [rdi + 0x4c], ecx
jmp 0x1800ea1fd
movzx eax, word [r12 + 0x14]
mov edx, 1
test al, 0x12
je 0x1800ea09f
mov ecx, 0x1000
test cx, ax
je 0x1800ea09f
lea rax, [0x18000ec80]
cmp qword [r12 + 0x30], rax
jne 0x1800ea09f
mov edi, edx
mov eax, r15d
jmp 0x1800ea0a5
mov edi, r15d
lea eax, [rbp + 1]
movsxd rbx, eax
add rbx, 0x50
call sym.sqlite.dll_sqlite3_initialize
test eax, eax
jne 0x1800ea1c7
test rbx, rbx
je 0x1800ea1c7
mov rcx, rbx
call fcn.18000be40
mov rbx, rax
test rax, rax
je 0x1800ea1c7
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x50]
call fcn.18012e4c0
test edi, edi
je 0x1800ea0f6
inc qword [r13 - 8]
mov qword [rbx + 0x10], r13
mov byte [rbx + 0x34], 1
jmp 0x1800ea10c
lea eax, [rbp + 1]
lea rcx, [rbx + 0x50]
mov rdx, r13
movsxd r8, eax
mov qword [rbx + 0x10], rcx
call fcn.180128750
mov rdi, qword [rsp + 0x80]
mov ecx, 1
mov dword [rbx + 0x38], ecx
mov rdx, rdi
mov rcx, rbx
call fcn.1800e9c90
test eax, eax
je 0x1800ea163
test rdi, rdi
jne 0x1800ea13c
mov byte [rbx + 0x32], 1
mov rax, rbx
jmp 0x1800ea1fd
mov eax, dword [rbx + 0x38]
cmp eax, 1
jbe 0x1800ea14e
dec eax
mov dword [rbx + 0x38], eax
jmp 0x1800ea1fb
mov rcx, rbx
call fcn.1800e79e0
mov rcx, rbx
call sym.sqlite.dll_sqlite3_free
jmp 0x1800ea1fb
mov eax, dword [rsp + 0x78]
lea edi, [r14 - 0x68f72]
lea r9, [0x1800e7b10]
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 0x1800ea1c2
nop word [rax + rax]
cmp dword [rcx + 4], edi
jne 0x1800ea1b0
mov eax, dword [rsi + 0x20]
cmp dword [rcx], eax
je 0x1800ea1be
test edi, edi
js 0x1800ea1be
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1800ea1a0
mov rax, r15
jmp 0x1800ea1fd
mov r15, qword [rcx + 8]
mov rax, r15
jmp 0x1800ea1fd
mov rax, qword [rsi]
mov ecx, 0x9000
test word [rax + 0x14], cx
je 0x1800ea1df
mov rcx, rax
call fcn.180033a10
jmp 0x1800ea1e8
mov ecx, 1
mov word [rax + 0x14], cx
mov rcx, qword [rsi]
mov dword [rsi + 0x24], 7
mov rcx, qword [rcx + 0x18]
call fcn.18000c8e0
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