Function at 0x140148b60
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 0x140148b9f
xor eax, eax
jmp 0x140148e14
mov dword [rsp + 0x24], 0
jmp 0x140148bb3
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 0x140148c2d
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 0x140148c0e
mov eax, dword [rsp + 0x20]
dec eax
cmp dword [rsp + 0x3c], eax
jne 0x140148c28
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 0x140148c28
mov rcx, qword [rsp + 0x88]
call fcn.14013f750
mov rax, qword [rsp + 0x88]
jmp 0x140148e14
jmp 0x140148ba9
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.14012f2a0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140148e0f
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
cmp eax, 0x40
jge 0x140148cad
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x14]
inc eax
mov dword [rsp + 0x44], eax
jmp 0x140148cb5
mov dword [rsp + 0x44], 0x40
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x44]
mov dword [rax + 0x14], ecx
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 + 0x30]
mov eax, dword [rax + 0x14]
dec eax
cdqe
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.14012f2a0
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 8], 0
je 0x140148dfc
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x14]
dec eax
mov dword [rsp + 0x28], eax
jmp 0x140148d57
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jl 0x140148de2
mov dword [rsp + 0x38], 0
jmp 0x140148d76
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 0x140148ddd
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 0x140148d6c
jmp 0x140148d4d
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 0x140148e0f
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