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

Disassembly:
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0x30
mov r8, qword [rdx + 0x28]
xor r15d, r15d
mov rbx, qword [rcx]
mov r12, rdx
mov r14, rcx
mov ebp, 0xfff0bdc0
test r8, r8
je 0x140144123
movsxd rax, dword [rbx + 0x28]
mov ebp, r15d
test eax, eax
jle 0x140144123
mov rdx, rax
mov ecx, r15d
mov rax, qword [rbx + 0x20]
add rax, 0x18
cmp qword [rax], r8
je 0x140144123
inc ebp
inc rcx
add rax, 0x20
cmp rcx, rdx
jl 0x140144110
mov rcx, qword [r12 + 0x30]
lea r8, [rsp + 0x60]
mov rdx, qword [r12 + 8]
add rcx, 8
call fcn.140122db0
test rax, rax
je 0x140144146
mov r9, qword [rax + 0x10]
jmp 0x140144149
mov r9, r15
mov rax, qword [rbx + 0x20]
mov edx, SafeArrayGetDim
mov r9, qword [r9]
mov r8, qword [r12]
movsxd rcx, ebp
shl rcx, 5
cmp ebp, 1
mov rbx, qword [rcx + rax]
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmovne edx, eax
mov qword [rsp + 0x20], rbx
mov rcx, r14
call fcn.140139d00
test eax, eax
jne 0x1401445ae
lea rax, str.sqlite_master
mov qword [rsp + 0x20], rbx
cmp ebp, 1
lea r8, str.sqlite_temp_master
mov rcx, r14
cmovne r8, rax
xor r9d, r9d
lea edx, [r9 + 9]
call fcn.140139d00
test eax, eax
jne 0x1401445ae
mov rcx, r14
mov qword [rsp + 0x70], rdi
call fcn.14014ebd0
mov rdi, rax
test rax, rax
je 0x1401445a9
mov qword [rsp + 0x68], rsi
mov r8d, ebp
xor edx, edx
mov qword [rsp + 0x78], r13
mov rcx, r14
call fcn.14013ae50
mov edx, ebp
mov rcx, r14
call fcn.140153a80
mov rcx, qword [rdi + 0x30]
mov eax, dword [rdi + 0x3c]
add eax, 9
cmp eax, dword [rcx + 0x60]
jle 0x140144217
mov edx, 9
mov rcx, rdi
call fcn.140127a10
test eax, eax
je 0x140144217
mov r13d, r15d
jmp 0x1401443f8
movsxd r13, dword [rdi + 0x3c]
mov rax, qword [rdi + 8]
lea rcx, [r13*2]
add rcx, r13
mov word [rax + rcx*8], 0x6d
lea rdx, [rax + rcx*8]
mov dword [rdx + 4], r15d
lea eax, [r13 + 9]
mov dword [rdx + 8], eax
lea rcx, [r13*2]
mov dword [rdx + 0xc], r15d
add rcx, r13
mov qword [rdx + 0x10], r15
mov byte [rdx + 3], r15b
lea edx, [r13 + 8]
mov rax, qword [rdi + 8]
mov word [rax + rcx*8 + 0x18], 0x61
mov dword [rax + rcx*8 + 0x1c], r15d
mov qword [rax + rcx*8 + 0x20], 1
mov qword [rax + rcx*8 + 0x28], r15
mov byte [rax + rcx*8 + 0x1b], r15b
lea rcx, [r13*2]
mov rax, qword [rdi + 8]
add rcx, r13
mov word [rax + rcx*8 + 0x30], PathResolve
mov dword [rax + rcx*8 + 0x34], r15d
mov dword [rax + rcx*8 + 0x38], 1
mov dword [rax + rcx*8 + 0x3c], 2
mov qword [rax + rcx*8 + 0x40], r15
mov byte [rax + rcx*8 + 0x33], r15b
lea rcx, [r13*2]
mov rax, qword [rdi + 8]
add rcx, r13
mov word [rax + rcx*8 + 0x48], 0x4e
mov dword [rax + rcx*8 + 0x4c], 2
mov dword [rax + rcx*8 + 0x50], edx
mov dword [rax + rcx*8 + 0x54], 1
mov qword [rax + rcx*8 + 0x58], r15
mov byte [rax + rcx*8 + 0x4b], r15b
lea rcx, [r13*2]
mov rax, qword [rdi + 8]
add rcx, r13
mov word [rax + rcx*8 + 0x60], 0x61
mov dword [rax + rcx*8 + 0x64], r15d
mov qword [rax + rcx*8 + 0x68], 1
mov qword [rax + rcx*8 + 0x70], r15
mov byte [rax + rcx*8 + 0x63], r15b
lea rcx, [r13*2]
mov rax, qword [rdi + 8]
add rcx, r13
mov word [rax + rcx*8 + 0x78], PathResolve
mov qword [rax + rcx*8 + 0x7c], r15
mov dword [rax + rcx*8 + 0x84], 2
mov qword [rax + rcx*8 + 0x88], r15
mov byte [rax + rcx*8 + 0x7b], r15b
lea rcx, [r13*2]
mov rax, qword [rdi + 8]
add rcx, r13
mov word [rax + rcx*8 + 0x90], 0x4e
mov dword [rax + rcx*8 + 0x94], 2
mov dword [rax + rcx*8 + 0x98], edx
mov dword [rax + rcx*8 + 0x9c], 1
mov qword [rax + rcx*8 + 0xa0], r15
mov byte [rax + rcx*8 + 0x93], r15b
lea rcx, [r13*2]
mov rax, qword [rdi + 8]
add rcx, r13
mov word [rax + rcx*8 + 0xa8], 0x62
mov qword [rax + rcx*8 + 0xac], r15
mov dword [rax + rcx*8 + 0xb4], r15d
mov qword [rax + rcx*8 + 0xb8], r15
mov byte [rax + rcx*8 + 0xab], r15b
lea rcx, [r13 + 8]
mov rax, qword [rdi + 8]
lea rcx, [rcx + rcx*2]
mov word [rax + rcx*8], 8
mov dword [rax + rcx*8 + 4], r15d
lea rdx, [rax + rcx*8]
lea eax, [r13 + 1]
mov dword [rdx + 8], eax
mov dword [rdx + 0xc], r15d
mov qword [rdx + 0x10], r15
mov byte [rdx + 3], r15b
add dword [rdi + 0x3c], 9
mov r8, qword [rdi + 8]
lea eax, [r13 + 1]
mov rbx, qword [r12]
mov rsi, 0xffffffffffffffff
mov rcx, qword [rdi]
test r8, r8
je 0x14014447d
cmp byte [rcx + 0x51], r15b
jne 0x14014447d
test eax, eax
jns 0x140144422
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea r15, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [r15 + 0x10]
call fcn.1401255e0
mov qword [r15 + 0x10], 0
test rbx, rbx
jne 0x140144451
mov byte [r15 + 1], bl
xor r15d, r15d
jmp 0x140144487
mov r8, rsi
inc r8
cmp byte [rbx + r8], 0
jne 0x140144454
mov rcx, qword [rdi]
and r8d, 0x3fffffff
mov rdx, rbx
call fcn.140142330
mov qword [r15 + 0x10], rax
mov byte [r15 + 1], sil
xor r15d, r15d
jmp 0x140144487
mov r8, rbx
xor edx, edx
call fcn.1401255e0
mov r8, qword [rdi + 8]
lea eax, [r13 + 4]
mov rcx, qword [rdi]
mov r13, qword [rsp + 0x78]
test r8, r8
je 0x1401444d5
cmp byte [rcx + 0x51], 0
jne 0x1401444d5
test eax, eax
jns 0x1401444ab
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rbx, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rbx + 0x10]
call fcn.1401255e0
lea r8, str.trigger
mov byte [rbx + 1], 0xfe
mov qword [rbx + 0x10], r8
jmp 0x1401444e6
lea r8, str.trigger
mov edx, 0xfffffffe
call fcn.1401255e0
mov edx, ebp
mov rcx, r14
call fcn.14013eb60
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x3d]
call fcn.140167a30
mov rbx, qword [r12]
xor r9d, r9d
mov r8d, ebp
mov dword [rsp + 0x20], r15d
mov rcx, rdi
lea edx, [r9 + 0x7f]
call fcn.140167a30
mov r8, qword [rdi + 8]
mov rcx, qword [rdi]
test r8, r8
je 0x14014458b
cmp byte [rcx + 0x51], 0
jne 0x14014458b
test eax, eax
jns 0x14014453d
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rbp, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rbp + 0x10]
call fcn.1401255e0
mov qword [rbp + 0x10], r15
test rbx, rbx
jne 0x140144564
mov byte [rbp + 1], bl
jmp 0x140144595
inc rsi
cmp byte [rbx + rsi], 0
jne 0x140144564
mov rcx, qword [rdi]
and esi, 0x3fffffff
mov r8d, esi
mov rdx, rbx
call fcn.140142330
mov qword [rbp + 0x10], rax
mov byte [rbp + 1], 0xff
jmp 0x140144595
mov r8, rbx
xor edx, edx
call fcn.1401255e0
cmp dword [r14 + 0x54], 3
mov rsi, qword [rsp + 0x68]
jge 0x1401445a9
mov dword [r14 + 0x54], 3
mov rdi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret