Function at 0x4a5130
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a53a9
sub esp, 0x3c
mov eax, dword [esp + 0x40]
movzx ecx, byte [eax + 4]
test cl, cl
je 0x4a5306
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4a5306
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], edx
call fcn.004697e0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x10]
sub ecx, dword [esp + 0xc]
movzx edx, byte [eax + 6]
test dl, dl
je 0x4a5253
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 0x4a51ea
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, [0x7347e0]
mov dword [esp + 0x10], eax
call fcn.00442820
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.00457450
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 [0x900e70]
test eax, eax
jne 0x4a5231
mov eax, dword [esp + 0x38]
mov dword [edi], eax
jmp 0x4a523a
mov eax, dword [esp + 0x38]
call fcn.00456ac0
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.004a4fe0
jmp 0x4a5302
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004a4fe0
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 0x4a52b2
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, [0x7347e0]
mov dword [esp + 0x10], eax
call fcn.00442820
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.00457450
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 [0x900e70]
test eax, eax
jne 0x4a52f9
mov eax, dword [esp + 0x38]
mov dword [edi], eax
jmp 0x4a5302
mov eax, dword [esp + 0x38]
call fcn.00456ac0
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 0x4a5355
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, [0x7347e0]
mov dword [esp + 0x10], eax
call fcn.00442820
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.00457450
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 [0x900e70]
test eax, eax
jne 0x4a539c
mov eax, dword [esp + 0x38]
mov dword [edi], eax
jmp 0x4a53a5
mov eax, dword [esp + 0x38]
call fcn.00456ac0
add esp, 0x3c
ret
call fcn.00455690
jmp fcn.004a5130