Function at 0x1800e9130
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 0x1800e915b
mov r13d, r15d
jmp 0x1800e9195
movzx ecx, word [rdx + 0x14]
mov edx, 0x202
movzx eax, cx
and ax, dx
cmp ax, dx
jne 0x1800e917e
cmp byte [r12 + 0x16], 1
jne 0x1800e917e
mov r13, qword [r12 + 8]
jmp 0x1800e9195
test cl, 1
je 0x1800e9188
mov r13, r15
jmp 0x1800e9195
mov dl, 1
mov rcx, r12
call fcn.180033b00
mov r13, rax
movzx ecx, word [r12 + 0x14]
mov qword [rsp + 0x30], rbp
test cl, 2
je 0x1800e91b4
cmp byte [r12 + 0x16], 1
jne 0x1800e91b4
mov ebp, dword [r12 + 0x10]
jmp 0x1800e91e4
test cl, 0x10
je 0x1800e91ce
mov ebp, dword [r12 + 0x10]
mov eax, 0x400
test ax, cx
je 0x1800e91e4
add ebp, dword [r12]
jmp 0x1800e91e4
test cl, 1
je 0x1800e91d8
mov ebp, r15d
jmp 0x1800e91e4
mov dl, 1
mov rcx, r12
call fcn.180034270
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 0x1800e9209
xor eax, eax
jmp 0x1800e94c2
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 0x1800e9319
nop dword [rax]
cmp dword [rcx + 4], edx
jne 0x1800e9240
mov eax, dword [rsi + 0x20]
cmp dword [rcx], eax
je 0x1800e924e
test edx, edx
js 0x1800e924e
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1800e9230
jmp 0x1800e9319
mov rbx, qword [rcx + 8]
test rbx, rbx
je 0x1800e9319
test rdi, rdi
jne 0x1800e92df
cmp dword [rbx + 0x3c], ebp
jne 0x1800e92a5
cmp byte [rbx + 0x37], r15b
je 0x1800e9276
mov eax, dword [rsp + 0x88]
test eax, eax
jne 0x1800e92ac
mov rcx, qword [rbx + 0x10]
cmp rcx, r13
je 0x1800e9298
movsxd r8, ebp
mov rdx, r13
call fcn.180134af0
mov r10d, dword [rsp + 0x20]
test eax, eax
jne 0x1800e92a5
mov r9d, dword [rsp + 0x78]
mov byte [rbx + 0x32], r15b
mov byte [rbx + 0x36], r15b
mov rdi, rbx
jmp 0x1800e92f8
mov eax, dword [rsp + 0x88]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1800e92df
test eax, eax
jne 0x1800e92df
cmp dword [rbx + 0x40], ebp
jne 0x1800e92df
movsxd r8, ebp
mov rdx, r13
call fcn.180134af0
mov r10d, dword [rsp + 0x20]
test eax, eax
jne 0x1800e92df
mov byte [rbx + 0x32], r15b
mov byte [rbx + 0x36], 1
mov rdi, rbx
jmp 0x1800e92f3
mov eax, dword [rbx + 0x4c]
cmp eax, r10d
jae 0x1800e92f3
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 0x1800e9211
mov r14d, dword [rsp + 0x24]
test rdi, rdi
je 0x1800e9331
lea ecx, [r9 + 1]
mov byte [rdi + 0x32], r15b
mov rax, rdi
mov dword [rdi + 0x4c], ecx
jmp 0x1800e94bd
movzx eax, word [r12 + 0x14]
mov edx, 1
test al, 0x12
je 0x1800e935f
mov ecx, 0x1000
test cx, ax
je 0x1800e935f
lea rax, [0x18000df70]
cmp qword [r12 + 0x30], rax
jne 0x1800e935f
mov edi, edx
mov eax, r15d
jmp 0x1800e9365
mov edi, r15d
lea eax, [rbp + 1]
movsxd rbx, eax
add rbx, 0x50
call sym.sqlite.dll_sqlite3_initialize
test eax, eax
jne 0x1800e9487
test rbx, rbx
je 0x1800e9487
mov rcx, rbx
call fcn.18000b130
mov rbx, rax
test rax, rax
je 0x1800e9487
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x50]
call fcn.18012da30
test edi, edi
je 0x1800e93b6
inc qword [r13 - 8]
mov qword [rbx + 0x10], r13
mov byte [rbx + 0x34], 1
jmp 0x1800e93cc
lea eax, [rbp + 1]
lea rcx, [rbx + 0x50]
mov rdx, r13
movsxd r8, eax
mov qword [rbx + 0x10], rcx
call fcn.180127c70
mov rdi, qword [rsp + 0x80]
mov ecx, 1
mov dword [rbx + 0x38], ecx
mov rdx, rdi
mov rcx, rbx
call fcn.1800e8f50
test eax, eax
je 0x1800e9423
test rdi, rdi
jne 0x1800e93fc
mov byte [rbx + 0x32], 1
mov rax, rbx
jmp 0x1800e94bd
mov eax, dword [rbx + 0x38]
cmp eax, 1
jbe 0x1800e940e
dec eax
mov dword [rbx + 0x38], eax
jmp 0x1800e94bb
mov rcx, rbx
call fcn.1800e6ca0
mov rcx, rbx
call sym.sqlite.dll_sqlite3_free
jmp 0x1800e94bb
mov eax, dword [rsp + 0x78]
lea edi, [r14 - 0x68f72]
lea r9, [0x1800e6dd0]
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 0x1800e9482
nop word [rax + rax]
cmp dword [rcx + 4], edi
jne 0x1800e9470
mov eax, dword [rsi + 0x20]
cmp dword [rcx], eax
je 0x1800e947e
test edi, edi
js 0x1800e947e
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1800e9460
mov rax, r15
jmp 0x1800e94bd
mov r15, qword [rcx + 8]
mov rax, r15
jmp 0x1800e94bd
mov rax, qword [rsi]
mov ecx, 0x9000
test word [rax + 0x14], cx
je 0x1800e949f
mov rcx, rax
call fcn.180032d20
jmp 0x1800e94a8
mov ecx, 1
mov word [rax + 0x14], cx
mov rcx, qword [rsi]
mov dword [rsi + 0x24], 7
mov rcx, qword [rcx + 0x18]
call fcn.18000bbd0
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