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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xc8
xor r15d, r15d
mov qword [rsp + 0x110], rcx
mov qword [rsp + 0x118], rdx
mov dword [rsp + 0x120], r8d
mov qword [rsp + 0x128], r9
mov dword [rsp + 0x38], r8d
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x3c], 1
nop dword [rax]
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xa8], 0
mov r14, qword [rsp + 0x118]
mov dword [rax + 0x24], 0
mov eax, dword [rsp + 0x38]
test eax, eax
mov ebx, eax
jle 0x813b08
movzx eax, byte [r14]
lea edx, [rax - 9]
cmp dl, 4
jbe 0x813212
cmp al, 0x20
je 0x813212
lea rsi, [0x00c565e0]
xor eax, eax
test al, 0xfe
jne 0x812f90
movzx ebp, byte [rsi + 8]
cmp ebx, ebp
jl 0x812f90
mov rdx, qword [rsi]
movzx edi, bpl
mov rcx, r14
mov r8, rdi
call sym.memcmp
test eax, eax
jne 0x812f90
movzx r12d, byte [rsi + 0xa]
cmp r12b, 1
je 0x813320
mov eax, 0xa
movzx edx, byte [r14 + rdi]
cmp dl, 0x29
ja 0x812f90
movabs rdi, 0x30500003e01
bt rdi, rdx
jb 0x813238
nop word cs:[rax + rax]
lea rax, str.docsize
add rsi, 0x10
cmp rax, rsi
je 0x812fb8
movzx eax, byte [rsi + 9]
test al, 0xfe
je 0x812f36
lea rax, str.docsize
add rsi, 0x10
cmp rax, rsi
jne 0x812fa0
movzx eax, byte [r14]
cmp al, 0x22
je 0x813272
cmp al, 0x28
je 0x8139a0
cmp al, 0x29
mov rax, qword [rsp + 0x110]
je 0x813a00
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 0x1c]
test eax, eax
jle 0x813224
mov rdi, qword [rsp + 0x110]
lea esi, [rax - 1]
xor ebp, ebp
mov rdi, qword [rdi + 0x10]
jmp 0x813020
lea rax, [rbp + 1]
cmp rsi, rbp
je 0x813224
mov rbp, rax
mov r13, qword [rdi + rbp*8]
mov rcx, r13
call sym.strlen
cmp ebx, eax
mov r12, rax
jle 0x813010
cdqe
cmp byte [r14 + rax], 0x3a
jne 0x813010
mov r8d, r12d
mov rdx, r14
mov rcx, r13
call sym.sqlite3_strnicmp.part.10
test eax, eax
jne 0x813010
sub r14, qword [rsp + 0x118]
mov dword [rsp + 0x40], ebp
mov esi, dword [rsp + 0x38]
lea r14d, [r14 + r12 + 1]
movsxd rbx, r14d
add rbx, qword [rsp + 0x118]
sub esi, r14d
mov rax, qword [rsp + 0x110]
test esi, esi
mov rcx, qword [rax]
mov rdi, qword [rcx]
jle 0x813a30
movzx eax, byte [rbx]
lea edx, [rax - 0x28]
cmp dl, 1
jbe 0x813a30
cmp al, 0x22
je 0x813a30
lea r9d, [rsi - 1]
mov eax, 1
add r9, 1
jmp 0x8130c7
movzx edx, byte [rbx + rax]
add rax, 1
lea r8d, [rdx - 0x28]
cmp r8b, 1
jbe 0x8130cf
cmp dl, 0x22
je 0x8130cf
cmp r9, rax
mov r13d, eax
jne 0x8130b0
mov rax, qword [rsp + 0x110]
mov r9d, r13d
mov r8, rbx
xor ebp, ebp
mov edx, dword [rax + 8]
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
call dbg.sqlite3Fts3OpenTokenizer
test eax, eax
mov r12d, eax
jne 0x81318d
lea rax, [rsp + 0xa4]
mov dword [rsp + 0x98], 0
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
lea rdx, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x9c], 0
lea r9, [rsp + 0x9c]
mov dword [rsp + 0xa0], 0
lea r8, [rsp + 0x98]
mov dword [rsp + 0xa4], 0
call qword [rdi + 0x28]
test eax, eax
je 0x8137e0
test r13d, r13d
je 0x8137d0
cmp eax, 0x65
jne 0x8137d0
mov rcx, qword [rsp + 0xb0]
call qword [rdi + 0x20]
mov qword [rsp + 0xa8], rbp
add r13d, r14d
test r12d, r12d
jne 0x813532
mov rdi, qword [rsp + 0xa8]
test rdi, rdi
je 0x8131fd
mov r12d, dword [rdi]
cmp r12d, 5
je 0x8131c2
cmp qword [rdi + 0x10], 0
je 0x8136a5
cmp dword [rsp + 0x3c], 1
jne 0x813784
test r15, r15
jne 0x813700
cmp qword [rsp + 0x68], 0
mov rax, qword [rsp + 0xa8]
je 0x813690
mov qword [r15 + 0x18], rax
mov dword [rsp + 0x3c], 0
mov qword [rax + 8], r15
mov r15, rax
sub dword [rsp + 0x38], r13d
movsxd r14, r13d
add qword [rsp + 0x118], r14
jmp 0x812ee0
add r14, 1
sub ebx, 1
jne 0x812f11
jmp 0x813541
mov rbx, qword [rsp + 0x118]
xor r14d, r14d
mov esi, dword [rsp + 0x38]
jmp 0x813071
mov ecx, 0x40
mov r13d, eax
call dbg.fts3MallocZero
test rax, rax
mov rdi, rax
je 0x813777
sub r14, qword [rsp + 0x118]
mov dword [rax + 4], r13d
mov dword [rax], r12d
mov qword [rsp + 0xa8], rax
lea r13d, [rbp + r14]
jmp 0x8131b1
cmp ebx, 1
jle 0x813a80
cmp byte [r14 + 1], 0x22
je 0x8133a3
lea rdx, [r14 + 2]
mov esi, 1
jmp 0x8132a1
add rdx, 1
cmp byte [rdx - 1], 0x22
je 0x8133b0
mov esi, eax
lea eax, [rsi + 1]
cmp ebx, eax
jne 0x813291
mov rax, r14
sub rax, qword [rsp + 0x118]
lea r13d, [rbx + rax + 1]
sub dword [rsp + 0x38], r13d
mov dword [rsp + 0x3c], 1
mov eax, dword [rsp + 0x120]
mov rdi, qword [rsp + 0x130]
sub eax, dword [rsp + 0x38]
mov dword [rdi], eax
mov rcx, qword [rsp + 0x68]
call dbg.sqlite3Fts3ExprFree
xor ecx, ecx
call dbg.sqlite3Fts3ExprFree
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x128]
mov rdi, qword [rsp + 0x68]
mov qword [rax], rdi
mov eax, dword [rsp + 0x3c]
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [r14 + 4], 0x2f
jne 0x812f63
movzx ecx, byte [r14 + 5]
lea edx, [rcx - 0x30]
cmp dl, 9
ja 0x812f63
movzx edx, byte [r14 + rdi + 1]
lea ecx, [rdx - 0x30]
cmp cl, 9
ja 0x813afd
lea r9, [r14 + rdi]
movsx eax, dl
mov ecx, 1
sub eax, 0x30
cdqe
jmp 0x813381
lea r8, [rax + rax*4]
movsx eax, dl
add rcx, 1
sub eax, 0x30
cdqe
lea rax, [rax + r8*2]
cmp rax, 0x7fffffff
ja 0x812f63
movzx edx, byte [r9 + rcx + 1]
mov r10d, ecx
lea r8d, [rdx - 0x30]
cmp r8b, 9
jbe 0x813361
add r10d, 1
add ebp, r10d
movsxd rdi, ebp
jmp 0x812f68
xor esi, esi
mov eax, 1
nop word [rax + rax]
mov rdx, r14
sub rdx, qword [rsp + 0x118]
lea r13d, [rax + rdx + 1]
mov rax, qword [rsp + 0x110]
lea r8, [r14 + 1]
mov r9d, esi
mov qword [rsp + 0x70], r8
mov rcx, qword [rax]
mov rax, qword [rcx]
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x110]
mov edx, dword [rax + 8]
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
call dbg.sqlite3Fts3OpenTokenizer
test eax, eax
mov r12d, eax
jne 0x8138c0
lea rax, [rsp + 0x9c]
xor ecx, ecx
xor edi, edi
mov dword [rsp + 0x80], esi
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x98]
mov rsi, rcx
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x88], r15
lea rbp, [rsp + 0xa4]
mov r15, rax
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x78], r14
mov dword [rsp + 0x84], r13d
nop dword [rax]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rbp
movsxd rbx, esi
mov dword [rsp + 0x98], 0
mov r9, qword [rsp + 0x50]
mov dword [rsp + 0x9c], 0
mov r8, qword [rsp + 0x48]
mov dword [rsp + 0xa0], 0
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x20], r15
mov rcx, qword [rsp + 0xb0]
mov dword [rsp + 0xa4], 0
call qword [rax + 0x28]
test eax, eax
mov r13d, eax
je 0x813580
mov ebp, eax
mov rax, qword [rsp + 0x40]
movsxd rsi, r12d
mov r12d, ebp
mov r13d, dword [rsp + 0x84]
mov r15, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xb0]
call qword [rax + 0x20]
cmp r12d, 0x65
mov qword [rsp + 0xb0], 0
je 0x8138d9
test r12d, r12d
mov qword [rsp + 0xa8], rdi
je 0x8131a1
sub dword [rsp + 0x38], r13d
cmp r12d, 0x65
jne 0x813b1f
mov eax, dword [rsp + 0x120]
sub eax, dword [rsp + 0x38]
cmp qword [rsp + 0x68], 0
mov rdi, qword [rsp + 0x130]
je 0x813abc
test byte [rsp + 0x3c], 1
je 0x813abc
mov dword [rdi], eax
mov dword [rsp + 0x3c], 1
jmp 0x8132da
lea r14, [rsi + rsi*4]
mov rcx, rdi
shl r14, 3
lea rdx, [r14 + 0xc0]
call dbg.fts3ReallocOrFree
test rax, rax
mov rdi, rax
je 0x813740
mov edx, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x60]
add edx, r12d
movsxd rdx, edx
call dbg.fts3ReallocOrFree
test rax, rax
mov rdx, rax
mov qword [rsp + 0x60], rax
je 0x813740
lea rax, [rdi + r14 + 0x98]
movsxd rcx, r12d
mov qword [rax], 0
add rcx, rdx
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0
mov qword [rax + 0x20], 0
mov rdx, qword [rsp + 0xb8]
movsxd r8, dword [rsp + 0x98]
call sym.memcpy
mov eax, dword [rsp + 0x98]
lea rdx, [rbx + rbx*4]
add r12d, eax
mov dword [rdi + rdx*8 + 0xa0], eax
xor edx, edx
movsxd rax, dword [rsp + 0xa0]
cmp eax, dword [rsp + 0x80]
jge 0x81364b
mov rcx, qword [rsp + 0x70]
xor edx, edx
cmp byte [rcx + rax], 0x2a
sete dl
lea rax, [rbx + rbx*4]
mov dword [rdi + rax*8 + 0xa4], edx
movsxd rax, dword [rsp + 0x9c]
test eax, eax
jle 0x813672
mov rcx, qword [rsp + 0x78]
xor r13d, r13d
cmp byte [rcx + rax], 0x5e
sete r13b
lea rax, [rbx + rbx*4]
add rsi, 1
mov dword [rdi + rax*8 + 0xa8], r13d
jmp 0x813480
mov r15, rax
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x3c], 0
jmp 0x8131fd
mov eax, dword [rsp + 0x3c]
test eax, eax
jne 0x813aa0
test r15, r15
je 0x8136c2
cmp r12d, 1
jne 0x8136c2
cmp dword [r15], 5
jne 0x813714
mov rdx, qword [rsp + 0xa8]
jmp 0x8136d9
mov ecx, dword [rdx]
cmp dword [rax], ecx
jg 0x813730
mov r15, rax
mov rax, qword [r15 + 8]
test rax, rax
jne 0x8136d0
mov qword [rsp + 0x68], rdx
mov qword [rdx + 0x10], r15
mov dword [rsp + 0x3c], 1
mov qword [r15 + 8], rdx
mov r15, rdx
jmp 0x8131fd
cmp r12d, 5
je 0x8131d6
cmp dword [r15], 1
jne 0x8131d6
mov rcx, qword [rsp + 0xa8]
call dbg.sqlite3Fts3ExprFree
mov dword [rsp + 0x3c], 1
jmp 0x8132da
mov qword [rax + 0x18], rdx
mov qword [rdx + 8], rax
jmp 0x8136e7
mov r13d, dword [rsp + 0x84]
mov r15, rdi
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x813760
mov rax, qword [rsp + 0x40]
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x60]
call sym.sqlite3_free
mov rcx, r15
call sym.sqlite3_free
sub dword [rsp + 0x38], r13d
mov dword [rsp + 0x3c], 7
jmp 0x8132c5
mov ecx, 0x40
call dbg.fts3MallocZero
test rax, rax
je 0x813ae3
mov dword [rax], 3
jmp 0x8137ac
cmp dword [rdx], 3
jg 0x813a20
mov r15, rdx
mov rdx, qword [r15 + 8]
test rdx, rdx
jne 0x8137a0
mov qword [rsp + 0x68], rax
mov qword [rax + 0x10], r15
mov qword [r15 + 8], rax
mov r15, rax
jmp 0x8131d6
mov r12d, eax
xor ebp, ebp
jmp 0x813182
movsxd rcx, dword [rsp + 0x98]
add rcx, 0xc0
call dbg.fts3MallocZero
test rax, rax
mov rbp, rax
je 0x813a40
mov dword [rax], 5
lea rax, [rax + 0x40]
mov qword [rbp + 0x20], rax
mov eax, dword [rsp + 0x40]
lea rcx, [rbp + 0xc0]
mov dword [rbp + 0x90], 1
mov dword [rbp + 0x94], eax
movsxd r8, dword [rsp + 0x98]
mov qword [rbp + 0x98], rcx
mov rdx, qword [rsp + 0xb8]
mov dword [rbp + 0xa0], r8d
call sym.memcpy
mov r13d, dword [rsp + 0xa0]
cmp r13d, esi
jl 0x813a53
mov rax, qword [rsp + 0x110]
mov r12d, dword [rax + 0x18]
test r12d, r12d
je 0x813182
mov eax, dword [rsp + 0x9c]
test eax, eax
jle 0x8138b5
movsxd rdx, eax
sub eax, 1
cmp byte [rbx + rdx - 1], 0x5e
cdqe
je 0x81389e
jmp 0x8138b5
sub rax, 1
cmp byte [rbx + rax], 0x5e
jne 0x813aad
mov dword [rbp + 0xa8], 1
test eax, eax
mov edx, eax
jg 0x813890
mov dword [rsp + 0x9c], eax
xor r12d, r12d
jmp 0x813182
mov qword [rsp + 0x60], 0
xor ebx, ebx
xor esi, esi
xor edi, edi
cmp r12d, 0x65
jne 0x813521
movsxd rax, ebx
mov rcx, rdi
lea rbp, [rax + rax*4]
shl rbp, 3
lea rdx, [rsi + rbp + 0xc0]
call dbg.fts3ReallocOrFree
test rax, rax
mov rdi, rax
je 0x813acb
xor edx, edx
mov rcx, rax
mov r8d, 0x98
lea r12, [rax + 0x40]
call sym.memset
mov rax, qword [rsp + 0x110]
mov rcx, r12
mov qword [rdi + 0x20], r12
mov dword [rdi], 5
lea rbp, [r12 + rbp + 0x58]
mov eax, dword [rax + 0x20]
mov dword [rdi + 0x90], ebx
mov dword [rdi + 0x94], eax
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x813967
mov r8, rsi
mov rdx, rax
mov rsi, rax
mov rcx, rbp
call sym.memcpy
mov rcx, rsi
call sym.sqlite3_free
mov rcx, qword [rdi + 0x20]
mov ebx, dword [rcx + 0x50]
test ebx, ebx
jle 0x813ad3
lea edx, [rbx - 1]
lea rdx, [rdx + rdx*4]
lea rax, [rcx + 0x58]
lea rcx, [rcx + rdx*8 + 0x80]
movsxd rdx, dword [rax + 8]
mov qword [rax], rbp
add rax, 0x28
add rbp, rdx
cmp rcx, rax
jne 0x813982
xor r12d, r12d
jmp 0x813521
mov rax, qword [rsp + 0x110]
lea rdx, [r14 + 1]
mov dword [rsp + 0xb8], 0
mov rcx, qword [rsp + 0x110]
lea r9, [rsp + 0xa8]
lea r8d, [rbx - 1]
add dword [rax + 0x30], 1
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
call dbg.fts3ExprParse
sub r14, qword [rsp + 0x118]
mov r12d, eax
mov eax, dword [rsp + 0xb8]
lea r13d, [rax + r14 + 1]
jmp 0x813198
sub dword [rax + 0x30], 1
mov rax, r14
sub rax, qword [rsp + 0x118]
add eax, 1
sub dword [rsp + 0x38], eax
jmp 0x813541
mov qword [rdx + 0x18], rax
mov qword [rax + 8], rdx
jmp 0x8137ba
xor r13d, r13d
jmp 0x8130cf
mov r13d, dword [rsp + 0xa0]
mov r12d, 7
jmp 0x813182
movsxd rax, r13d
cmp byte [rbx + rax], 0x2a
jne 0x81385d
mov dword [rbp + 0xa4], 1
add r13d, 1
mov dword [rsp + 0xa0], r13d
jmp 0x81385d
mov rax, r14
sub rax, qword [rsp + 0x118]
cmp ebx, 1
lea r13d, [rax + 2]
je 0x8132b8
xor esi, esi
jmp 0x8133c0
mov rcx, rdi
call dbg.sqlite3Fts3ExprFree
jmp 0x8132da
mov dword [rsp + 0x9c], edx
xor r12d, r12d
jmp 0x813182
mov dword [rdi], eax
mov dword [rsp + 0x3c], 0
jmp 0x8132f4
mov r15, rax
jmp 0x81374b
mov qword [rsp + 0xa8], rdi
mov r12d, dword [rdi]
jmp 0x8131b1
mov rcx, qword [rsp + 0xa8]
call dbg.sqlite3Fts3ExprFree
mov dword [rsp + 0x3c], 7
jmp 0x8132da
mov r10d, 1
jmp 0x813398
je 0x813541
mov r14, qword [rsp + 0x118]
mov ebx, dword [rsp + 0x38]
jmp 0x812f29
mov dword [rsp + 0x3c], r12d
jmp 0x8132c5