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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0xa8
mov rax, qword [0x140225e48]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rbp, rcx
movsxd r12, edx
mov rax, r8
mov qword [rsp + 0x40], rbp
xor r8d, r8d
mov qword [rsp + 0x38], rax
lea rdx, str.sqlite_master
mov qword [rsp + 0x78], r8
mov r15d, r8d
mov dword [rsp + 0x54], r8d
cmp r12d, 1
mov dword [rsp + 0x50], r12d
lea rcx, str.sqlite_temp_master
mov qword [rsp + 0x48], rax
cmovne rcx, rdx
lea r8, [rsp + 0x60]
mov qword [rsp + 0x58], rcx
xor r9d, r9d
mov qword [rsp + 0x60], rcx
lea rcx, [0x1401bf10c]
mov qword [rsp + 0x68], rcx
lea rcx, str.CREATE_TABLE_x_type_text_name_text_tbl_name_text_rootpage_integer_sql_text_
mov qword [rsp + 0x70], rcx
lea rcx, [rsp + 0x40]
lea edx, [r9 + 3]
call fcn.1400aa9d0
mov edi, dword [rsp + 0x54]
mov eax, 1
test edi, edi
jne 0x1400ab0e7
mov rax, qword [rbp + 0x20]
mov rsi, r12
shl rsi, 5
mov rcx, qword [rax + rsi + 8]
lea r13, [rax + rsi]
mov qword [rsp + 0x30], rsi
test rcx, rcx
jne 0x1400aacc3
cmp r12d, 1
jne 0x1400aacbc
mov rax, qword [rax + 0x38]
or word [rax + 0x72], r12w
xor eax, eax
jmp 0x1400ab11b
mov qword [rsp + 0xa0], r14
cmp byte [rcx + 0x11], r15b
je 0x1400aacdf
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], r15b
jne 0x1400aacdf
call fcn.14006c2f0
mov r14, qword [r13 + 8]
mov qword [rsp + 0xf8], rbx
cmp byte [r14 + 0x10], r15b
jne 0x1400aae92
mov rbx, qword [r14 + 8]
xor edi, edi
cmp byte [r14 + 0x11], dil
je 0x1400aad13
inc dword [r14 + 0x14]
cmp byte [r14 + 0x12], dil
jne 0x1400aad13
mov rcx, r14
call fcn.14006c2f0
movzx eax, byte [r14 + 0x10]
dec al
cmp al, 1
jbe 0x1400aae57
movzx ecx, word [rbx + 0x26]
test cl, 0x40
je 0x1400aad3e
mov rax, qword [rbx + 0x78]
cmp qword [rax], rdi
je 0x1400aad3e
mov edi, 0x106
jmp 0x1400aae57
mov rax, qword [r14 + 8]
cmp byte [r14 + 0x11], dil
je 0x1400aad81
cmp qword [rax + 0x78], r14
je 0x1400aad5e
test byte [rax + 0x26], 0x20
je 0x1400aad5e
mov edi, 0x106
jmp 0x1400aae57
mov rax, qword [rax + 0x70]
test rax, rax
je 0x1400aad81
cmp qword [rax], r14
je 0x1400aad78
cmp dword [rax + 8], 1
jne 0x1400aad78
cmp byte [rax + 0xc], 1
jne 0x1400aad34
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400aad67
mov eax, 0xfff7
and cx, ax
mov word [rbx + 0x26], cx
cmp dword [rbx + 0x3c], r15d
jne 0x1400aada0
or cx, 8
mov word [rbx + 0x26], cx
nop dword [rax + rax]
cmp qword [rbx + 0x18], r15
jne 0x1400aadb6
mov rcx, rbx
call fcn.140081580
mov edi, eax
test eax, eax
je 0x1400aada0
jmp 0x1400aadba
test edi, edi
je 0x1400aadd6
cmp byte [rbx + 0x24], r15b
jne 0x1400aadd6
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400aadd6
mov qword [rbx + 0x18], r15
mov rcx, qword [rcx + 0x70]
call fcn.1400b0f50
cmp dil, 5
jne 0x1400aae14
cmp byte [rbx + 0x24], r15b
jne 0x1400aae14
mov rsi, qword [rbx + 8]
add rsi, 0x218
je 0x1400aae14
mov rax, qword [rsi]
test rax, rax
je 0x1400aae14
mov edx, dword [rsi + 0x10]
test edx, edx
js 0x1400aae14
mov rcx, qword [rsi + 8]
call rax
test eax, eax
je 0x1400aae0d
inc dword [rsi + 0x10]
jmp 0x1400aada0
mov dword [rsi + 0x10], 0xffffffff
test edi, edi
jne 0x1400aae52
cmp byte [r14 + 0x10], r15b
jne 0x1400aae3c
inc dword [rbx + 0x38]
cmp byte [r14 + 0x11], r15b
je 0x1400aae3c
mov byte [r14 + 0x3c], 1
mov rax, qword [rbx + 0x70]
mov qword [r14 + 0x40], rax
lea rax, [r14 + 0x30]
mov qword [rbx + 0x70], rax
mov rsi, qword [rsp + 0x30]
mov byte [r14 + 0x10], 1
cmp byte [rbx + 0x24], 1
jae 0x1400aae57
mov byte [rbx + 0x24], 1
jmp 0x1400aae57
mov rsi, qword [rsp + 0x30]
cmp byte [r14 + 0x11], r15b
je 0x1400aae6c
sub dword [r14 + 0x14], 1
jne 0x1400aae6c
mov rcx, r14
call fcn.1400d7440
test edi, edi
je 0x1400aae8c
mov ecx, edi
call fcn.14009e4f0
mov rcx, qword [rsp + 0x38]
mov r8, rax
mov rdx, rbp
call fcn.1400bc1d0
jmp 0x1400ab0bd
mov r15d, 1
xor r14d, r14d
lea rdi, [rsp + 0x80]
mov ebx, r14d
mov rcx, qword [r13 + 8]
inc ebx
mov edx, ebx
mov r8, rdi
call fcn.140095a60
add rdi, 4
cmp ebx, 5
jl 0x1400aaea0
mov rcx, qword [r13 + 0x18]
mov eax, dword [rsp + 0x80]
mov dword [rcx], eax
mov ecx, dword [rsp + 0x90]
test ecx, ecx
je 0x1400aaf0f
test r12d, r12d
jne 0x1400aaee9
and cl, 3
mov ebx, 1
movzx eax, cl
cmove eax, ebx
mov byte [rbp + 0x52], al
jmp 0x1400aaf22
movzx eax, byte [rbp + 0x52]
cmp ecx, eax
je 0x1400aaf1d
mov rcx, qword [rsp + 0x38]
lea r8, str.attached_databases_must_use_the_same_text_encoding_as_main_database
mov rdx, rbp
call fcn.1400bc1d0
mov edi, 1
jmp 0x1400ab0af
mov rax, qword [rbp + 0x20]
mov rcx, qword [rsi + rax + 0x18]
or word [rcx + 0x72], 4
mov ebx, 1
mov rcx, qword [r13 + 0x18]
movzx eax, byte [rbp + 0x52]
mov byte [rcx + 0x71], al
mov rcx, qword [r13 + 0x18]
cmp dword [rcx + 0x74], r14d
jne 0x1400aaf6f
mov eax, dword [rsp + 0x88]
test eax, eax
jns 0x1400aaf52
cmp eax, 0x80000000
jne 0x1400aaf50
mov eax, 0x7fffffff
jmp 0x1400aaf5c
neg eax
test eax, eax
mov edx, 0xfffff830
cmove eax, edx
mov dword [rcx + 0x74], eax
mov rax, qword [r13 + 0x18]
mov rcx, qword [r13 + 8]
mov edx, dword [rax + 0x74]
call fcn.140097810
mov rax, qword [r13 + 0x18]
mov ecx, dword [rsp + 0x84]
mov byte [rax + 0x70], cl
mov rax, qword [r13 + 0x18]
cmp byte [rax + 0x70], r14b
jne 0x1400aaf8b
mov byte [rax + 0x70], 1
mov rax, qword [r13 + 0x18]
cmp byte [rax + 0x70], 4
jbe 0x1400aafb0
mov rcx, qword [rsp + 0x38]
lea r8, str.unsupported_file_format
mov rdx, rbp
call fcn.1400bc1d0
mov edi, ebx
jmp 0x1400ab0af
test r12d, r12d
jne 0x1400aafc1
cmp ecx, 4
jl 0x1400aafc1
and dword [rbp + 0x2c], 0xffff7fff
mov r8, qword [rbp + 0x20]
lea rdx, str.SELECT_name__rootpage__sql_FROM___w_._s_ORDER_BY_rowid
mov r9, qword [rsp + 0x58]
mov rcx, rbp
mov r8, qword [rsi + r8]
call fcn.1400ae370
mov rbx, qword [rbp + 0x190]
lea r9, [rsp + 0x40]
lea r8, [fcn.1400aa9d0]
mov qword [rbp + 0x190], r14
mov rdx, rax
mov qword [rsp + 0x20], r14
mov rcx, rbp
mov rsi, rax
call fcn.14005b6d0
test eax, eax
mov qword [rbp + 0x190], rbx
mov edi, eax
cmove edi, dword [rsp + 0x54]
test rsi, rsi
je 0x1400ab068
cmp qword [rbp + 0x298], r14
je 0x1400ab035
mov rdx, rsi
mov rcx, rbp
call fcn.140082490
jmp 0x1400ab068
cmp rsi, qword [rbp + 0x180]
jb 0x1400ab060
cmp rsi, qword [rbp + 0x188]
jae 0x1400ab060
mov rax, qword [rbp + 0x178]
mov qword [rsi], rax
dec dword [rbp + 0x160]
mov qword [rbp + 0x178], rsi
jmp 0x1400ab068
mov rcx, rsi
call fcn.140061250
test edi, edi
jne 0x1400ab077
mov edx, r12d
mov rcx, rbp
call fcn.1400925b0
cmp byte [rbp + 0x55], r14b
je 0x1400ab08c
mov rcx, rbp
mov edi, 7
call fcn.1400b6740
jmp 0x1400ab090
test edi, edi
je 0x1400ab099
test dword [rbp + 0x2c], 0x10000
je 0x1400ab0af
mov rax, qword [rbp + 0x20]
mov edi, r14d
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + rax + 0x18]
or word [rcx + 0x72], 1
test r15d, r15d
je 0x1400ab0bd
mov rcx, qword [r13 + 8]
call fcn.140094fd0
mov rcx, qword [r13 + 8]
mov r14, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xf8]
cmp byte [rcx + 0x11], 0
je 0x1400ab0e2
sub dword [rcx + 0x14], 1
jne 0x1400ab0e2
call fcn.1400d7440
mov eax, 1
cmp edi, 7
je 0x1400ab0f4
cmp edi, 0xc0a
jne 0x1400ab119
cmp byte [rbp + 0x55], 0
jne 0x1400ab119
cmp byte [rbp + 0x56], 0
jne 0x1400ab119
cmp dword [rbp + 0xb8], 0
mov byte [rbp + 0x55], 1
jle 0x1400ab113
mov dword [rbp + 0x150], eax
inc dword [rbp + 0x158]
mov eax, edi
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400eb3e0
add rsp, 0xa8
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret