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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
lea rax, str.table
lea rsi, str.sqlite_temp_master
cmp edx, 1
mov byte [rcx + 0xb5], 1
mov r15, rcx
mov r12d, edx
mov qword [rsp + 0x80], rax
lea rax, str.sqlite_master
cmovne rsi, rax
lea rax, [0x008211ba]
mov qword [rsp + 0x110], r8
mov qword [rsp + 0x98], rax
lea rax, str.CREATE_TABLE_x_type_text_name_text_tbl_name_text_rootpage_int_sql_text_
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x60], rcx
mov rcx, rax
mov dword [rsp + 0x70], edx
mov edx, 5
mov qword [rsp + 0x68], r8
lea r8, [rsp + 0x80]
mov dword [rsp + 0x78], r9d
xor r9d, r9d
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0xa8], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x7c], 0
mov qword [rsp + 0x30], rax
call fcn.00622c00
mov r13d, dword [rsp + 0x74]
test r13d, r13d
jne 0x60bea8
mov rax, qword [r15 + 0x20]
movsxd rdi, r12d
shl rdi, 5
lea rbx, [rax + rdi]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x60c130
cmp byte [rcx + 0x11], 0
je 0x60bd94
call fcn.005977c0
mov rcx, qword [rbx + 8]
cmp byte [rcx + 0x10], 0
mov dword [rsp + 0x3c], 0
je 0x60c078
xor r14d, r14d
lea rbp, [rsp + 0x40]
lea edx, [r14 + 1]
lea r8, [rbp + r14*4]
add r14, 1
call fcn.00597f60
cmp r14, 5
je 0x60bdd0
mov rcx, qword [rbx + 8]
jmp 0x60bdae
test byte [r15 + 0x33], 2
jne 0x60bef0
mov ecx, dword [rsp + 0x50]
mov rax, qword [rbx + 0x18]
mov edx, dword [rsp + 0x40]
mov dword [rax], edx
test ecx, ecx
je 0x60bf11
test r12d, r12d
jne 0x60c0a0
and ecx, 3
mov edx, 1
cmovne edx, ecx
mov byte [r15 + 0x5e], dl
mov rax, qword [rbx + 0x18]
mov ecx, dword [rax + 0x74]
mov byte [rax + 0x71], dl
test ecx, ecx
jne 0x60bf32
mov dword [rax + 0x74], 0xfffff830
mov rcx, qword [rbx + 8]
mov edx, 0xfffff830
call fcn.00597cd0
mov rax, qword [rbx + 0x18]
mov edx, dword [rsp + 0x44]
mov byte [rax + 0x70], dl
test dl, dl
je 0x60bf41
cmp dl, 4
jbe 0x60bf45
lea r8, str.unsupported_file_format
mov rdx, r15
mov rcx, qword [rsp + 0x110]
mov r13d, 1
call fcn.005945c0
jmp 0x60bfed
mov ecx, eax
call fcn.0059b900
mov rcx, qword [rsp + 0x110]
mov rdx, r15
mov r8, rax
call fcn.005945c0
mov rcx, qword [rbx + 8]
cmp byte [rcx + 0x11], 0
je 0x60be9e
sub dword [rcx + 0x14], 1
je 0x60c13e
mov r13d, ebp
nop dword [rax]
cmp r13d, 7
je 0x60c020
cmp r13d, 0xc0a
je 0x60c020
mov edx, r12d
mov rcx, r15
call fcn.005a3870
mov eax, r13d
mov byte [r15 + 0xb5], 0
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rbp + 8], 0
mov dword [rbp + 0x10], 0
mov rax, qword [rbx + 0x18]
mov qword [rbp], 0
mov dword [rax], 0
mov rdx, qword [r15 + 0x20]
mov rdx, qword [rdx + rdi + 0x18]
or word [rdx + 0x72], 4
movzx edx, byte [r15 + 0x5e]
mov ecx, dword [rax + 0x74]
mov byte [rax + 0x71], dl
test ecx, ecx
je 0x60be1b
mov edx, dword [rsp + 0x44]
mov byte [rax + 0x70], dl
test dl, dl
jne 0x60be43
mov byte [rax + 0x70], 1
cmp edx, 3
jle 0x60bf53
test r12d, r12d
je 0x60c0d8
mov rax, qword [r15 + 0x20]
mov r9, rsi
lea rdx, str.SELECTFROM__w_._s_ORDER_BY_rowid
mov rcx, r15
mov r8, qword [rax + rdi]
call fcn.005c4a50
mov rbp, qword [r15 + 0x1c0]
mov r9, qword [rsp + 0x30]
mov rcx, r15
mov qword [rsp + 0x20], 0
lea r8, [fcn.00622c00]
mov rdx, rax
mov r14, rax
mov qword [r15 + 0x1c0], 0
call fcn.0060b610
mov qword [r15 + 0x1c0], rbp
mov esi, eax
test eax, eax
je 0x60c060
test r14, r14
je 0x60bfcb
mov rdx, r14
mov rcx, r15
call fcn.00592290
test esi, esi
je 0x60c0e8
cmp byte [r15 + 0x61], 0
je 0x60bfdf
mov rcx, r15
mov esi, 7
call fcn.005a38b0
test byte [r15 + 0x33], 8
jne 0x60c0fe
mov r13d, esi
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rbx + 8]
test edx, edx
jne 0x60c11c
cmp byte [rcx + 0x11], 0
je 0x60c00d
sub dword [rcx + 0x14], 1
je 0x60c148
test r13d, r13d
je 0x60beca
jmp 0x60bea8
test dword [r15 + 0x60], 0xffff00
jne 0x60bebf
mov eax, dword [r15 + 0xd4]
mov byte [r15 + 0x61], 1
test eax, eax
jle 0x60c049
mov dword [r15 + 0x160], 1
mov rcx, r15
call fcn.00593e20
jmp 0x60bebf
mov esi, dword [rsp + 0x74]
test r14, r14
jne 0x60bfb8
jmp 0x60bfc3
xor r8d, r8d
xor edx, edx
call fcn.005d8d20
mov ebp, eax
test eax, eax
jne 0x60be70
mov dword [rsp + 0x3c], 1
mov rcx, qword [rbx + 8]
jmp 0x60bda6
movzx r8d, byte [r15 + 0x5e]
mov edx, r8d
cmp r8d, ecx
je 0x60bf24
lea r8, str.attached_databases_must_use_the_same_text_encoding_as_main_database
mov rdx, r15
mov rcx, qword [rsp + 0x110]
mov r13d, 1
call fcn.005945c0
jmp 0x60bfed
and qword [r15 + 0x30], 0xfffffffffffffffd
jmp 0x60bf53
mov edx, r12d
mov rcx, r15
call fcn.0060bb10
cmp byte [r15 + 0x61], 0
jne 0x60bfd2
mov rax, qword [r15 + 0x20]
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rbx + 8]
mov rax, qword [rax + rdi + 0x18]
or word [rax + 0x72], 1
test edx, edx
je 0x60bffd
call fcn.005e1850
mov rcx, qword [rbx + 8]
jmp 0x60bffd
mov rax, qword [rax + 0x38]
or word [rax + 0x72], 1
jmp 0x60beca
mov r13d, ebp
nop dword [rax]
call fcn.00597850
jmp 0x60c00d