Function at 0x4a28d0
Capabilities:
Enumerate pe sections

Disassembly:
cmp dword [esi], 0x54
jne 0x4a2ad3
mov eax, dword [edx]
push ebx
push edi
mov edi, dword [eax]
mov dword [ecx], edi
movzx edi, byte [eax + 7]
shl edi, 8
movzx ebx, byte [eax + 6]
or edi, ebx
shl edi, 8
movzx ebx, byte [eax + 5]
or edi, ebx
shl edi, 8
movzx ebx, byte [eax + 4]
or edi, ebx
mov dword [ecx + 4], edi
movzx edi, byte [eax + 0xb]
shl edi, 8
movzx ebx, byte [eax + 0xa]
or edi, ebx
shl edi, 8
movzx ebx, byte [eax + 9]
or edi, ebx
shl edi, 8
movzx ebx, byte [eax + 8]
or edi, ebx
mov dword [ecx + 8], edi
movzx edi, byte [eax + 0xf]
movzx ebx, byte [eax + 0xe]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0xd]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0xc]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0x12]
mov dword [ecx + 0xc], edi
movzx edi, byte [eax + 0x13]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0x11]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0x10]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0x16]
mov dword [ecx + 0x10], edi
movzx edi, byte [eax + 0x17]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0x15]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0x14]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0x1a]
mov dword [ecx + 0x14], edi
movzx edi, byte [eax + 0x1b]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0x19]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0x18]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0x1e]
mov dword [ecx + 0x18], edi
movzx edi, byte [eax + 0x1f]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0x1d]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0x1c]
shl edi, 8
or edi, ebx
mov dword [ecx + 0x1c], edi
movzx edi, byte [eax + 0x23]
shl edi, 8
movzx ebx, byte [eax + 0x22]
or edi, ebx
shl edi, 8
movzx ebx, byte [eax + 0x21]
or edi, ebx
shl edi, 8
movzx ebx, byte [eax + 0x20]
or edi, ebx
mov dword [ecx + 0x20], edi
movzx edi, byte [eax + 0x27]
movzx ebx, byte [eax + 0x26]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0x25]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0x24]
shl edi, 8
or edi, ebx
mov dword [ecx + 0x24], edi
movzx edi, byte [eax + 0x2b]
movzx ebx, byte [eax + 0x2a]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0x29]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0x28]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0x2e]
mov dword [ecx + 0x28], edi
movzx edi, byte [eax + 0x2f]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0x2d]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0x2c]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0x32]
mov dword [ecx + 0x2c], edi
movzx edi, byte [eax + 0x33]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0x31]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0x30]
shl edi, 8
or edi, ebx
mov dword [ecx + 0x30], edi
mov edi, dword [eax + 0x34]
mov dword [ecx + 0x34], edi
mov edi, dword [eax + 0x38]
mov dword [ecx + 0x38], edi
mov edi, dword [eax + 0x3c]
mov dword [ecx + 0x3c], edi
mov edi, dword [eax + 0x40]
mov dword [ecx + 0x40], edi
mov edi, dword [eax + 0x44]
mov dword [ecx + 0x44], edi
mov edi, dword [eax + 0x48]
mov dword [ecx + 0x48], edi
mov edi, dword [eax + 0x4c]
mov dword [ecx + 0x4c], edi
mov edi, dword [eax + 0x50]
mov dword [ecx + 0x50], edi
add eax, 0x54
cmp dword [ecx], 0x50535449
pop edi
mov dword [edx], eax
mov dword [esi], 0
pop ebx
jne 0x4a2ad3
cmp dword [ecx + 4], 1
jne 0x4a2ad3
xor eax, eax
cmp dword [ecx + 8], 0x54
jne 0x4a2ad5
cmp dword [ecx + 0x10], eax
setne al
ret
xor eax, eax
ret