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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, qword [rcx]
mov r15d, r9d
lea r9, [rax + 8]
mov rdi, r8
mov rbx, rcx
call fcn.18004de7c
mov ebp, eax
test eax, eax
js 0x18004e138
mov r13d, 1
test r15d, r15d
je 0x18004e000
cmp dword [rdi + 8], 0
jbe 0x18004dffd
cmp eax, r13d
je 0x18004dffd
lea rdx, str.temporary_table_name_must_be_unqualified
mov rcx, rbx
call fcn.180020830
jmp 0x18004e138
mov ebp, r13d
mov r12, qword [rsp + 0x60]
mov rcx, rsi
mov rdx, r12
movups xmm0, xmmword [r12]
movdqu xmmword [rbx + 0x238], xmm0
call fcn.18004dd2c
mov rdi, rax
test rax, rax
je 0x18004e138
mov rdx, rax
mov rcx, rbx
call fcn.18004df2c
test eax, eax
jne 0x18004e12d
cmp byte [rsi + 0xa0], r13b
lea rcx, str.sqlite_master
mov rax, qword [rsi + 0x20]
lea r8, str.sqlite_temp_master
mov r14d, r13d
cmovne r14d, r15d
mov r15d, ebp
shl r15, 5
cmp r14d, r13d
cmovne r8, rcx
xor r9d, r9d
mov rax, qword [r15 + rax]
mov rcx, rbx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x20], rax
lea edx, [r9 + 0x12]
call fcn.18004d040
test eax, eax
jne 0x18004e12d
cmp dword [rsp + 0x80], eax
je 0x18004e0a5
neg r14d
sbb edx, edx
and edx, 0xfffffffe
add edx, 8
jmp 0x18004e0b0
neg r14d
sbb edx, edx
and edx, 2
add edx, 2
mov r13d, dword [rsp + 0x88]
test r13d, r13d
jne 0x18004e0d9
mov rax, qword [rsp + 0x60]
xor r9d, r9d
mov r8, rdi
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.18004d040
test eax, eax
jne 0x18004e12d
cmp byte [rbx + 0x1f3], 0
jne 0x18004e17c
mov rax, qword [rsi + 0x20]
mov rcx, rbx
mov r14, qword [r15 + rax]
call fcn.18005f780
test eax, eax
jne 0x18004e12d
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call fcn.18004d590
test rax, rax
je 0x18004e155
cmp dword [rsp + 0x90], 0
mov rcx, rbx
jne 0x18004e126
mov r8, r12
lea rdx, str.table__T_already_exists
jmp 0x18004e175
mov edx, ebp
call fcn.1800521a4
mov rdx, rdi
mov rcx, rsi
call fcn.18001e630
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call fcn.18004d73c
test rax, rax
je 0x18004e17c
mov r8, rdi
lea rdx, str.there_is_already_an_index_named__s
mov rcx, rbx
call fcn.180020830
jmp 0x18004e12d
mov edx, 0x80
mov rcx, rsi
call fcn.18001e868
mov r14, rax
test rax, rax
jne 0x18004e1a4
lea eax, [r14 + 1]
mov byte [rsi + 0x51], al
add dword [rbx + 0x4c], eax
mov dword [rbx + 0x18], 7
jmp 0x18004e12d
mov qword [rax], rdi
or eax, 0xffffffff
mov word [r14 + 0x40], ax
mov rax, qword [rsi + 0x20]
mov rcx, qword [r15 + rax + 0x18]
mov eax, 1
mov word [r14 + 0x44], ax
mov eax, 0xc8
mov word [r14 + 0x38], ax
mov qword [r14 + 0x70], rcx
cmp byte [rbx + 0x1e], 0
mov qword [rbx + 0x220], r14
jne 0x18004e1f8
lea rdx, str.sqlite_sequence
mov rcx, rdi
call fcn.1800c1250
test eax, eax
jne 0x18004e1f8
mov rax, qword [r14 + 0x70]
mov qword [rax + 0x68], r14
cmp byte [rsi + 0xa1], 0
jne 0x18004e138
mov rcx, rbx
call fcn.1800623fc
mov rdi, rax
test rax, rax
je 0x18004e138
mov r8d, ebp
xor edx, edx
mov rcx, rbx
call fcn.180052278
test r13d, r13d
je 0x18004e243
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x90
mov rcx, rdi
call fcn.1800376b8
mov r12d, dword [rbx + 0x54]
mov r8d, ebp
inc r12d
mov dword [rsp + 0x20], 2
mov edx, 0x33
mov dword [rbx + 0x1a0], r12d
mov rcx, rdi
lea r14d, [r12 + 1]
lea r15d, [r14 + 1]
mov dword [rbx + 0x1a4], r14d
mov r9d, r15d
mov dword [rbx + 0x54], r15d
call fcn.1800376b8
mov edx, ebp
mov rcx, rdi
call fcn.1800380b0
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, r15d
lea edx, [r9 + 0x2d]
call fcn.1800376b8
mov ecx, dword [rsi + 0x2c]
mov r9d, r15d
and ecx, 0x8000
mov dword [rsp + 0x60], eax
neg ecx
mov edx, 0x19
mov rcx, rdi
sbb r8d, r8d
and dword [rsp + 0x20], 0
and r8d, 0xfffffffd
add r8d, 4
call fcn.1800376b8
mov r9d, 2
mov dword [rsp + 0x20], r15d
mov r8d, ebp
mov rcx, rdi
lea edx, [r9 + 0x32]
call fcn.1800376b8
movzx r8d, byte [rsi + 0x4e]
mov r9d, r15d
xor esi, esi
mov rcx, rdi
mov dword [rsp + 0x20], esi
lea edx, [rsi + 0x19]
call fcn.1800376b8
lea r9d, [rsi + 5]
mov dword [rsp + 0x20], r15d
mov r8d, ebp
lea edx, [rsi + 0x34]
mov rcx, rdi
call fcn.1800376b8
mov eax, dword [rsp + 0x60]
mov edx, dword [rdi + 0x3c]
cmp edx, eax
jbe 0x18004e331
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x3c]
lea ecx, [rdx - 1]
mov rax, qword [rdi + 0x30]
mov dword [rax + 0x64], ecx
cmp dword [rsp + 0x80], esi
jne 0x18004e367
test r13d, r13d
jne 0x18004e367
mov r9d, r14d
mov dword [rsp + 0x20], esi
mov r8d, ebp
lea edx, [r13 + 0x79]
mov rcx, rdi
call fcn.1800376b8
mov dword [rbx + 0x1d0], eax
jmp 0x18004e37d
xor r8d, r8d
mov dword [rsp + 0x20], esi
mov r9d, r14d
mov rcx, rdi
lea edx, [r8 + 0x19]
call fcn.1800376b8
mov edx, ebp
mov rcx, rbx
call fcn.18004dd5c
xor r8d, r8d
mov dword [rsp + 0x20], esi
mov r9d, r12d
mov rcx, rdi
lea edx, [r8 + 0x4a]
call fcn.1800376b8
xor r8d, r8d
mov dword [rsp + 0x20], esi
mov r9d, r15d
mov rcx, rdi
lea edx, [r8 + 0x1c]
call fcn.1800376b8
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov r9d, r15d
mov rcx, rdi
lea edx, [r8 + 0x4b]
call fcn.1800376b8
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x18004e3e0
movsxd rax, dword [rdi + 0x3c]
lea rdx, [rax + rax*2]
mov byte [rcx + rdx*8 - 0x15], 8
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x3d]
call fcn.1800376b8
jmp 0x18004e138