Function at 0x4fa810
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 8
mov eax, dword [0x5d3070]
xor eax, esp
mov dword [esp + 4], eax
push esi
push edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 0xb]
push 1
mov esi, ecx
mov byte [esp + 0xf], 0x50
push eax
mov ecx, edi
call fcn.004fb900
push 1
lea eax, [esp + 0xf]
mov byte [esp + 0xf], 0x4b
push eax
mov ecx, edi
call fcn.004fb900
push 1
lea eax, [esp + 0xf]
mov byte [esp + 0xf], 3
push eax
mov ecx, edi
call fcn.004fb900
push 1
lea eax, [esp + 0xf]
mov byte [esp + 0xf], 4
push eax
mov ecx, edi
call fcn.004fb900
movzx eax, byte [esi + 2]
mov ecx, edi
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 1
push eax
call fcn.004fb900
movzx eax, byte [esi + 3]
mov ecx, edi
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 1
push eax
call fcn.004fb900
movzx eax, byte [esi + 0x2c]
mov ecx, edi
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 1
push eax
call fcn.004fb900
movzx eax, byte [esi + 0x2d]
mov ecx, edi
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 1
push eax
call fcn.004fb900
movzx eax, byte [esi + 6]
mov ecx, edi
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 1
push eax
call fcn.004fb900
movzx eax, byte [esi + 7]
mov ecx, edi
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 1
push eax
call fcn.004fb900
movzx eax, byte [esi + 8]
mov ecx, edi
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 1
push eax
call fcn.004fb900
mov eax, dword [esi + 8]
shr eax, 8
mov byte [esp + 0xb], al
push 1
lea eax, [esp + 0xf]
mov ecx, edi
push eax
call fcn.004fb900
movzx eax, byte [esi + 0xa]
mov ecx, edi
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 1
push eax
call fcn.004fb900
movzx eax, byte [esi + 0xb]
mov ecx, edi
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 1
push eax
call fcn.004fb900
movzx eax, byte [esi + 0xc]
mov ecx, edi
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 1
push eax
call fcn.004fb900
mov eax, dword [esi + 0xc]
mov ecx, edi
shr eax, 8
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 1
push eax
call fcn.004fb900
movzx eax, byte [esi + 0xe]
mov ecx, edi
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 1
push eax
call fcn.004fb900
movzx eax, byte [esi + 0xf]
mov ecx, edi
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 1
push eax
call fcn.004fb900
movzx eax, byte [esi + 0x10]
mov ecx, edi
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 1
push eax
call fcn.004fb900
mov eax, dword [esi + 0x10]
mov ecx, edi
shr eax, 8
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 1
push eax
call fcn.004fb900
movzx eax, byte [esi + 0x12]
mov ecx, edi
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 1
push eax
call fcn.004fb900
movzx eax, byte [esi + 0x13]
mov ecx, edi
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 1
push eax
call fcn.004fb900
movzx eax, byte [esi + 0x14]
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 1
push eax
mov ecx, edi
call fcn.004fb900
mov eax, dword [esi + 0x14]
mov ecx, edi
shr eax, 8
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 1
push eax
call fcn.004fb900
movzx eax, byte [esi + 0x16]
mov ecx, edi
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 1
push eax
call fcn.004fb900
movzx eax, byte [esi + 0x17]
mov ecx, edi
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 1
push eax
call fcn.004fb900
movzx eax, byte [esi + 0x18]
mov ecx, edi
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 1
push eax
call fcn.004fb900
mov eax, dword [esi + 0x18]
mov ecx, edi
shr eax, 8
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 1
push eax
call fcn.004fb900
movzx eax, byte [esi + 0x1c]
mov ecx, edi
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 1
push eax
call fcn.004fb900
mov eax, dword [esi + 0x1c]
mov ecx, edi
shr eax, 8
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 1
push eax
call fcn.004fb900
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4faad0
push eax
lea eax, [esi + 0x148]
mov ecx, edi
push eax
call fcn.004fb900
cmp eax, dword [esi + 0x18]
je 0x4faaeb
pop edi
mov eax, 0xa
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0053f778
add esp, 8
ret
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4fab05
push eax
push dword [esi + 0x13c]
mov ecx, edi
call fcn.004fb900
cmp eax, dword [esi + 0x1c]
jne 0x4faad5
mov ecx, dword [esp + 0xc]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0053f778
add esp, 8
ret