Function at 0x699be0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x82f184]
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 0x699c7c
movzx ecx, byte [edx + 1]
lea eax, [edx + 1]
mov dword [esp + 0x2c], ecx
cmp ecx, 0x80
jae 0x699c2c
mov dword [esp + 0x28], 2
jmp 0x699c47
lea edx, [esp + 0x2c]
mov ecx, eax
call fcn.006772c0
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 0x699c68
add ecx, 0xfffffff4
shr ecx, 1
add edi, 0x28
lea esi, [eax + ecx]
mov eax, 1
jmp 0x699cbd
movzx ecx, byte [ecx + 0x7d1010]
add edi, 0x28
lea esi, [eax + ecx]
mov eax, 1
jmp 0x699cbd
movzx ecx, byte [edx]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], ecx
cmp ecx, 0x80
jae 0x699c99
mov dword [esp + 0x28], 1
jmp 0x699cb9
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x24]
call fcn.006772c0
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 0x699d01
push 0x7e14a4
push 0x15deb
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00673f50
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.0076d59e
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 0x699fba
cmp ebx, 0xa
jb 0x699d41
xor ecx, ecx
cmp ebx, 0xa
setne cl
lea ecx, [ecx*2 - 1]
jmp 0x69a22f
test al, al
je 0x69a2db
lea ecx, [edx + esi]
mov dword [esp + 0x14], ecx
cmp ebx, 7
jne 0x699d7a
lea edx, [esp + 0x38]
call fcn.00699190
push dword [edi + 4]
movsd xmm1, qword [esp + 0x3c]
push dword [edi]
call fcn.006999a0
mov ecx, eax
add esp, 8
neg ecx
jmp 0x69a22f
cmp ebx, 6
ja case.default.0x699d83
jmp dword [ebx*4 + 0x69a3a0]
movsx eax, byte [ecx]
cdq
mov ecx, eax
mov eax, edx
jmp 0x699f53
movsx eax, byte [ecx]
movzx ecx, byte [ecx + 1]
shl eax, 8
or eax, ecx
cdq
mov ecx, eax
mov eax, edx
jmp 0x699f53
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 0x699f53
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 0x699f53
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 0x699f53
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 0x699f53
lea ecx, [ebx - 8]
xor eax, eax
mov edx, dword [edi]
cmp eax, dword [edi + 4]
jl 0x69a2db
jg 0x699f7b
cmp ecx, edx
jb 0x69a2db
cmp eax, dword [edi + 4]
jg 0x699f7b
jl 0x69a25d
cmp ecx, edx
jbe 0x69a25d
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 0x69a337
test al, 2
je 0x69a335
test ebx, ebx
je 0x69a329
test byte [edi + 0x10], 1
jne 0x69a329
xor edx, edx
jmp 0x69a32e
test cl, 8
je 0x69a048
cmp ebx, 0xa
jb 0x699fdb
xor ecx, ecx
cmp al, 0xa
setne cl
lea ecx, [ecx*2 - 1]
jmp 0x69a22f
test al, al
je 0x69a2db
lea ecx, [edx + esi]
cmp al, 7
jne 0x69a01e
lea edx, [esp + 0x38]
call fcn.00699190
test eax, eax
jne 0x69a2db
movsd xmm0, qword [edi]
movsd xmm1, qword [esp + 0x38]
comisd xmm0, xmm1
ja 0x69a2db
comisd xmm1, xmm0
ja 0x699f7b
jmp 0x69a25d
lea eax, [esp + 0x38]
mov edx, ebx
push eax
call fcn.00699260
movsd xmm1, qword [edi]
add esp, 4
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.006999a0
add esp, 8
mov ecx, eax
jmp 0x69a22f
mov dword [esp + 0x10], ebx
test cl, 2
je 0x69a14a
cmp ebx, 0x80
jb 0x69a06e
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x10]
call fcn.006772c0
mov ebx, dword [esp + 0x10]
cmp ebx, 0xc
jb 0x69a2db
test bl, 1
je 0x699f7b
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 0x69a2e3
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
movzx eax, word [eax + 8]
cmp eax, dword [esp + 0x30]
jle 0x69a2e3
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 0x69a10f
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.006996e0
add esp, 8
mov ecx, eax
jmp 0x69a22f
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 0x69a1e1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x69a1e6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x69a130
jmp 0x69a1e1
test cl, 0x10
je 0x69a239
cmp ebx, 0x80
jb 0x69a170
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x10]
call fcn.006772c0
mov ebx, dword [esp + 0x10]
movzx ecx, word [edi + 0x10]
cmp ebx, 0xc
jb 0x69a2db
test bl, 1
jne 0x69a2db
lea edx, [ebx - 0xc]
shr edx, 1
mov dword [esp + 0x20], edx
lea eax, [edx + esi]
cmp eax, dword [esp + 0x34]
ja 0x69a2ef
test ecx, 0x400
mov ecx, dword [esp + 0x1c]
je 0x69a1b9
add ecx, esi
call fcn.00699870
test eax, eax
je 0x699f7b
mov ecx, edx
sub ecx, dword [edi]
jmp 0x69a22f
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 0x69a1e1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x69a1e6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x69a1d0
cmp esi, 0xfffffffc
je 0x69a21a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x69a213
cmp esi, 0xfffffffd
je 0x69a21a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x69a213
cmp esi, 0xfffffffe
je 0x69a21a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x69a213
cmp esi, 0xffffffff
je 0x69a21a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x69a21a
sbb ecx, ecx
or ecx, 1
jmp 0x69a21c
xor ecx, ecx
test ecx, ecx
jne 0x699f80
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
sub ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x699f80
jmp 0x69a25d
test al, al
je 0x69a25d
cmp al, 0xa
je 0x69a25d
cmp al, 7
jne 0x699f7b
lea ecx, [edx + esi]
lea edx, [esp + 0x38]
call fcn.00699190
test eax, eax
je 0x699f7b
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 0x69a385
add edi, 0x28
cmp ebx, 0x80
jb 0x69a28d
lea eax, [ebx - 0xc]
shr eax, 1
jmp 0x69a294
movzx eax, byte [ebx + 0x7d1010]
add esi, eax
mov dword [esp + 0x14], esi
cmp esi, dword [esp + 0x34]
ja 0x69a385
shr ebx, 7
xor ecx, ecx
mov eax, ebx
mov edx, 1
or eax, ecx
je 0x69a2c2
shrd ebx, ecx, 7
inc edx
shr ecx, 7
mov eax, ebx
or eax, ecx
jne 0x69a2b4
mov eax, dword [esp + 0x28]
add eax, edx
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x2c]
jae 0x69a34b
mov edx, dword [esp + 0x1c]
jmp 0x699d10
or ecx, 0xffffffff
jmp 0x699f80
push 0x7e14a4
push 0x15e3c
jmp 0x69a2f9
push 0x7e14a4
push 0x15e5a
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00673f50
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.0076d59e
mov esp, ebp
pop ebp
ret
mov edx, 1
and eax, 1
cmp eax, edx
je 0x69a337
neg ecx
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret
push 0x7e14a4
push 0x15e8d
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00673f50
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.0076d59e
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.0076d59e
mov esp, ebp
pop ebp
ret