Function at 0x40cc60
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x1c]
push 1
lea eax, [esp + 0x13]
push eax
push edi
mov byte [esp + 0x1b], 0x50
call ebx
push 1
lea ecx, [esp + 0x1f]
push ecx
push edi
mov byte [esp + 0x27], 0x4b
call ebx
push 1
lea edx, [esp + 0x34]
push edx
push edi
mov byte [esp + 0x3c], 1
call ebx
push 1
lea eax, [esp + 0x40]
push eax
push edi
mov byte [esp + 0x48], 2
call ebx
mov esi, dword [esp + 0x44]
movzx ecx, byte [esi]
push 1
lea edx, [esp + 0x4c]
push edx
push edi
mov byte [esp + 0x54], cl
call ebx
movzx eax, byte [esi + 1]
push 1
lea ecx, [esp + 0x58]
push ecx
push edi
mov byte [esp + 0x60], al
call ebx
movzx edx, byte [esi + 2]
add esp, 0x48
push 1
lea eax, [esp + 0x1c]
push eax
push edi
mov byte [esp + 0x24], dl
call ebx
movzx ecx, byte [esi + 3]
push 1
lea edx, [esp + 0x28]
push edx
push edi
mov byte [esp + 0x30], cl
call ebx
movzx eax, byte [esi + 4]
push 1
lea ecx, [esp + 0x34]
push ecx
push edi
mov byte [esp + 0x3c], al
call ebx
movzx edx, byte [esi + 5]
push 1
lea eax, [esp + 0x40]
push eax
push edi
mov byte [esp + 0x48], dl
call ebx
movzx ecx, byte [esi + 6]
push 1
lea edx, [esp + 0x4c]
push edx
push edi
mov byte [esp + 0x54], cl
call ebx
movzx eax, byte [esi + 7]
push 1
lea ecx, [esp + 0x58]
push ecx
push edi
mov byte [esp + 0x60], al
call ebx
movzx edx, byte [esi + 8]
add esp, 0x48
push 1
lea eax, [esp + 0x1c]
push eax
push edi
mov byte [esp + 0x24], dl
call ebx
movzx ecx, byte [esi + 9]
push 1
lea edx, [esp + 0x28]
push edx
push edi
mov byte [esp + 0x30], cl
call ebx
movzx eax, byte [esi + 0xa]
push 1
lea ecx, [esp + 0x34]
push ecx
push edi
mov byte [esp + 0x3c], al
call ebx
movzx edx, byte [esi + 0xb]
push 1
lea eax, [esp + 0x40]
push eax
push edi
mov byte [esp + 0x48], dl
call ebx
movzx ecx, byte [esi + 0xc]
push 1
lea edx, [esp + 0x4c]
push edx
push edi
mov byte [esp + 0x54], cl
call ebx
movzx eax, byte [esi + 0xd]
push 1
lea ecx, [esp + 0x58]
push ecx
push edi
mov byte [esp + 0x60], al
call ebx
movzx edx, byte [esi + 0xe]
add esp, 0x48
push 1
lea eax, [esp + 0x1c]
push eax
push edi
mov byte [esp + 0x24], dl
call ebx
movzx ecx, byte [esi + 0xf]
push 1
lea edx, [esp + 0x28]
push edx
push edi
mov byte [esp + 0x30], cl
call ebx
movzx eax, byte [esi + 0x10]
push 1
lea ecx, [esp + 0x34]
push ecx
push edi
mov byte [esp + 0x3c], al
call ebx
movzx edx, byte [esi + 0x11]
push 1
lea eax, [esp + 0x40]
push eax
push edi
mov byte [esp + 0x48], dl
call ebx
movzx ecx, byte [esi + 0x12]
mov byte [esp + 0x48], cl
push 1
lea edx, [esp + 0x4c]
push edx
push edi
call ebx
movzx eax, byte [esi + 0x13]
push 1
lea ecx, [esp + 0x58]
push ecx
push edi
mov byte [esp + 0x60], al
call ebx
movzx edx, byte [esi + 0x14]
add esp, 0x48
push 1
lea eax, [esp + 0x1c]
push eax
push edi
mov byte [esp + 0x24], dl
call ebx
movzx ecx, byte [esi + 0x15]
push 1
lea edx, [esp + 0x28]
push edx
push edi
mov byte [esp + 0x30], cl
call ebx
movzx eax, byte [esi + 0x16]
push 1
lea ecx, [esp + 0x34]
push ecx
push edi
mov byte [esp + 0x3c], al
call ebx
movzx edx, byte [esi + 0x17]
push 1
lea eax, [esp + 0x40]
push eax
push edi
mov byte [esp + 0x48], dl
call ebx
movzx ecx, byte [esi + 0x18]
push 1
lea edx, [esp + 0x4c]
push edx
push edi
mov byte [esp + 0x54], cl
call ebx
mov eax, dword [esi + 0x18]
push 1
lea ecx, [esp + 0x58]
push ecx
shr eax, 8
push edi
mov byte [esp + 0x60], al
call ebx
movzx edx, byte [esi + 0x20]
add esp, 0x48
push 1
lea eax, [esp + 0x1c]
push eax
push edi
mov byte [esp + 0x24], dl
call ebx
mov ecx, dword [esi + 0x20]
push 1
lea edx, [esp + 0x28]
push edx
shr ecx, 8
push edi
mov byte [esp + 0x30], cl
call ebx
movzx eax, byte [esi + 0x24]
push 1
lea ecx, [esp + 0x34]
push ecx
push edi
mov byte [esp + 0x3c], al
call ebx
mov edx, dword [esi + 0x24]
shr edx, 8
mov byte [esp + 0x3c], dl
push 1
lea eax, [esp + 0x40]
push eax
push edi
call ebx
movzx ecx, byte [esi + 0x28]
push 1
lea edx, [esp + 0x4c]
push edx
push edi
mov byte [esp + 0x54], cl
call ebx
movzx eax, byte [esi + 0x29]
push 1
lea ecx, [esp + 0x58]
push ecx
push edi
mov byte [esp + 0x60], al
call ebx
movzx edx, byte [esi + 0x2a]
add esp, 0x48
push 1
lea eax, [esp + 0x1c]
push eax
push edi
mov byte [esp + 0x24], dl
call ebx
movzx ecx, byte [esi + 0x2b]
push 1
lea edx, [esp + 0x28]
push edx
push edi
mov byte [esp + 0x30], cl
call ebx
movzx eax, byte [esi + 0x30]
push 1
lea ecx, [esp + 0x34]
push ecx
push edi
mov byte [esp + 0x3c], al
call ebx
movzx edx, byte [esi + 0x31]
push 1
lea eax, [esp + 0x40]
push eax
push edi
mov byte [esp + 0x48], dl
call ebx
movzx ecx, byte [esi + 0x32]
push 1
lea edx, [esp + 0x4c]
push edx
push edi
mov byte [esp + 0x54], cl
call ebx
movzx eax, byte [esi + 0x33]
push 1
lea ecx, [esp + 0x58]
push ecx
push edi
mov byte [esp + 0x60], al
call ebx
movzx edx, byte [esi + 0x34]
add esp, 0x48
push 1
lea eax, [esp + 0x1c]
push eax
push edi
mov byte [esp + 0x24], dl
call ebx
movzx ecx, byte [esi + 0x35]
push 1
lea edx, [esp + 0x28]
push edx
push edi
mov byte [esp + 0x30], cl
call ebx
movzx eax, byte [esi + 0x36]
mov byte [esp + 0x30], al
push 1
lea ecx, [esp + 0x34]
push ecx
push edi
call ebx
movzx edx, byte [esi + 0x37]
push 1
lea eax, [esp + 0x40]
push eax
push edi
mov byte [esp + 0x48], dl
call ebx
mov ecx, dword [esi + 0x18]
push ecx
lea edx, [esi + 0x148]
push edx
push edi
call ebx
add esp, 0x3c
cmp eax, dword [esi + 0x18]
jne 0x40d00b
mov eax, dword [esi + 0x20]
test eax, eax
je 0x40cfea
push eax
mov eax, dword [esi + 0x140]
push eax
push edi
call ebx
add esp, 0xc
cmp eax, dword [esi + 0x20]
jne 0x40d00b
mov eax, dword [esi + 0x24]
test eax, eax
je 0x40d004
mov ecx, dword [esi + 0x144]
push eax
push ecx
push edi
call ebx
add esp, 0xc
cmp eax, dword [esi + 0x24]
jne 0x40d00b
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
pop edi
pop esi
mov eax, 0xa
pop ebx
pop ecx
ret