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

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rax, qword [rcx]
mov rsi, qword [rcx + 0x10]
movsxd rbx, r8d
mov r8, qword [rax + 0x20]
mov rdi, rbx
mov r15d, r9d
shl rdi, 5
test rsi, rsi
mov r12, rdx
mov qword [rsp + 0x70], r8
mov rbp, rcx
mov r14, rbx
mov r13d, 1
jne 0x140061ad2
call fcn.140019700
test rax, rax
mov rsi, rax
mov qword [rbp + 0x10], rax
je 0x140061abf
movsxd rbx, dword [rax + 0x3c]
mov rax, qword [rax + 0x30]
cmp dword [rax + 0x60], ebx
jg 0x140061a87
mov edx, r13d
mov rcx, rsi
call fcn.1400214c0
test eax, eax
jne 0x140061ab8
add dword [rsi + 0x3c], r13d
mov rax, qword [rsi + 8]
lea rcx, [rbx + rbx*2]
xor r9d, r9d
mov byte [rax + rcx*8], 0x9e
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r9d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov byte [rax + rcx*8 + 1], r9b
mov ebx, dword [rsp + 0x80]
cmp qword [rbp + 0x1b8], 0
mov r8, qword [rsp + 0x70]
jne 0x140061ad2
mov byte [rbp + 0x23], r13b
mov eax, dword [rbp + 0x16c]
mov ecx, ebx
mov edx, r13d
shl edx, cl
test edx, eax
jne 0x140061b02
or eax, edx
mov dword [rbp + 0x16c], eax
mov rax, qword [rbp]
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx + rdi + 0x18]
mov ecx, dword [rax]
mov dword [rbp + r14*4 + 0x170], ecx
or dword [rbp + 0x168], edx
or byte [rbp + 0x20], r13b
mov rax, qword [r12]
mov r8, qword [rdi + r8]
lea r9, str.sqlite_master
lea rdx, str.DELETE_FROM__Q._s_WHERE_tbl_name_Q_and_type_trigger
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.140034420
test r15d, r15d
jne 0x140061b99
mov rcx, qword [r12 + 0x48]
mov rax, qword [rbp]
mov ebx, 0xfff0bdc0
test rcx, rcx
je 0x140061b68
mov edx, dword [rax + 0x28]
xor ebx, ebx
test edx, edx
jle 0x140061b68
mov rax, qword [rax + 0x20]
add rax, 0x18
cmp qword [rax], rcx
je 0x140061b68
add ebx, r13d
add rax, 0x20
cmp ebx, edx
jl 0x140061b58
mov edx, dword [r12 + 0x30]
mov r8d, ebx
mov rcx, rbp
call fcn.140027230
mov rdi, qword [r12 + 0x10]
test rdi, rdi
je 0x140061b99
mov edx, dword [rdi + 0x50]
mov r8d, ebx
mov rcx, rbp
call fcn.140027230
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x140061b82
mov rax, qword [rsi + 0x30]
movsxd rbx, dword [rsi + 0x3c]
mov r12, qword [r12]
cmp dword [rax + 0x60], ebx
jg 0x140061bc6
mov edx, r13d
mov rcx, rsi
call fcn.1400214c0
test eax, eax
je 0x140061bc6
mov r14d, dword [rsp + 0x80]
xor r15d, r15d
jmp 0x140061c02
add dword [rsi + 0x3c], r13d
mov rax, qword [rsi + 8]
mov r14d, dword [rsp + 0x80]
lea rcx, [rbx + rbx*2]
xor r15d, r15d
mov r13d, ebx
mov byte [rax + rcx*8], 0x7d
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
mov byte [rax + rcx*8 + 1], r15b
mov rbx, qword [rsi + 8]
mov rcx, qword [rsi]
test rbx, rbx
je 0x140061c6f
cmp byte [rcx + 0x51], 0
jne 0x140061c6f
test r13d, r13d
jns 0x140061c21
mov r13d, dword [rsi + 0x3c]
sub r13d, 1
movsxd rax, r13d
lea rdi, [rax + rax*2]
movsx edx, byte [rbx + rdi*8 + 1]
mov r8, qword [rbx + rdi*8 + 0x10]
call fcn.1400255f0
test r12, r12
mov qword [rbx + rdi*8 + 0x10], r15
jne 0x140061c4d
mov qword [rbx + rdi*8 + 0x10], r15
mov byte [rbx + rdi*8 + 1], r12b
jmp 0x140061c79
mov rcx, r12
call fcn.1400083e0
mov rcx, qword [rsi]
mov rdx, r12
movsxd r8, eax
call fcn.14001b2f0
mov byte [rbx + rdi*8 + 1], 0xff
mov qword [rbx + rdi*8 + 0x10], rax
jmp 0x140061c79
mov r8, r12
xor edx, edx
call fcn.1400255f0
mov edx, r14d
mov rcx, rbp
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.1400273a0