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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x68
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x48], 0x28
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 2
jge 0x14014523f
xor eax, eax
jmp 0x140145490
mov dword [rsp + 0x24], 0
jmp 0x140145253
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x24], eax
jge 0x1401452cd
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 0x1c]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x3c], eax
je 0x1401452ae
mov eax, dword [rsp + 0x20]
dec eax
cmp dword [rsp + 0x3c], eax
jne 0x1401452c8
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x3c]
cmp dword [rcx + rax + 0x18], edx
jne 0x1401452c8
mov rcx, qword [rsp + 0x88]
call fcn.14013bdf0
mov rax, qword [rsp + 0x88]
jmp 0x140145490
jmp 0x140145249
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x14]
inc eax
cdqe
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x80]
add rax, 0x34
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.14012b9d0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14014548b
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0xc
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x14]
inc eax
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x14], eax
mov rax, qword [rsp + 0x30]
mov dword [rax], 1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 8]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x88]
movsxd rax, dword [rax + 0x14]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x80]
add rax, 0x34
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.14012b9d0
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 8], 0
je 0x140145478
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x14]
dec eax
mov dword [rsp + 0x28], eax
jmp 0x1401453d3
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jl 0x14014545e
mov dword [rsp + 0x38], 0
jmp 0x1401453f2
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 0x1c]
cmp dword [rsp + 0x38], eax
jge 0x140145459
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0x10
movsxd rcx, dword [rsp + 0x38]
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x88]
mov rax, qword [rdx + rax + 0x20]
movsxd rdx, dword [rsp + 0x40]
imul rdx, rdx, 0xc
mov r8, qword [rsp + 0x50]
mov r8, qword [r8 + 8]
lea rdi, [r8 + rdx]
lea rsi, [rax + rcx]
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
jmp 0x1401453e8
jmp 0x1401453c9
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x10], ecx
jmp 0x14014548b
mov rcx, qword [rsp + 0x30]
call sym.sqlite3.exe_sqlite3_free
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x30]
add rsp, 0x68
pop rdi
pop rsi
ret