Function at 0x41f771
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
inc esi
push esi
lea eax, [ebp - 1]
push eax
push edi
mov byte [ebp - 1], 0x50
call ebx
push esi
lea eax, [ebp - 1]
push eax
push edi
mov byte [ebp - 1], 0x4b
call ebx
push esi
lea eax, [ebp + 0xf]
push eax
push edi
mov byte [ebp + 0xf], 3
call ebx
push esi
lea eax, [ebp + 0xf]
push eax
push edi
mov byte [ebp + 0xf], 4
call ebx
mov esi, dword [ebp + 8]
mov al, byte [esi + 2]
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
mov al, byte [esi + 3]
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
mov al, byte [esi + 0x2c]
add esp, 0x48
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
mov al, byte [esi + 0x2d]
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
mov al, byte [esi + 6]
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
mov al, byte [esi + 7]
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
mov al, byte [esi + 8]
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
mov al, byte [esi + 9]
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
mov al, byte [esi + 0xa]
add esp, 0x48
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
mov al, byte [esi + 0xb]
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
mov al, byte [esi + 0xc]
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
mov al, byte [esi + 0xd]
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
mov al, byte [esi + 0xe]
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
mov al, byte [esi + 0xf]
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
mov al, byte [esi + 0x10]
add esp, 0x48
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
mov al, byte [esi + 0x11]
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
mov al, byte [esi + 0x12]
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
mov al, byte [esi + 0x13]
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
mov al, byte [esi + 0x14]
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
mov al, byte [esi + 0x15]
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
mov al, byte [esi + 0x16]
add esp, 0x48
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
mov al, byte [esi + 0x17]
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
mov al, byte [esi + 0x18]
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
mov eax, dword [esi + 0x18]
shr eax, 8
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
mov al, byte [esi + 0x1c]
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
mov eax, dword [esi + 0x1c]
shr eax, 8
mov byte [ebp + 0xf], al
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
add esp, 0x48
push dword [esi + 0x18]
lea eax, [esi + 0x148]
push eax
push edi
call ebx
add esp, 0xc
cmp eax, dword [esi + 0x18]
je 0x41f969
push 0xa
pop eax
jmp 0x41f984
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41f982
push eax
push dword [esi + 0x13c]
push edi
call ebx
add esp, 0xc
cmp eax, dword [esi + 0x1c]
jne 0x41f964
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret