Function at 0x1400050c0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140025040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
lea rcx, str.SQL3.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x140005119
lea rdx, str.Failed_to_load_SQLite_DLL
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400071d0
lea rdx, [0x1400073b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140005344
lea rdx, str.sqlite3_open
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140026000], rax
lea rdx, str.sqlite3_close
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140025ff0], rax
lea rdx, str.sqlite3_errmsg
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140025fe0], rax
lea rdx, str.sqlite3_exec
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140025fe8], rax
lea rdx, str.sqlite3_free
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140025ff8], rax
mov r8, qword [0x140026000]
test r8, r8
je 0x140005318
cmp qword [0x140025ff0], 0
je 0x140005318
cmp qword [0x140025fe0], 0
je 0x140005318
cmp qword [0x140025fe8], 0
je 0x140005318
test rax, rax
je 0x140005318
mov qword [rsp + 0x38], 0
cmp qword [rbx + 0x18], 0xf
jbe 0x1400051e2
mov rbx, qword [rbx]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call r8
test eax, eax
je 0x140005220
lea rdx, str.Cant_open_database:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400071d0
mov rbx, rax
mov rdx, qword [0x140025fe0]
mov rcx, qword [rsp + 0x30]
call rdx
mov rdx, rax
mov rcx, rbx
jmp 0x1400050ff
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x37
lea rdx, str.DELETE_FROM_cookies_WHERE_host_key_LIKE__roblox.com__
lea rcx, [rsp + 0x40]
call fcn.140004c40
nop
mov rax, qword [0x140025fe8]
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x30]
call rax
test eax, eax
je 0x1400052c6
lea rdx, str.SQL_error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400071d0
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call fcn.1400071d0
lea rdx, [0x1400073b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rsp + 0x38]
call qword [0x140025ff8]
mov rcx, qword [rsp + 0x30]
call qword [0x140025ff0]
xor bl, bl
jmp 0x1400052d3
mov rcx, qword [rsp + 0x30]
call qword [0x140025ff0]
mov bl, 1
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140005313
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000530e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000530e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176d4
movzx eax, bl
jmp 0x140005346
lea rdx, str.Failed_to_get_SQLite_function_addresses
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400071d0
lea rdx, [0x1400073b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140017360
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret