Function at 0x1400050d0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14001f040]
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 0x140005129
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.1400071f0
lea rdx, [0x1400073d0]
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 0x140005354
lea rdx, str.sqlite3_open
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001fc78], rax
lea rdx, str.sqlite3_close
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001fc68], rax
lea rdx, str.sqlite3_errmsg
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001fc58], rax
lea rdx, str.sqlite3_exec
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001fc60], rax
lea rdx, str.sqlite3_free
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001fc70], rax
mov r8, qword [0x14001fc78]
test r8, r8
je 0x140005328
cmp qword [0x14001fc68], 0
je 0x140005328
cmp qword [0x14001fc58], 0
je 0x140005328
cmp qword [0x14001fc60], 0
je 0x140005328
test rax, rax
je 0x140005328
mov qword [rsp + 0x38], 0
cmp qword [rbx + 0x18], 0xf
jbe 0x1400051f2
mov rbx, qword [rbx]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call r8
test eax, eax
je 0x140005230
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.1400071f0
mov rbx, rax
mov rdx, qword [0x14001fc58]
mov rcx, qword [rsp + 0x30]
call rdx
mov rdx, rax
mov rcx, rbx
jmp 0x14000510f
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.140004c50
nop
mov rax, qword [0x14001fc60]
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 0x1400052d6
lea rdx, str.SQL_err:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400071f0
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call fcn.1400071f0
lea rdx, [0x1400073d0]
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 [0x14001fc70]
mov rcx, qword [rsp + 0x30]
call qword [0x14001fc68]
xor bl, bl
jmp 0x1400052e3
mov rcx, qword [rsp + 0x30]
call qword [0x14001fc68]
mov bl, 1
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140005323
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000531e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000531e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013d44
movzx eax, bl
jmp 0x140005356
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.1400071f0
lea rdx, [0x1400073d0]
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.1400139d0
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret