Function at 0x4ae840
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x6c4e70]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4aeac5
sub esp, 0x3c
mov eax, dword [esp + 0x40]
movzx ecx, byte [eax + 4]
test cl, cl
je 0x4aea1b
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4aea1b
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.0046a310
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x10]
movzx edx, byte [eax + 6]
sub ecx, dword [esp + 8]
test dl, dl
je 0x4ae961
mov dword [esp + 0x20], ecx
mov edx, dword [eax]
mov dword [esp + 0x2c], edx
mov ebx, dword [edx + 8]
mov ebp, dword [edx + 4]
mov esi, dword [esp + 0x48]
lea edi, [ebp + esi]
mov ecx, dword [edx]
cmp ebx, edi
jae 0x4ae8f1
mov dword [esp + 0x28], ebp
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
lea eax, [0x560b60]
mov dword [esp + 0x10], eax
call fcn.004495c0
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x38], ecx
lea eax, [ecx + ebp]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.004617e0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 8], eax
mov eax, dword [0x6c4f80]
test eax, eax
jne 0x4ae936
mov eax, dword [esp + 0x38]
jmp 0x4ae946
call fcn.00460f00
mov eax, dword [esp + 0x38]
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.004ae470
jmp 0x4aea17
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004ae470
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x48]
lea ebp, [edx + ebx]
mov esi, dword [eax]
cmp ecx, ebp
jae 0x4ae9c0
mov dword [esp + 0x28], edx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
lea eax, [0x560b60]
mov dword [esp + 0x10], eax
call fcn.004495c0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x38], esi
lea eax, [esi + edx]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004617e0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 8], eax
mov eax, dword [0x6c4f80]
test eax, eax
jne 0x4aea05
mov eax, dword [esp + 0x38]
jmp 0x4aea15
call fcn.00460f00
mov eax, dword [esp + 0x38]
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
add esp, 0x3c
ret
mov eax, dword [eax]
mov dword [esp + 0x34], eax
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x48]
lea ebp, [edx + ebx]
mov esi, dword [eax]
cmp ecx, ebp
jae 0x4aea6a
mov dword [esp + 0x28], edx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
lea eax, [0x560b60]
mov dword [esp + 0x10], eax
call fcn.004495c0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ebp
lea eax, [esi + edx]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004617e0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 8], eax
mov eax, dword [0x6c4f80]
test eax, eax
jne 0x4aeaaf
mov eax, dword [esp + 0x38]
jmp 0x4aeabf
call fcn.00460f00
mov eax, dword [esp + 0x38]
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
add esp, 0x3c
ret
call fcn.0045faf0
jmp fcn.004ae840