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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rsi, qword [rcx]
xor eax, eax
mov r15, r8
mov rdi, rcx
mov ebp, eax
mov ebx, eax
cmp byte [rsi + 0x67], al
jne 0x1400ddaf1
mov rcx, qword [rsp + 0x98]
mov r13d, 0xffff8000
test dword [rcx + 0x24], 0x10000
mov r9, qword [rcx + 0x50]
je 0x1400dd6ab
mov ecx, r13d
test r9, r9
je 0x1400dd68e
mov ecx, eax
mov rax, qword [rsi + 0x20]
add rax, 0x18
cmp qword [rax], r9
je 0x1400dd68e
inc ecx
lea rax, [rax + 0x20]
cmp qword [rax], r9
jne 0x1400dd683
mov rax, qword [rsi + 0x20]
lea r14, [rsi + 0x20]
movsxd rcx, ecx
shl rcx, 5
mov r9, qword [rcx + rax]
mov rcx, qword [rsp + 0x98]
jmp 0x1400dd6af
lea r14, [rsi + 0x20]
mov r8, qword [rcx + 8]
xor edx, edx
mov rcx, rdi
call fcn.140100200
mov r12, rax
test rax, rax
je 0x1400ddae9
mov rdx, qword [rax + 0x60]
test rdx, rdx
je 0x1400dd700
xor eax, eax
mov r13d, eax
mov rax, qword [rdi]
mov rcx, qword [rax + 0x20]
add rcx, 0x18
cmp qword [rcx], rdx
je 0x1400dd700
nop word [rax + rax]
inc r13d
lea rcx, [rcx + 0x20]
cmp qword [rcx], rdx
jne 0x1400dd6f0
lea r14, [rsi + 0x20]
mov rax, qword [r14]
mov rdx, r15
movsxd rcx, r13d
shl rcx, 5
mov r14, qword [rcx + rax]
mov rcx, rsi
mov qword [rsp + 0xa8], r14
call fcn.1401015a0
mov rbp, rax
test rax, rax
je 0x1400ddae9
mov r8, r14
mov rdx, rax
mov rcx, rsi
call fcn.1400f4a50
test rax, rax
jne 0x1400ddad7
mov r8, r14
mov rdx, rbp
mov rcx, rsi
call fcn.1400f4930
test rax, rax
jne 0x1400ddad7
mov r8, rbp
mov rdx, r12
mov rcx, rsi
call fcn.1400fefe0
test eax, eax
jne 0x1400ddad7
mov rdx, r12
mov rcx, rdi
call fcn.1400bcc40
test eax, eax
jne 0x1400ddae9
mov r9, rbp
lea r8, str.table
mov rdx, rbp
mov rcx, rdi
call fcn.1400e4a70
test eax, eax
jne 0x1400ddae9
cmp byte [r12 + 0x3f], 2
mov rcx, rdi
mov r9, qword [r12]
jne 0x1400dd7d4
mov r8, r9
lea rdx, str.view__s_may_not_be_altered
call fcn.1400ed030
mov rdx, qword [rsp + 0x98]
mov rcx, rsi
call fcn.1401138f0
jmp 0x1400ddafe
xor r15d, r15d
mov r8, r14
mov edx, 0x1a
mov qword [rsp + 0x20], r15
call fcn.1400dec20
test eax, eax
jne 0x1400ddae9
cmp byte [r12 + 0x3f], 1
je 0x1400dd801
cmp word [r12 + 0x36], bx
jg 0x1400dd814
mov rdx, r12
mov rcx, rdi
call fcn.14013e7f0
test eax, eax
jne 0x1400ddae9
cmp byte [r12 + 0x3f], 1
jne 0x1400dd846
mov rbx, qword [r12 + 0x50]
test rbx, rbx
je 0x1400dd834
cmp qword [rbx], rsi
je 0x1400dd834
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1400dd826
mov rax, qword [rbx + 0x10]
mov rcx, qword [rax]
cmp qword [rcx + 0x98], r15
cmove rbx, r15
mov r14, qword [rdi + 0x10]
lea r15, [rdi + 0xb0]
test r14, r14
jne 0x1400dd87c
cmp qword [r15], r14
jne 0x1400dd868
mov rax, qword [rdi]
test byte [rax + 0x60], 8
jne 0x1400dd868
mov byte [rdi + 0x23], 1
mov rcx, rdi
call fcn.14011aea0
mov r14, rax
test rax, rax
je 0x1400ddae9
mov rax, qword [r15]
mov rcx, rdi
test rax, rax
cmovne rcx, rax
xor edx, edx
mov r15d, edx
mov byte [rcx + 0x21], 1
mov rcx, qword [r12]
mov qword [rsp + 0x40], rcx
mov rax, rcx
cmp byte [rcx], dl
je 0x1400dd8db
cmp rax, 0xffffffffffffffff
jae 0x1400dd8d6
movzx ecx, byte [rax]
inc rax
cmp cl, 0xc0
jb 0x1400dd8cf
movzx ecx, byte [rax]
and cl, 0xc0
cmp cl, 0x80
jne 0x1400dd8cf
nop
movzx ecx, byte [rax + 1]
inc rax
and cl, 0xc0
cmp cl, 0x80
je 0x1400dd8c0
inc r15d
cmp byte [rax], dl
jne 0x1400dd8a2
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0xa8]
mov eax, edx
mov qword [rsp + 0x38], rcx
lea rdx, str.UPDATE___w_.sqlite_master_SET_sql__sqlite_rename_table__Q__type__name__sql___Q___Q___d__WHERE__type_index_OR_tbl_name_Q_COLLATE_nocase_AND___name_NOT_LIKE_sqliteX____ESCAPE_X
cmp r13d, 1
mov r8, r9
sete al
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rcx
mov rcx, rdi
mov dword [rsp + 0x90], eax
call fcn.140101680
mov rax, qword [rsp + 0x40]
lea rdx, str.UPDATE__Q.sqlite_master_SET_tbl_name___Q__name__CASE_WHEN_typetable_THEN__Q_WHEN_name_LIKE_sqliteX_autoindex___ESCAPE_X______AND_typeindex_THEN_sqlite_autoindex____Q__substr_name__d18__ELSE_name_END_WHERE_tbl_name_Q_COLLATE_nocase_AND__typetable_OR_typeindex_OR_typetrigger__
mov r8, qword [rsp + 0xa8]
mov r9, rbp
mov qword [rsp + 0x38], rax
mov rcx, rdi
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
call fcn.140101680
mov r8, qword [rsp + 0xa8]
lea rdx, str.sqlite_sequence
mov rcx, rsi
call fcn.1400f4a50
test rax, rax
je 0x1400dd98f
mov rax, qword [r12]
lea rdx, str.UPDATE___w_.sqlite_sequence_set_name___Q_WHERE_name___Q
mov r12, qword [rsp + 0xa8]
mov r9, rbp
mov r8, r12
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.140101680
jmp 0x1400dd997
mov r12, qword [rsp + 0xa8]
cmp r13d, 1
je 0x1400dd9cb
mov rax, qword [rsp + 0x40]
lea rdx, str.UPDATE_sqlite_temp_schema_SET_sql__sqlite_rename_table__Q__type__name__sql___Q___Q__1___tbl_name__CASE_WHEN_tbl_name_Q_COLLATE_nocase_AND___sqlite_rename_test__Q__sql__type__name__1__after_rename__0__THEN__Q_ELSE_tbl_name_END_WHERE_type_IN__view__trigger_
mov qword [rsp + 0x38], rbp
mov r9, rax
mov qword [rsp + 0x30], r12
mov r8, r12
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov qword [rsp + 0x20], rbp
call fcn.140101680
test rbx, rbx
je 0x1400dda94
inc dword [rdi + 0x3c]
mov r8, rbp
mov r15d, dword [rdi + 0x3c]
mov rcx, r14
mov edx, r15d
call fcn.140125640
movsxd rdx, dword [r14 + 0x90]
cmp dword [r14 + 0x94], edx
jg 0x1400dda16
xor eax, eax
xor r9d, r9d
mov r8d, r15d
mov dword [rsp + 0x20], eax
mov edx, 0xb1
mov rcx, r14
call fcn.1400bb2e0
mov edx, eax
jmp 0x1400dda44
lea rcx, [rdx + rdx*2]
xor r8d, r8d
lea eax, [rdx + 1]
mov dword [r14 + 0x90], eax
mov rax, qword [r14 + 0x88]
mov dword [rax + rcx*8], 0xb1
mov dword [rax + rcx*8 + 4], r15d
mov qword [rax + rcx*8 + 8], r8
mov qword [rax + rcx*8 + 0x10], r8
mov rax, qword [r14]
cmp byte [rax + 0x67], 0
jne 0x1400dda94
test edx, edx
jns 0x1400dda5a
mov edx, dword [r14 + 0x90]
dec edx
movsxd rax, edx
lea rdx, [rax + rax*2]
mov rax, qword [r14 + 0x88]
cmp byte [rax + rdx*8 + 1], 0
lea rcx, [rax + rdx*8]
je 0x1400dda89
mov rdx, rcx
mov r9d, 0xfffffff5
mov rcx, r14
mov r8, rbx
call fcn.14013a520
jmp 0x1400dda94
mov qword [rcx + 0x10], rbx
mov byte [rcx + 1], 0xf5
inc dword [rbx + 0x18]
mov r8d, 1
mov edx, r13d
mov rcx, rdi
call fcn.1400d3fb0
mov r8d, dword [rsp + 0x90]
lea r9, str.after_rename
xor eax, eax
mov rdx, r12
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.1400d45d0
mov rdx, qword [rsp + 0x98]
mov rcx, rsi
call fcn.1401138f0
jmp 0x1400ddafe
mov r8, rbp
lea rdx, str.there_is_already_another_table_or_index_with_this_name:__s
mov rcx, rdi
jmp 0x1400dd7ba
mov rdx, qword [rsp + 0x98]
mov rcx, rsi
call fcn.1401138f0
test rbp, rbp
je 0x1400ddb09
mov rdx, rbp
mov rcx, rsi
call fcn.1400ea480
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret