Function at 0x416799
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
push edi
call fcn.004177c6
push ebx
lea eax, [ebp - 1]
mov byte [ebp - 1], 0x4b
push eax
push edi
call fcn.004177c6
push ebx
lea eax, [ebp - 1]
mov byte [ebp - 1], 3
push eax
push edi
call fcn.004177c6
push ebx
lea eax, [ebp - 1]
mov byte [ebp - 1], 4
push eax
push edi
call fcn.004177c6
mov al, byte [esi + 2]
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
mov al, byte [esi + 3]
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
mov al, byte [esi + 0x2c]
add esp, 0x48
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
mov al, byte [esi + 0x2d]
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
mov al, byte [esi + 6]
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
mov al, byte [esi + 7]
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
mov al, byte [esi + 8]
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
mov eax, dword [esi + 8]
shr eax, 8
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
mov al, byte [esi + 0xa]
add esp, 0x48
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
mov al, byte [esi + 0xb]
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
mov al, byte [esi + 0xc]
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
mov eax, dword [esi + 0xc]
shr eax, 8
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
mov al, byte [esi + 0xe]
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
mov al, byte [esi + 0xf]
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
mov al, byte [esi + 0x10]
add esp, 0x48
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
mov eax, dword [esi + 0x10]
shr eax, 8
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
mov al, byte [esi + 0x12]
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
mov al, byte [esi + 0x13]
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
mov al, byte [esi + 0x14]
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
mov eax, dword [esi + 0x14]
shr eax, 8
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
mov al, byte [esi + 0x16]
add esp, 0x48
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
mov al, byte [esi + 0x17]
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
mov al, byte [esi + 0x18]
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
mov eax, dword [esi + 0x18]
shr eax, 8
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
mov al, byte [esi + 0x1c]
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
mov eax, dword [esi + 0x1c]
shr eax, 8
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push edi
call fcn.004177c6
add esp, 0x48
lea eax, [esi + 0x148]
push dword [esi + 0x18]
push eax
push edi
call fcn.004177c6
add esp, 0xc
cmp eax, dword [esi + 0x18]
jne 0x416a02
cmp dword [esi + 0x1c], 0
je 0x4169fe
push dword [esi + 0x1c]
push dword [esi + 0x13c]
push edi
call fcn.004177c6
add esp, 0xc
xor ecx, ecx
cmp eax, dword [esi + 0x1c]
push 0xa
pop edx
cmovne ecx, edx
mov eax, ecx
jmp 0x416a05
xor eax, eax
jmp 0x416a05
push 0xa
pop eax
pop edi
pop esi
pop ebx
leave
ret