Function at 0x4a0300
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push esi
push edi
mov edi, dword [esp + 0x10]
lea eax, [esp + 0xb]
push 1
mov esi, ecx
mov byte [esp + 0xf], 0x50
push eax
mov ecx, edi
call fcn.004a0cc0
push 1
lea eax, [esp + 0xf]
mov byte [esp + 0xf], 0x4b
push eax
mov ecx, edi
call fcn.004a0cc0
push 1
lea eax, [esp + 0x14]
mov byte [esp + 0x14], 1
push eax
mov ecx, edi
call fcn.004a0cc0
push 1
lea eax, [esp + 0x14]
mov byte [esp + 0x14], 2
push eax
mov ecx, edi
call fcn.004a0cc0
movzx eax, byte [esi]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 1]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 2]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 3]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 4]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 5]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 6]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 7]
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
mov ecx, edi
call fcn.004a0cc0
movzx eax, byte [esi + 8]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
mov eax, dword [esi + 8]
mov ecx, edi
shr eax, 8
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 0xa]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 0xb]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 0xc]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
mov eax, dword [esi + 0xc]
mov ecx, edi
shr eax, 8
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 0xe]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 0xf]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 0x10]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
mov eax, dword [esi + 0x10]
mov ecx, edi
shr eax, 8
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 0x12]
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
mov ecx, edi
call fcn.004a0cc0
movzx eax, byte [esi + 0x13]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 0x14]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
mov eax, dword [esi + 0x14]
mov ecx, edi
shr eax, 8
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 0x16]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 0x17]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 0x18]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
mov eax, dword [esi + 0x18]
mov ecx, edi
shr eax, 8
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 0x20]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
mov eax, dword [esi + 0x20]
mov ecx, edi
shr eax, 8
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 0x24]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
mov eax, dword [esi + 0x24]
shr eax, 8
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
mov ecx, edi
call fcn.004a0cc0
movzx eax, byte [esi + 0x28]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 0x29]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 0x2a]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 0x2b]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 0x30]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
mov eax, dword [esi + 0x30]
mov ecx, edi
shr eax, 8
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 0x32]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 0x33]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 0x34]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
mov eax, dword [esi + 0x34]
mov ecx, edi
shr eax, 8
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 0x36]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
movzx eax, byte [esi + 0x37]
mov ecx, edi
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004a0cc0
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x4a070d
xor ecx, ecx
jmp 0x4a0721
push eax
lea eax, [esi + 0x148]
mov ecx, edi
push eax
call fcn.004a0cc0
mov ecx, eax
mov eax, dword [esi + 0x18]
cmp ecx, eax
jne 0x4a075f
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4a073f
push eax
push dword [esi + 0x140]
mov ecx, edi
call fcn.004a0cc0
cmp eax, dword [esi + 0x20]
jne 0x4a075f
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4a0759
push eax
push dword [esi + 0x144]
mov ecx, edi
call fcn.004a0cc0
cmp eax, dword [esi + 0x24]
jne 0x4a075f
pop edi
xor eax, eax
pop esi
pop ecx
ret
pop edi
mov eax, 0xa
pop esi
pop ecx
ret