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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
push r14
push r15
sub rsp, 0x30
mov r8, qword [rdx + 0x28]
xor ebp, ebp
mov rbx, qword [rcx]
mov r15, rdx
mov r14, rcx
mov edi, 0xfff0bdc0
test r8, r8
je 0x1400c9986
movsxd rax, dword [rbx + 0x28]
mov edi, ebp
test eax, eax
jle 0x1400c9986
mov rdx, rax
mov ecx, ebp
mov rax, qword [rbx + 0x20]
add rax, 0x18
cmp qword [rax], r8
je 0x1400c9986
inc edi
inc rcx
add rax, 0x20
cmp rcx, rdx
jl 0x1400c9973
mov rdx, qword [r15 + 8]
mov rax, rdx
test rdx, rdx
jne 0x1400c9996
mov eax, ebp
jmp 0x1400c99af
cmp byte [rdx], bpl
je 0x1400c99a8
nop dword [rax + rax]
inc rax
cmp byte [rax], bpl
jne 0x1400c99a0
sub eax, edx
and eax, 0x3fffffff
mov rcx, qword [r15 + 0x30]
mov r8d, eax
add rcx, 8
call fcn.1400653a0
mov rcx, qword [rbx + 0x20]
mov r8, qword [r15]
movsxd rdx, edi
mov r9, qword [rax]
shl rdx, 5
cmp edi, 1
mov rbx, qword [rdx + rcx]
mov edx, 0xe
mov ecx, 0x10
mov qword [rsp + 0x20], rbx
cmovne edx, ecx
mov rcx, r14
call fcn.1400a2360
test eax, eax
jne 0x1400c9d06
lea rax, str.sqlite_master
mov qword [rsp + 0x20], rbx
cmp edi, 1
lea r8, str.sqlite_temp_master
mov rcx, r14
cmovne r8, rax
xor r9d, r9d
lea edx, [r9 + 9]
call fcn.1400a2360
test eax, eax
jne 0x1400c9d06
mov rcx, r14
mov qword [rsp + 0x50], rsi
call fcn.1400c1b10
mov rsi, rax
test rax, rax
je 0x1400c9d01
mov rcx, qword [r14 + 0x1d0]
mov rbx, r14
test rcx, rcx
mov edx, edi
cmovne rbx, rcx
mov rcx, r14
call fcn.1400a96f0
mov ecx, dword [rbx + 0x160]
mov edx, edi
bts ecx, edi
mov dword [rbx + 0x160], ecx
mov rcx, r14
call fcn.1400a3c40
mov eax, dword [rsi + 0x34]
add eax, 9
cmp eax, dword [rsi + 0x38]
jle 0x1400c9a95
mov rcx, rsi
call fcn.140082480
test eax, eax
je 0x1400c9a95
mov ebx, ebp
jmp 0x1400c9c80
movsxd rbx, dword [rsi + 0x34]
mov rax, qword [rsi + 8]
lea rcx, [rbx + rbx*2]
mov word [rax + rcx*8], 0x48
lea rdx, [rax + rcx*8]
mov dword [rdx + 4], ebp
lea rcx, [rbx + rbx*2]
lea eax, [rbx + 9]
mov dword [rdx + 8], eax
mov dword [rdx + 0xc], ebp
mov qword [rdx + 0x10], rbp
mov byte [rdx + 3], bpl
mov edx, 0xfffffff7
mov rax, qword [rsi + 8]
mov word [rax + rcx*8 + 0x18], 0x5e
mov dword [rax + rcx*8 + 0x1c], ebp
mov qword [rax + rcx*8 + 0x20], 1
mov qword [rax + rcx*8 + 0x28], rbp
mov byte [rax + rcx*8 + 0x1b], bpl
lea rcx, [rbx + rbx*2]
mov rax, qword [rsi + 8]
mov word [rax + rcx*8 + 0x30], 0x1d
mov dword [rax + rcx*8 + 0x34], ebp
mov dword [rax + rcx*8 + 0x38], 1
mov r10, qword [0x1400f9d9b]
mov dword [rax + rcx*8 + 0x3c], 2
mov qword [rax + rcx*8 + 0x40], rbp
mov byte [rax + rcx*8 + 0x33], bpl
lea rcx, [rbx + 3]
mov rax, qword [rsi + 8]
lea rcx, [rcx + rcx*2]
mov byte [rax + rcx*8], 0x4b
mov dword [rax + rcx*8 + 4], 2
lea r9, [rax + rcx*8]
lea eax, [rbx + 8]
test r10b, 1
jne 0x1400c9b45
mov eax, edx
mov dword [r9 + 8], eax
lea rcx, [rbx + rbx*2]
mov dword [r9 + 0xc], 1
mov byte [r9 + 1], bpl
mov qword [r9 + 0x10], rbp
mov byte [r9 + 3], bpl
mov rax, qword [rsi + 8]
mov word [rax + rcx*8 + 0x60], 0x5e
mov dword [rax + rcx*8 + 0x64], ebp
mov qword [rax + rcx*8 + 0x68], 1
mov qword [rax + rcx*8 + 0x70], rbp
mov byte [rax + rcx*8 + 0x63], bpl
lea rcx, [rbx + rbx*2]
mov rax, qword [rsi + 8]
mov word [rax + rcx*8 + 0x78], 0x1d
mov qword [rax + rcx*8 + 0x7c], rbp
mov dword [rax + rcx*8 + 0x84], 2
mov qword [rax + rcx*8 + 0x88], rbp
mov byte [rax + rcx*8 + 0x7b], bpl
lea rcx, [rbx + rbx*2]
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 0x90], 0x4b
mov dword [rax + rcx*8 + 0x94], 2
test r10b, 1
je 0x1400c9bd3
lea edx, [rbx + 8]
mov dword [rax + rcx*8 + 0x98], edx
lea edx, [rbx + 1]
test byte [0x1400f9daf], 1
mov dword [rax + rcx*8 + 0x9c], 1
mov byte [rax + rcx*8 + 0x91], bpl
mov qword [rax + rcx*8 + 0xa0], rbp
mov byte [rax + rcx*8 + 0x93], bpl
lea rcx, [rbx + rbx*2]
mov rax, qword [rsi + 8]
mov word [rax + rcx*8 + 0xa8], 0x3b
mov qword [rax + rcx*8 + 0xac], rbp
mov dword [rax + rcx*8 + 0xb4], ebp
mov qword [rax + rcx*8 + 0xb8], rbp
mov byte [rax + rcx*8 + 0xab], bpl
lea rcx, [rbx + rbx*2]
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 0xc0], 0x5f
mov dword [rax + rcx*8 + 0xc4], ebp
jne 0x1400c9c56
mov edx, 0xfffffffe
mov dword [rax + rcx*8 + 0xc8], edx
mov dword [rax + rcx*8 + 0xcc], ebp
mov byte [rax + rcx*8 + 0xc1], bpl
mov qword [rax + rcx*8 + 0xd0], rbp
mov byte [rax + rcx*8 + 0xc3], bpl
add dword [rsi + 0x34], 9
mov r8, qword [r15]
lea edx, [rbx + 1]
xor r9d, r9d
mov rcx, rsi
call fcn.140082c60
lea edx, [rbx + 4]
mov r9d, 0xfffffffe
lea r8, str.trigger
mov rcx, rsi
call fcn.140082c60
mov edx, edi
mov rcx, r14
call fcn.1400a4fe0
xor r9d, r9d
mov dword [rsp + 0x20], ebp
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0x2d]
call fcn.140082520
mov rbx, qword [r15]
xor r9d, r9d
mov r8d, edi
mov dword [rsp + 0x20], ebp
mov rcx, rsi
lea edx, [r9 + 0x6e]
call fcn.140082520
xor r9d, r9d
mov r8, rbx
mov edx, eax
mov rcx, rsi
call fcn.140082c60
cmp dword [r14 + 0x58], 3
jge 0x1400c9d01
mov dword [r14 + 0x58], 3
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret