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

Disassembly:
lea r12, [rsp - 0x88]
cmp r12, qword [r14 + 0x10]
jbe 0x63a099
push rbp
mov rbp, rsp
sub rsp, 0x100
movq qword [rsp + 0xf8], xmm15
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], rbx
mov qword [rsp + 0x120], rcx
mov dword [rsp + 0x128], edi
mov qword [rsp + 0x130], rsi
mov byte [rsp + 0x2f], 0
mov dword [rsp + 0x3c], 0
mov ebx, 0x20
call sym.modernc.org_libc._TLS_.Alloc
lea rcx, [sym.modernc.org_sqlite_lib._sqlite3RunVacuum.deferwrap1]
mov qword [rsp + 0xe8], rcx
mov rcx, qword [rsp + 0x110]
mov qword [rsp + 0xf0], rcx
lea rdx, [rsp + 0xe8]
mov qword [rsp + 0xf8], rdx
mov byte [rsp + 0x2f], 1
mov rdx, qword [rsp + 0x120]
mov rsi, rdx
cmp byte [rdx + 0x65], 0
je 0x639d59
cmp dword [rdx + 0xd8], 1
jg 0x639d11
mov qword [rsp + 0x88], rax
mov edx, dword [rdx + 0x4c]
mov dword [rsp + 0x30], edx
mov rbx, qword [rsp + 0x130]
test rbx, rbx
je 0x639535
mov r8, rbx
movzx r8d, word [r8 + 0x14]
and r8d, 0x3f
lea r9, [0x009bafc0]
movzx r8d, byte [r8 + r9]
cmp r8d, 3
jne 0x6394ed
lea rdx, [rsi + 0x4c]
mov qword [rsp + 0xa8], rdx
nop
mov rax, rcx
mov ecx, 1
call sym.modernc.org_sqlite_lib._sqlite3ValueText
mov rdx, qword [rsp + 0xa8]
mov rsi, rdx
and dword [rdx], 0xfffffffe
or dword [rsi], 6
mov rcx, qword [rsp + 0x110]
mov edx, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x130]
mov rsi, qword [rsp + 0x120]
mov r8, rax
mov rax, qword [rsp + 0x88]
jmp 0x639543
mov rdi, qword [0x00a30e10]
add rdi, 0x5892
mov rax, rcx
mov rbx, qword [rsp + 0x118]
mov rcx, rsi
call sym.modernc.org_sqlite_lib._sqlite3SetString
mov dword [rsp + 0x3c], 1
mov byte [rsp + 0x2f], 0
mov rdx, qword [rsp + 0xf8]
mov rsi, qword [rdx]
call rsi
mov eax, dword [rsp + 0x3c]
add rsp, 0x100
pop rbp
ret
mov r8, qword [0x00a30e10]
add r8, 0x688
mov r9, rsi
lea r10, [r9 + 0x30]
mov r11, r10
lea r12, [r9 + 0x2c]
mov qword [rsp + 0xa8], r12
mov r13d, dword [rsp + 0x128]
movsxd r13, r13d
shl r13, 5
mov qword [rsp + 0xa0], r13
mov r15, qword [rsi + 0x30]
mov qword [rsp + 0x68], r15
mov edi, dword [rsi + 0x2c]
mov dword [rsp + 0x34], edi
mov r15, qword [rsi + 0x78]
mov qword [rsp + 0x60], r15
mov r15, qword [rsi + 0x80]
mov qword [rsp + 0x58], r15
movzx esi, byte [rsi + 0x6e]
mov byte [rsp + 0x2d], sil
or qword [r10], 0x201
or dword [r12], 6
movabs r12, 0xfffffffeefffafff
and qword [r11], r12
mov r11, r9
mov byte [r9 + 0x6e], 0
mov r12, qword [r11 + 0x20]
add r12, r13
mov r13, qword [r12 + 8]
mov qword [rsp + 0x78], r13
mov r13, qword [r13 + 8]
mov r13, qword [r13]
mov r12, qword [r12]
mov qword [rsp + 0x50], r12
cmp byte [r13 + 0x10], 0
je 0x6395f0
mov r13d, 1
jmp 0x6395f9
cmp byte [r13 + 0x14], 0
setne r13b
mov byte [rsp + 0x2e], r13b
lea rdx, [rax + 0x18]
mov qword [rsp + 0x98], rdx
mov esi, dword [r11 + 0x28]
mov dword [rsp + 0x48], esi
movups xmmword [rsp + 0xd8], xmm15
mov qword [rsp + 0xd0], r8
lea r8, [0x00728cc0]
mov qword [rsp + 0xd8], r8
lea r9, [rsp + 0xd0]
mov qword [rsp + 0xe0], r9
lea rbx, [rsp + 0xd8]
mov ecx, 1
mov rdi, rcx
mov rax, rdx
call sym.modernc.org_libc.VaList
mov rdi, qword [0x00a30e10]
add rdi, 0x58a4
mov rbx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x118]
mov rsi, rax
mov rax, qword [rsp + 0x110]
call sym.modernc.org_sqlite_lib._execSqlF
mov rcx, qword [rsp + 0x120]
mov rdx, rcx
mov esi, dword [rsp + 0x30]
mov dword [rdx + 0x4c], esi
test eax, eax
je 0x6396b4
mov rbx, qword [rsp + 0x78]
xor ecx, ecx
mov edx, eax
mov rax, qword [rsp + 0x110]
jmp 0x639f7c
mov rsi, rcx
mov r8d, dword [rsp + 0x48]
movsxd r9, r8d
shl r9, 5
add r9, qword [rsi + 0x20]
mov qword [rsp + 0x80], r9
mov rsi, r9
mov r9, qword [r9 + 8]
mov qword [rsp + 0x70], r9
mov r10, qword [rsp + 0x130]
test r10, r10
je 0x6397f5
mov r11, qword [rsp + 0x88]
mov r12, r11
mov r13, r9
mov r9, qword [r9 + 8]
mov r9, qword [r9]
mov rbx, qword [r9 + 0x48]
nop
nop
mov qword [r11], 0
mov r9, rbx
cmp qword [r9], 0
jne 0x63971b
xor edx, edx
jmp 0x639784
mov rsi, rbx
mov rsi, qword [rsi]
mov rdx, qword [rsi + 0x30]
mov rsi, qword [rdx]
mov rax, qword [rsp + 0x110]
mov rcx, r12
call rsi
test eax, eax
je 0x639748
mov rsi, qword [rsp + 0x88]
mov edx, 1
jmp 0x63975a
mov rdx, qword [rsp + 0x88]
mov rsi, rdx
cmp qword [rdx], 0
setg dl
mov rcx, qword [rsp + 0x120]
mov rsi, qword [rsp + 0x80]
mov r8d, dword [rsp + 0x48]
mov r10, qword [rsp + 0x130]
mov r12, qword [rsp + 0x88]
mov r13, qword [rsp + 0x70]
test dl, dl
jne 0x6397b3
mov rdx, qword [rsp + 0xa8]
or dword [rdx], 8
mov r9, qword [rcx + 0x20]
mov r11, qword [rsp + 0xa0]
add r9, r11
movzx r9d, byte [r9 + 0x10]
mov rcx, qword [rcx + 0x30]
and ecx, 0x38
or rcx, r9
jmp 0x6397fa
mov rdi, qword [0x00a30e10]
add rdi, 0x58bb
mov rax, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x118]
call sym.modernc.org_sqlite_lib._sqlite3SetString
mov rax, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov edx, 1
jmp 0x639f7c
mov ecx, 1
mov dword [rsp + 0x40], ecx
mov rax, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x78]
call sym.modernc.org_sqlite_lib._sqlite3BtreeGetRequestedReserve
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x120]
mov rcx, qword [rcx + 0x20]
mov rsi, qword [rsp + 0xa0]
add rcx, rsi
mov rcx, qword [rcx + 0x18]
mov ecx, dword [rcx + 0x74]
mov rbx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x110]
nop
call sym.modernc.org_sqlite_lib._sqlite3BtreeSetCacheSize
mov rax, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x78]
xor ecx, ecx
call sym.modernc.org_sqlite_lib._sqlite3BtreeSetSpillSize
mov rbx, qword [rsp + 0x70]
mov ecx, eax
mov rax, qword [rsp + 0x110]
call sym.modernc.org_sqlite_lib._sqlite3BtreeSetSpillSize
mov ecx, dword [rsp + 0x40]
or ecx, 0x20
mov rax, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x70]
call sym.modernc.org_sqlite_lib._sqlite3BtreeSetPagerFlags
mov rdi, qword [0x00a30e10]
add rdi, 0x3f9e
mov rax, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x118]
call sym.modernc.org_sqlite_lib._execSql
test eax, eax
je 0x6398d1
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov edx, eax
mov rax, qword [rsp + 0x110]
jmp 0x639f7c
mov rdx, qword [rsp + 0x130]
test rdx, rdx
mov ecx, 0
mov esi, 2
cmove ecx, esi
mov rax, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x78]
xor edi, edi
call sym.modernc.org_sqlite_lib._sqlite3BtreeBeginTrans
nop dword [rax]
test eax, eax
je 0x639925
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov edx, eax
mov rax, qword [rsp + 0x110]
nop dword [rax + rax]
jmp 0x639f7c
mov rdx, qword [rsp + 0x78]
mov r8, rdx
mov rdx, qword [rdx + 8]
mov rdx, qword [rdx]
movzx edx, byte [rdx + 9]
cmp edx, 5
jne 0x63995c
mov rdx, qword [rsp + 0x130]
test rdx, rdx
jne 0x639964
mov r9, qword [rsp + 0x120]
mov dword [r9 + 0x74], 0
jmp 0x639964
mov rdx, qword [rsp + 0x130]
mov r8, qword [r8 + 8]
mov ecx, dword [r8 + 0x34]
mov rax, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x70]
mov edi, dword [rsp + 0x44]
xor esi, esi
nop
call sym.modernc.org_sqlite_lib._sqlite3BtreeSetPageSize
test eax, eax
je 0x639990
mov edx, 1
jmp 0x6399ca
movzx edx, byte [rsp + 0x2e]
movzx edx, dl
test edx, edx
je 0x6399a2
xor edx, edx
nop
jmp 0x6399ca
mov rdx, qword [rsp + 0x120]
mov ecx, dword [rdx + 0x74]
mov rax, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x70]
mov edi, dword [rsp + 0x44]
xor esi, esi
call sym.modernc.org_sqlite_lib._sqlite3BtreeSetPageSize
test eax, eax
setne dl
test dl, dl
je 0x6399d8
mov r8, qword [rsp + 0x120]
jmp 0x6399e9
mov rdx, qword [rsp + 0x120]
mov r8, rdx
cmp byte [rdx + 0x67], 0
je 0x639a08
mov rax, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov edx, 7
jmp 0x639f7c
movsx rdx, byte [rdx + 0x6a]
test edx, edx
jge 0x639a27
mov rax, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x78]
nop
call sym.modernc.org_sqlite_lib._sqlite3BtreeGetAutoVacuum
mov edx, eax
mov rax, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x70]
mov ecx, edx
call sym.modernc.org_sqlite_lib._sqlite3BtreeSetAutoVacuum
mov rdx, qword [rsp + 0x120]
mov edi, dword [rsp + 0x48]
mov byte [rdx + 0xc4], dil
movups xmmword [rsp + 0xd8], xmm15
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0xc8], rdx
lea rdi, [0x00728cc0]
mov qword [rsp + 0xd8], rdi
lea r8, [rsp + 0xc8]
mov qword [rsp + 0xe0], r8
mov rax, qword [rsp + 0x98]
lea rbx, [rsp + 0xd8]
mov ecx, 1
mov rdi, rcx
nop dword [rax + rax]
call sym.modernc.org_libc.VaList
mov rdi, qword [0x00a30e10]
add rdi, 0x58d6
mov rbx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x118]
mov rsi, rax
mov rax, qword [rsp + 0x110]
call sym.modernc.org_sqlite_lib._execSqlF
test eax, eax
je 0x639af3
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov edx, eax
mov rax, qword [rsp + 0x110]
jmp 0x639f7c
movups xmmword [rsp + 0xd8], xmm15
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0xc0], rdx
lea rsi, [0x00728cc0]
mov qword [rsp + 0xd8], rsi
lea r8, [rsp + 0xc0]
mov qword [rsp + 0xe0], r8
mov rax, qword [rsp + 0x98]
lea rbx, [rsp + 0xd8]
mov ecx, 1
mov rdi, rcx
call sym.modernc.org_libc.VaList
mov rdi, qword [0x00a30e10]
add rdi, 0x5942
mov rbx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x118]
mov rsi, rax
mov rax, qword [rsp + 0x110]
call sym.modernc.org_sqlite_lib._execSqlF
test eax, eax
je 0x639b93
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov edx, eax
mov rax, qword [rsp + 0x110]
jmp 0x639f7c
mov rdx, qword [rsp + 0x120]
mov byte [rdx + 0xc4], 0
movups xmmword [rsp + 0xd8], xmm15
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0xb8], rdx
lea r8, [0x00728cc0]
mov qword [rsp + 0xd8], r8
lea r9, [rsp + 0xb8]
mov qword [rsp + 0xe0], r9
mov rax, qword [rsp + 0x98]
lea rbx, [rsp + 0xd8]
mov ecx, 1
mov rdi, rcx
call sym.modernc.org_libc.VaList
mov rdi, qword [0x00a30e10]
add rdi, 0x5978
mov rbx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x118]
mov rsi, rax
mov rax, qword [rsp + 0x110]
nop dword [rax]
call sym.modernc.org_sqlite_lib._execSqlF
mov rdx, qword [rsp + 0xa8]
and dword [rdx], 0xfffffffb
test eax, eax
je 0x639c50
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov edx, eax
mov rax, qword [rsp + 0x110]
jmp 0x639f7c
movups xmmword [rsp + 0xd8], xmm15
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0xb0], rdx
lea rdx, [0x00728cc0]
mov qword [rsp + 0xd8], rdx
lea rdx, [rsp + 0xb0]
mov qword [rsp + 0xe0], rdx
mov rax, qword [rsp + 0x98]
lea rbx, [rsp + 0xd8]
mov ecx, 1
mov rdi, rcx
nop dword [rax]
call sym.modernc.org_libc.VaList
mov rdi, qword [0x00a30e10]
add rdi, 0x5a0f
mov rbx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x118]
mov rsi, rax
mov rax, qword [rsp + 0x110]
call sym.modernc.org_sqlite_lib._execSqlF
test eax, eax
je 0x639cf3
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov edx, eax
mov rax, qword [rsp + 0x110]
jmp 0x639f7c
mov rax, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x88]
xor ecx, ecx
xor edx, edx
jmp 0x639dc2
mov rdi, qword [0x00a30e10]
add rdi, 0x5867
mov rax, rcx
mov rbx, qword [rsp + 0x118]
mov rcx, rsi
call sym.modernc.org_sqlite_lib._sqlite3SetString
mov dword [rsp + 0x3c], 1
mov byte [rsp + 0x2f], 0
mov rdx, qword [rsp + 0xf8]
mov rsi, qword [rdx]
call rsi
mov eax, dword [rsp + 0x3c]
add rsp, 0x100
pop rbp
ret
mov rdi, qword [0x00a30e10]
add rdi, 0x583f
mov rax, rcx
mov rbx, qword [rsp + 0x118]
mov rcx, rsi
call sym.modernc.org_sqlite_lib._sqlite3SetString
mov dword [rsp + 0x3c], 1
mov byte [rsp + 0x2f], 0
mov rdx, qword [rsp + 0xf8]
mov rsi, qword [rdx]
call rsi
mov eax, dword [rsp + 0x3c]
add rsp, 0x100
pop rbp
ret
mov ecx, dword [rsp + 0x4c]
add ecx, 2
mov r8, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x88]
mov edx, eax
mov rax, r8
cmp ecx, 0xa
jge 0x639e76
movsxd rdx, ecx
cmp rdx, 0xa
jae 0x63a079
mov qword [rsp + 0x90], rdx
mov dword [rsp + 0x4c], ecx
lea rsi, [0x009b8a00]
movzx ecx, byte [rdx + rsi]
lea r8, [rdi + 8]
mov qword [rsp + 0xa8], r8
mov rdi, r8
nop
call sym.modernc.org_sqlite_lib._sqlite3BtreeGetMeta
mov edx, dword [rsp + 0x4c]
lea esi, [rdx + 1]
movsxd rax, esi
lea rsi, [0x009b8a00]
mov r8, qword [rsp + 0x90]
movzx ecx, byte [r8 + rsi]
cmp rax, 0xa
jae 0x63a06f
mov rdx, qword [rsp + 0xa8]
mov edx, dword [rdx]
movzx r8d, byte [rsi + rax]
lea edi, [rdx + r8]
mov rax, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x70]
call sym.modernc.org_sqlite_lib._sqlite3BtreeUpdateMeta
test eax, eax
je 0x639da1
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov edx, eax
mov rax, qword [rsp + 0x110]
jmp 0x639f7c
mov r8, qword [rsp + 0x130]
nop
test r8, r8
jne 0x639ea6
mov rcx, qword [rsp + 0x70]
call sym.modernc.org_sqlite_lib._sqlite3BtreeCopyFile
mov rbx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x130]
mov edx, eax
mov rax, qword [rsp + 0x110]
test edx, edx
je 0x639eb7
mov rcx, qword [rsp + 0x80]
jmp 0x639f7c
mov rbx, qword [rsp + 0x70]
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3BtreeCommit
test eax, eax
je 0x639ee5
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov edx, eax
mov rax, qword [rsp + 0x110]
jmp 0x639f7c
mov rdx, qword [rsp + 0x130]
test rdx, rdx
jne 0x639f24
mov rax, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x70]
nop
call sym.modernc.org_sqlite_lib._sqlite3BtreeGetAutoVacuum
mov rbx, qword [rsp + 0x78]
mov ecx, eax
mov rax, qword [rsp + 0x110]
call sym.modernc.org_sqlite_lib._sqlite3BtreeSetAutoVacuum
mov rcx, qword [rsp + 0x130]
test rcx, rcx
je 0x639f2a
xor eax, eax
jmp 0x639f65
mov rax, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x70]
call sym.modernc.org_sqlite_lib._sqlite3BtreeGetRequestedReserve
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
mov ecx, dword [rcx + 0x34]
mov rbx, qword [rsp + 0x78]
mov edi, eax
mov esi, 1
mov rax, qword [rsp + 0x110]
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3BtreeSetPageSize
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov edx, eax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x80], rcx
mov dword [rsp + 0x38], edx
mov r8, qword [rsp + 0x120]
mov r9, r8
mov byte [r8 + 0xc4], 0
mov r8, r9
mov r10d, dword [rsp + 0x34]
mov dword [r9 + 0x2c], r10d
mov r9, r8
mov r10, qword [rsp + 0x68]
mov qword [r8 + 0x30], r10
mov r8, r9
mov r10, qword [rsp + 0x60]
mov qword [r9 + 0x78], r10
mov r9, r8
mov r10, qword [rsp + 0x58]
mov qword [r8 + 0x80], r10
movzx r10d, byte [rsp + 0x2d]
mov byte [r9 + 0x6e], r10b
xor edi, edi
mov esi, 1
mov ecx, 0xffffffff
call sym.modernc.org_sqlite_lib._sqlite3BtreeSetPageSize
mov rbx, qword [rsp + 0x120]
mov rdx, rbx
mov byte [rdx + 0x65], 1
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x63a039
mov rbx, qword [rdx + 8]
mov rax, qword [rsp + 0x110]
call sym.modernc.org_sqlite_lib._sqlite3BtreeClose
mov rcx, qword [rsp + 0x80]
mov rdx, rcx
mov qword [rcx + 8], 0
mov qword [rdx + 0x18], 0
mov rbx, qword [rsp + 0x120]
mov rax, qword [rsp + 0x110]
call sym.modernc.org_sqlite_lib._sqlite3ResetAllSchemasOfConnection
mov ecx, dword [rsp + 0x38]
mov dword [rsp + 0x3c], ecx
mov byte [rsp + 0x2f], 0
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rdx]
nop
call rcx
mov eax, dword [rsp + 0x3c]
add rsp, 0x100
pop rbp
ret
mov ecx, 0xa
call sym.runtime.panicIndex
mov rax, rdx
mov ecx, 0xa
call sym.runtime.panicIndex
nop
call sym.runtime.deferreturn
mov eax, dword [rsp + 0x3c]
add rsp, 0x100
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x28], rsi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov edi, dword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
jmp sym.modernc.org_sqlite_lib._sqlite3RunVacuum