Function at 0x4c5440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c56b1
sub esp, 0x3c
mov eax, dword [esp + 0x40]
movzx ecx, byte [eax + 4]
test cl, cl
je 0x4c560e
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4c560e
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.0048f1a0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x10]
sub ecx, dword [esp + 8]
movzx edx, byte [eax + 6]
test dl, dl
je 0x4c555b
mov dword [esp + 0x20], ecx
mov edx, dword [eax]
mov dword [esp + 0x2c], edx
mov ebx, dword [edx + 4]
mov ebp, dword [esp + 0x48]
lea esi, [ebx + ebp]
mov edi, dword [edx + 8]
mov ecx, dword [edx]
cmp edi, esi
jae 0x4c54f2
mov dword [esp + 0x28], ebx
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
lea eax, [0x5e2160]
mov dword [esp + 0x10], eax
call fcn.0044a1f0
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x38], ecx
lea eax, [ecx + ebx]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00464050
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 8], eax
mov eax, dword [0x7c78f0]
test eax, eax
jne 0x4c5539
mov eax, dword [esp + 0x38]
mov dword [edi], eax
jmp 0x4c5542
mov eax, dword [esp + 0x38]
call fcn.00463730
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.004c5060
jmp 0x4c560a
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004c5060
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x48]
lea ebx, [ecx + edx]
mov ebp, dword [eax + 8]
mov esi, dword [eax]
cmp ebp, ebx
jae 0x4c55ba
mov dword [esp + 0x28], ecx
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
lea eax, [0x5e2160]
mov dword [esp + 0x10], eax
call fcn.0044a1f0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], esi
lea eax, [esi + ecx]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00464050
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 8], eax
mov eax, dword [0x7c78f0]
test eax, eax
jne 0x4c5601
mov eax, dword [esp + 0x38]
mov dword [edi], eax
jmp 0x4c560a
mov eax, dword [esp + 0x38]
call fcn.00463730
add esp, 0x3c
ret
mov eax, dword [eax]
mov dword [esp + 0x34], eax
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x48]
lea ebx, [ecx + edx]
mov ebp, dword [eax + 8]
mov esi, dword [eax]
cmp ebp, ebx
jae 0x4c565d
mov dword [esp + 0x28], ecx
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
lea eax, [0x5e2160]
mov dword [esp + 0x10], eax
call fcn.0044a1f0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
lea eax, [esi + ecx]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00464050
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x34]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 8], eax
mov eax, dword [0x7c78f0]
test eax, eax
jne 0x4c56a4
mov eax, dword [esp + 0x38]
mov dword [edi], eax
jmp 0x4c56ad
mov eax, dword [esp + 0x38]
call fcn.00463730
add esp, 0x3c
ret
call fcn.00462320
jmp fcn.004c5440