Function at 0x60e3a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push edi
mov edi, dword [esp + 0x2c]
mov al, byte [edi + 9]
mov ebx, dword [edi + 0x38]
mov ebp, dword [edi + 0x34]
mov byte [esp + 0x2c], al
movzx eax, al
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ebx
lea ecx, [eax + ebx]
movzx eax, byte [eax + ebx]
push eax
push edi
mov dword [esp + 0x14], ecx
call fcn.00614d70
add esp, 8
test eax, eax
je 0x60e405
push 0x6c9afc
push 0xf058
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00605420
add esp, 0x14
mov eax, 0xb
pop edi
pop ebp
pop ebx
add esp, 0x1c
ret
movzx eax, word [ebp + 0x20]
movzx ecx, byte [edi + 0xa]
dec ax
mov word [edi + 0x18], ax
add cx, 8
mov al, byte [esp + 0x2c]
movzx eax, al
add cx, ax
mov byte [edi + 0xc], 0
mov ebp, dword [ebp + 0x24]
movzx ecx, cx
mov word [edi + 0x12], cx
push esi
lea eax, [ebx + ebp]
mov dword [esp + 0x18], ebp
mov dword [edi + 0x3c], eax
mov eax, ecx
mov dword [esp + 0x24], eax
lea esi, [eax + ebx]
movzx eax, byte [edi + 0xa]
add eax, ebx
mov dword [edi + 0x40], esi
mov ebx, dword [esp + 0x10]
mov dword [edi + 0x44], eax
mov dword [esp + 0x20], esi
movzx ecx, byte [ebx + 5]
movzx eax, byte [ebx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 4]
dec ecx
and ecx, 0xffff
inc ecx
mov dword [esp + 0x28], ecx
movzx ecx, byte [ebx + 3]
shl cx, 8
or cx, ax
movzx eax, cx
mov word [edi + 0x16], cx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov eax, 0xaaaaaaab
mov ecx, dword [ecx + 0x20]
sub ecx, 8
mul ecx
mov ecx, dword [esp + 0x30]
shr edx, 2
cmp ecx, edx
jbe 0x60e4d1
push 0x6c9afc
push 0xf06b
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00605420
add esp, 0x14
mov eax, 0xb
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [esp + 0x24]
add ebp, 0xfffffffc
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], edx
mov eax, dword [eax + 4]
test dword [eax + 0x1c], 0x200000
je 0x60e558
cmp byte [edi + 8], 0
jne 0x60e4f6
dec ebp
xor ebx, ebx
test ecx, ecx
jle 0x60e54d
lea esp, [esp]
mov ax, word [esi]
mov ch, al
mov cl, ah
movzx esi, cx
cmp esi, edx
jl 0x60e5d3
cmp esi, ebp
jg 0x60e5d3
mov eax, dword [esp + 0x14]
add eax, esi
push eax
mov eax, dword [edi + 0x4c]
push edi
call eax
movzx eax, ax
add esp, 8
add eax, esi
cmp eax, dword [esp + 0x18]
jg 0x60e5a8
mov esi, dword [esp + 0x20]
inc ebx
movzx eax, word [edi + 0x16]
add esi, 2
mov edx, dword [esp + 0x30]
mov dword [esp + 0x20], esi
cmp ebx, eax
jl 0x60e500
cmp byte [edi + 8], 0
mov ebx, dword [esp + 0x10]
jne 0x60e558
inc ebp
movzx eax, byte [ebx + 1]
movzx ecx, byte [ebx + 2]
movzx ebx, byte [ebx + 7]
add ebx, dword [esp + 0x28]
shl eax, 8
or eax, ecx
test eax, eax
jle 0x60e68f
cmp eax, edx
jge 0x60e5fe
push 0x6c9afc
push 0xf09e
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00605420
add esp, 0x14
mov eax, 0xb
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0x6c9afc
push 0xf08c
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00605420
add esp, 0x14
mov eax, 0xb
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0x6c9afc
push 0xf087
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00605420
add esp, 0x14
mov eax, 0xb
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x1c
ret
cmp eax, ebp
jg 0x60e647
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 3]
lea esi, [ecx + 2]
mov dword [esp + 0x28], edx
movzx edx, byte [eax + ecx]
movzx ecx, byte [ecx + eax + 1]
movzx esi, byte [esi + eax]
shl edx, 8
or edx, ecx
shl esi, 8
mov ecx, dword [esp + 0x28]
movzx ecx, byte [ecx + eax]
or esi, ecx
lea ecx, [eax + 3]
add ecx, esi
add ebx, esi
cmp edx, ecx
jbe 0x60e65b
mov ecx, dword [esp + 0x14]
mov eax, edx
lea esi, [ecx + 2]
cmp edx, ebp
jle 0x60e610
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x1c
mov dword [esp + 4], 0xf0a3
jmp fcn.00646520
test edx, edx
je 0x60e673
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x1c
mov dword [esp + 4], 0xf0ad
jmp fcn.00646520
add eax, esi
cmp eax, dword [esp + 0x18]
jbe 0x60e68f
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x1c
mov dword [esp + 4], 0xf0b1
jmp fcn.00646520
cmp ebx, dword [esp + 0x18]
jle 0x60e6c0
push 0x6c9afc
push 0xf0bd
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00605420
add esp, 0x14
mov eax, 0xb
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x1c
ret
sub ebx, dword [esp + 0x30]
xor eax, eax
pop esi
mov word [edi + 0x14], bx
mov byte [edi], 1
pop edi
pop ebp
pop ebx
add esp, 0x1c
ret