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

Disassembly:
lea r12, [rsp - 0x50]
cmp r12, qword [r14 + 0x10]
jbe 0x568032
push rbp
mov rbp, rsp
sub rsp, 0xc8
movq qword [rsp + 0xc0], xmm15
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xe8], rcx
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0xf8], rsi
mov byte [rsp + 0x2f], 0
mov dword [rsp + 0x30], 0
mov ebx, 0x10
nop
call sym.modernc.org_libc._TLS_.Alloc
mov qword [rsp + 0x88], rax
lea rcx, [sym.modernc.org_sqlite_lib._fillInCell.deferwrap1]
mov qword [rsp + 0xb0], rcx
mov rcx, qword [rsp + 0xd8]
mov qword [rsp + 0xb8], rcx
lea rdx, [rsp + 0xb0]
mov qword [rsp + 0xc0], rdx
mov byte [rsp + 0x2f], 1
mov rdx, qword [rsp + 0xe0]
mov rsi, rdx
movzx edi, byte [rdx + 0xa]
mov dword [rsp + 0x5c], edi
cmp byte [rdx + 1], 0
jne 0x56787a
mov r9, qword [rsp + 0xf0]
mov r10, qword [r9 + 8]
mov r9, qword [r9]
cmp r10d, 0x80
jae 0x56780e
movsxd r11, edi
mov r12, qword [rsp + 0xe8]
add r11, r12
mov byte [r11], r10b
mov edx, 1
jmp 0x56786b
mov qword [rsp + 0xa8], r10
mov qword [rsp + 0x68], r9
movsxd rdx, edi
mov rsi, qword [rsp + 0xe8]
lea rbx, [rsi + rdx]
movsxd rdx, r10d
mov rax, rcx
mov rcx, rdx
call sym.modernc.org_sqlite_lib._sqlite3PutVarint
mov rcx, qword [rsp + 0xd8]
mov rsi, qword [rsp + 0xe0]
mov edi, dword [rsp + 0x5c]
mov r9, qword [rsp + 0x68]
mov r10, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xe8]
mov edx, eax
mov rax, qword [rsp + 0x88]
movzx r11d, dl
add r11d, edi
mov rdx, r10
jmp 0x56795b
mov rdx, qword [rsp + 0xf0]
mov r8, rdx
mov r9d, dword [rdx + 0x24]
mov dword [rsp + 0x58], r9d
mov r10d, dword [rdx + 0x28]
add r10d, r9d
mov dword [rsp + 0x40], r10d
mov rdx, qword [rdx + 0x10]
mov qword [rsp + 0x68], rdx
cmp r10d, 0x80
jae 0x5678c4
movsxd r11, edi
mov r12, qword [rsp + 0xe8]
add r11, r12
mov byte [r11], r10b
mov ebx, 1
jmp 0x567903
movsxd rdx, edi
mov rsi, qword [rsp + 0xe8]
lea rbx, [rsi + rdx]
movsxd rdx, r10d
mov rax, rcx
mov rcx, rdx
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3PutVarint
mov rcx, qword [rsp + 0xd8]
mov edi, dword [rsp + 0x5c]
mov r8, qword [rsp + 0xf0]
mov r12, qword [rsp + 0xe8]
mov ebx, eax
movzx edx, bl
add edx, edi
mov dword [rsp + 0x44], edx
movsxd rsi, edx
lea rbx, [rsi + r12]
lea rsi, [r8 + 8]
mov rsi, qword [rsi]
mov rax, rcx
mov rcx, rsi
call sym.modernc.org_sqlite_lib._sqlite3PutVarint
mov edx, dword [rsp + 0x44]
lea r11d, [rax + rdx]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xd8]
mov rsi, qword [rsp + 0xe0]
mov r12, qword [rsp + 0xe8]
mov r10d, dword [rsp + 0x40]
mov edx, dword [rsp + 0x58]
mov r9, qword [rsp + 0x68]
movsxd r13, r11d
mov r15, rsi
movzx ebx, word [rsi + 0xe]
add r13, r12
cmp r10d, ebx
jle 0x5679f4
movzx edi, word [rsi + 0x10]
mov rsi, qword [rsi + 0x48]
mov esi, dword [rsi + 0x38]
mov r8d, r10d
sub r10d, edi
cmp esi, 4
je 0x56801a
add esi, 0xfffffffc
mov eax, r10d
mov r10d, edx
xor edx, edx
div esi
lea eax, [rdx + rdi]
mov rdx, r12
mov r12, qword [rsp + 0xf8]
mov rsi, r15
mov r15, qword [rsp + 0x88]
lea rcx, [r15 + 4]
mov qword [rsp + 0xa0], rcx
cmp ebx, eax
cmovl eax, edi
lea ebx, [rax + r11]
lea r11d, [rax + r11]
lea r11d, [r11 + 4]
mov dword [r12], r11d
movsxd r11, ebx
mov rdi, rcx
mov dword [rcx], 0
add r11, rdx
mov rbx, qword [rsi + 0x48]
mov qword [rsp + 0x80], rbx
xor ecx, ecx
jmp 0x567ab7
lea esi, [r11 + r10]
cmp esi, 4
jge 0x567a0c
movsxd r8, r10d
add r8, r13
mov byte [r8], 0
mov esi, 4
mov r8, qword [rsp + 0xf8]
mov dword [r8], esi
movsxd rsi, edx
test rsi, rsi
je 0x567a6a
movabs rbx, 0x3ffffffffffff
cmp rbx, rsi
jb 0x567aac
mov rax, r13
test byte [rax], al
test byte [r9], al
cmp r9, rax
je 0x567a6a
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x54], r10d
mov dword [rsp + 0x3c], edx
mov rbx, r9
mov rcx, rsi
call sym.runtime.memmove
mov rcx, qword [rsp + 0xd8]
mov edx, dword [rsp + 0x3c]
mov r10d, dword [rsp + 0x54]
mov r13, qword [rsp + 0x78]
movsxd rsi, edx
lea rbx, [rsi + r13]
sub r10d, edx
movsxd rdi, r10d
mov rax, rcx
xor ecx, ecx
nop dword [rax]
call sym.modernc.org_libc.Xmemset
mov dword [rsp + 0x30], 0
mov byte [rsp + 0x2f], 0
mov rdx, qword [rsp + 0xc0]
mov rsi, qword [rdx]
call rsi
mov eax, dword [rsp + 0x30]
add rsp, 0xc8
pop rbp
ret
mov rdx, rsi
call sym.runtime.panicSlice3AlenU
mov r8d, r12d
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x70], r11
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x48], r10d
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x58], r8d
cmp eax, r8d
mov r12d, r8d
cmovl r8d, eax
mov dword [rsp + 0x54], r8d
cmp r10d, r8d
jl 0x567b80
movsxd rdx, r8d
test rdx, rdx
je 0x567c6e
mov rsi, r11
movabs r11, 0x3ffffffffffff
cmp r11, rdx
jb 0x568012
test byte [r13], al
test byte [r9], al
cmp r9, r13
je 0x567b6c
mov rax, r13
mov rbx, r9
mov rcx, rdx
call sym.runtime.memmove
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0xa0]
mov r8d, dword [rsp + 0x54]
mov r10d, dword [rsp + 0x48]
movabs r11, 0x3ffffffffffff
mov r12d, dword [rsp + 0x58]
mov r15, qword [rsp + 0x88]
mov r9, qword [rsp + 0x68]
mov r11, rsi
mov r13, qword [rsp + 0x78]
jmp 0x567c6e
test r10d, r10d
jle 0x567c15
movsxd rdx, r10d
test rdx, rdx
je 0x567c10
mov rsi, r11
movabs r11, 0x3ffffffffffff
nop
cmp r11, rdx
jb 0x56800a
mov r8, r13
test byte [r13], al
test byte [r9], al
cmp r9, r13
je 0x567c05
mov rax, r13
mov rbx, r9
mov rcx, rdx
call sym.runtime.memmove
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0xa0]
mov r8, qword [rsp + 0x78]
mov r10d, dword [rsp + 0x48]
movabs r11, 0x3ffffffffffff
mov r12d, dword [rsp + 0x58]
mov r15, qword [rsp + 0x88]
mov r9, qword [rsp + 0x68]
mov r11, rsi
mov r13, r8
mov edx, r10d
jmp 0x567c68
movsxd rdi, r8d
mov rax, qword [rsp + 0xd8]
mov rbx, r13
xor ecx, ecx
call sym.modernc.org_libc.Xmemset
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x60]
mov edx, dword [rsp + 0x48]
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0xa0]
mov r9, qword [rsp + 0x68]
mov r11, qword [rsp + 0x70]
mov r12d, dword [rsp + 0x58]
mov r13, qword [rsp + 0x78]
mov r15, qword [rsp + 0x88]
mov r10d, dword [rsp + 0x54]
mov r8d, r10d
mov r10d, edx
sub r12d, r8d
test r12d, r12d
jle 0x567cc9
movsxd rdx, r8d
sub eax, r8d
add r13, rdx
add r9, rdx
sub r10d, r8d
test eax, eax
jne 0x567ab4
mov dword [rsp + 0x50], r12d
mov qword [rsp + 0x98], r9
mov dword [rsp + 0x3c], r10d
lea rdx, [r15 + 8]
mov r13, rdx
mov qword [rdx], 0
mov rdx, rdi
mov rax, rbx
mov edx, dword [rdx]
mov dword [rsp + 0x34], edx
cmp byte [rax + 0x21], 0
je 0x567d0c
mov eax, 1
jmp 0x567f00
nop
test rcx, rcx
je 0x567ce5
mov rbx, qword [rcx + 0x70]
nop
mov rax, qword [rsp + 0xd8]
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3PagerUnrefNotNull
mov dword [rsp + 0x30], 0
mov byte [rsp + 0x2f], 0
mov rdx, qword [rsp + 0xc0]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x30]
add rsp, 0xc8
pop rbp
ret
mov qword [rsp + 0x90], r13
mov rdx, rdi
mov esi, dword [rdx]
mov rax, qword [rsp + 0xd8]
mov rcx, r13
xor r8d, r8d
call sym.modernc.org_sqlite_lib._allocateBtreePage
mov r8, qword [rsp + 0x88]
mov rdx, r8
mov dword [rdx], eax
mov rbx, qword [rsp + 0x80]
mov rdx, rbx
cmp byte [rdx + 0x21], 0
je 0x567dd5
mov r9, r8
cmp dword [r9], 0
jne 0x567dd5
mov rdx, qword [rsp + 0xa0]
mov ecx, dword [rdx]
mov esi, dword [rsp + 0x34]
test esi, esi
mov edi, 3
mov edx, 4
cmovne edi, edx
mov rax, qword [rsp + 0xd8]
nop dword [rax]
call sym.modernc.org_sqlite_lib._ptrmapPut
mov rdx, qword [rsp + 0x88]
mov r9, rdx
cmp dword [rdx], 0
je 0x567dcb
mov rsi, qword [rsp + 0x90]
mov rdi, rsi
mov rsi, qword [rsi]
test rsi, rsi
je 0x567de0
mov rbx, qword [rsi + 0x70]
mov rax, qword [rsp + 0xd8]
call sym.modernc.org_sqlite_lib._sqlite3PagerUnrefNotNull
mov rdi, qword [rsp + 0x90]
mov r9, qword [rsp + 0x88]
jmp 0x567de0
mov rdi, qword [rsp + 0x90]
jmp 0x567de0
mov rdi, qword [rsp + 0x90]
mov r9, r8
mov rsi, r9
cmp dword [r9], 0
jne 0x567ea5
mov rdx, qword [rsp + 0xa0]
mov ecx, dword [rdx]
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x70]
call sym.modernc.org_sqlite_lib._sqlite3Put4byte
nop
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x567e26
mov rbx, qword [rdx + 0x70]
nop
mov rax, qword [rsp + 0xd8]
call sym.modernc.org_sqlite_lib._sqlite3PagerUnrefNotNull
mov rdx, qword [rsp + 0x90]
mov rdx, qword [rdx]
mov qword [rsp + 0x60], rdx
mov rbx, qword [rdx + 0x50]
mov qword [rsp + 0x70], rbx
mov rax, qword [rsp + 0xd8]
xor ecx, ecx
call sym.modernc.org_sqlite_lib._sqlite3Put4byte
mov rdx, qword [rsp + 0x90]
mov rdx, qword [rdx]
mov r13, qword [rdx + 0x50]
mov rbx, qword [rsp + 0x80]
mov rdx, rbx
mov eax, dword [rdx + 0x38]
add r13, 4
add eax, 0xfffffffc
mov rdi, qword [rsp + 0xa0]
mov r9, qword [rsp + 0x98]
mov r10d, dword [rsp + 0x3c]
mov r12d, dword [rsp + 0x50]
mov r15, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
mov r11, qword [rsp + 0x70]
nop
jmp 0x567ab4
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x567ecd
mov rbx, qword [rcx + 0x70]
nop
mov rax, qword [rsp + 0xd8]
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3PagerUnrefNotNull
mov rsi, qword [rsp + 0x88]
mov eax, dword [rsi]
mov dword [rsp + 0x30], eax
mov byte [rsp + 0x2f], 0
mov rdx, qword [rsp + 0xc0]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x30]
add rsp, 0xc8
pop rbp
ret
mov r9, rax
mov eax, edx
mov edx, r8d
nop word [rax + rax]
test al, al
je 0x567d0c
mov rax, rdi
inc dword [rax]
mov rax, rdi
mov eax, dword [rax]
mov dword [rsp + 0x38], eax
cmp eax, 2
jae 0x567f25
xor esi, esi
nop dword [rax]
jmp 0x567faf
mov rsi, rbx
mov r8d, dword [rsi + 0x38]
mov r9d, 0xcccccccd
imul r8, r9
shr r8, 0x22
nop word [rax + rax]
cmp r8d, 0xffffffff
je 0x568005
inc r8d
lea r10d, [rax - 2]
mov eax, r10d
mov r10d, edx
xor edx, edx
div r8d
mov edx, dword [rsi + 0x34]
imul eax, r8d
test edx, edx
je 0x568000
mov dword [rsp + 0x4c], eax
lea esi, [rax + 2]
mov r8d, dword [0x009b86f4]
mov eax, r8d
mov r12d, edx
xor edx, edx
div r12d
lea edx, [rax + 1]
mov r12d, dword [rsp + 0x4c]
add r12d, 3
cmp edx, esi
cmove esi, r12d
mov eax, dword [rsp + 0x38]
mov edx, r10d
mov r9, qword [rsp + 0x98]
mov r10d, dword [rsp + 0x3c]
mov r12d, dword [rsp + 0x50]
cmp esi, eax
jne 0x567fc5
mov rax, r9
mov r8d, edx
mov edx, 1
nop
jmp 0x567ef2
mov rsi, rbx
mov esi, dword [rsi + 0x34]
test esi, esi
je 0x567ff6
mov r8d, dword [0x009b86f4]
mov eax, r8d
mov r8d, edx
xor edx, edx
div esi
lea edx, [rax + 1]
mov rax, r9
mov r9d, dword [rsp + 0x38]
cmp r9d, edx
sete dl
jmp 0x567ef2
call sym.runtime.panicdivide
nop dword [rax + rax]
call sym.runtime.panicdivide
call sym.runtime.panicdivide
mov rbx, r11
call sym.runtime.panicSlice3AlenU
mov rbx, r11
call sym.runtime.panicSlice3AlenU
call sym.runtime.panicdivide
nop
call sym.runtime.deferreturn
mov eax, dword [rsp + 0x30]
add rsp, 0xc8
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
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 rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
jmp sym.modernc.org_sqlite_lib._fillInCell