Function at 0x5135a0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
mov esi, 0x589f4c
xor eax, eax
push ebp
push 0x5138de
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x2d0]
call fcn.00478364
test eax, eax
setne dl
mov eax, dword [ebx + 0x338]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebx + 0x2d0]
call fcn.00478364
mov edx, eax
shl eax, 3
sub eax, edx
mov dl, byte [esi + eax*4]
mov eax, dword [ebx + 0x338]
mov ecx, dword [eax]
call dword [ecx + 0xbc]
mov eax, dword [ebx + 0x338]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x51361b
mov eax, dword [ebx + 0x338]
mov edx, dword [eax]
call dword [edx + 0xb8]
test al, al
je 0x51361f
xor edx, edx
jmp 0x513621
mov dl, 1
mov eax, dword [ebx + 0x344]
call fcn.0044122c
mov eax, dword [ebx + 0x2d0]
call fcn.00478364
mov edx, eax
shl eax, 3
sub eax, edx
mov dl, byte [esi + eax*4 + 8]
mov eax, dword [ebx + 0x320]
mov ecx, dword [eax]
call dword [ecx + 0xbc]
mov eax, dword [ebx + 0x2d0]
call fcn.00478364
mov edx, eax
shl eax, 3
sub eax, edx
mov dl, byte [esi + eax*4 + 0x10]
mov eax, dword [ebx + 0x334]
mov ecx, dword [eax]
call dword [ecx + 0xbc]
mov eax, dword [ebx + 0x2d0]
call fcn.00478364
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [esi + eax*4 + 0xc]
mov eax, dword [ebx + 0x324]
call fcn.004f2350
mov eax, dword [ebx + 0x2d0]
call fcn.00478364
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [esi + eax*4 + 0x14]
mov eax, dword [ebx + 0x330]
call fcn.004f2350
mov eax, dword [ebx + 0x2d0]
call fcn.00478364
mov edx, eax
shl eax, 3
sub eax, edx
mov dl, byte [esi + eax*4 + 0x18]
mov eax, dword [ebx + 0x33c]
mov ecx, dword [eax]
call dword [ecx + 0xbc]
mov eax, dword [ebx + 0x2d0]
call fcn.00478364
mov edx, eax
shl eax, 3
sub eax, edx
mov eax, dword [esi + eax*4 + 4]
mov dl, byte [eax]
lea eax, [ebp - 4]
call fcn.00403db0
mov eax, dword [ebp - 4]
call fcn.00409004
mov edx, eax
mov eax, dword [ebx + 0x2f8]
call fcn.0042c6a4
mov eax, dword [ebx + 0x2d0]
call fcn.00478364
mov edx, eax
shl eax, 3
sub eax, edx
mov eax, dword [esi + eax*4 + 4]
mov dl, byte [eax + 1]
lea eax, [ebp - 4]
call fcn.00403db0
mov eax, dword [ebp - 4]
call fcn.00409004
mov edx, eax
mov eax, dword [ebx + 0x308]
call fcn.0042c6a4
mov eax, dword [ebx + 0x2d0]
call fcn.00478364
mov edx, eax
shl eax, 3
sub eax, edx
mov eax, dword [esi + eax*4 + 4]
mov dl, byte [eax + 2]
lea eax, [ebp - 4]
call fcn.00403db0
mov eax, dword [ebp - 4]
call fcn.00409004
mov edx, eax
mov eax, dword [ebx + 0x304]
call fcn.0042c6a4
mov eax, dword [ebx + 0x2d0]
call fcn.00478364
mov edx, eax
shl eax, 3
sub eax, edx
mov eax, dword [esi + eax*4 + 4]
mov dl, byte [eax + 3]
lea eax, [ebp - 4]
call fcn.00403db0
mov eax, dword [ebp - 4]
call fcn.00409004
mov edx, eax
mov eax, dword [ebx + 0x2fc]
call fcn.0042c6a4
mov eax, dword [ebx + 0x2d0]
call fcn.00478364
mov edx, eax
shl eax, 3
sub eax, edx
mov eax, dword [esi + eax*4 + 4]
mov dl, byte [eax + 4]
lea eax, [ebp - 4]
call fcn.00403db0
mov eax, dword [ebp - 4]
call fcn.00409004
mov edx, eax
mov eax, dword [ebx + 0x300]
call fcn.0042c6a4
mov eax, dword [ebx + 0x2d0]
call fcn.00478364
mov edx, eax
shl eax, 3
sub eax, edx
mov eax, dword [esi + eax*4 + 4]
mov dl, byte [eax + 5]
lea eax, [ebp - 4]
call fcn.00403db0
mov eax, dword [ebp - 4]
call fcn.00409004
mov edx, eax
mov eax, dword [ebx + 0x30c]
call fcn.0042c6a4
mov eax, dword [ebx + 0x2d0]
call fcn.00478364
mov edx, eax
shl eax, 3
sub eax, edx
mov eax, dword [esi + eax*4 + 4]
mov dl, byte [eax + 6]
lea eax, [ebp - 4]
call fcn.00403db0
mov eax, dword [ebp - 4]
call fcn.00409004
mov edx, eax
mov eax, dword [ebx + 0x2dc]
call fcn.0042c6a4
mov eax, dword [ebx + 0x2d0]
call fcn.00478364
mov edx, eax
shl eax, 3
sub eax, edx
mov eax, dword [esi + eax*4 + 4]
mov dl, byte [eax + 7]
lea eax, [ebp - 4]
call fcn.00403db0
mov eax, dword [ebp - 4]
call fcn.00409004
mov edx, eax
mov eax, dword [ebx + 0x2e0]
call fcn.0042c6a4
mov eax, dword [ebx + 0x2d0]
call fcn.00478364
mov edx, eax
shl eax, 3
sub eax, edx
mov eax, dword [esi + eax*4 + 4]
mov dl, byte [eax + 8]
lea eax, [ebp - 4]
call fcn.00403db0
mov eax, dword [ebp - 4]
call fcn.00409004
mov edx, eax
mov eax, dword [ebx + 0x2e4]
call fcn.0042c6a4
xor edx, edx
mov eax, ebx
call fcn.005134f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5138e5
lea eax, [ebp - 4]
call fcn.00403c0c
ret