Function at 0x69a8f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x831184]
xor eax, esp
mov dword [esp + 0x58], eax
cmp dword [ebp + 0xc], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x1c], edx
mov edi, dword [ebx + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], ebx
je 0x69a98c
movzx ecx, byte [edx + 1]
lea eax, [edx + 1]
mov dword [esp + 0x2c], ecx
cmp ecx, 0x80
jae 0x69a93c
mov dword [esp + 0x28], 2
jmp 0x69a957
lea edx, [esp + 0x2c]
mov ecx, eax
call fcn.00677fc0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
movzx eax, al
inc eax
mov dword [esp + 0x28], eax
movzx eax, byte [edx]
mov dword [esp + 0x2c], eax
cmp ecx, 0x80
jb 0x69a978
add ecx, 0xfffffff4
shr ecx, 1
add edi, 0x28
lea esi, [eax + ecx]
mov eax, 1
jmp 0x69a9cd
movzx ecx, byte [ecx + 0x7d3068]
add edi, 0x28
lea esi, [eax + ecx]
mov eax, 1
jmp 0x69a9cd
movzx ecx, byte [edx]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], ecx
cmp ecx, 0x80
jae 0x69a9a9
mov dword [esp + 0x28], 1
jmp 0x69a9c9
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x24]
call fcn.00677fc0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
movzx eax, al
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov esi, ecx
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], esi
cmp esi, dword [esp + 0x34]
jbe 0x69aa11
push 0x7e34f4
push 0x15deb
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00674c50
add esp, 0x14
mov byte [ebx + 0x17], 0xb
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret
lea eax, [eax*4 + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
movzx ecx, word [edi + 0x10]
add eax, edx
mov dword [esp + 0x20], eax
mov al, byte [eax]
movzx ebx, al
test cl, 0x24
je 0x69acca
cmp ebx, 0xa
jb 0x69aa51
xor ecx, ecx
cmp ebx, 0xa
setne cl
lea ecx, [ecx*2 - 1]
jmp 0x69af3f
test al, al
je 0x69afeb
lea ecx, [edx + esi]
mov dword [esp + 0x14], ecx
cmp ebx, 7
jne 0x69aa8a
lea edx, [esp + 0x38]
call fcn.00699e90
push dword [edi + 4]
movsd xmm1, qword [esp + 0x3c]
push dword [edi]
call fcn.0069a6a0
mov ecx, eax
add esp, 8
neg ecx
jmp 0x69af3f
cmp ebx, 6
ja case.default.0x69aa93
jmp dword [ebx*4 + 0x69b0b0]
movsx eax, byte [ecx]
cdq
mov ecx, eax
mov eax, edx
jmp 0x69ac63
movsx eax, byte [ecx]
movzx ecx, byte [ecx + 1]
shl eax, 8
or eax, ecx
cdq
mov ecx, eax
mov eax, edx
jmp 0x69ac63
movzx eax, byte [ecx + 1]
movsx ecx, byte [ecx]
mov edx, dword [esp + 0x14]
shl eax, 8
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [edx + 2]
or eax, ecx
cdq
mov ecx, eax
mov eax, edx
jmp 0x69ac63
movzx eax, byte [ecx]
movzx ecx, byte [ecx + 1]
mov edx, dword [esp + 0x14]
shl eax, 8
or eax, ecx
shl eax, 8
movzx ecx, byte [edx + 2]
or eax, ecx
movzx ecx, byte [edx + 3]
shl eax, 8
or eax, ecx
cdq
mov ecx, eax
mov eax, edx
jmp 0x69ac63
movzx eax, byte [ecx + 2]
cdq
mov ecx, eax
mov eax, edx
mov edx, dword [esp + 0x14]
shld eax, ecx, 8
mov dword [esp + 0x10], eax
movzx eax, byte [edx + 3]
cdq
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x10]
or eax, edx
shld eax, ecx, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
shl ecx, 8
movzx eax, byte [eax + 4]
cdq
or ecx, eax
mov eax, dword [esp + 0x10]
or eax, edx
shld eax, ecx, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
shl ecx, 8
movzx eax, byte [eax + 5]
cdq
or dword [esp + 0x10], edx
or ecx, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
movsx eax, byte [ecx]
movzx ecx, byte [ecx + 1]
shl eax, 8
or eax, ecx
mov ecx, dword [esp + 0x20]
cdq
add ecx, 0
adc dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
jmp 0x69ac63
movzx eax, byte [ecx]
cdq
mov ecx, eax
mov eax, edx
shld eax, ecx, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
shl ecx, 8
movzx eax, byte [eax + 1]
cdq
or ecx, eax
mov eax, dword [esp + 0x10]
or eax, edx
shld eax, ecx, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
shl ecx, 8
movzx eax, byte [eax + 2]
cdq
or ecx, eax
mov eax, dword [esp + 0x10]
or eax, edx
shld eax, ecx, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
shl ecx, 8
movzx eax, byte [eax + 3]
cdq
or ecx, eax
mov eax, dword [esp + 0x10]
or eax, edx
shld eax, ecx, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
shl ecx, 8
movzx eax, byte [eax + 4]
cdq
or ecx, eax
mov eax, dword [esp + 0x10]
or eax, edx
shld eax, ecx, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
shl ecx, 8
movzx eax, byte [eax + 5]
cdq
or ecx, eax
mov eax, dword [esp + 0x10]
or eax, edx
shld eax, ecx, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
shl ecx, 8
movzx eax, byte [eax + 6]
cdq
or ecx, eax
mov eax, dword [esp + 0x10]
or eax, edx
shld eax, ecx, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
shl ecx, 8
movzx eax, byte [eax + 7]
cdq
or ecx, eax
mov eax, dword [esp + 0x10]
or eax, edx
jmp 0x69ac63
lea ecx, [ebx - 8]
xor eax, eax
mov edx, dword [edi]
cmp eax, dword [edi + 4]
jl 0x69afeb
jg 0x69ac8b
cmp ecx, edx
jb 0x69afeb
cmp eax, dword [edi + 4]
jg 0x69ac8b
jl 0x69af6d
cmp ecx, edx
jbe 0x69af6d
mov ecx, 1
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
movzx eax, byte [eax + edx]
test eax, eax
je 0x69b047
test al, 2
je 0x69b045
test ebx, ebx
je 0x69b039
test byte [edi + 0x10], 1
jne 0x69b039
xor edx, edx
jmp 0x69b03e
test cl, 8
je 0x69ad58
cmp ebx, 0xa
jb 0x69aceb
xor ecx, ecx
cmp al, 0xa
setne cl
lea ecx, [ecx*2 - 1]
jmp 0x69af3f
test al, al
je 0x69afeb
lea ecx, [edx + esi]
cmp al, 7
jne 0x69ad2e
lea edx, [esp + 0x38]
call fcn.00699e90
test eax, eax
jne 0x69afeb
movsd xmm0, qword [edi]
movsd xmm1, qword [esp + 0x38]
comisd xmm0, xmm1
ja 0x69afeb
comisd xmm1, xmm0
ja 0x69ac8b
jmp 0x69af6d
lea eax, [esp + 0x38]
mov edx, ebx
push eax
call fcn.00699f60
movsd xmm1, qword [edi]
add esp, 4
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.0069a6a0
add esp, 8
mov ecx, eax
jmp 0x69af3f
mov dword [esp + 0x10], ebx
test cl, 2
je 0x69ae5a
cmp ebx, 0x80
jb 0x69ad7e
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x10]
call fcn.00677fc0
mov ebx, dword [esp + 0x10]
cmp ebx, 0xc
jb 0x69afeb
test bl, 1
je 0x69ac8b
lea ecx, [ebx - 0xc]
shr ecx, 1
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], ecx
lea eax, [ecx + esi]
cmp eax, dword [esp + 0x34]
ja 0x69aff3
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
movzx eax, word [eax + 8]
cmp eax, dword [esp + 0x30]
jle 0x69aff3
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
mov eax, dword [edx]
mov edx, dword [esp + 0x1c]
cmp dword [esi + eax], 0
mov esi, dword [esp + 0x14]
je 0x69ae1f
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov al, byte [ecx + 4]
mov byte [esp + 0x4a], al
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x4c], eax
mov eax, 2
mov word [esp + 0x48], ax
lea eax, [edx + esi]
mov dword [esp + 0x40], eax
mov edx, edi
mov eax, dword [esp + 0x18]
add eax, 0x17
push eax
mov eax, dword [esp + 0x28]
push dword [eax + ecx]
lea ecx, [esp + 0x40]
call fcn.0069a3e0
add esp, 8
mov ecx, eax
jmp 0x69af3f
mov esi, dword [edi + 0xc]
cmp ecx, esi
cmovl esi, ecx
mov ecx, dword [esp + 0x14]
add ecx, edx
mov edx, dword [edi + 8]
sub esi, 4
jb 0x69aef1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x69aef6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x69ae40
jmp 0x69aef1
test cl, 0x10
je 0x69af49
cmp ebx, 0x80
jb 0x69ae80
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x10]
call fcn.00677fc0
mov ebx, dword [esp + 0x10]
movzx ecx, word [edi + 0x10]
cmp ebx, 0xc
jb 0x69afeb
test bl, 1
jne 0x69afeb
lea edx, [ebx - 0xc]
shr edx, 1
mov dword [esp + 0x20], edx
lea eax, [edx + esi]
cmp eax, dword [esp + 0x34]
ja 0x69afff
test ecx, 0x400
mov ecx, dword [esp + 0x1c]
je 0x69aec9
add ecx, esi
call fcn.0069a570
test eax, eax
je 0x69ac8b
mov ecx, edx
sub ecx, dword [edi]
jmp 0x69af3f
mov esi, dword [edi + 0xc]
cmp edx, esi
cmovl esi, edx
add ecx, dword [esp + 0x14]
mov edx, dword [edi + 8]
sub esi, 4
jb 0x69aef1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x69aef6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x69aee0
cmp esi, 0xfffffffc
je 0x69af2a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x69af23
cmp esi, 0xfffffffd
je 0x69af2a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x69af23
cmp esi, 0xfffffffe
je 0x69af2a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x69af23
cmp esi, 0xffffffff
je 0x69af2a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x69af2a
sbb ecx, ecx
or ecx, 1
jmp 0x69af2c
xor ecx, ecx
test ecx, ecx
jne 0x69ac90
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
sub ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x69ac90
jmp 0x69af6d
test al, al
je 0x69af6d
cmp al, 0xa
je 0x69af6d
cmp al, 7
jne 0x69ac8b
lea ecx, [edx + esi]
lea edx, [esp + 0x38]
call fcn.00699e90
test eax, eax
je 0x69ac8b
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
add dword [esp + 0x24], 4
inc edx
mov dword [esp + 0x30], edx
movzx eax, word [ecx + 0x14]
cmp edx, eax
je 0x69b095
add edi, 0x28
cmp ebx, 0x80
jb 0x69af9d
lea eax, [ebx - 0xc]
shr eax, 1
jmp 0x69afa4
movzx eax, byte [ebx + 0x7d3068]
add esi, eax
mov dword [esp + 0x14], esi
cmp esi, dword [esp + 0x34]
ja 0x69b095
shr ebx, 7
xor ecx, ecx
mov eax, ebx
mov edx, 1
or eax, ecx
je 0x69afd2
shrd ebx, ecx, 7
inc edx
shr ecx, 7
mov eax, ebx
or eax, ecx
jne 0x69afc4
mov eax, dword [esp + 0x28]
add eax, edx
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x2c]
jae 0x69b05b
mov edx, dword [esp + 0x1c]
jmp 0x69aa20
or ecx, 0xffffffff
jmp 0x69ac90
push 0x7e34f4
push 0x15e3c
jmp 0x69b009
push 0x7e34f4
push 0x15e5a
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00674c50
mov eax, dword [esp + 0x2c]
add esp, 0x14
mov byte [eax + 0x17], 0xb
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret
mov edx, 1
and eax, 1
cmp eax, edx
je 0x69b047
neg ecx
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret
push 0x7e34f4
push 0x15e8d
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00674c50
mov eax, dword [esp + 0x2c]
add esp, 0x14
mov byte [eax + 0x17], 0xb
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret
movsx eax, byte [ecx + 0x16]
pop edi
mov byte [ecx + 0x1a], 1
mov ecx, dword [esp + 0x60]
pop esi
pop ebx
xor ecx, esp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret