Function at 0x409eb0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40a234
sub esp, 0x40
mov eax, dword [esp + 0x48]
test eax, eax
je 0x40a21a
movzx ecx, byte [eax + 4]
test cl, 4
jne 0x40a202
mov ecx, dword [esp + 0x44]
mov ebx, dword [ecx + 0x20]
mov ebx, dword [ebx + 0x10]
mov edx, dword [ebx]
mov ebx, dword [eax + 8]
mov dword [esp + 4], ebx
lea ebx, [esp + 0x4c]
mov dword [esp], ebx
mov ebx, dword [edx]
call ebx
mov eax, dword [esp + 8]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x48]
movzx ebx, byte [ecx + 4]
or ebx, 4
mov byte [ecx + 4], bl
mov ebx, dword [ecx + 0xc]
lea ebp, [ecx + 0xc]
test ebx, ebx
jne 0x40a070
jmp 0x40a19f
lea ebx, [ebp + 1]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x14], edi
mov dword [esp + 0x30], ecx
mov ebp, dword [esp + 0x18]
cmp ebp, 8
jae 0x409ffd
test byte [edx], al
movzx ebx, byte [edx + ebp]
cmp al, bl
je 0x409f65
test bl, bl
jne 0x409f29
test ecx, ecx
jne 0x409f29
mov ecx, edx
mov edi, ebp
jmp 0x409f29
mov ebx, edx
lea edx, [edx + ebp*8 + 8]
mov dword [esp + 0x38], edx
mov esi, dword [edx + 4]
mov edx, dword [esp + 0x50]
cmp esi, edx
je 0x409f82
mov edx, ebx
mov esi, dword [esp + 0x44]
jmp 0x409f29
mov esi, dword [esp + 0x38]
mov esi, dword [esi]
mov eax, dword [esp + 0x4c]
cmp esi, eax
je 0x409fc7
mov dword [esp + 8], edx
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0044d9b0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x409fc7
movzx eax, byte [esp + 0x13]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
jmp 0x409f29
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
movzx edx, byte [edx + 0x32]
imul ecx, edx
mov edx, dword [esp + 0x48]
movzx ebx, byte [edx + 4]
lea eax, [ecx + eax + 0x48]
test bl, 4
je 0x40a1ea
and ebx, 0xfffffffb
mov byte [edx + 4], bl
mov dword [esp + 0x54], eax
add esp, 0x40
ret
movzx ebp, word [esi + 0x34]
lea edx, [edx + ebp - 4]
mov edx, dword [edx]
test edx, edx
je 0x40a027
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x3c], edx
mov byte [esp + 0x28], al
xor eax, eax
mov dword [esp + 0x18], eax
movzx eax, byte [esp + 0x28]
jmp 0x409f38
mov edx, dword [ebx + 0x10]
test edx, edx
jne 0x40a0d6
mov edx, dword [ebx]
inc edx
movzx ebp, byte [ebx + 5]
cmp edx, 8
jle 0x40a16d
mov ecx, ebp
mov eax, 1
shl eax, cl
shr eax, 1
lea edi, [eax + eax*2]
lea eax, [eax + edi*4]
cmp edx, eax
seta al
test al, al
je 0x40a0b9
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.00407cc0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
movzx edx, byte [ecx + 5]
mov ebx, ecx
mov ecx, edx
mov ebp, 1
shl ebp, cl
lea edx, [ebp - 1]
and edx, eax
mov ebp, dword [ebx + 0x10]
test ebp, ebp
jne 0x40a176
mov ebp, dword [ebx + 0xc]
mov esi, dword [esp + 0x44]
movzx edi, word [esi + 0x34]
imul edx, edi
add edx, ebp
mov ebp, eax
shr eax, 0x18
cmp al, 4
jae 0x40a0ac
add eax, 4
mov byte [esp + 0x13], al
xor ecx, ecx
xor edi, edi
jmp 0x40a00f
movzx eax, word [ebx + 6]
cmp cl, 0xf
jbe 0x40a0c7
mov ecx, 0xf
and ecx, 0xf
mov edx, 1
shl edx, cl
cmp ax, dx
jae 0x40a05c
mov eax, dword [esp + 0x30]
test eax, eax
je 0x40a146
mov ecx, dword [esp + 0x14]
test byte [eax], al
mov edx, ecx
and ecx, 7
movzx ebp, byte [esp + 0x13]
xchg ebp, ebx
mov byte [eax + ecx], bl
xchg ebp, ebx
mov ecx, eax
lea eax, [eax + edx*8 + 8]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
mov dword [eax + 4], ebp
mov ebp, dword [0xcc2260]
test ebp, ebp
jne 0x40a120
mov dword [eax], edi
mov ebp, dword [ebx]
inc ebp
mov dword [ebx], ebp
mov eax, ecx
mov ecx, edx
jmp 0x409fcf
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], ecx
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.0040f360
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
jmp 0x40a112
mov dword [esp], ebx
mov dword [esp + 4], esi
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.004060f0
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
xor ecx, ecx
jmp 0x40a0e2
mov ecx, ebp
xor eax, eax
jmp 0x40a058
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.0040b080
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x48]
jmp 0x40a08f
mov dword [esp + 0x34], ebp
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x28]
mov dword [esp], ecx
call fcn.0040eaf0
mov eax, dword [0xcc2260]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x40a1d4
mov eax, dword [esp + 0x48]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
jmp 0x40a070
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040f360
mov eax, dword [esp + 0x48]
jmp 0x40a1c7
lea eax, [0x851f72]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.00427fd0
ud2
lea eax, [0x851f72]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.00427fd0
ud2
lea eax, [0x7ea100]
mov dword [esp], eax
lea eax, [0x9b0690]
mov dword [esp + 4], eax
call fcn.004278c0
ud2
call fcn.0044c200
jmp fcn.00409eb0