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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x78], 0
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 8]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x58]
movzx ecx, byte [rcx + 0x10]
imul rcx, rcx, 0x68
lea rax, [rax + rcx + 8]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xb8]
mov r8, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
call fcn.140101380
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14010555d
mov eax, 7
jmp 0x1401059d3
xor eax, eax
mov rcx, qword [rsp + 0x58]
mov word [rcx + 0x12], ax
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x38], 0x400
xor eax, eax
mov rcx, qword [rsp + 0x58]
mov word [rcx + 0x3c], ax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x1c]
and eax, 0xfffffffe
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 0x1c], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov dword [rsp + 0x7c], eax
mov r8d, dword [rsp + 0x7c]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rax]
call fcn.1400ff300
test eax, eax
je 0x1401055da
mov rdx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rax]
call fcn.140101b40
mov eax, 7
jmp 0x1401059d3
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x28], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.140104cf0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x78], 0
je 0x140105676
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x28], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.140104cf0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1401059a1
mov rax, qword [rsp + 0xd8]
not rax
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
jne 0x1401056b8
cmp dword [rsp + 0x48], 0
je 0x1401059a1
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x64], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0x90], 0
cmp dword [rsp + 0x48], 0
je 0x140105773
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x28], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9w, 1
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.140104cf0
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0xd8]
not rax
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x140105773
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x64], 1
cmp dword [rsp + 0x44], 0
jne 0x1401058de
mov qword [rsp + 0x70], 0xffffffffffffffff
mov dword [rsp + 0x60], 0
jmp 0x14010579b
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x7c]
cmp dword [rsp + 0x60], eax
jge 0x14010581a
movsxd rax, dword [rsp + 0x60]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 8]
movsxd rax, dword [rcx + rax + 8]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx + 0x20]
mov rdx, qword [rsp + 0xd8]
not rdx
mov rax, qword [rcx + rax + 0x28]
and rax, rdx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xa8]
cmp qword [rsp + 0x88], rax
jbe 0x140105815
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x88], rax
jae 0x140105815
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x70], rax
jmp 0x140105791
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0x70], 0xffffffffffffffff
jne 0x140105834
jmp 0x1401058de
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x70], rax
je 0x140105852
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x70], rax
jne 0x140105857
jmp 0x140105773
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x70]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
movzx ecx, word [rsp + 0x40]
mov word [rsp + 0x28], cx
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8, rax
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.140104cf0
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xd8]
cmp qword [rax], rcx
jne 0x1401058d9
mov dword [rsp + 0x68], 1
cmp dword [rsp + 0x48], 0
jne 0x1401058d9
mov dword [rsp + 0x64], 1
jmp 0x140105773
cmp dword [rsp + 0x44], 0
jne 0x140105946
cmp dword [rsp + 0x68], 0
jne 0x140105946
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x28], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.140104cf0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x48], 0
jne 0x140105946
mov dword [rsp + 0x64], 1
cmp dword [rsp + 0x44], 0
jne 0x1401059a1
cmp dword [rsp + 0x64], 0
jne 0x1401059a1
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x28], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9w, 1
mov r8, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.140104cf0
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x38], 0
je 0x1401059ba
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x30]
call sym.sqlite3.exe_sqlite3_free
mov rdx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rax]
call fcn.140101b40
mov eax, dword [rsp + 0x44]
add rsp, 0xc8
ret