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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
mov eax, dword [0x100c58c0]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push esi
mov esi, edx
mov eax, dword [esi]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0x24]
mov ebx, ecx
mov ecx, dword [eax]
push edi
xor edi, edi
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0xc]
xor eax, eax
cmp ecx, edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
jne 0x100a10ed
push 1
push 0x100af3b4
xor ecx, ecx
jmp 0x100a1558
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
push 0x100101c0
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x2c], edi
call fcn.100101e0
add esp, 0x10
cmp eax, edi
mov dword [esp + 0xc], eax
jne 0x100a1299
call sym.SQLite.Interop.dll_sqlite3_initialize
test eax, eax
je 0x100a1157
xor eax, eax
jmp 0x100a116e
mov eax, dword [esp + 0x84]
lea ecx, [eax + eax*2]
add ecx, ecx
add ecx, ecx
push ecx
call fcn.10025930
add esp, 4
cmp eax, edi
mov dword [esp + 0x70], eax
jne 0x100a1183
mov dword [esp + 0xc], 7
jmp 0x100a1299
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x14]
xor ebx, ebx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x58], esi
cmp dword [ecx + 0x18], edi
mov dword [esp + 0x2c], ebx
jle 0x100a1295
jmp 0x100a11b8
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x58]
push edx
push 0x100a08e0
lea eax, [esp + 0x2c]
push eax
push ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], edi
mov dword [esp + 0x34], edi
call fcn.100101e0
mov esi, dword [esi + 8]
lea edi, [ebx + 1]
add esp, 0x10
mov dword [esp + 0x38], edi
call fcn.10044460
mov bl, 1
mov edi, eax
call fcn.10044860
mov edi, esi
mov dword [esp + 0x24], eax
call fcn.10044400
mov edx, dword [esp + 0x20]
mov esi, dword [edx + 8]
mov edi, dword [esp + 0x38]
call fcn.10044460
mov edi, eax
test byte [edi + 0x1c], 0x10
jne 0x100a1239
call fcn.10044860
test eax, eax
jne 0x100a1239
mov dword [esp + 0x10], eax
jmp 0x100a124b
test word [edi + 0x1c], 0x4000
mov eax, dword [edi + 0x18]
je 0x100a1247
add eax, dword [edi + 0x10]
mov dword [esp + 0x10], eax
mov edi, esi
call fcn.10044400
cmp dword [esp + 0x24], 0
jne 0x100a1335
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx + 8]
mov edi, dword [esp + 0x38]
call fcn.10044460
movzx edx, byte [eax + 0x1c]
and edx, 0x1f
movzx ebx, byte [edx + 0x100abb34]
mov edi, esi
call fcn.10044400
cmp ebx, 5
je 0x100a14a6
mov dword [esp + 0xc], 7
xor edi, edi
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x70]
push edx
call sym.SQLite.Interop.dll_sqlite3_free
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0xf4]
add esp, 4
cmp esi, edi
je 0x100a12f6
mov eax, dword [esi + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [eax + 0xc]
cmp eax, edi
je 0x100a12cc
push eax
call dword [0x100c64a4]
add esp, 4
mov ecx, dword [esi + 0x14]
push ecx
call sym.SQLite.Interop.dll_sqlite3_finalize
mov eax, esi
mov esi, dword [esp + 0x34]
add esp, 4
mov ecx, esi
call fcn.10021de0
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x100a12f6
push eax
call dword [0x100c64ac]
add esp, 4
mov eax, dword [esp + 0xc]
cmp eax, edi
mov edx, dword [esp + 0x14]
mov dword [edx + 0xf4], edi
je 0x100a1545
push eax
push ebx
call sym.SQLite.Interop.dll_sqlite3_result_error_code
mov eax, dword [esp + 0x54]
push eax
call sym.SQLite.Interop.dll_sqlite3_free
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.100019b7
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x24]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x14]
push eax
lea ebx, [esp + 0x44]
call fcn.10010da0
add esp, 8
test eax, eax
mov dword [esp + 0xc], eax
jne 0x100a1293
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [eax + 0x14]
lea edx, [esp + 0x40]
push edx
push esi
call ecx
add esp, 0x18
test eax, eax
mov dword [esp + 0xc], eax
jne 0x100a1481
jmp 0x100a13a0
mov eax, dword [esp + 0x84]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x10], 0x7fffffff
jle 0x100a1486
mov ecx, dword [esp + 0x70]
add ecx, 4
mov edi, eax
cmp dword [ecx - 4], 0
lea edx, [ecx - 4]
je 0x100a13dc
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
cmp eax, dword [esp + 0x10]
jge 0x100a13dc
mov dword [esp + 0x10], eax
mov ebx, edx
add ecx, 0xc
sub edi, 1
jne 0x100a13c2
test ebx, ebx
je 0x100a1486
mov edi, dword [ebx]
mov al, byte [edi]
test al, 0xfe
jne 0x100a13fc
mov dword [ebx], 0
jmp 0x100a142b
test al, al
jns 0x100a1411
lea esi, [esp + 0x48]
mov ecx, edi
call fcn.100111f0
mov esi, dword [esp + 0x3c]
jmp 0x100a141d
movzx edx, al
mov dword [esp + 0x48], edx
mov eax, 1
add edi, eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffffe
mov dword [ebx], edi
add dword [ebx + 4], eax
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x40], ecx
jge 0x100a14c2
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x28]
push edx
mov edx, dword [ecx + 0x14]
lea eax, [esp + 0x40]
push eax
push esi
call edx
add esp, 0x18
test eax, eax
mov dword [esp + 0xc], eax
je 0x100a142b
cmp dword [esp + 0xc], 0x65
je 0x100a152a
cmp dword [esp + 0xc], 0
je 0x100a13a0
mov eax, dword [esp + 0xc]
cmp eax, 0x65
jne 0x100a148e
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x10]
push esi
call eax
add esp, 4
cmp dword [esp + 0xc], 0
jne 0x100a1293
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
xor edi, edi
cmp eax, dword [ecx + 0x18]
mov dword [esp + 0x2c], eax
jl 0x100a11b0
jmp 0x100a1295
cmp dword [esp + 0xc], 0
jne 0x100a1467
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
sub ebx, dword [esp + 0x70]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x30]
push eax
mov eax, 0x2aaaaaab
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ecx
push str._d__d__d__d
lea edx, [esp + 0x9c]
push edx
push 0x40
call sym.SQLite.Interop.dll_sqlite3_snprintf
lea eax, [esp + 0xa4]
add esp, 0x1c
push eax
or eax, 0xffffffff
lea esi, [esp + 0x50]
call fcn.10055f10
mov esi, dword [esp + 0x40]
add esp, 4
mov dword [esp + 0xc], eax
jmp 0x100a1472
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x28], 0
jne 0x100a1486
mov dword [esp + 0xc], 0x10b
jmp 0x100a148e
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push 1
add ecx, 0xffffffff
push edx
mov eax, sym.SQLite.Interop.dll_sqlite3_free
lea esi, [ebx + 8]
mov edx, esi
call fcn.1003a940
add esp, 8
cmp eax, 0x12
jne 0x100a1587
push 1
mov dword [ebx + 0x40], eax
push str.string_or_blob_too_big
xor eax, eax
or ecx, 0xffffffff
mov edx, esi
mov byte [ebx + 0x45], 1
call fcn.1003a940
add esp, 8
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100019b7
mov esp, ebp
pop ebp
ret