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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov edi, edx
mov dword [esp + 0x1c], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [0x101ef014]
xor eax, ebp
mov dword [esp + 0xa0], eax
mov esi, dword [ebx + 4]
cmp dword [ebp + 0xc], 0
je 0x1000908b
movzx edx, byte [edi + 1]
mov dword [esp + 0x68], edx
mov ecx, 2
test dl, dl
js 0x100093d0
movzx eax, byte [edi]
cmp edx, 0x80
jae 0x100093ec
movzx edx, byte [edx + 0x101b0576]
add edx, eax
add esi, 0x28
mov dword [esp + 8], esi
xor esi, esi
inc esi
mov dword [esp + 0xc], edx
cmp edx, dword [esp + 0x1c]
ja 0x1000932d
mov dword [esp + 0x3c], eax
lea eax, [ebx + 0x17]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edi
mov eax, dword [esp + 8]
movzx eax, word [eax + 0x10]
test al, 0x24
mov dword [esp + 0x24], ecx
jne 0x1000902e
test al, 8
jne 0x10009286
test al, 2
jne 0x100090c9
movzx edx, byte [edi + ecx]
test al, 0x10
je 0x1000915c
test dl, dl
jns 0x10008f51
add ecx, edi
movzx eax, byte [ecx + 1]
test al, al
js 0x100091de
and edx, 0x7f
shl edx, 7
or edx, eax
cmp edx, 0xc
mov dword [esp], edx
jb 0x100091b2
mov eax, edx
and eax, 1
jne 0x100091b2
lea eax, [edx - 0xc]
mov edi, eax
shr edi, 1
mov ecx, dword [esp + 0xc]
add ecx, edi
cmp ecx, dword [esp + 0x1c]
ja 0x100093c1
mov ebx, edi
mov edi, esi
mov esi, dword [esp + 8]
test byte [esi + 0x11], 4
jne 0x10009317
mov eax, dword [esi + 0xc]
mov ecx, ebx
sub ebx, eax
cmovl eax, ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
add ecx, edx
push eax
push dword [esi + 8]
push ecx
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
cmovne ebx, eax
mov edx, ebx
mov ebx, dword [ebp + 8]
mov esi, edi
test edx, edx
jne 0x100094e9
inc esi
movzx eax, word [ebx + 0x14]
cmp esi, eax
mov edx, dword [esp]
je 0x1000930a
add dword [esp + 8], 0x28
cmp edx, 0x80
jae 0x10009209
movzx eax, byte [edx + 0x101b0576]
mov ecx, dword [esp + 0xc]
add ecx, eax
mov dword [esp + 0xc], ecx
cmp ecx, dword [esp + 0x1c]
ja 0x1000930a
mov edi, esi
xor eax, eax
inc eax
cmp edx, 0x80
jae 0x10009213
mov ecx, dword [esp + 0x24]
add ecx, eax
cmp ecx, dword [esp + 0x3c]
jae 0x1000925a
mov esi, edi
mov edi, dword [esp + 0x10]
jmp 0x10008f07
movzx ecx, byte [edi + ecx]
cmp ecx, 0xa
jae 0x10009356
test ecx, ecx
mov dword [esp], ecx
je 0x100091b2
cmp ecx, 7
je 0x1000954e
mov dword [esp + 4], esi
lea eax, [ecx - 1]
cmp eax, 5
jbe 0x100090ad
add ecx, 0xfffffff8
xor edi, edi
mov esi, dword [esp + 8]
mov ebx, dword [esi]
mov edx, dword [esi + 4]
cmp ecx, ebx
mov eax, edi
sbb eax, edx
jl 0x100094df
cmp ebx, ecx
sbb edx, edi
jl 0x10009174
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 4]
jmp 0x10008fc6
mov dword [esp + 8], esi
movzx eax, byte [edi]
mov dword [esp + 0x94], eax
xor esi, esi
test al, al
js 0x1000952f
xor ecx, ecx
inc ecx
mov edx, eax
jmp 0x10008eea
mov ecx, dword [esp + 0xc]
lea edx, [edi + ecx]
mov esi, dword [esp + 8]
jmp dword [eax*4 + 0x101b6c28]
movsx ecx, byte [edx]
mov edi, ecx
sar edi, 0x1f
jmp 0x10009064
movzx eax, byte [edi + ecx]
mov dword [esp + 0x64], eax
test al, al
js 0x1000968f
cmp eax, 0xc
mov dword [esp], eax
jb 0x100091b2
mov dword [esp + 4], esi
test al, 1
je 0x1000938f
add eax, 0xfffffff4
shr eax, 1
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0xc]
add ecx, eax
cmp ecx, dword [esp + 0x1c]
mov edi, dword [esp + 4]
mov esi, dword [esp + 8]
ja 0x1000939a
mov edx, dword [ebx]
movzx ecx, word [edx + 8]
cmp edi, ecx
jae 0x1000939a
mov ebx, dword [edx + edi*4 + 0x14]
test ebx, ebx
jne 0x1000917c
mov ecx, dword [esi + 0xc]
mov edi, eax
sub edi, ecx
cmovl ecx, eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
add eax, edx
push ecx
push dword [esi + 8]
push eax
call sub.VCRUNTIME140.dll_memcmp
mov edx, edi
add esp, 0xc
test eax, eax
cmovne edx, eax
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 4]
jmp 0x10008fbe
test edx, edx
setne al
mov dword [esp], edx
cmp dl, 0xa
setne cl
and cl, al
movzx edx, cl
jmp 0x10008fbe
xor edx, edx
inc edx
jmp 0x100094e2
mov al, byte [edx + 4]
lea ecx, [esp + 0x68]
mov byte [ecx + 0x12], al
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x14], eax
mov word [ecx + 0x10], 2
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
add eax, edx
mov dword [ecx + 8], eax
mov edx, esi
push dword [esp + 0x18]
push ebx
call fcn.10008600
add esp, 8
mov edx, eax
jmp 0x10009150
xor edx, edx
dec edx
jmp 0x100094e9
mov edi, dword [edx]
mov ecx, dword [edx + 4]
bswap edi
bswap ecx
jmp 0x10009064
mov ecx, dword [edx + 2]
bswap ecx
movsx ebx, byte [edx]
shl ebx, 8
movzx edi, byte [edx + 1]
or edi, ebx
jmp 0x10009064
mov ebx, edx
movzx edx, byte [ecx + 2]
test dl, dl
js 0x100096ab
shl ebx, 0xe
or ebx, edx
mov edx, ebx
and edx, 0x1fc07f
and eax, 0x7f
shl eax, 7
or edx, eax
mov ebx, dword [ebp + 8]
jmp 0x10008f51
lea eax, [edx - 0xc]
shr eax, 1
jmp 0x10008fee
mov esi, edx
xor ecx, ecx
xor eax, eax
inc eax
xor edx, edx
mov ebx, ecx
shld ebx, esi, 0x19
mov dword [esp], ebx
shr edx, 7
inc eax
mov ebx, 0x3fff
cmp ebx, esi
mov ebx, 0
sbb ebx, ecx
mov ebx, dword [ebp + 8]
mov esi, dword [esp]
mov ecx, edx
jae 0x10009013
jmp 0x1000921c
movsx edi, byte [edx]
mov ebx, edi
shl ebx, 8
movzx ecx, byte [edx + 1]
or ecx, ebx
jmp 0x100090c4
push 0x101cff9b
push 0x15464
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call sym.nss3.dll_sqlite3_log
add esp, 0x14
mov eax, dword [esp + 0x18]
mov byte [eax], 0xb
xor edx, edx
jmp 0x100094f5
mov dword [esp + 4], esi
movzx eax, byte [edi + ecx]
mov dword [esp], eax
cmp eax, 0xa
jae 0x100093a9
cmp dword [esp], 0
je 0x1000936d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add ecx, eax
lea eax, [esp + 0x68]
mov ebx, dword [esp]
mov edx, ebx
push eax
call fcn.10006aa0
add esp, 4
cmp bl, 7
jne 0x1000942e
movsd xmm0, qword [esp + 0x68]
mov eax, dword [esp + 8]
movsd xmm1, qword [eax]
ucomisd xmm1, xmm0
ja 0x10009379
ucomisd xmm0, xmm1
ja 0x10009384
mov esi, dword [esp + 4]
inc esi
mov ebx, dword [ebp + 8]
movzx eax, word [ebx + 0x14]
cmp esi, eax
je 0x1000930a
add dword [esp + 8], 0x28
mov edx, 7
jmp 0x10008fe7
mov byte [ebx + 0x1a], 1
movsx esi, byte [ebx + 0x16]
jmp 0x100094f7
cmp eax, 2
jae 0x100093f6
mov eax, dword [esp + 8]
mov edx, ebx
sub edx, dword [eax]
jmp 0x10008fb9
push 0x101cff9b
push 0x153cd
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call sym.nss3.dll_sqlite3_log
add esp, 0x14
mov byte [ebx + 0x17], 0xb
xor esi, esi
jmp 0x100094f7
xor eax, eax
cmp cl, 0xa
setne al
lea edx, [eax + eax]
dec edx
xor eax, eax
inc eax
mov dword [esp], eax
jmp 0x100094e9
mov dword [esp], 0
jmp 0x100094df
xor eax, eax
inc eax
mov dword [esp], eax
jmp 0x100094df
xor edx, edx
inc edx
mov dword [esp], edx
jmp 0x100094e2
xor edx, edx
inc edx
mov dword [esp], edx
jmp 0x100094e5
push 0x101cff9b
push 0x1541a
jmp 0x10009264
xor eax, eax
cmp byte [esp], 0xa
setne al
lea edx, [eax + eax]
dec edx
xor eax, eax
inc eax
mov dword [esp], eax
jmp 0x100094e2
push 0x101cff9b
push 0x15438
jmp 0x10009264
lea ecx, [edi + 1]
lea ebx, [esp + 0x68]
mov edx, ebx
call fcn.101667e0
movzx ecx, al
inc ecx
mov edx, dword [ebx]
mov ebx, dword [ebp + 8]
jmp 0x10008ec8
add edx, 0xfffffff4
shr edx, 1
jmp 0x10008ede
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add ecx, eax
xor eax, eax
inc eax
mov esi, ebx
cmp ebx, 2
mov edx, eax
cmovae edx, ebx
xor esi, esi
cmp byte [ecx + esi], 0
jne 0x1000941f
inc esi
cmp edx, esi
jne 0x1000940f
jmp 0x10009320
mov dword [esp], eax
mov edx, eax
mov ebx, dword [ebp + 8]
mov esi, edi
jmp 0x100094e9
mov eax, dword [esp + 8]
movsd xmm0, qword [eax]
xor esi, esi
inc esi
movsd xmm1, qword [0x101af190]
ucomisd xmm1, xmm0
ja 0x100094d5
ucomisd xmm0, qword [0x101af198]
jae 0x100094dc
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
movsd qword [esp + 0x28], xmm0
fld qword [esp + 0x28]
fnstcw word [esp + 0x14]
movzx edx, word [esp + 0x14]
or edx, 0xc00
mov word [esp + 0x20], dx
fldcw word [esp + 0x20]
fistp qword [esp + 0x28]
fldcw word [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
cmp edi, ebx
mov ecx, eax
sbb ecx, edx
jl 0x100094dc
cmp ebx, edi
sbb edx, eax
jl 0x100094d5
movd xmm1, edi
movd xmm2, eax
punpckldq xmm1, xmm2
movq qword [esp + 0x48], xmm1
fild qword [esp + 0x48]
fstp qword [esp + 0x40]
movsd xmm1, qword [esp + 0x40]
ucomisd xmm0, xmm1
ja 0x100094dc
xor edx, edx
ucomisd xmm1, xmm0
seta dl
jmp 0x10009150
mov edx, esi
mov dword [esp], esi
jmp 0x100094e2
mov dword [esp], esi
xor edx, edx
dec edx
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 4]
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
mov al, byte [eax + esi]
test al, al
jne 0x1000950f
mov esi, edx
mov ecx, dword [esp + 0xa0]
xor ecx, ebp
call fcn.10156ff0
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test al, 2
jne 0x10009517
neg edx
jmp 0x100094f5
cmp dword [esp], 0
je 0x10009529
test al, 1
sete al
mov ecx, dword [esp + 8]
xor al, byte [ecx + 0x10]
test al, 1
jne 0x100094f5
jmp 0x10009513
lea ebx, [esp + 0x94]
mov ecx, edi
mov edx, ebx
call fcn.101667e0
xor esi, esi
movzx ecx, al
mov eax, dword [ebx]
mov ebx, dword [ebp + 8]
jmp 0x100090a6
mov ecx, esi
mov eax, dword [esp + 0xc]
mov ebx, dword [edi + eax]
mov eax, dword [edi + eax + 4]
bswap ebx
bswap eax
mov dword [esp + 0x6c], ebx
mov edx, ebx
not edx
movd xmm1, ebx
and ebx, 0xfffff
xor esi, esi
inc esi
or ebx, eax
mov edi, 8
mov dword [esp], esi
cmovne edi, esi
test edx, 0x7ff00000
mov edx, 8
cmovne edi, edx
mov dword [esp + 0x68], eax
mov word [esp + 0x78], di
movd xmm0, eax
punpckldq xmm0, xmm1
movsd xmm1, qword [0x101af190]
ucomisd xmm1, xmm0
ja 0x1000965f
xor eax, eax
inc eax
mov dword [esp], eax
ucomisd xmm0, qword [0x101af198]
jae 0x1000965a
mov eax, dword [esp + 8]
mov esi, dword [eax + 4]
mov edi, dword [eax]
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
fnstcw word [esp + 0x16]
movzx edx, word [esp + 0x16]
or edx, 0xc00
mov word [esp + 0x22], dx
fldcw word [esp + 0x22]
fistp qword [esp + 0x30]
fldcw word [esp + 0x16]
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
cmp edi, ebx
mov eax, esi
sbb eax, edx
jl 0x1000965a
cmp ebx, edi
sbb edx, esi
jl 0x1000965f
movd xmm1, edi
movd xmm2, esi
punpckldq xmm1, xmm2
movq qword [esp + 0x58], xmm1
fild qword [esp + 0x58]
fstp qword [esp + 0x50]
movsd xmm1, qword [esp + 0x50]
ucomisd xmm0, xmm1
mov edx, 1
mov ebx, dword [ebp + 8]
mov esi, ecx
ja 0x100094e9
xor edx, edx
ucomisd xmm1, xmm0
seta dl
neg edx
mov dword [esp], 7
jmp 0x10008fbe
xor edx, edx
inc edx
jmp 0x10009662
xor edx, edx
dec edx
mov ebx, dword [ebp + 8]
mov esi, ecx
jmp 0x100094e9
movsx edi, byte [edx]
mov ecx, edi
shl ecx, 0x10
movzx ebx, byte [edx + 1]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [edx + 2]
jmp 0x10009253
mov ecx, dword [edx]
bswap ecx
jmp 0x100090c2
mov eax, dword [esp + 0x24]
lea ecx, [edi + eax]
lea ebx, [esp + 0x64]
mov edx, ebx
call fcn.101667e0
mov eax, dword [ebx]
mov ebx, dword [ebp + 8]
jmp 0x100090d9
lea ebx, [esp + 0x98]
mov edx, ebx
call fcn.10007d20
xor edx, edx
cmp edx, dword [ebx + 4]
sbb edx, edx
or edx, dword [ebx]
jmp 0x10009201