Function at 0x10072df0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x100ca170]
xor eax, esp
mov dword [esp + 0x108], eax
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ecx + 0x34]
push edi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x100], eax
mov byte [esp + 0x104], al
mov dword [esp + 0x24], esi
cmp edx, eax
jne 0x10072e65
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.10001180
mov esp, ebp
pop ebp
ret
movzx edi, word [ecx + 0x12]
movzx eax, byte [ecx + 1]
lea esi, [eax + edi]
cmp esi, 2
jge 0x10072e7f
mov dword [esp + 0x4c], 0
jmp 0x10072ea9
test ebx, ebx
jne 0x10072e89
mov dword [esp + 0x4c], ebx
jmp 0x10072e9f
cmp ebx, esi
jne 0x10072e9a
mov edx, dword [ebp + 0x10]
lea edx, [esi + edx - 2]
mov dword [esp + 0x4c], edx
jmp 0x10072e9f
dec ebx
mov dword [esp + 0x4c], ebx
mov edx, 2
sub edx, dword [ebp + 0x10]
mov esi, edx
lea edx, [esi + 1]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x4c]
sub edx, eax
add edx, esi
cmp edx, edi
jne 0x10072ecd
movzx eax, byte [ecx + 6]
mov ecx, dword [ecx + 0x38]
lea ecx, [eax + ecx + 8]
mov dword [esp + 0x54], ecx
jmp 0x10072eee
mov eax, dword [ecx + 0x40]
lea edi, [eax + edx*2]
movzx eax, byte [edi]
movzx edx, byte [edi + 1]
shl eax, 8
or edx, eax
movzx eax, word [ecx + 0x14]
and edx, eax
add edx, dword [ecx + 0x38]
mov dword [esp + 0x54], edx
mov ecx, edx
movzx edi, byte [ecx]
movzx edx, byte [ecx + 1]
movzx eax, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
mov ebx, dword [esp + 0x24]
shl edi, 8
or edi, edx
shl edi, 8
or edi, eax
shl edi, 8
or edi, ecx
lea ecx, [esp + esi*4 + 0x64]
push 0
push ecx
mov dword [esp + 0x60], edi
mov dword [esp + 0x34], ecx
call fcn.1006e550
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100730e7
mov edx, dword [esp + 0x4c]
lea ecx, [edx + esi]
jmp 0x10072f44
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
movzx edx, word [eax + 0x12]
movzx eax, byte [eax + 1]
add eax, dword [esp + 0x1c]
dec ecx
lea eax, [eax + edx + 1]
mov edx, esi
dec esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x50], ecx
test edx, edx
je 0x10073103
mov edi, dword [esp + 0x5c]
movzx eax, word [edi + 0x16]
cmp ecx, eax
jne 0x10072fdb
cmp byte [edi + 1], 0
je 0x10072fdb
mov ebx, dword [edi + 0x20]
movzx ecx, byte [ebx + 1]
movzx edx, byte [ebx + 2]
lea eax, [esi*4]
mov dword [esp + 0x38], eax
mov dword [esp + eax + 0x88], ebx
movzx eax, byte [ebx]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebx + 3]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
push edi
mov dword [esp + 0x5c], eax
call fcn.100148c0
movzx edx, ax
mov eax, dword [esp + 0x3c]
add esp, 4
mov dword [esp + eax + 0xa4], edx
mov byte [edi + 1], 0
jmp 0x100730bc
movzx ecx, byte [edi + 1]
mov edx, dword [esp + 0x4c]
mov eax, dword [edi + 0x40]
sub edx, ecx
mov ecx, dword [edi + 0x38]
add edx, esi
lea eax, [eax + edx*2]
movzx edx, byte [eax]
movzx eax, byte [eax + 1]
shl edx, 8
or edx, eax
movzx eax, word [edi + 0x14]
and edx, eax
lea ebx, [edx + ecx]
movzx ecx, byte [ebx + 1]
movzx edx, byte [ebx + 2]
lea eax, [esi*4]
mov dword [esp + 0x38], eax
lea eax, [esp + eax + 0x88]
mov dword [esp + 0x20], eax
mov dword [eax], ebx
movzx eax, byte [ebx]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebx + 3]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
push edi
mov dword [esp + 0x5c], eax
call fcn.100148c0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
movzx eax, ax
add esp, 4
test byte [ecx + 0x16], 4
mov dword [esp + 0x2c], eax
mov dword [esp + edx + 0xa4], eax
je 0x10073097
mov edx, dword [esp + 0x2c]
mov eax, ebx
sub eax, dword [edi + 0x38]
add edx, eax
cmp edx, dword [ecx + 0x24]
jg 0x10073d7c
mov ecx, dword [esp + 0x2c]
push ecx
push ebx
mov ebx, dword [esp + 0x68]
lea edx, [ebx + eax]
push edx
call fcn.100091c0
sub ebx, dword [edi + 0x38]
mov eax, dword [esp + 0x2c]
add esp, 0xc
add dword [eax], ebx
movzx edx, byte [edi + 1]
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x50]
sub eax, edx
add eax, esi
push ecx
push eax
mov esi, edi
call fcn.10066ec0
mov esi, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x24]
lea eax, [esp + eax + 0x64]
push 0
push eax
mov dword [esp + 0x34], eax
call fcn.1006e550
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x10072f40
lea ecx, [esi*4 + 4]
push ecx
lea edx, [esp + 0x68]
push 0
push edx
call fcn.10004b00
add esp, 0xc
jmp 0x10073db1
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x20]
lea edi, [eax + 3]
and edi, 0xfffffffc
lea eax, [edi + edi*2]
lea eax, [edx + eax*2]
call fcn.10028a50
mov dword [esp + 0x48], eax
test eax, eax
jne 0x10073130
mov dword [esp + 0x14], 7
jmp 0x10073db1
lea esi, [eax + edi*4]
lea eax, [esi + edi*2]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x64]
movzx cx, byte [eax + 5]
movzx eax, byte [eax + 3]
add cx, cx
add cx, cx
cmp dword [esp + 0x40], 0
movzx edx, cx
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x10], 0
jle 0x1007335f
nop
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + ecx*4 + 0x64]
mov cl, byte [edi + 1]
movzx eax, word [edi + 0x12]
movzx edx, cl
add eax, edx
mov dword [esp + 0x30], eax
test cl, cl
jbe 0x1007321c
mov dword [esp + 0x1c], 0
test eax, eax
jle 0x10073298
mov esi, dword [esp + 0x28]
movzx eax, byte [edi + 1]
sub eax, 1
mov ecx, dword [esp + 0x1c]
js 0x100731c7
lea ebx, [edi + eax*2 + 0x16]
movzx edx, word [ebx]
cmp edx, ecx
jg 0x100731bf
je 0x10073216
dec ecx
dec eax
sub ebx, 2
test eax, eax
jge 0x100731b5
mov eax, dword [edi + 0x40]
movzx ebx, byte [eax + ecx*2 + 1]
movzx edx, word [edi + 0x14]
lea eax, [eax + ecx*2]
movzx ecx, byte [eax]
shl ecx, 8
or ebx, ecx
and ebx, edx
add ebx, dword [edi + 0x38]
mov eax, dword [esp + 0x48]
push edi
mov dword [eax + esi*4], ebx
call fcn.100148c0
mov ecx, dword [esp + 0x3c]
mov word [ecx + esi*2], ax
mov eax, dword [esp + 0x20]
inc eax
add esp, 4
inc esi
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
jl 0x100731a4
mov dword [esp + 0x28], esi
mov esi, ecx
jmp 0x10073298
mov ebx, dword [edi + eax*4 + 0x20]
jmp 0x100731e3
mov edx, dword [edi + 0x38]
movzx ecx, word [edi + 0x14]
mov dword [esp + 0x3c], edx
movzx edx, word [edi + 0xe]
test eax, eax
jle 0x10073298
movzx eax, cx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x50], eax
movzx eax, dx
add eax, dword [esp + 0x3c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], eax
lea esp, [esp]
mov eax, dword [esp + 0x1c]
movzx edx, byte [eax + 1]
movzx eax, byte [eax]
mov ecx, dword [esp + 0x3c]
shl eax, 8
or edx, eax
and edx, dword [esp + 0x50]
mov eax, dword [esp + 0x28]
lea ebx, [edx + ecx]
mov edx, dword [esp + 0x48]
push edi
mov dword [edx + eax*4], ebx
call fcn.100148c0
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x20], 2
mov word [esi + ecx*2], ax
inc ecx
add esp, 4
sub dword [esp + 0x30], 1
mov dword [esp + 0x28], ecx
jne 0x10073250
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
dec ecx
cmp eax, ecx
mov dword [esp + eax*4 + 0xec], ebx
jge 0x10073350
cmp dword [esp + 0x44], 0
jne 0x10073350
mov edx, dword [esp + 0x20]
mov ecx, eax
movzx eax, word [esp + ecx*4 + 0xa4]
mov ecx, dword [esp + 0x34]
mov word [esi + ebx*2], ax
movzx eax, ax
add edx, ecx
add ecx, eax
push eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + eax*4 + 0x8c]
push ecx
push edx
mov dword [esp + 0x5c], edx
call fcn.100091c0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x54]
movzx edx, ax
add edx, dword [esp + 0x5c]
add esp, 0xc
mov dword [ecx + ebx*4], edx
sub word [esi + ebx*2], ax
cmp byte [edi + 5], 0
movzx eax, word [esi + ebx*2]
jne 0x10073327
mov eax, dword [edi + 0x38]
mov ecx, dword [ecx + ebx*4]
mov edx, dword [eax + 8]
mov dword [ecx], edx
jmp 0x10073347
cmp ax, 4
jae 0x10073347
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov byte [ecx + eax], 0
inc eax
mov edx, 4
mov dword [esp + 0x34], eax
mov word [esi + ebx*2], dx
mov eax, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x28], ebx
inc eax
cmp eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
jl 0x10073170
movzx eax, word [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x24]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x88], eax
lea eax, [edx + eax - 0xc]
mov dword [esp + 0x50], eax
xor ecx, ecx
xor edx, edx
xor eax, eax
test ebx, ebx
jle 0x100733ca
jmp 0x10073390
movzx edi, word [esi + ecx*2]
lea eax, [eax + edi + 2]
cmp eax, dword [esp + 0x50]
jle 0x100733c5
sub eax, edi
sub eax, 2
cmp dword [esp + 0x44], 0
mov dword [esp + edx*4 + 0xa4], eax
mov dword [esp + edx*4 + 0x90], ecx
je 0x100733b9
dec ecx
inc edx
xor eax, eax
cmp edx, 4
jg 0x10073458
inc ecx
cmp ecx, ebx
jl 0x10073390
mov dword [esp + edx*4 + 0xa4], eax
mov dword [esp + edx*4 + 0x90], ebx
inc edx
mov dword [esp + 0x3c], edx
dec edx
mov dword [esp + 0x10], edx
test edx, edx
jle 0x1007349d
lea ebx, [ebx]
mov ecx, dword [esp + edx*4 + 0xa0]
mov ebx, dword [esp + edx*4 + 0xa4]
mov dword [esp + 0x34], ecx
mov eax, dword [esp + edx*4 + 0x8c]
dec eax
mov ecx, eax
sub ecx, dword [esp + 0x44]
inc ecx
test ebx, ebx
je 0x10073438
cmp dword [ebp + 0x10], 0
jne 0x1007347e
movzx edx, word [esi + eax*2]
mov edi, dword [esp + 0x34]
sub edi, edx
movzx edx, word [esi + ecx*2]
lea edx, [edx + ebx + 2]
sub edi, 2
cmp edx, edi
mov edx, dword [esp + 0x10]
jg 0x1007347e
movzx ecx, word [esi + ecx*2]
movzx eax, word [esi + eax*2]
lea ebx, [ebx + ecx + 2]
mov ecx, 0xfffffffe
sub ecx, eax
add dword [esp + 0x34], ecx
dec dword [esp + edx*4 + 0x8c]
jmp 0x10073402
push 0x100b88d4
push 0xe895
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call sym.SQLite.Interop.dll_sqlite3_log
add esp, 0x10
mov dword [esp + 0x14], 0xb
jmp 0x10073db1
mov eax, dword [esp + 0x34]
mov dword [esp + edx*4 + 0xa4], ebx
mov dword [esp + edx*4 + 0xa0], eax
dec edx
mov dword [esp + 0x10], edx
test edx, edx
jg 0x100733f0
mov eax, dword [esp + 0x64]
cmp dword [eax + 0x48], 1
ja 0x100734b3
push 0x100b88d4
push 0xe8d0
jmp 0x10073462
mov ecx, dword [eax + 0x38]
movzx edx, byte [ecx]
xor edi, edi
cmp dword [esp + 0x3c], edi
mov dword [esp + 0x30], edx
jle 0x100735b9
cmp edi, dword [esp + 0x40]
jge 0x10073526
mov eax, dword [esp + edi*4 + 0x64]
mov ecx, dword [eax + 0x44]
mov dword [esp + edi*4 + 0x74], eax
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 0x94]
mov dword [esp + edi*4 + 0x64], 0
push ecx
cmp edx, dword [eax + 0x98]
jbe 0x1007350f
call fcn.1003f910
inc dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jmp 0x100735a8
call fcn.1003a3a0
inc dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jmp 0x100735a8
cmp dword [ebp + 0x10], 0
mov eax, 1
jne 0x10073535
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x24]
push 0
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.1006d880
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10073db1
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
push eax
call fcn.10067000
mov eax, dword [esp + 0x28]
inc dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp byte [eax + 0x11], 0
mov dword [esp + edi*4 + 0x74], esi
mov dword [esp + edi*4 + 0xec], ecx
je 0x100735ae
lea edx, [esp + 0x14]
push edx
push 5
push eax
mov eax, dword [esp + 0x68]
mov ebx, dword [eax + 0x48]
mov eax, dword [esi + 0x48]
call fcn.1006c670
add esp, 0xc
cmp dword [esp + 0x14], 0
jne 0x10073db1
inc edi
cmp edi, dword [esp + 0x3c]
jl 0x100734c9
mov esi, dword [esp + 0x18]
xor eax, eax
test esi, esi
jle 0x10073607
mov ecx, dword [esp + eax*4 + 0x74]
mov edx, dword [ecx + 0x48]
mov ecx, dword [ecx + 0x44]
mov cx, word [ecx + 0x18]
mov word [esp + eax*2 + 0x108], cx
xor ecx, ecx
mov dword [esp + eax*4 + 0xd0], edx
mov dword [esp + eax*4 + 0xb8], edx
test eax, eax
jle 0x10073602
lea ecx, [ecx]
cmp dword [esp + ecx*4 + 0xd0], edx
je 0x100736e1
inc ecx
cmp ecx, eax
jl 0x100735f0
inc eax
cmp eax, esi
jl 0x100735c3
xor edi, edi
mov dword [esp + 0x10], edi
test esi, esi
jle 0x10073833
xor ebx, ebx
lea eax, [ebx + 1]
cmp esi, eax
jle 0x10073644
xor edx, edx
lea ecx, [eax*4]
mov edi, dword [esp + ecx + 0xb8]
cmp edi, dword [esp + edx + 0xb8]
jae 0x1007363b
mov ebx, eax
mov edx, ecx
inc eax
cmp eax, esi
jl 0x10073620
mov edi, dword [esp + 0x10]
mov edx, dword [esp + ebx*4 + 0xb8]
mov dword [esp + 0x58], edx
mov dword [esp + ebx*4 + 0xb8], 0xffffffff
cmp ebx, edi
je 0x10073826
jle 0x10073749
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + ebx*4 + 0x74]
mov esi, dword [edx + 0x44]
mov edx, dword [esi]
lea edi, [ecx + ebx + 1]
mov ecx, dword [esi + 0x14]
xor eax, eax
push edi
mov word [esi + 0x18], ax
mov eax, dword [esi + 0x1c]
push ecx
mov ecx, dword [eax + 0x28]
push edx
push ecx
call dword [0x100cb44c]
movzx eax, word [esi + 0x18]
add esp, 0x10
mov dword [esi + 0x14], edi
test al, 2
je 0x10073749
test al, 4
je 0x10073749
mov ecx, dword [esi + 0x1c]
cmp dword [ecx + 8], esi
jne 0x100736d0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x100736cd
mov edi, edi
test byte [eax + 0x18], 4
je 0x100736cd
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x100736c0
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x20]
xor edx, edx
cmp eax, edx
je 0x100736f0
mov edi, dword [esi + 0x24]
mov dword [eax + 0x24], edi
jmp 0x100736f6
push 0x100b88d4
push 0xe907
jmp 0x10073462
mov eax, dword [esi + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x24]
cmp eax, edx
je 0x10073705
mov edi, dword [esi + 0x20]
mov dword [eax + 0x20], edi
jmp 0x10073718
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
cmp eax, edx
jne 0x10073718
cmp byte [ecx + 0x1c], 0
je 0x10073718
mov byte [ecx + 0x1d], 2
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], edx
mov eax, dword [ecx]
mov dword [esi + 0x20], eax
cmp eax, edx
je 0x1007372c
mov dword [eax + 0x24], esi
jmp 0x10073739
cmp byte [ecx + 0x1c], 0
mov dword [ecx + 4], esi
je 0x10073739
mov byte [ecx + 0x1d], 1
mov dword [ecx], esi
cmp dword [ecx + 8], edx
jne 0x10073749
test byte [esi + 0x18], 4
jne 0x10073749
mov dword [ecx + 8], esi
mov edi, dword [esp + 0x10]
mov eax, dword [esp + edi*4 + 0x74]
mov esi, dword [eax + 0x44]
mov cx, word [esp + ebx*2 + 0x108]
mov ebx, dword [esp + 0x58]
mov edx, dword [esi + 0x14]
mov eax, dword [esi]
push ebx
mov word [esi + 0x18], cx
mov ecx, dword [esi + 0x1c]
push edx
mov edx, dword [ecx + 0x28]
push eax
push edx
call dword [0x100cb44c]
movzx eax, word [esi + 0x18]
add esp, 0x10
mov dword [esi + 0x14], ebx
test al, 2
je 0x1007381b
test al, 4
je 0x1007381b
mov ecx, dword [esi + 0x1c]
cmp dword [ecx + 8], esi
jne 0x100737b2
mov eax, dword [esi + 0x24]
test eax, eax
je 0x100737af
test byte [eax + 0x18], 4
je 0x100737af
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x100737a2
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x100737c1
mov edx, dword [esi + 0x24]
mov dword [eax + 0x24], edx
jmp 0x100737c7
mov eax, dword [esi + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x24]
test eax, eax
je 0x100737d6
mov edx, dword [esi + 0x20]
mov dword [eax + 0x20], edx
jmp 0x100737e8
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
test eax, eax
jne 0x100737e8
cmp byte [ecx + 0x1c], al
je 0x100737e8
mov byte [ecx + 0x1d], 2
xor edx, edx
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], edx
mov eax, dword [ecx]
mov dword [esi + 0x20], eax
cmp eax, edx
je 0x100737fe
mov dword [eax + 0x24], esi
jmp 0x1007380b
cmp byte [ecx + 0x1c], 0
mov dword [ecx + 4], esi
je 0x1007380b
mov byte [ecx + 0x1d], 1
mov dword [ecx], esi
cmp dword [ecx + 8], edx
jne 0x1007381b
test byte [esi + 0x18], 4
jne 0x1007381b
mov dword [ecx + 8], esi
mov eax, dword [esp + edi*4 + 0x74]
mov esi, dword [esp + 0x18]
mov dword [eax + 0x48], ebx
inc edi
cmp edi, esi
mov dword [esp + 0x10], edi
jl 0x10073615
mov edi, dword [esp + esi*4 + 0x70]
mov eax, dword [edi + 0x48]
mov ecx, dword [esp + 0x54]
mov edx, eax
shr edx, 0x18
mov byte [ecx], dl
mov edx, eax
shr edx, 0x10
mov byte [ecx + 1], dl
mov edx, eax
shr edx, 8
test byte [esp + 0x30], 8
mov byte [ecx + 2], dl
mov byte [ecx + 3], al
jne 0x10073881
mov eax, dword [esp + 0x40]
cmp esi, eax
je 0x10073881
lea ecx, [esp + 0x74]
jg 0x10073871
lea ecx, [esp + 0x64]
mov eax, dword [ecx + eax*4 - 4]
mov ecx, dword [eax + 0x38]
mov edx, dword [edi + 0x38]
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x11], 0
mov eax, dword [esp + 0x74]
je 0x10073a3e
mov edx, dword [eax + 0x38]
movzx ebx, word [eax + 0x12]
mov edi, eax
movzx eax, byte [eax + 1]
add ebx, eax
xor eax, eax
mov dword [esp + 0x30], edx
mov edx, dword [ecx + 0x24]
xor ecx, ecx
cmp dword [esp + 0x28], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x10], eax
jle 0x10073a3e
mov dword [esp + 0x3c], eax
jmp 0x100738d5
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x48]
mov esi, dword [edx + eax*4]
cmp eax, ebx
jne 0x1007391c
inc ecx
cmp ecx, dword [esp + 0x18]
mov dword [esp + 0x54], ecx
jge 0x100738f1
mov eax, dword [esp + ecx*4 + 0x74]
jmp 0x100738f5
mov eax, dword [esp + ecx*4 + 0x64]
movzx edx, byte [eax + 1]
movzx ecx, word [eax + 0x12]
mov eax, dword [eax + 0x38]
add ecx, edx
xor edx, edx
cmp dword [esp + 0x44], edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
sete dl
add edx, ebx
lea ebx, [edx + ecx]
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x3c]
cmp eax, dword [esp + ecx + 0x90]
jne 0x10073949
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x20], ecx
add ecx, ecx
add ecx, ecx
cmp dword [esp + 0x44], 0
mov edi, dword [esp + ecx + 0x74]
mov dword [esp + 0x3c], ecx
je 0x10073a2f
mov ecx, dword [esp + 0x54]
cmp ecx, dword [esp + 0x18]
jge 0x10073975
mov edx, dword [edi + 0x48]
cmp edx, dword [esp + ecx*4 + 0xd0]
jne 0x10073975
mov ecx, dword [esp + 0x30]
cmp esi, ecx
jb 0x10073975
mov edx, dword [esp + 0x34]
add edx, ecx
cmp esi, edx
jb 0x10073a2f
cmp word [esp + 0x2c], 0
jne 0x100739ba
movzx ecx, byte [esi + 1]
movzx edx, byte [esi + 2]
mov ebx, dword [edi + 0x48]
lea eax, [esp + 0x14]
push eax
movzx eax, byte [esi]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 3]
shl eax, 8
or eax, edx
mov edx, dword [esp + 0x28]
shl eax, 8
push 5
or eax, ecx
push edx
call fcn.1006c670
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x38]
mov dx, word [ecx + eax*2]
cmp dx, word [edi + 0xc]
jbe 0x10073a2f
cmp dword [esp + 0x14], 0
jne 0x10073a2f
push esi
push edi
lea eax, [esp + 0xc0]
call fcn.10021450
mov ax, word [esp + 0xd2]
add esp, 8
test ax, ax
je 0x10073a2b
mov ebx, dword [edi + 0x48]
movzx ecx, ax
movzx edx, byte [ecx + esi]
add ecx, esi
lea eax, [esp + 0x14]
push eax
movzx eax, byte [ecx + 1]
shl edx, 8
or eax, edx
movzx edx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl eax, 8
or eax, edx
mov edx, dword [edi + 0x34]
shl eax, 8
push 3
or eax, ecx
push edx
call fcn.1006c670
mov ebx, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
jl 0x100738d1
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x10073b98
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + eax*4 + 0x90]
mov edi, dword [esp + eax*4 + 0x74]
mov eax, dword [esp + 0x48]
mov edx, dword [eax + ecx*4]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x60]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x20], edx
movzx edx, word [eax + ecx*2]
movzx eax, dx
add eax, dword [esp + 0x88]
add esi, ebx
cmp byte [edi + 5], 0
jne 0x10073aa4
mov ebx, dword [esp + 0x20]
mov ecx, dword [edi + 0x38]
mov edx, dword [ebx]
mov dword [ecx + 8], edx
jmp 0x10073b52
cmp dword [esp + 0x44], 0
je 0x10073b35
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + ecx*4 - 4]
push ecx
push edi
lea eax, [esp + 0xd8]
call fcn.10021450
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0xd8]
mov ebx, esi
add esp, 8
add esi, 4
test edx, edx
ja 0x10073b22
jb 0x10073ae6
cmp eax, 0x7f
ja 0x10073af6
and al, 0x7f
mov byte [esi], al
mov eax, 1
add eax, 4
xor esi, esi
jmp 0x10073b52
test edx, edx
ja 0x10073b22
jb 0x10073b03
cmp eax, 0x3fff
ja 0x10073b22
mov ecx, eax
shrd ecx, edx, 7
and al, 0x7f
mov byte [esi + 1], al
or cl, 0x80
mov eax, 2
shr edx, 7
mov byte [esi], cl
add eax, 4
xor esi, esi
jmp 0x10073b52
push edx
push eax
mov ecx, esi
call fcn.100165a0
add esp, 8
add eax, 4
xor esi, esi
jmp 0x10073b52
mov ebx, dword [esp + 0x20]
sub ebx, 4
cmp dx, 4
jne 0x10073b52
mov edx, dword [esp + 0x5c]
push edx
call fcn.100148c0
add esp, 4
movzx eax, ax
mov edx, dword [edi + 0x48]
add dword [esp + 0x70], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x58]
add eax, ecx
mov ecx, dword [esp + 0x68]
push ebx
push eax
mov eax, esi
call fcn.1006f350
add esp, 0x14
cmp dword [esp + 0x14], 0
jne 0x10073db1
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
jl 0x10073a5b
mov edx, dword [esp + 0x18]
mov eax, 1
sub eax, edx
cmp eax, edx
mov dword [esp + 0x10], eax
jge 0x10073c85
mov edi, dword [esp + 0x44]
mov ecx, eax
neg ecx
mov dword [esp + 0x60], ecx
jmp 0x10073bc0
mov esi, ecx
test eax, eax
jl 0x10073bc8
mov esi, eax
cmp byte [esp + esi + 0x100], 0
jne 0x10073c73
test eax, eax
jge 0x10073bee
mov ebx, dword [esp + esi*4 + 0xe8]
cmp ebx, dword [esp + esi*4 + 0x8c]
jl 0x10073c73
test esi, esi
jne 0x10073bff
mov eax, dword [esp + 0x90]
xor ecx, ecx
xor ebx, ebx
jmp 0x10073c30
cmp esi, dword [esp + 0x40]
jge 0x10073c15
xor ecx, ecx
test edi, edi
sete cl
add ecx, dword [esp + esi*4 + 0xe8]
jmp 0x10073c19
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + esi*4 + 0x90]
xor ebx, ebx
test edi, edi
sete bl
add ebx, dword [esp + esi*4 + 0x8c]
sub eax, ebx
mov edx, dword [esp + 0x38]
mov edi, dword [esp + esi*4 + 0x74]
push edx
mov edx, dword [esp + 0x4c]
push edx
push eax
push ecx
mov eax, edi
call fcn.10068180
mov ax, word [esp + 0x60]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x70]
add esp, 0x10
sub ax, word [esp + esi*4 + 0xa4]
mov byte [esp + esi + 0x100], 1
mov word [edi + 0x10], ax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x44]
inc eax
dec ecx
cmp eax, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x60], ecx
jl 0x10073bc0
cmp dword [ebp + 0xc], 0
je 0x10073ce4
mov esi, dword [esp + 0x5c]
cmp word [esi + 0x12], 0
jne 0x10073ce4
movzx cx, byte [esi + 6]
mov edx, dword [esp + 0x74]
cmp cx, word [edx + 0x10]
ja 0x10073ce4
mov edi, edx
call fcn.10064890
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
mov eax, esi
mov ebx, edi
call fcn.10071990
add esp, 4
cmp dword [esp + 0x14], 0
jne 0x10073d47
mov ecx, dword [edi + 0x48]
mov edx, dword [edi + 0x34]
push ecx
push edx
mov eax, edi
call fcn.1006d490
add esp, 8
mov dword [esp + 0x14], eax
jmp 0x10073d47
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x11], 0
je 0x10073d47
cmp word [esp + 0x2c], 0
jne 0x10073d47
xor esi, esi
cmp dword [esp + 0x18], esi
jle 0x10073d47
mov edi, dword [esp + 0x18]
mov edx, dword [esp + esi*4 + 0x74]
mov ecx, dword [edx + 0x38]
movzx ebx, byte [ecx + 8]
add ecx, 8
lea eax, [esp + 0x14]
push eax
movzx eax, byte [ecx + 1]
shl ebx, 8
or eax, ebx
movzx ebx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl eax, 8
or eax, ebx
mov ebx, dword [edx + 0x48]
shl eax, 8
or eax, ecx
mov ecx, dword [esp + 0x28]
push 5
push ecx
call fcn.1006c670
inc esi
add esp, 0xc
cmp esi, edi
jl 0x10073d02
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x40]
cmp esi, edi
jge 0x10073db1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + esi*4 + 0x64]
test eax, eax
jne 0x10073d71
mov edx, dword [ecx + 0x48]
mov eax, dword [ecx + 0x34]
push edx
push eax
mov eax, ecx
call fcn.1006d490
add esp, 8
inc esi
cmp esi, edi
jl 0x10073d57
mov dword [esp + 0x14], eax
jmp 0x10073db1
push 0x100b88d4
push 0xe80b
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call sym.SQLite.Interop.dll_sqlite3_log
lea ecx, [esi*4 + 4]
push ecx
lea edx, [esp + 0x78]
push 0
push edx
mov dword [esp + 0x30], 0xb
call fcn.10004b00
add esp, 0x1c
mov esi, dword [esp + 0x48]
call fcn.1001e370
xor edi, edi
cmp dword [esp + 0x40], edi
mov dword [esp + 0x10], edi
jle 0x10073e92
mov eax, dword [esp + edi*4 + 0x64]
test eax, eax
je 0x10073e83
mov eax, dword [eax + 0x44]
test byte [eax + 0x18], 0x40
mov esi, dword [eax + 0x10]
je 0x10073e23
dec dword [esi + 0x78]
mov ecx, dword [esi + 0x88]
mov dword [eax + 0xc], ecx
mov edi, dword [esi + 0x3c]
mov dword [esi + 0x88], eax
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 0x98]
mov ebx, dword [edi]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.100083f0
push edx
mov edx, dword [ebx + 0x48]
push eax
push edi
call edx
mov edi, dword [esp + 0x20]
add esp, 0x10
jmp 0x10073e28
call fcn.1001d7d0
cmp dword [esi + 0x78], 0
jne 0x10073e83
mov eax, dword [esi + 0xdc]
cmp dword [eax + 0xc], 0
jne 0x10073e83
mov al, byte [esi + 0x10]
cmp al, 6
je 0x10073e7c
test al, al
je 0x10073e7c
cmp al, 2
jb 0x10073e68
mov eax, dword [0x100cd594]
test eax, eax
je 0x10073e54
call eax
mov eax, esi
call fcn.10069de0
mov eax, dword [0x100cd598]
test eax, eax
je 0x10073e7c
call eax
jmp 0x10073e7c
cmp byte [esi + 4], 0
jne 0x10073e7c
push 0
push 0
mov eax, esi
call fcn.10027e40
add esp, 8
mov eax, esi
call fcn.1002cba0
inc edi
cmp edi, dword [esp + 0x40]
mov dword [esp + 0x10], edi
jl 0x10073dca
xor edi, edi
cmp dword [esp + 0x18], edi
mov dword [esp + 0x10], edi
jle 0x10073f6a
mov eax, dword [esp + edi*4 + 0x74]
test eax, eax
je 0x10073f5b
mov eax, dword [eax + 0x44]
test byte [eax + 0x18], 0x40
mov esi, dword [eax + 0x10]
je 0x10073efb
dec dword [esi + 0x78]
mov ecx, dword [esi + 0x88]
mov dword [eax + 0xc], ecx
mov edi, dword [esi + 0x3c]
mov dword [esi + 0x88], eax
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 0x98]
mov ebx, dword [edi]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.100083f0
push edx
mov edx, dword [ebx + 0x48]
push eax
push edi
call edx
mov edi, dword [esp + 0x20]
add esp, 0x10
jmp 0x10073f00
call fcn.1001d7d0
cmp dword [esi + 0x78], 0
jne 0x10073f5b
mov eax, dword [esi + 0xdc]
cmp dword [eax + 0xc], 0
jne 0x10073f5b
mov al, byte [esi + 0x10]
cmp al, 6
je 0x10073f54
test al, al
je 0x10073f54
cmp al, 2
jb 0x10073f40
mov eax, dword [0x100cd594]
test eax, eax
je 0x10073f2c
call eax
mov eax, esi
call fcn.10069de0
mov eax, dword [0x100cd598]
test eax, eax
je 0x10073f54
call eax
jmp 0x10073f54
cmp byte [esi + 4], 0
jne 0x10073f54
push 0
push 0
mov eax, esi
call fcn.10027e40
add esp, 8
mov eax, esi
call fcn.1002cba0
inc edi
cmp edi, dword [esp + 0x18]
mov dword [esp + 0x10], edi
jl 0x10073ea2
mov ecx, dword [esp + 0x114]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10001180
mov esp, ebp
pop ebp
ret