Function at 0x681f6a
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 1]
xor ebx, ebx
mov byte [ebp - 1], 0x50
inc ebx
mov esi, ecx
push ebx
push eax
mov ecx, edi
call fcn.00682d1c
push ebx
lea eax, [ebp - 1]
mov byte [ebp - 1], 0x4b
push eax
mov ecx, edi
call fcn.00682d1c
push ebx
lea eax, [ebp + 0xb]
mov byte [ebp + 0xb], 3
push eax
mov ecx, edi
call fcn.00682d1c
push ebx
lea eax, [ebp + 0xb]
mov byte [ebp + 0xb], 4
push eax
mov ecx, edi
call fcn.00682d1c
mov al, byte [esi + 2]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push ebx
push eax
call fcn.00682d1c
mov al, byte [esi + 3]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push ebx
push eax
call fcn.00682d1c
mov al, byte [esi + 0x2c]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push ebx
push eax
call fcn.00682d1c
mov al, byte [esi + 0x2d]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push ebx
push eax
call fcn.00682d1c
mov al, byte [esi + 6]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push ebx
push eax
call fcn.00682d1c
mov al, byte [esi + 7]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push ebx
push eax
call fcn.00682d1c
mov al, byte [esi + 8]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push ebx
push eax
call fcn.00682d1c
mov eax, dword [esi + 8]
shr eax, 8
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push ebx
push eax
call fcn.00682d1c
mov al, byte [esi + 0xa]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push ebx
push eax
call fcn.00682d1c
mov al, byte [esi + 0xb]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push ebx
push eax
call fcn.00682d1c
mov al, byte [esi + 0xc]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push ebx
push eax
call fcn.00682d1c
mov eax, dword [esi + 0xc]
mov ecx, edi
shr eax, 8
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push ebx
push eax
call fcn.00682d1c
mov al, byte [esi + 0xe]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push ebx
push eax
call fcn.00682d1c
mov al, byte [esi + 0xf]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push ebx
push eax
call fcn.00682d1c
mov al, byte [esi + 0x10]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push ebx
push eax
call fcn.00682d1c
mov eax, dword [esi + 0x10]
mov ecx, edi
shr eax, 8
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push ebx
push eax
call fcn.00682d1c
mov al, byte [esi + 0x12]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push ebx
push eax
call fcn.00682d1c
mov al, byte [esi + 0x13]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push ebx
push eax
call fcn.00682d1c
mov al, byte [esi + 0x14]
mov byte [ebp + 0xb], al
push ebx
lea eax, [ebp + 0xb]
mov ecx, edi
push eax
call fcn.00682d1c
mov eax, dword [esi + 0x14]
mov ecx, edi
shr eax, 8
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push ebx
push eax
call fcn.00682d1c
mov al, byte [esi + 0x16]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push ebx
push eax
call fcn.00682d1c
mov al, byte [esi + 0x17]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push ebx
push eax
call fcn.00682d1c
mov al, byte [esi + 0x18]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push ebx
push eax
call fcn.00682d1c
mov eax, dword [esi + 0x18]
mov ecx, edi
shr eax, 8
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push ebx
push eax
call fcn.00682d1c
mov al, byte [esi + 0x1c]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push ebx
push eax
call fcn.00682d1c
mov eax, dword [esi + 0x1c]
mov ecx, edi
shr eax, 8
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push ebx
push eax
call fcn.00682d1c
cmp dword [esi + 0x18], 0
jne 0x6821a9
xor eax, eax
jmp 0x6821ba
push dword [esi + 0x18]
lea eax, [esi + 0x148]
mov ecx, edi
push eax
call fcn.00682d1c
cmp eax, dword [esi + 0x18]
je 0x6821c4
push 0xa
pop eax
jmp 0x6821e1
cmp dword [esi + 0x1c], 0
je 0x6821df
push dword [esi + 0x1c]
mov ecx, edi
push dword [esi + 0x13c]
call fcn.00682d1c
cmp eax, dword [esi + 0x1c]
jne 0x6821bf
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret