Function at 0x4ae970
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4aee1a
sub esp, 0x50
mov edx, dword [esp + 0x60]
test edx, edx
je 0x4aedd4
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x54]
movzx ebp, byte [ebx + 5]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4aedcd
mov ebp, dword [ebx + 0x14]
cmp ebp, eax
jge 0x4aedcd
mov esi, ebp
shl ebp, 1
test ebp, ebp
jle 0x4aedb0
mov eax, edx
movzx edx, byte [ebx + 9]
test dl, dl
je 0x4aed9e
movzx edx, byte [ebx + 8]
test dl, dl
je 0x4ae9dd
mov ebp, esi
shl ebp, 2
lea edx, [ebp + esi - 1]
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], edx
movzx ebp, byte [ebx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4aed97
mov ebp, dword [ebx + 0x10]
cmp ebp, edx
jle 0x4aed90
mov ecx, edx
movzx edx, byte [ebx + 6]
test dl, dl
je 0x4aed6d
mov edx, dword [ebx]
mov ebp, dword [edx + 4]
mov edi, esi
mov esi, dword [edx + 8]
mov edx, dword [edx]
movzx ebx, byte [ebx + 8]
test bl, bl
je 0x4aed66
mov ebx, dword [esp + 0x70]
cmp ebx, 0x10
jbe 0x4aee0d
mov dword [esp + 0x2c], ebp
lea ebx, [ebp + 2]
mov ebp, dword [esp + 0x6c]
movzx ebp, byte [ebp + 0x10]
cmp ebx, esi
ja 0x4aed19
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x2c]
mov byte [edx + ebx], 0x30
xchg ebp, eax
mov byte [edx + ebx + 1], al
xchg ebp, eax
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
jmp 0x4aeaa9
movzx ecx, byte [esp + 0x23]
mov eax, dword [esp + 0x4c]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], bl
mov ecx, dword [esp + 0x28]
inc ecx
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], ecx
mov ebx, ebp
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x70]
mov ebp, dword [esp + 0x28]
cmp edi, ebp
jle 0x4aeccc
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x54]
movzx edx, byte [edx + 9]
test dl, dl
je 0x4aecc8
test ebp, ebp
jle 0x4aecbb
lea edx, [ebx + 1]
cmp esi, edx
jb 0x4aec69
mov ebp, dword [esp + 0x4c]
mov byte [ebp + ebx], 0x20
mov ebx, dword [esp + 0x54]
movzx ebx, byte [ebx + 8]
test bl, bl
je 0x4aec62
mov ebx, dword [esp + 0x70]
cmp ebx, 0x10
jbe 0x4aee01
mov dword [esp + 0x38], edx
lea ebx, [edx + 2]
mov edx, dword [esp + 0x6c]
movzx edx, byte [edx + 0x10]
cmp esi, ebx
jb 0x4aec15
test eax, eax
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x38]
mov byte [ebp + ebx], 0x30
mov byte [ebp + ebx + 1], dl
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x4c], ebp
je 0x4aebf0
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x28]
cmp ebx, ebp
jbe 0x4aedf8
movzx ebx, byte [eax + ebp]
mov byte [esp + 0x21], bl
shr bl, 4
movzx ebx, bl
mov ebp, dword [esp + 0x70]
cmp ebx, ebp
jae 0x4aede6
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x6c]
movzx ebx, byte [ebx + esi]
mov byte [esp + 0x23], bl
movzx ebx, byte [esp + 0x21]
and ebx, 0xf
cmp ebx, ebp
jae 0x4aeddd
lea ebp, [edx + 2]
movzx ebx, byte [ebx + esi]
mov esi, dword [esp + 0x30]
cmp ebp, esi
jbe 0x4aea76
mov byte [esp + 0x22], bl
mov dword [esp + 0x2c], edx
lea eax, [0x5db380]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.00445150
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
add eax, 2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
movzx ebx, byte [esp + 0x22]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x4c], ebp
mov ebp, eax
mov eax, dword [esp + 0x60]
jmp 0x4aea76
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x5c]
cmp ebx, ebp
jae 0x4aedef
mov ecx, dword [esp + 0x58]
movzx ecx, byte [ecx + ebx]
mov ebp, ebx
mov ebx, ecx
mov ecx, dword [esp + 0x24]
jmp 0x4aeb4e
mov byte [esp + 0x23], dl
lea eax, [0x5db380]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00445150
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ebx, [eax + 2]
mov eax, dword [esp + 0x60]
test eax, eax
mov ecx, dword [esp + 0x24]
movzx edx, byte [esp + 0x23]
mov edi, dword [esp + 0x40]
jmp 0x4aeb1b
test eax, eax
jmp 0x4aeb30
mov dword [esp + 0x34], ebx
lea eax, [0x5db380]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
call fcn.00445150
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
inc eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x4c], edx
mov edx, eax
mov eax, dword [esp + 0x60]
jmp 0x4aeadc
test eax, eax
mov edx, ebx
mov ebp, dword [esp + 0x4c]
jmp 0x4aeb30
test eax, eax
jmp 0x4aecbd
mov ebp, dword [esp + 0x54]
mov edi, dword [ebp]
mov dword [edi + 4], ebx
mov dword [edi + 8], esi
mov ebx, dword [0x7a0970]
test ebx, ebx
jne 0x4aed10
mov dword [edi], edx
movzx eax, byte [ebp + 4]
test al, al
je 0x4aecfc
mov eax, dword [ebp + 0x10]
cmp eax, ecx
jle 0x4aecfc
movzx edx, byte [ebp + 6]
test dl, dl
jne 0x4aed00
add esp, 0x50
ret
mov dword [esp], ebp
sub eax, ecx
mov dword [esp + 4], eax
call fcn.004ad570
jmp 0x4aecfc
mov eax, edx
call fcn.0045de10
jmp 0x4aece5
xchg ebp, eax
mov byte [esp + 0x23], al
xchg ebp, eax
lea eax, [0x5db380]
mov dword [esp], eax
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00445150
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ebx, [eax + 2]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x24]
movzx ebp, byte [esp + 0x23]
mov edi, dword [esp + 0x40]
jmp 0x4aea4c
mov ebx, ebp
jmp 0x4aea62
mov dword [esp], ebx
sub ebp, ecx
mov dword [esp + 4], ebp
call fcn.004ad570
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x40]
jmp 0x4aea10
mov ecx, edx
jmp 0x4aea10
mov ecx, edx
jmp 0x4aea10
movzx edx, byte [ebx + 8]
test dl, dl
je 0x4aeda9
add ebp, 2
mov edx, ebp
jmp 0x4ae9e1
movzx eax, byte [ebx + 4]
test al, al
jne 0x4aedbc
add esp, 0x50
ret
mov eax, dword [ebx + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004ad570
jmp 0x4aedb8
mov ebp, eax
jmp 0x4ae9b6
mov eax, dword [esp + 0x5c]
jmp 0x4ae999
mov eax, ebx
mov ecx, ebp
call fcn.0045de90
mov eax, ebx
mov ecx, ebp
call fcn.0045de90
mov eax, ebx
mov ecx, ebp
call fcn.0045de90
mov eax, ebp
mov ecx, ebx
call fcn.0045de90
mov eax, 0x10
mov ecx, ebx
call fcn.0045de90
mov eax, 0x10
mov ecx, ebx
call fcn.0045de90
nop
call fcn.0045c8b0
jmp fcn.004ae970