Function at 0x101ae890
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x30]
push ebp
mov ebp, dword [esp + 0x30]
push esi
lea esi, [eax + eax*4]
shl esi, 4
push esi
push ebp
call fcn.101b29c0
mov edx, eax
add esp, 8
test edx, edx
mov dword [esp + 0x34], edx
jne 0x101ae8cc
mov eax, dword [esp + 0x30]
push eax
call fcn.101ae110
add esp, 4
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
push ebx
push edi
mov ecx, esi
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x48]
test ah, 2
mov ecx, dword [esp + 0x38]
mov edi, dword [ecx + 0xc]
je 0x101aea43
test edi, edi
je 0x101aeb87
mov cl, byte [esp + 0x44]
xor ebx, ebx
test cl, cl
setne bl
lea esi, [edx + 0x10]
add ebx, 7
mov edx, dword [edi + 4]
push ebx
push edx
lea eax, [esp + 0x18]
push eax
call fcn.101ae850
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
push edx
push ebp
call fcn.101b2b60
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
push ecx
push ebp
call fcn.101b2b60
mov dword [esi], eax
mov edx, dword [edi + 4]
mov eax, dword [edx + 8]
push eax
push ebp
call fcn.101b2b60
mov dword [esi - 8], eax
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 0xc]
push edx
push ebp
call fcn.101b2b60
mov dword [esi - 4], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x10]
push ecx
push ebp
call fcn.101b2b60
mov dword [esi - 0x10], eax
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x14]
push eax
push ebp
call fcn.101b2b60
mov dword [esi - 0xc], eax
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x28], ecx
mov edx, dword [esp + 0x50]
mov dword [esi + 0x24], edx
mov eax, dword [esp + 0x54]
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x58]
mov dword [esi + 0x20], ecx
mov edx, dword [esp + 0x5c]
mov dword [esi + 0x14], edx
mov eax, dword [esp + 0x60]
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x18]
xor edx, edx
mov dx, word [eax]
add esp, 0x3c
mov dword [esi + 0x38], edx
mov ecx, dword [eax + 2]
xor edx, edx
mov dword [esi + 0xc], ecx
mov dl, byte [eax + 6]
xor ecx, ecx
mov dword [esi + 0x3c], edx
mov cx, word [eax + 7]
xor edx, edx
mov dword [esi + 0x30], ecx
mov dl, byte [eax + 9]
mov eax, dword [esi + 0x3c]
cmp eax, 9
mov dword [esi + 0x34], edx
jg 0x101ae9ee
cmp eax, 7
jne 0x101ae9f4
mov eax, dword [esi + 0xc]
cmp eax, 0xe
je 0x101ae9f4
cmp eax, 8
je 0x101ae9f4
cmp dword [esi + 0x3c], 0xd
jne 0x101ae9fb
or dword [esi + 0x30], 0x8000
mov al, byte [esp + 0x44]
test al, al
je 0x101aea23
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x101aea23
push eax
push ebp
call fcn.101b2b60
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x34]
add esp, 8
mov dword [esi + 0x2c], ecx
jmp 0x101aea2a
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov edi, dword [edi]
add esi, 0x50
test edi, edi
jne 0x101ae90d
jmp 0x101aeb87
test edi, edi
je 0x101aeb87
mov bl, byte [esp + 0x44]
xor ecx, ecx
test bl, bl
setne cl
mov ebx, eax
lea esi, [edx + 0xc]
add ecx, 5
mov dword [esp + 0x40], ecx
and ebx, 4
mov edx, dword [esp + 0x40]
mov eax, dword [edi + 4]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.101ae850
mov edx, dword [edi + 4]
mov eax, dword [edx]
push eax
push ebp
call fcn.101b2b60
mov dword [esi - 4], eax
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 4]
push edx
push ebp
call fcn.101b2b60
mov dword [esi - 0xc], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
and edx, 0xffffff
mov dword [esi + 0x10], edx
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, 0x10422d84
mov dword [esi + 8], eax
mov dword [esi + 4], eax
add esp, 0x1c
mov dword [esi + 0x40], edx
xor edx, edx
cmp ebx, edx
mov dword [esi + 0x2c], edx
mov dword [esi + 0x28], edx
mov eax, dword [esp + 0x10]
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x24], ecx
mov eax, dword [esp + 0x14]
mov dword [esi + 0x18], eax
je 0x101aeb05
xor ecx, ecx
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x10]
xor ecx, ecx
mov cx, word [eax]
xor eax, eax
mov dword [esi + 0x34], ecx
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x10]
xor eax, eax
mov al, byte [ecx + 2]
jmp 0x101aeb21
xor ecx, ecx
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x10]
xor ecx, ecx
mov cl, byte [eax]
xor eax, eax
mov dword [esi + 0x34], ecx
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x10]
xor eax, eax
mov al, byte [ecx + 1]
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 0x40]
cmp ecx, 9
jg 0x101aeb3e
cmp ecx, 7
jne 0x101aeb43
mov eax, dword [esi + 0x10]
cmp eax, 0xe
je 0x101aeb43
cmp eax, 8
je 0x101aeb43
cmp ecx, 0xd
jne 0x101aeb4a
or dword [esi + 0x34], 0x8000
mov al, byte [esp + 0x44]
test al, al
je 0x101aeb74
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x14]
cmp eax, edx
je 0x101aeb74
push eax
push ebp
call fcn.101b2b60
mov dword [esi + 0xc], eax
mov edx, dword [esp + 0x2c]
add esp, 8
mov dword [esi + 0x30], edx
xor edx, edx
jmp 0x101aeb77
mov dword [esi + 0xc], edx
mov dword [esi + 0x14], edx
mov edi, dword [edi]
add esi, 0x50
cmp edi, edx
jne 0x101aea65
mov eax, dword [esp + 0x38]
push eax
call fcn.101ae110
mov eax, dword [esp + 0x40]
add esp, 4
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x24
ret