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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x10291210]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x28]
add ecx, ecx
mov eax, 0xaaaaaaab
mul ecx
xor ebx, ebx
shr edx, 1
push edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], ebx
jmp 0x10193630
mov edi, dword [esi + 0x74]
cmp dword [edi + 0x14], 0
mov dword [esp + 0x1c], edi
jge 0x1019364e
push edi
call fcn.1011dd80
add esp, 4
test eax, eax
jne 0x10193886
mov cl, byte [edi + 0xc]
test cl, cl
jne 0x10193662
mov edx, dword [esp + 0x24]
cmp dword [edi + 0x14], edx
jle 0x10193886
movsx eax, byte [esi + 0x44]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x101936cd
test cl, cl
je 0x10193886
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 8]
test eax, eax
je 0x1019369c
cmp eax, esi
je 0x10193695
cmp byte [eax], 0
jne 0x10193695
mov ecx, dword [eax + 0x74]
cmp ecx, dword [esi + 0x74]
je 0x10193863
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x10193680
lea eax, [esi + 0x7c]
push eax
call fcn.1018c8c0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x10193886
mov ecx, dword [esp + 0x1c]
xor edx, edx
mov dword [esi + 0x46], edx
mov edx, dword [esi + 0x7c]
mov byte [esi + 0x44], 1
mov dword [esi + 0x78], ecx
mov dword [esi + 0x74], edx
jmp 0x10193630
mov edi, dword [esi + eax*4 + 0x74]
movzx eax, word [esi + eax*2 + 0x46]
mov ebx, dword [edi + 0x48]
test byte [ebx + 0x1c], 4
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x14]
je 0x1019370e
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebx + 0x18]
jb 0x1019370e
cmp dword [eax + 0x60], 0
je 0x10193743
mov ecx, ebx
call fcn.1012c010
test eax, eax
je 0x1019370a
push ebx
call fcn.1015c740
add esp, 4
jmp 0x10193739
xor eax, eax
jmp 0x10193739
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x10193719
mov ebx, ecx
jmp 0x1019373b
mov edx, dword [eax + 0x94]
cmp edx, dword [eax + 0x98]
jbe 0x10193732
push ebx
call fcn.1016da20
add esp, 4
jmp 0x10193739
mov eax, ebx
call fcn.10167400
mov ebx, eax
test ebx, ebx
jne 0x101937e5
cmp dword [edi + 0x14], 0
jge 0x1019375c
push edi
call fcn.1011dd80
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x101937e5
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 3], 0
je 0x10193797
cmp byte [ecx + 0xc], 1
jne 0x10193797
mov ax, word [ecx + 0x1c]
cmp ax, word [ecx + 0x18]
jne 0x10193797
cmp dword [edi + 4], 1
je 0x10193797
movzx edx, word [edi + 0x18]
cmp edx, dword [esp + 0x20]
jne 0x10193797
push edi
lea edx, [esp + 0x30]
call fcn.101852f0
add esp, 4
mov ebx, eax
jmp 0x101937e5
mov eax, dword [esi + 0x14]
mov ebx, dword [eax + 0x24]
call fcn.10147370
movzx ecx, byte [esi + 3]
xor edx, edx
and ecx, 1
cmp dword [esp + 0x18], 1
push ecx
sete dl
mov ecx, eax
mov dword [esp + 0x18], eax
push edx
mov edx, dword [esp + 0x28]
push edi
call fcn.1018c9d0
mov ebx, eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
je 0x101937dd
mov esi, eax
call fcn.10135a90
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov byte [eax + 0xc], 0
mov eax, dword [eax + 0x48]
test byte [eax + 0x1c], 0x20
je 0x10193846
mov ecx, dword [eax + 0x14]
dec dword [ecx + 0x78]
mov edx, dword [ecx + 0x88]
mov dword [eax + 0x10], edx
mov edx, dword [ecx + 0x3c]
mov dword [ecx + 0x88], eax
mov edi, dword [edx]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x18]
dec eax
push edx
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x98]
cdq
push edx
push eax
mov eax, dword [esp + 0x20]
push 0
push eax
call fcn.10100050
mov ecx, dword [edi + 0x48]
push edx
push eax
mov eax, dword [esp + 0x24]
push eax
call ecx
add esp, 0x10
jmp 0x1019384b
call fcn.1012c920
dec byte [esi + 0x44]
movsx edx, byte [esi + 0x44]
mov eax, dword [esi + edx*4 + 0x78]
mov dword [esi + 0x74], eax
test ebx, ebx
je 0x10193630
jmp 0x10193886
push 0x1027dfdc
push 0x135ca
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call sym.SQLite.Interop.dll_sqlite3_log
add esp, 0x14
mov ebx, 0xb
mov esi, dword [esp + 0x10]
test esi, esi
je 0x10193893
call fcn.10135a90
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.100fd740
mov esp, ebp
pop ebp
ret