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

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x55b527
push rbp
mov rbp, rsp
sub rsp, 0x98
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rbx
mov rsi, rbx
mov r8, qword [rsi + 0x50]
mov qword [rsp + 0x78], r8
movzx r9d, byte [rsi + 9]
mov dword [rsp + 0x5c], r9d
movzx r10d, word [rsi + 0x12]
mov dword [rsp + 0x58], r10d
movzx r11d, word [rsi + 0x18]
mov rsi, qword [rsi + 0x48]
lea r12d, [r9 + 7]
movsxd r12, r12d
add r12, r8
mov qword [rsp + 0x90], r12
mov r13, r12
movzx r12d, byte [r12]
lea r15d, [r10 + r11*2]
mov dword [rsp + 0x40], r15d
mov edx, dword [rsi + 0x38]
nop dword [rax]
cmp ecx, r12d
jl 0x55b0f5
lea r12d, [r9 + 1]
movsxd r12, r12d
lea rcx, [r8 + r12]
movzx ecx, byte [rcx]
shl ecx, 8
lea r12, [r8 + r12]
lea r12, [r12 + 1]
movzx r12d, byte [r12]
or r12d, ecx
lea ecx, [rdx - 4]
cmp r12d, ecx
jg 0x55b0cf
nop word [rax + rax]
test r12d, r12d
je 0x55b0f5
movsxd rdi, r12d
lea rbx, [rdi + r8]
movzx ebx, byte [rbx]
shl ebx, 8
lea rdi, [r8 + rdi]
lea rdi, [rdi + 1]
movzx edi, byte [rdi]
or edi, ebx
cmp edi, ecx
jg 0x55b0a9
test edi, edi
je 0x55adfc
movsxd rcx, edi
add rcx, r8
movzx ecx, byte [rcx]
nop dword [rax + rax]
test ecx, ecx
jne 0x55b09f
lea ecx, [rdi + 1]
movsxd rcx, ecx
add rcx, r8
movzx ecx, byte [rcx]
test ecx, ecx
jne 0x55b09f
movsxd rsi, r15d
lea r11d, [r12 + 2]
movsxd r11, r11d
lea rcx, [r11 + r8]
movzx ecx, byte [rcx]
shl ecx, 8
lea r11, [r11 + r8]
lea r11, [r11 + 1]
movzx r11d, byte [r11]
lea ebx, [r9 + 5]
movsxd rbx, ebx
lea r9, [r8 + rbx]
movzx r9d, byte [r9]
shl r9d, 8
lea rbx, [r8 + rbx]
lea rbx, [rbx + 1]
movzx ebx, byte [rbx]
or ebx, r9d
add rsi, r8
or r11d, ecx
cmp ebx, r12d
jge 0x55b079
mov dword [rsp + 0x34], r12d
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x68], rsi
nop dword [rax + rax]
test edi, edi
je 0x55afae
lea r9d, [r11 + r12]
cmp edi, r9d
jl 0x55af88
lea ecx, [rdi + 2]
movsxd rcx, ecx
lea r15, [rcx + r8]
movzx r15d, byte [r15]
shl r15d, 8
lea rcx, [rcx + r8]
lea rcx, [rcx + 1]
movzx ecx, byte [rcx]
or ecx, r15d
lea r15d, [rdi + rcx]
nop dword [rax]
cmp edx, r15d
jl 0x55af62
lea r15d, [r9 + rcx]
movsxd r15, r15d
movsxd rdx, r9d
sub edi, r9d
movsxd r9, edi
add r15, r8
add rdx, r8
nop
test r9, r9
jne 0x55aed4
mov rdi, r13
movabs r13, 0x3ffffffffffff
jmp 0x55af4a
mov rdi, r13
movabs r13, 0x3ffffffffffff
cmp r13, r9
jb 0x55b51b
test byte [r15], al
test byte [rdx], al
cmp rdx, r15
je 0x55af4a
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x24], ecx
mov rax, r15
mov rbx, rdx
mov rcx, r9
call sym.runtime.memmove
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x24]
mov ebx, dword [rsp + 0x20]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x90]
mov r8, qword [rsp + 0x78]
mov r10d, dword [rsp + 0x58]
mov r11d, dword [rsp + 0x28]
mov r12d, dword [rsp + 0x34]
movabs r13, 0x3ffffffffffff
add r11d, ecx
mov edi, dword [rsp + 0x30]
mov r13, qword [rsp + 0x90]
mov r15d, dword [rsp + 0x40]
nop
jmp 0x55afbd
mov rdi, qword [0x00a30e10]
add rdi, 0x6676
mov ebx, 0xb
mov ecx, 0x11a0c
call sym.modernc.org_sqlite_lib._sqlite3ReportError
add rsp, 0x98
pop rbp
ret
mov rdi, qword [0x00a30e10]
add rdi, 0x6676
mov ebx, 0xb
mov ecx, 0x11a0a
call sym.modernc.org_sqlite_lib._sqlite3ReportError
add rsp, 0x98
pop rbp
ret
lea r9d, [r11 + r12]
cmp edx, r9d
jl 0x55b053
xor ecx, ecx
lea r9d, [r11 + rbx]
movsxd rdx, r9d
movsxd rax, ebx
sub r12d, ebx
movsxd r12, r12d
add rdx, r8
lea rbx, [rax + r8]
test r12, r12
jne 0x55afde
mov eax, r15d
jmp 0x55b043
mov eax, r15d
movabs r15, 0x3ffffffffffff
cmp r15, r12
jb 0x55b510
test byte [rdx], al
test byte [rbx], al
cmp rbx, rdx
je 0x55b043
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x48], r9d
mov dword [rsp + 0x24], ecx
mov rax, rdx
mov rcx, r12
call sym.runtime.memmove
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x24]
mov rsi, qword [rsp + 0x68]
mov edi, dword [rsp + 0x30]
mov r8, qword [rsp + 0x78]
mov r9d, dword [rsp + 0x48]
mov r10d, dword [rsp + 0x58]
mov r11d, dword [rsp + 0x28]
mov r13, qword [rsp + 0x90]
movsxd rdx, r10d
add rdx, r8
mov r10d, dword [rsp + 0x34]
jmp 0x55b48d
mov rdi, qword [0x00a30e10]
add rdi, 0x6676
mov ebx, 0xb
mov ecx, 0x11a10
call sym.modernc.org_sqlite_lib._sqlite3ReportError
add rsp, 0x98
pop rbp
ret
mov rdi, qword [0x00a30e10]
add rdi, 0x6676
mov ebx, 0xb
mov ecx, 0x11a07
call sym.modernc.org_sqlite_lib._sqlite3ReportError
add rsp, 0x98
pop rbp
ret
mov rbx, qword [rsp + 0xb0]
jmp 0x55b0f5
mov rdi, qword [0x00a30e10]
add rdi, 0x6676
mov ebx, 0xb
mov ecx, 0x119ff
call sym.modernc.org_sqlite_lib._sqlite3ReportError
add rsp, 0x98
pop rbp
ret
mov rdi, qword [0x00a30e10]
add rdi, 0x6676
mov ebx, 0xb
mov ecx, 0x119fc
call sym.modernc.org_sqlite_lib._sqlite3ReportError
add rsp, 0x98
pop rbp
ret
lea r12d, [r9 + 5]
movsxd r12, r12d
lea rcx, [r8 + r12]
movzx ecx, byte [rcx]
shl ecx, 8
lea r12, [r8 + r12]
lea r12, [r12 + 1]
movzx r12d, byte [r12]
or r12d, ecx
nop word [rax + rax]
test r11d, r11d
je 0x55b1df
mov dword [rsp + 0x54], r11d
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x38], r12d
mov rsi, qword [rsi]
movsxd rcx, edx
mov rsi, qword [rsi + 0x118]
mov qword [rsp + 0x60], rsi
test rcx, rcx
je 0x55b1c9
mov edi, r9d
movabs r9, 0x3ffffffffffff
nop dword [rax + rax]
cmp r9, rcx
jb 0x55b47d
test byte [rsi], al
test byte [r8], al
cmp r8, rsi
je 0x55b1bc
mov rax, rsi
mov rbx, r8
call sym.runtime.memmove
mov rax, qword [rsp + 0xa8]
mov edx, dword [rsp + 0x50]
mov rbx, qword [rsp + 0xb0]
mov edi, dword [rsp + 0x5c]
movabs r9, 0x3ffffffffffff
mov r10d, dword [rsp + 0x58]
mov r11d, dword [rsp + 0x54]
mov r12d, dword [rsp + 0x38]
mov r13, qword [rsp + 0x90]
mov r15d, dword [rsp + 0x40]
mov rsi, qword [rsp + 0x60]
mov r8, qword [rsp + 0x78]
mov r9d, edi
lea ecx, [rdx - 4]
mov dword [rsp + 0x3c], ecx
mov edi, edx
xor edx, edx
mov dword [rsp + 0x44], edx
mov edx, edi
jmp 0x55b2da
mov rsi, r13
mov byte [r13], 0
movzx esi, byte [rsi]
add esi, edx
sub esi, r15d
cmp dword [rbx + 0x14], esi
je 0x55b21a
mov rdi, qword [0x00a30e10]
add rdi, 0x6676
mov ebx, 0xb
mov ecx, 0x11a45
call sym.modernc.org_sqlite_lib._sqlite3ReportError
add rsp, 0x98
pop rbp
ret
lea esi, [r9 + 5]
movsxd rsi, esi
lea r10, [r8 + rsi]
mov r11d, edx
sar edx, 8
mov byte [r10], dl
lea rdx, [r8 + rsi]
lea rdx, [rdx + 1]
mov byte [rdx], r11b
lea edx, [r9 + 1]
movsxd rdx, edx
add rdx, r8
mov byte [rdx], 0
lea edx, [r9 + 2]
movsxd rdx, edx
add rdx, r8
mov byte [rdx], 0
movsxd rdx, r15d
lea rbx, [r8 + rdx]
sub r11d, r15d
movsxd rdi, r11d
xor ecx, ecx
call sym.modernc.org_libc.Xmemset
xor eax, eax
add rsp, 0x98
pop rbp
ret
mov eax, dword [rsp + 0x44]
inc eax
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
mov edi, dword [rsp + 0x54]
mov r9d, dword [rsp + 0x3c]
mov r12, qword [rsp + 0x60]
mov r13d, dword [rsp + 0x58]
mov ecx, r9d
mov rbx, rdx
mov rsi, r12
mov edi, r10d
mov r8, qword [rsp + 0x78]
mov r9d, dword [rsp + 0x5c]
mov r10d, r13d
mov r12d, dword [rsp + 0x38]
mov r13, qword [rsp + 0x90]
mov r15d, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov edx, r11d
mov rax, qword [rsp + 0xa8]
mov r11d, dword [rsp + 0x54]
mov r9d, dword [rsp + 0x44]
nop
cmp r9d, r11d
jge 0x55b46e
lea r15d, [r10 + r9*2]
movsxd r15, r15d
lea r13, [r15 + r8]
mov qword [rsp + 0x70], r13
movzx r13d, byte [r13]
shl r13d, 8
lea r15, [r8 + r15]
lea r15, [r15 + 1]
mov qword [rsp + 0x88], r15
movzx r15d, byte [r15]
or r13d, r15d
nop dword [rax]
cmp r13d, ecx
jg 0x55b445
mov dword [rsp + 0x2c], r13d
mov dword [rsp + 0x48], edx
mov rdi, rbx
mov rdx, qword [rdi + 0x78]
mov rdi, qword [rdx]
movsxd r8, r13d
lea rcx, [rsi + r8]
mov qword [rsp + 0x80], rcx
call rdi
movzx esi, ax
mov edi, dword [rsp + 0x48]
sub edi, esi
mov r8d, dword [rsp + 0x38]
nop dword [rax + rax]
cmp r8d, edi
jg 0x55b417
mov r9d, dword [rsp + 0x2c]
add r9d, esi
mov r10d, dword [rsp + 0x50]
cmp r10d, r9d
jl 0x55b417
mov r9, qword [rsp + 0x70]
mov r11d, edi
sar edi, 8
mov byte [r9], dil
mov r9, qword [rsp + 0x88]
mov byte [r9], r11b
movsxd r9, r11d
movsxd rdx, esi
mov rsi, qword [rsp + 0x78]
lea rax, [r9 + rsi]
test rdx, rdx
je 0x55b408
movabs rbx, 0x3ffffffffffff
cmp rbx, rdx
jb 0x55b478
test byte [rax], al
mov r9, qword [rsp + 0x80]
test byte [r9], al
cmp r9, rax
je 0x55b272
mov dword [rsp + 0x4c], r11d
mov rbx, r9
mov rcx, rdx
call sym.runtime.memmove
movabs rbx, 0x3ffffffffffff
mov rsi, qword [rsp + 0x78]
mov r8d, dword [rsp + 0x38]
mov r10d, dword [rsp + 0x50]
mov r11d, dword [rsp + 0x4c]
jmp 0x55b272
movabs rbx, 0x3ffffffffffff
jmp 0x55b272
mov rdi, qword [0x00a30e10]
add rdi, 0x6676
mov rax, qword [rsp + 0xa8]
mov ebx, 0xb
mov ecx, 0x11a37
call sym.modernc.org_sqlite_lib._sqlite3ReportError
add rsp, 0x98
pop rbp
ret
mov rdi, qword [0x00a30e10]
add rdi, 0x6676
mov ebx, 0xb
mov ecx, 0x11a31
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3ReportError
add rsp, 0x98
pop rbp
ret
mov r9d, dword [rsp + 0x5c]
jmp 0x55b1df
call sym.runtime.panicSlice3AlenU
mov rdx, rcx
mov rbx, r9
call sym.runtime.panicSlice3AlenU
lea rdx, [r12 + 2]
cmp rdx, rsi
jae 0x55b4ed
mov r12, rdx
movzx r15d, byte [rdx]
shl r15d, 8
lea rbx, [r12 + 1]
mov qword [rsp + 0x90], rbx
movzx ebx, byte [rbx]
or ebx, r15d
cmp ebx, r10d
jge 0x55b4cf
lea r15d, [rbx + r11]
mov ebx, r15d
sar r15d, 8
mov byte [rdx], r15b
mov rdx, qword [rsp + 0x90]
mov byte [rdx], bl
jmp 0x55b488
cmp ebx, edi
jge 0x55b488
lea r15d, [rcx + rbx]
mov ebx, r15d
sar r15d, 8
mov byte [rdx], r15b
mov rdx, qword [rsp + 0x90]
mov byte [rdx], bl
jmp 0x55b488
mov rbx, qword [rsp + 0xb0]
mov rsi, r13
mov r15d, eax
mov edx, r9d
mov rax, qword [rsp + 0xa8]
mov r9d, dword [rsp + 0x5c]
jmp 0x55b1e7
mov rdx, r12
mov rbx, r15
call sym.runtime.panicSlice3AlenU
mov rdx, r9
mov rbx, r13
call sym.runtime.panicSlice3AlenU
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], ecx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x18]
jmp sym.modernc.org_sqlite_lib._defragmentPage