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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
push esi
push edi
xor edi, edi
mov ebx, eax
xor esi, esi
mov dword [esp + 0x10], edi
cmp ebx, edi
jge 0x10080e34
mov eax, dword [ebp + 8]
cmp dword [eax + 0xfc], edi
je 0x10080e34
mov dword [esp + 0x14], edi
cmp dword [ebp + 0x1c], edi
jne 0x10080df7
cmp dword [ebp + 0x20], edi
jne 0x10080df7
xor eax, eax
jmp 0x10080dfc
mov eax, 1
mov edx, dword [ebp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
call fcn.1008ae10
mov esi, eax
add esp, 0x10
cmp esi, edi
jne 0x10080e34
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x10080e34
push eax
mov eax, dword [ebp + 0x24]
call fcn.10080d10
add esp, 4
mov esi, eax
cmp ebx, 0xffffffff
je 0x10081367
cmp esi, edi
jne 0x10081367
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
push ebx
push edx
call fcn.10089770
mov esi, eax
add esp, 0xc
cmp esi, edi
mov edi, dword [esp + 0x10]
jne 0x10081367
push edi
call sym.SQLite3Encrypt.dll_sqlite3_step
mov esi, eax
add esp, 4
cmp esi, 0x64
jne 0x10081367
mov dword [esp + 0x10], 0
test edi, edi
je 0x10080edd
cmp dword [edi + 0x14], 0
je 0x10080eb7
mov eax, 1
cmp ax, word [edi + 0x54]
jae 0x10080eb7
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x10080eaf
push eax
call dword [0x100d3428]
add esp, 4
mov ecx, dword [edi + 0x14]
add ecx, 0x28
jmp 0x10080ee2
mov eax, dword [edi]
test eax, eax
je 0x10080edd
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10080ece
push eax
call dword [0x100d3428]
add esp, 4
mov ebx, dword [edi]
mov eax, 0x19
mov dword [ebx + 0x34], eax
call fcn.10006cf0
mov ecx, 0x100b9380
movzx eax, word [ecx + 8]
test al, 4
je 0x10080ef4
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
jmp 0x10080f89
test al, 8
je 0x10080f56
fld qword [ecx]
mov edx, 0x80000000
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], edx
fild qword [esp + 0x48]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x10080f22
xor eax, eax
fstp st(0)
mov esi, eax
mov ebx, edx
jmp 0x10080f89
mov edx, 0x7fffffff
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x54], edx
fild qword [esp + 0x50]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x10080f4b
or eax, 0xffffffff
fstp st(0)
mov esi, eax
mov ebx, edx
jmp 0x10080f89
call fcn.100b06e6
mov esi, eax
mov ebx, edx
jmp 0x10080f89
test al, 0x12
je 0x10080f85
mov edx, dword [ecx + 0xc]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
push edx
push eax
mov al, byte [ecx + 0xa]
mov ecx, dword [ecx + 0x10]
call fcn.10007680
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
add esp, 8
jmp 0x10080f89
xor esi, esi
xor ebx, ebx
test edi, edi
je 0x10080fc2
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
mov ecx, dword [edi + 0x50]
jne 0x10080fa7
cmp ecx, 0xc0a
je 0x10080fa7
mov eax, dword [eax + 0x38]
and eax, ecx
jmp 0x10080fac
call fcn.10004830
mov ecx, dword [edi]
mov dword [edi + 0x50], eax
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x10080fc2
push eax
call dword [0x100d3430]
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebx
test edi, edi
je 0x10081020
cmp dword [edi + 0x14], 0
je 0x10080ffa
mov edx, 2
cmp dx, word [edi + 0x54]
jae 0x10080ffa
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10080ff2
push eax
call dword [0x100d3428]
add esp, 4
mov ecx, dword [edi + 0x14]
add ecx, 0x50
jmp 0x10081025
mov eax, dword [edi]
test eax, eax
je 0x10081020
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10081011
push eax
call dword [0x100d3428]
add esp, 4
mov ebx, dword [edi]
mov eax, 0x19
mov dword [ebx + 0x34], eax
call fcn.10006cf0
mov ecx, 0x100b9380
movzx eax, word [ecx + 8]
test al, 4
je 0x10081037
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
jmp 0x100810d4
test al, 8
je 0x100810a1
fld qword [ecx]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0x80000000
fild qword [esp + 0x58]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x10081069
xor eax, eax
fstp st(0)
mov edx, 0x80000000
mov esi, eax
mov ebx, edx
jmp 0x100810d4
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x64], 0x7fffffff
fild qword [esp + 0x60]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x10081096
or eax, 0xffffffff
fstp st(0)
mov edx, 0x7fffffff
mov esi, eax
mov ebx, edx
jmp 0x100810d4
call fcn.100b06e6
mov esi, eax
mov ebx, edx
jmp 0x100810d4
test al, 0x12
je 0x100810d0
mov edx, dword [ecx + 0xc]
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push edx
push eax
mov al, byte [ecx + 0xa]
mov ecx, dword [ecx + 0x10]
call fcn.10007680
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
add esp, 8
jmp 0x100810d4
xor esi, esi
xor ebx, ebx
test edi, edi
je 0x1008110d
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
mov ecx, dword [edi + 0x50]
jne 0x100810f2
cmp ecx, 0xc0a
je 0x100810f2
mov eax, dword [eax + 0x38]
and eax, ecx
jmp 0x100810f7
call fcn.10004830
mov ecx, dword [edi]
mov dword [edi + 0x50], eax
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x1008110d
push eax
call dword [0x100d3430]
add esp, 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebx
test edi, edi
je 0x1008116b
cmp dword [edi + 0x14], 0
je 0x10081145
mov edx, 3
cmp dx, word [edi + 0x54]
jae 0x10081145
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1008113d
push eax
call dword [0x100d3428]
add esp, 4
mov ecx, dword [edi + 0x14]
add ecx, 0x78
jmp 0x10081170
mov eax, dword [edi]
test eax, eax
je 0x1008116b
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1008115c
push eax
call dword [0x100d3428]
add esp, 4
mov ebx, dword [edi]
mov eax, 0x19
mov dword [ebx + 0x34], eax
call fcn.10006cf0
mov ecx, 0x100b9380
movzx eax, word [ecx + 8]
test al, 4
je 0x10081186
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x18], edx
jmp 0x1008123c
test al, 8
je 0x100811ff
fld qword [ecx]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0x80000000
fild qword [esp + 0x68]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x100811bf
xor eax, eax
fstp st(0)
mov edx, 0x80000000
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
jmp 0x10081240
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x74], 0x7fffffff
fild qword [esp + 0x70]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x100811f0
or eax, 0xffffffff
fstp st(0)
mov edx, 0x7fffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
jmp 0x10081240
call fcn.100b06e6
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
jmp 0x10081240
test al, 0x12
je 0x10081236
mov edx, dword [ecx + 0xc]
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x40]
push edx
push eax
mov al, byte [ecx + 0xa]
mov ecx, dword [ecx + 0x10]
call fcn.10007680
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
add esp, 8
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
jmp 0x10081240
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
test edi, edi
je 0x10081279
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
mov ecx, dword [edi + 0x50]
jne 0x1008125e
cmp ecx, 0xc0a
je 0x1008125e
mov eax, dword [eax + 0x38]
and eax, ecx
jmp 0x10081263
call fcn.10004830
mov dword [edi + 0x50], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10081279
push eax
call dword [0x100d3430]
add esp, 4
push 4
push edi
call sym.SQLite3Encrypt.dll_sqlite3_column_bytes
push 4
push edi
mov ebx, eax
call sym.SQLite3Encrypt.dll_sqlite3_column_blob
mov ecx, dword [esp + 0x30]
add esp, 0x10
or ecx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
je 0x100812f8
cmp dword [ebp + 0x14], 0
je 0x100812f8
mov edx, dword [ebp + 0x1c]
neg edx
sbb edx, edx
lea eax, [esp + 0x28]
and edx, eax
mov eax, dword [ebp + 0x18]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [ebp + 0x14]
push ebx
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call fcn.1007f5e0
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x10081367
cmp dword [ebp + 0x1c], eax
jne 0x1008130b
cmp dword [ebp + 0x20], eax
jne 0x1008130b
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
lea eax, [esi + 1]
jmp 0x1008130d
cmp dword [ebp + 0x1c], 0
jne 0x1008130b
cmp dword [ebp + 0x20], 0
jne 0x1008130b
mov eax, 1
jmp 0x1008130d
xor eax, eax
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x20]
push ebx
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [ebp + 0x24]
push ecx
push eax
mov eax, dword [edx + 4]
inc eax
push eax
call fcn.1008ac70
mov esi, eax
add esp, 0x2c
test esi, esi
jne 0x10081367
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 0x24]
push ecx
call fcn.10080d10
mov esi, eax
add esp, 4
test esi, esi
je 0x10080e6b
push edi
call sym.SQLite3Encrypt.dll_sqlite3_reset
add esp, 4
cmp esi, 0x65
je 0x10081377
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret