Function at 0x18004a79c
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.18004a680
mov ebp, eax
test eax, eax
js 0x18004a93c
mov r13d, 1
test r15d, r15d
je 0x18004a804
cmp dword [rdi + 8], 0
jbe 0x18004a801
cmp eax, r13d
je 0x18004a801
lea rdx, str.temporary_table_name_must_be_unqualified
mov rcx, rbx
call fcn.18001d010
jmp 0x18004a93c
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.18004a530
mov rdi, rax
test rax, rax
je 0x18004a93c
mov rdx, rax
mov rcx, rbx
call fcn.18004a730
test eax, eax
jne 0x18004a931
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.18004984c
test eax, eax
jne 0x18004a931
cmp dword [rsp + 0x80], eax
je 0x18004a8a9
neg r14d
sbb edx, edx
and edx, 0xfffffffe
add edx, 8
jmp 0x18004a8b4
neg r14d
sbb edx, edx
and edx, 2
add edx, 2
mov r13d, dword [rsp + 0x88]
test r13d, r13d
jne 0x18004a8dd
mov rax, qword [rsp + 0x60]
xor r9d, r9d
mov r8, rdi
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.18004984c
test eax, eax
jne 0x18004a931
cmp byte [rbx + 0x1f3], 0
jne 0x18004a980
mov rax, qword [rsi + 0x20]
mov rcx, rbx
mov r14, qword [r15 + rax]
call fcn.18005bf7c
test eax, eax
jne 0x18004a931
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call fcn.180049d9c
test rax, rax
je 0x18004a959
cmp dword [rsp + 0x90], 0
mov rcx, rbx
jne 0x18004a92a
mov r8, r12
lea rdx, str.table__T_already_exists
jmp 0x18004a979
mov edx, ebp
call fcn.18004e9a0
mov rdx, rdi
mov rcx, rsi
call fcn.18001ae10
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.180049f48
test rax, rax
je 0x18004a980
mov r8, rdi
lea rdx, str.there_is_already_an_index_named__s
mov rcx, rbx
call fcn.18001d010
jmp 0x18004a931
mov edx, 0x80
mov rcx, rsi
call fcn.18001b048
mov r14, rax
test rax, rax
jne 0x18004a9a8
lea eax, [r14 + 1]
mov byte [rsi + 0x51], al
add dword [rbx + 0x4c], eax
mov dword [rbx + 0x18], 7
jmp 0x18004a931
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 0x18004a9fc
lea rdx, str.sqlite_sequence
mov rcx, rdi
call fcn.1800c2580
test eax, eax
jne 0x18004a9fc
mov rax, qword [r14 + 0x70]
mov qword [rax + 0x68], r14
cmp byte [rsi + 0xa1], 0
jne 0x18004a93c
mov rcx, rbx
call fcn.18005ec20
mov rdi, rax
test rax, rax
je 0x18004a93c
mov r8d, ebp
xor edx, edx
mov rcx, rbx
call fcn.18004ea74
test r13d, r13d
je 0x18004aa47
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x90
mov rcx, rdi
call fcn.180033e88
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.180033e88
mov edx, ebp
mov rcx, rdi
call fcn.180034880
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, r15d
lea edx, [r9 + 0x2d]
call fcn.180033e88
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.180033e88
mov r9d, 2
mov dword [rsp + 0x20], r15d
mov r8d, ebp
mov rcx, rdi
lea edx, [r9 + 0x32]
call fcn.180033e88
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.180033e88
lea r9d, [rsi + 5]
mov dword [rsp + 0x20], r15d
mov r8d, ebp
lea edx, [rsi + 0x34]
mov rcx, rdi
call fcn.180033e88
mov eax, dword [rsp + 0x60]
mov edx, dword [rdi + 0x3c]
cmp edx, eax
jbe 0x18004ab35
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 0x18004ab6b
test r13d, r13d
jne 0x18004ab6b
mov r9d, r14d
mov dword [rsp + 0x20], esi
mov r8d, ebp
lea edx, [r13 + 0x79]
mov rcx, rdi
call fcn.180033e88
mov dword [rbx + 0x1d0], eax
jmp 0x18004ab81
xor r8d, r8d
mov dword [rsp + 0x20], esi
mov r9d, r14d
mov rcx, rdi
lea edx, [r8 + 0x19]
call fcn.180033e88
mov edx, ebp
mov rcx, rbx
call fcn.18004a560
xor r8d, r8d
mov dword [rsp + 0x20], esi
mov r9d, r12d
mov rcx, rdi
lea edx, [r8 + 0x4a]
call fcn.180033e88
xor r8d, r8d
mov dword [rsp + 0x20], esi
mov r9d, r15d
mov rcx, rdi
lea edx, [r8 + 0x1c]
call fcn.180033e88
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov r9d, r15d
mov rcx, rdi
lea edx, [r8 + 0x4b]
call fcn.180033e88
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x18004abe4
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.180033e88
jmp 0x18004a93c