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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2e8
mov rax, qword [0x1400e6010]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov rax, qword [rsp + 0x360]
xor edi, edi
cmp dword [rsp + 0x358], edi
mov r13, rcx
mov qword [rsp + 0x70], rax
mov ebp, edi
mov qword [rsp + 0x50], r9
mov r12d, edi
mov qword [rax], rdi
mov eax, edi
mov rcx, qword [rcx + 0x18]
setne al
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x60], rdx
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x34], edi
test rcx, rcx
je 0x14004e8f6
call qword [0x1400e6130]
mov edx, 0x38
mov rcx, r13
call fcn.1400167e0
mov qword [rsp + 0x58], rax
mov rsi, rax
test rax, rax
je 0x14004e924
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x30], rax
lea rbx, [r13 + 0x61]
lea r15, [rsi + 0x18]
nop dword [rax]
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x250
call sub.VCRUNTIME140.dll_memset
test rsi, rsi
je 0x14004eef4
mov qword [rsp + 0x80], r13
test r12, r12
je 0x14004e9fa
cmp qword [r13 + 0x2a8], 0
je 0x14004e979
mov rdx, r12
mov rcx, r13
call fcn.1400162c0
jmp 0x14004e9fa
cmp r12, qword [r13 + 0x190]
jb 0x14004e99f
cmp r12, qword [r13 + 0x198]
jae 0x14004e99f
mov rax, qword [r13 + 0x188]
mov qword [r12], rax
mov qword [r13 + 0x188], r12
jmp 0x14004e9fa
cmp dword [0x1400e60a0], 0
je 0x14004e9f1
mov rcx, qword [0x1400e8c28]
test rcx, rcx
je 0x14004e9ba
call qword [0x1400e6130]
mov rcx, r12
call qword [0x1400e60e8]
dec qword [0x1400e89b8]
movsxd rcx, eax
sub qword [0x1400e8970], rcx
mov rcx, r12
call qword [0x1400e60d8]
mov rcx, qword [0x1400e8c28]
test rcx, rcx
je 0x14004e9fa
call qword [0x1400e6140]
jmp 0x14004e9fa
mov rcx, r12
call qword [0x1400e60d8]
cmp byte [r13 + 0x69], 0
mov r12, rdi
mov qword [rsp + 0x48], rdi
jne 0x14004ea11
mov rcx, r13
call fcn.14002d3b0
mov r14, qword [rsp + 0x68]
lea rcx, [rsp + 0x80]
mov r9, qword [rsp + 0x60]
mov r8, r14
xor edx, edx
call fcn.140068530
mov qword [rsp + 0x40], rax
mov rbx, rax
test rax, rax
je 0x14004ef4f
cmp dword [rax + 0x54], 0
jne 0x14004ef38
test byte [rax + 0x40], 0x20
jne 0x14004ef2f
cmp qword [rax + 0x18], 0
jne 0x14004ef26
mov qword [rsi + 0x30], rax
mov rcx, 0xfffffffffff0bdc0
mov rdx, qword [rax + 0x70]
test rdx, rdx
je 0x14004ea8d
mov rax, qword [r13 + 0x20]
mov rcx, rdi
add rax, 0x18
cmp qword [rax], rdx
je 0x14004ea8d
inc rcx
lea rax, [rax + 0x20]
cmp qword [rax], rdx
jne 0x14004ea81
mov rax, qword [r13 + 0x20]
mov r14d, edi
mov r15, qword [rsp + 0x50]
shl rcx, 5
mov rcx, qword [rcx + rax]
mov qword [rsi + 0x28], rcx
movsx r10d, word [rbx + 0x46]
test r10d, r10d
jle 0x14004eb28
movzx eax, byte [r15]
lea rcx, [0x1400cd490]
mov r11, qword [rbx + 8]
movzx ebx, byte [rax + rcx]
nop dword [rax]
nop word [rax + rax]
movsxd rax, r14d
shl rax, 5
mov r8, qword [rax + r11]
movzx edx, byte [r8]
movzx eax, byte [rdx + rcx]
cmp eax, ebx
jne 0x14004eb1b
mov r9, r15
sub r9, r8
nop dword [rax]
test dl, dl
je 0x14004eb23
movzx eax, byte [r9 + r8 + 1]
inc r8
movzx ecx, byte [rax + rcx]
lea rax, [0x1400cd490]
movzx edx, byte [r8]
movzx eax, byte [rdx + rax]
cmp eax, ecx
lea rcx, [0x1400cd490]
je 0x14004eaf0
inc r14d
cmp r14d, r10d
jl 0x14004ead0
mov rbx, qword [rsp + 0x40]
cmp r14d, r10d
je 0x14004ef12
cmp dword [rsp + 0x358], 0
je 0x14004ebd2
test dword [r13 + 0x30], 0x4000
mov r9, rdi
je 0x14004eb86
mov r8, qword [rbx + 0x20]
test r8, r8
je 0x14004eb86
movsxd rdx, dword [r8 + 0x28]
test rdx, rdx
jle 0x14004eb7d
lea rcx, [r8 + 0x40]
cmp dword [rcx], r14d
lea rax, str.foreign_key
lea rcx, [rcx + 0x10]
cmovne rax, r9
mov r9, rax
sub rdx, 1
jne 0x14004eb62
mov r8, qword [r8 + 8]
test r8, r8
jne 0x14004eb55
mov r10, qword [rbx + 0x10]
test r10, r10
je 0x14004ebc9
nop
movzx eax, word [r10 + 0x5e]
cmp di, ax
jae 0x14004ebc0
mov rdx, qword [r10 + 8]
mov r8d, eax
movsx eax, word [rdx]
cmp eax, r14d
je 0x14004ebaf
cmp ax, 0xfffe
jne 0x14004ebb6
lea r9, str.indexed
add rdx, 2
sub r8, 1
jne 0x14004eba1
mov r10, qword [r10 + 0x28]
test r10, r10
jne 0x14004eb90
test r9, r9
jne 0x14004eed9
lea rcx, [rsp + 0x80]
call fcn.14003e420
mov qword [rsi + 0x18], rax
lea r15, [rsi + 0x18]
mov rdi, rax
test rax, rax
je 0x14004ee7b
mov rcx, qword [rbx + 0x70]
xor r9d, r9d
mov esi, 0xfff0bdc0
mov rbp, 0xfffffffffff0bdc0
test rcx, rcx
je 0x14004ec2e
mov rax, qword [r13 + 0x20]
mov esi, r9d
add rax, 0x18
mov ebp, r9d
cmp qword [rax], rcx
je 0x14004ec2e
nop
inc esi
lea rax, [rax + 0x20]
inc rbp
cmp qword [rax], rcx
jne 0x14004ec20
mov rax, qword [rdi + 0x18]
movsxd rdx, dword [rdi + 0xb8]
mov ebx, dword [rcx + 4]
mov r8d, dword [rcx]
cmp dword [rax + 0x3c], edx
jg 0x14004ec62
mov r9d, dword [rsp + 0x30]
mov edx, 2
mov dword [rsp + 0x20], r8d
mov rcx, rdi
mov r8d, esi
call fcn.14003e7a0
mov edx, eax
jmp 0x14004ec92
mov r10d, dword [rsp + 0x30]
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rdi + 0xb8], eax
mov rax, qword [rdi + 0x68]
mov dword [rax + rcx*8], 2
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], r10d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rdi]
cmp byte [rax + 0x61], 0
jne 0x14004ecaf
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x68]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], ebx
movsxd rax, dword [rdi + 0xb8]
test eax, eax
jle 0x14004ecc9
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x68]
mov word [rax + rcx*8 - 0x16], 1
mov rcx, qword [rdi + 0x18]
mov eax, dword [rdi + 0xb8]
add eax, 6
cmp eax, dword [rcx + 0x3c]
jle 0x14004ecee
mov rcx, rdi
call fcn.14003e680
test eax, eax
je 0x14004ecee
xor ebx, ebx
jmp 0x14004ed91
movsxd rax, dword [rdi + 0xb8]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x68]
mov qword [rax + rcx*8], 0x9a
lea rbx, [rax + rcx*8]
xor ecx, ecx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], 0x6a
mov qword [rbx + 0x20], rcx
mov qword [rbx + 0x28], rcx
mov byte [rbx + 0x30], 0x20
mov dword [rbx + 0x34], ecx
mov dword [rbx + 0x38], 5
mov eax, dword [rdi + 0xb8]
add eax, 5
mov dword [rbx + 0x38], eax
mov eax, 1
mov dword [rbx + 0x3c], eax
mov byte [rbx + 0x31], cl
mov qword [rbx + 0x40], rcx
mov word [rbx + 0x32], cx
mov qword [rbx + 0x48], 0x62
mov dword [rbx + 0x50], ecx
mov dword [rbx + 0x54], eax
mov qword [rbx + 0x58], rcx
mov dword [rbx + 0x60], 0x4e
mov qword [rbx + 0x64], rax
mov dword [rbx + 0x6c], ecx
mov qword [rbx + 0x70], rcx
mov qword [rbx + 0x78], 0x42
mov qword [rbx + 0x80], rcx
mov qword [rbx + 0x88], rcx
add dword [rdi + 0xb8], 6
mov eax, dword [rdi + 0xc8]
bts eax, esi
mov dword [rdi + 0xc8], eax
cmp esi, 1
je 0x14004edca
mov rax, qword [rdi]
shl rbp, 5
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx + rbp + 8]
cmp byte [rax + 0x11], 0
je 0x14004edca
mov eax, dword [rdi + 0xcc]
bts eax, esi
mov dword [rdi + 0xcc], eax
cmp byte [r13 + 0x61], 0
mov rbp, qword [rsp + 0x40]
jne 0x14004ee72
mov dword [rbx + 4], esi
mov eax, dword [rbp + 0x38]
mov dword [rbx + 8], eax
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0xc], eax
mov rcx, qword [rdi]
mov r8, qword [rbp]
cmp byte [rcx + 0x61], 0
je 0x14004ee00
xor edx, edx
call fcn.14003f690
jmp 0x14004ee13
mov rdx, qword [rdi + 0x68]
xor r9d, r9d
add rdx, 0x30
mov rcx, rdi
call fcn.14003f930
cmp byte [r13 + 0x61], 0
jne 0x14004ee72
cmp dword [rsp + 0x358], 0
je 0x14004ee28
mov byte [rbx + 0x18], 0x6b
mov eax, dword [rbp + 0x38]
lea rdx, [rsp + 0x80]
mov dword [rbx + 0x20], eax
mov rcx, rdi
mov dword [rbx + 0x24], esi
mov byte [rbx + 0x19], 0xfd
movsx eax, word [rbp + 0x46]
inc eax
mov dword [rbx + 0x28], eax
movsx eax, word [rbp + 0x46]
mov dword [rbx + 0x50], eax
xor eax, eax
mov word [rsp + 0x250], ax
mov eax, 1
mov dword [rsp + 0xb8], eax
mov dword [rsp + 0xb4], eax
call fcn.140040920
mov ebp, dword [rsp + 0x34]
mov rsi, qword [rsp + 0x58]
mov word [rsi + 8], r14w
mov qword [rsi + 0x20], r13
cmp byte [r13 + 0x69], 0
jne 0x14004ee93
mov rcx, r13
call fcn.14002d420
cmp byte [r13 + 0x61], 0
lea rbx, [r13 + 0x61]
jne 0x14004eef2
mov rdx, qword [rsp + 0x350]
lea r8, [rsp + 0x48]
mov rcx, rsi
call fcn.14004e630
mov ebp, eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp eax, 0x32
jge 0x14004eeed
cmp ebp, 0x11
jne 0x14004eeed
mov r12, qword [rsp + 0x48]
xor edi, edi
jmp 0x14004e930
mov r8, r9
lea rdx, str.cannot_open__s_column_for_writing
mov rcx, r13
call fcn.140018c70
jmp 0x14004ef64
mov r12, qword [rsp + 0x48]
xor edi, edi
test ebp, ebp
jne 0x14004ef84
lea r15, [rsi + 0x18]
cmp byte [rbx], bpl
jne 0x14004ef84
mov rax, qword [rsp + 0x70]
mov qword [rax], rsi
jmp 0x14004f053
mov r8, r15
lea rdx, str.no_such_column:___s_
mov rcx, r13
call fcn.140018c70
jmp 0x14004ef64
lea rdx, str.cannot_open_view:__s
jmp 0x14004ef3f
lea rdx, str.cannot_open_table_without_rowid:__s
jmp 0x14004ef3f
lea rdx, str.cannot_open_virtual_table:__s
mov r8, r14
lea rcx, [rsp + 0x80]
call fcn.140019ae0
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x14004ef67
mov qword [rsp + 0x88], rdi
mov r12, rax
cmp byte [r13 + 0x69], 0
lea r14, [rsi + 0x18]
mov r15, r14
mov ebp, 1
jne 0x14004ef84
mov rcx, r13
call fcn.14002d420
jmp 0x14004ef90
mov r14, r15
test rsi, rsi
je 0x14004f053
mov rbx, qword [r14]
test rbx, rbx
je 0x14004efb9
mov eax, dword [rbx + 0x24]
cmp eax, 0x2df20da3
je 0x14004efa9
cmp eax, 0x319c2973
jne 0x14004efb1
mov rcx, rbx
call fcn.140042310
mov rcx, rbx
call fcn.1400429e0
cmp qword [r13 + 0x2a8], 0
je 0x14004efd3
mov rdx, rsi
mov rcx, r13
call fcn.1400162c0
jmp 0x14004f053
cmp rsi, qword [r13 + 0x190]
jb 0x14004eff8
cmp rsi, qword [r13 + 0x198]
jae 0x14004eff8
mov rax, qword [r13 + 0x188]
mov qword [rsi], rax
mov qword [r13 + 0x188], rsi
jmp 0x14004f053
cmp dword [0x1400e60a0], 0
je 0x14004f04a
mov rcx, qword [0x1400e8c28]
test rcx, rcx
je 0x14004f013
call qword [0x1400e6130]
mov rcx, rsi
call qword [0x1400e60e8]
dec qword [0x1400e89b8]
movsxd rcx, eax
sub qword [0x1400e8970], rcx
mov rcx, rsi
call qword [0x1400e60d8]
mov rcx, qword [0x1400e8c28]
test rcx, rcx
je 0x14004f053
call qword [0x1400e6140]
jmp 0x14004f053
mov rcx, rsi
call qword [0x1400e60d8]
lea rax, [0x1400d2870]
test r12, r12
mov r9, r12
mov edx, ebp
cmovne rdi, rax
mov rcx, r13
mov r8, rdi
call fcn.1400199d0
test r12, r12
je 0x14004f115
cmp qword [r13 + 0x2a8], 0
je 0x14004f094
mov rdx, r12
mov rcx, r13
call fcn.1400162c0
jmp 0x14004f115
cmp r12, qword [r13 + 0x190]
jb 0x14004f0ba
cmp r12, qword [r13 + 0x198]
jae 0x14004f0ba
mov rax, qword [r13 + 0x188]
mov qword [r12], rax
mov qword [r13 + 0x188], r12
jmp 0x14004f115
cmp dword [0x1400e60a0], 0
je 0x14004f10c
mov rcx, qword [0x1400e8c28]
test rcx, rcx
je 0x14004f0d5
call qword [0x1400e6130]
mov rcx, r12
call qword [0x1400e60e8]
dec qword [0x1400e89b8]
movsxd rcx, eax
sub qword [0x1400e8970], rcx
mov rcx, r12
call qword [0x1400e60d8]
mov rcx, qword [0x1400e8c28]
test rcx, rcx
je 0x14004f115
call qword [0x1400e6140]
jmp 0x14004f115
mov rcx, r12
call qword [0x1400e60d8]
lea rcx, [rsp + 0x80]
call fcn.14008e2c0
cmp byte [r13 + 0x61], 0
jne 0x14004f137
cmp ebp, 0xc0a
je 0x14004f137
and ebp, dword [r13 + 0x54]
jmp 0x14004f141
mov rcx, r13
call fcn.140016ce0
mov ebp, eax
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x14004f150
call qword [0x1400e6140]
mov eax, ebp
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.1400c69d0
add rsp, 0x2e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret