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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
mov eax, dword [0x100d2170]
xor eax, esp
mov dword [esp + 0xd8], eax
mov eax, dword [ebp + 0xc]
fldz
mov dword [esp + 0x10], eax
fstp qword [esp + 0x64]
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
movzx esi, byte [ebx + 0x14]
mov dword [esp + 0x34], eax
xor eax, eax
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x54], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [edi*4 + 4]
inc esi
mov dword [esp + 0x18], ebx
imul esi, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x40], ecx
call sym.SQLite3Encrypt.dll_sqlite3_initialize
test eax, eax
jne 0x10098bb9
test esi, esi
jle 0x10098bb9
mov eax, esi
cdq
push edx
push eax
call fcn.10003d80
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10098bd3
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.100a3aa6
mov esp, ebp
pop ebp
ret
movzx eax, byte [ebx + 0x14]
lea ecx, [edi*4 + 4]
imul eax, ecx
mov ecx, dword [esp + 0x14]
push esi
add eax, ecx
push 0
push ecx
mov dword [esp + 0x30], eax
call fcn.100a6a70
movzx eax, byte [ebx + 0x14]
add esp, 0xc
mov dword [esp + 0x10], 0
test eax, eax
jle 0x10098c64
mov esi, dword [esp + 0x14]
mov dword [esp + 0x20], 0
add eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
lea edx, [ecx + eax*4]
xor eax, eax
mov dword [esi], edx
test edi, edi
jle 0x10098c30
mov ecx, dword [esi]
mov dword [ecx + eax*4], eax
inc eax
cmp eax, edi
jl 0x10098c26
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esi]
push eax
push ecx
push edi
push edx
push ebx
call fcn.100989a0
mov ecx, dword [esp + 0x28]
movzx eax, byte [ebx + 0x14]
add dword [esp + 0x38], edi
inc ecx
add esp, 0x18
add esi, 4
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0x10098c13
movzx eax, byte [ebx + 0x14]
mov dword [esp + 0x10], 0
mov dword [esp + 0x28], eax
test eax, eax
jle 0x10098f2a
mov eax, dword [ebx + 0x10]
fldz
movzx ecx, byte [ebx + 0x16]
sub eax, 4
cdq
idiv ecx
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x44]
fst qword [esp + 0x48]
fst qword [esp + 0x68]
mov dword [esp + 0x24], 0
fst qword [esp + 0x78]
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x3c]
jg 0x10098eea
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [edx + eax*4]
mov eax, dword [ecx]
mov edx, dword [esp + 0x1c]
lea eax, [eax + eax*2]
shl eax, 4
add eax, edx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [ecx + eax*4 - 4]
mov dword [esp + 0x60], ecx
lea ecx, [eax + eax*2]
shl ecx, 4
add ecx, edx
mov dword [esp + 0x64], ecx
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x2c]
mov ecx, 0xc
lea edi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x64]
mov ebx, 1
dec eax
mov ecx, 0xc
lea edi, [esp + 0xb0]
rep movsd dword es:[edi], dword [esi]
cmp eax, ebx
jle 0x10098d83
mov edi, dword [esp + 0x60]
fstp st(0)
add edi, 4
jmp 0x10098d40
mov eax, dword [edi]
lea edx, [eax + eax*2]
shl edx, 4
add edx, dword [esp + 0x1c]
cmp ebx, dword [esp + 0x20]
jge 0x10098d60
mov eax, dword [esp + 0x18]
push eax
lea esi, [esp + 0x84]
jmp 0x10098d6c
mov ecx, dword [esp + 0x18]
push ecx
lea esi, [esp + 0xb4]
call fcn.100981d0
mov eax, dword [esp + 0x30]
inc ebx
dec eax
add esp, 4
add edi, 4
cmp ebx, eax
jl 0x10098d40
fldz
mov ecx, dword [esp + 0x28]
fld st(0)
add ecx, ecx
xor eax, eax
test ecx, ecx
jle 0x10098dc5
mov edx, dword [esp + 0x18]
mov dl, byte [edx + 0x15]
test dl, dl
jne 0x10098dac
fld dword [esp + eax*4 + 0x8c]
fld dword [esp + eax*4 + 0x88]
jmp 0x10098dba
fild dword [esp + eax*4 + 0x8c]
fild dword [esp + eax*4 + 0x88]
fsubp st(1)
add eax, 2
faddp st(1)
cmp eax, ecx
jl 0x10098d98
fadd qword [esp + 0x48]
xor eax, eax
test ecx, ecx
jle 0x10098e03
mov edx, dword [esp + 0x18]
mov dl, byte [edx + 0x15]
test dl, dl
jne 0x10098dea
fld dword [esp + eax*4 + 0xbc]
fld dword [esp + eax*4 + 0xb8]
jmp 0x10098df8
fild dword [esp + eax*4 + 0xbc]
fild dword [esp + eax*4 + 0xb8]
fsubp st(1)
add eax, 2
faddp st(2)
cmp eax, ecx
jl 0x10098dd6
mov edi, dword [esp + 0x18]
faddp st(1)
lea esi, [esp + 0xb0]
lea edx, [esp + 0x80]
mov eax, edi
fstp qword [esp + 0x48]
call fcn.100983e0
fld1
mov ecx, dword [esp + 0x28]
fld st(0)
add ecx, ecx
xor eax, eax
test ecx, ecx
jle 0x10098e62
mov dl, byte [edi + 0x15]
test dl, dl
jne 0x10098e49
fld dword [esp + eax*4 + 0x8c]
fld dword [esp + eax*4 + 0x88]
jmp 0x10098e57
fild dword [esp + eax*4 + 0x8c]
fild dword [esp + eax*4 + 0x88]
fsubp st(1)
add eax, 2
fmulp st(1)
cmp eax, ecx
jl 0x10098e35
xor eax, eax
test ecx, ecx
jle 0x10098e98
mov dl, byte [edi + 0x15]
test dl, dl
jne 0x10098e7f
fld dword [esp + eax*4 + 0xbc]
fld dword [esp + eax*4 + 0xb8]
jmp 0x10098e8d
fild dword [esp + eax*4 + 0xbc]
fild dword [esp + eax*4 + 0xb8]
fsubp st(1)
add eax, 2
fmulp st(2)
cmp eax, ecx
jl 0x10098e6b
mov ecx, dword [esp + 0x20]
faddp st(1)
cmp ecx, dword [esp + 0x44]
je 0x10098faa
fld qword [esp + 0x68]
fcom st(2)
fnstsw ax
test ah, 0x41
je 0x10098fa8
fld st(2)
fucompp
fnstsw ax
test ah, 0x44
jp 0x10098ed5
fld qword [esp + 0x78]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x10098faa
fstp st(0)
fstp st(0)
fldz
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, dword [esp + 0x3c]
jle 0x10098d00
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x10098f01
fld qword [esp + 0x70]
fcomp qword [esp + 0x48]
fnstsw ax
test ah, 0x41
jne 0x10098f15
fld qword [esp + 0x48]
mov eax, dword [esp + 0x24]
fstp qword [esp + 0x70]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x28]
jl 0x10098ca5
mov ebx, dword [esp + 0x18]
fstp st(0)
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + edx*4]
mov eax, dword [eax]
mov edi, dword [esp + 0x38]
lea esi, [eax + eax*2]
mov eax, dword [esp + 0x34]
shl esi, 4
add esi, dword [esp + 0x1c]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + edx*4]
mov eax, dword [edx + eax*4]
mov edi, dword [esp + 0x40]
lea esi, [eax + eax*2]
shl esi, 4
add esi, dword [esp + 0x1c]
cmp dword [esp + 0x2c], 0
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x10], 0
jle 0x10099058
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x54]
cmp ecx, edx
jl 0x10098f96
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x28], eax
cmp ecx, edx
jge 0x10098fbd
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
jmp 0x10098fc5
fstp st(0)
fxch st(1)
mov dword [esp + 0x24], ecx
fstp qword [esp + 0x68]
fstp qword [esp + 0x78]
jmp 0x10098ed9
mov edx, dword [esp + 0x40]
mov dword [esp + 0x24], edx
mov eax, dword [eax + 0x18]
movzx esi, byte [eax + 2]
movzx eax, byte [eax + 3]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + edx*4]
mov edx, dword [esp + 0x10]
mov edi, dword [ecx + edx*4]
movzx ecx, byte [ebx + 0x16]
shl esi, 8
add esi, eax
mov eax, dword [ebx + 0x10]
sub eax, 4
cdq
idiv ecx
lea edi, [edi + edi*2]
shl edi, 4
add edi, dword [esp + 0x1c]
cmp esi, eax
jge 0x10099036
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
push esi
push edx
mov eax, edi
call fcn.100966d0
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x18]
lea edx, [esi + 1]
mov ebx, edx
add esp, 8
sar ebx, 8
mov byte [eax + 2], bl
mov ebx, dword [esp + 0x18]
mov byte [eax + 3], dl
mov dword [ecx + 0x14], 1
mov esi, dword [esp + 0x24]
push ebx
mov edx, edi
call fcn.100981d0
mov eax, dword [esp + 0x14]
inc eax
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x2c]
jl 0x10098f82
cmp dword [0x100d33d0], 0
je 0x100990aa
mov eax, dword [0x100d8cc0]
test eax, eax
je 0x10099074
push eax
call dword [0x100d3428]
add esp, 4
mov esi, dword [esp + 0x14]
push esi
call dword [0x100d3404]
sub dword [0x100d8b08], eax
dec dword [0x100d8b2c]
add esp, 4
push esi
call dword [0x100d33fc]
mov eax, dword [0x100d8cc0]
add esp, 4
test eax, eax
je 0x100990b8
push eax
call dword [0x100d3430]
jmp 0x100990b5
mov eax, dword [esp + 0x14]
push eax
call dword [0x100d33fc]
add esp, 4
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.100a3aa6
mov esp, ebp
pop ebp
ret