Function at 0x4181cd
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x440040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 5]
xor ebx, ebx
mov byte [ebp - 5], 0x50
inc ebx
mov esi, ecx
push ebx
push eax
mov ecx, edi
call fcn.00418b93
push ebx
lea eax, [ebp - 5]
mov byte [ebp - 5], 0x4b
push eax
mov ecx, edi
call fcn.00418b93
push ebx
lea eax, [ebp - 5]
mov byte [ebp - 5], bl
push eax
mov ecx, edi
call fcn.00418b93
push ebx
lea eax, [ebp - 5]
mov byte [ebp - 5], 2
push eax
mov ecx, edi
call fcn.00418b93
mov al, byte [esi]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 1]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 2]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 3]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 4]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 5]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 6]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 7]
mov byte [ebp - 5], al
mov ecx, edi
push ebx
lea eax, [ebp - 5]
push eax
call fcn.00418b93
mov al, byte [esi + 8]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov eax, dword [esi + 8]
mov ecx, edi
shr eax, 8
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 0xa]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 0xb]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 0xc]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov eax, dword [esi + 0xc]
mov ecx, edi
shr eax, 8
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 0xe]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 0xf]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 0x10]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov eax, dword [esi + 0x10]
mov ecx, edi
shr eax, 8
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 0x12]
mov byte [ebp - 5], al
push ebx
lea eax, [ebp - 5]
mov ecx, edi
push eax
call fcn.00418b93
mov al, byte [esi + 0x13]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 0x14]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov eax, dword [esi + 0x14]
mov ecx, edi
shr eax, 8
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 0x16]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 0x17]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 0x18]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov eax, dword [esi + 0x18]
mov ecx, edi
shr eax, 8
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 0x20]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov eax, dword [esi + 0x20]
mov ecx, edi
shr eax, 8
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 0x24]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov eax, dword [esi + 0x24]
shr eax, 8
mov byte [ebp - 5], al
push ebx
lea eax, [ebp - 5]
mov ecx, edi
push eax
call fcn.00418b93
mov al, byte [esi + 0x28]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 0x29]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 0x2a]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 0x2b]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 0x30]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov eax, dword [esi + 0x30]
mov ecx, edi
shr eax, 8
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 0x32]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 0x33]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 0x34]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov eax, dword [esi + 0x34]
mov ecx, edi
shr eax, 8
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
mov al, byte [esi + 0x36]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
mov ecx, edi
call fcn.00418b93
mov al, byte [esi + 0x37]
mov ecx, edi
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push ebx
push eax
call fcn.00418b93
cmp dword [esi + 0x18], 0
jne 0x41853e
xor eax, eax
jmp 0x41854f
push dword [esi + 0x18]
lea eax, [esi + 0x148]
mov ecx, edi
push eax
call fcn.00418b93
cmp eax, dword [esi + 0x18]
jne 0x418598
cmp dword [esi + 0x20], 0
je 0x41856f
push dword [esi + 0x20]
mov ecx, edi
push dword [esi + 0x140]
call fcn.00418b93
cmp eax, dword [esi + 0x20]
jne 0x418598
cmp dword [esi + 0x24], 0
je 0x418594
push dword [esi + 0x24]
mov ecx, edi
push dword [esi + 0x144]
call fcn.00418b93
xor edx, edx
cmp eax, dword [esi + 0x24]
push 0xa
pop ecx
cmove ecx, edx
mov eax, ecx
jmp 0x41859b
xor eax, eax
jmp 0x41859b
push 0xa
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419f88
leave
ret