Function at 0x41ae70
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x28
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push esi
mov esi, eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
test byte [eax + 0xc], 1
mov dword [esp + 4], eax
je 0x41ae95
xor eax, eax
pop esi
add esp, 0x28
ret
mov eax, dword [esp + 0x34]
push ebx
push ebp
mov ebp, dword [esi + 8]
push edi
lea edi, [eax*8]
sub edi, eax
add edi, edi
add edi, edi
add edi, edi
test edx, edx
mov eax, dword [edi + ebp + 0x20]
mov ebx, dword [edi + ebp + 0x18]
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], eax
je 0x41aed0
test ecx, ecx
je 0x41aedb
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0x28
ret
test ecx, ecx
je 0x41aedb
cmp word [ebp], 1
jg 0x41aec6
mov ecx, dword [ebx + 0x28]
test ecx, ecx
mov eax, dword [ebx + 8]
je 0x41aeeb
cmp dword [esi + 0x28], 0
jne 0x41aec6
cmp dword [ebx + 0x2c], 0
jne 0x41aec6
cmp dword [esi + 0x24], 0
je 0x41aefb
test ecx, ecx
jne 0x41aec6
cmp word [eax], 0
je 0x41aec6
test byte [ebx + 6], 1
jne 0x41aec6
test ecx, ecx
je 0x41af16
cmp word [ebp], 1
jg 0x41aec6
test edx, edx
jne 0x41aec6
mov dx, word [esi + 6]
and dx, 1
je 0x41af27
cmp dword [esp + 0x48], 0
jne 0x41aec6
cmp dword [esi + 0x18], 0
je 0x41af33
cmp dword [ebx + 0x18], 0
jne 0x41aec6
cmp dword [esp + 0x44], 0
je 0x41af40
cmp dword [ebx + 0x18], 0
jne 0x41aec6
test ecx, ecx
je 0x41af4e
cmp dword [esi + 0xc], 0
jne 0x41aec6
test byte [edi + ebp + 0x1d], 0x20
lea eax, [edi + ebp + 0x1d]
mov dword [esp + 0x2c], eax
jne 0x41aec6
cmp dword [ebx + 0x1c], 0
je 0x41affd
cmp dword [ebx + 0x18], 0
jne 0x41aec6
cmp dword [esp + 0x44], 0
jne 0x41aec6
test dx, dx
jne 0x41aec6
cmp word [ebp], 1
jne 0x41aec6
mov eax, ebx
mov dl, 5
jmp 0x41afa0
test byte [eax + 6], dl
jne 0x41aec6
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x41afba
cmp byte [eax + 4], 0x71
jne 0x41aec6
mov eax, dword [eax + 8]
test eax, eax
je 0x41aec6
cmp word [eax], 1
jne 0x41aec6
mov eax, ecx
test eax, eax
jne 0x41afa0
mov eax, dword [esi + 0x18]
test eax, eax
je 0x41affd
cmp dword [eax], ecx
jle 0x41affd
mov eax, dword [eax + 0xc]
add eax, 0xe
cmp word [eax], 0
je 0x41aec6
mov edx, dword [esi + 0x18]
add ecx, 1
add eax, 0x14
cmp ecx, dword [edx]
jl 0x41afe6
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x200]
mov dword [eax + 0x200], ecx
mov eax, dword [ebx + 0x1c]
test eax, eax
mov dword [esp + 0x14], eax
je 0x41b09a
lea esp, [esp]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x10]
mov edi, dword [esi + 0x18]
mov ebx, dword [esi + 0x28]
mov dword [esp + 0x20], eax
xor eax, eax
push eax
push esi
push ecx
mov dword [esi + 0x18], eax
mov dword [esi + 8], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x28], eax
call fcn.00416010
add esp, 0xc
test eax, eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x18], edi
mov dword [esi + 8], ebp
mov byte [esi + 4], 0x71
mov dword [esi + 0x24], 0
jne 0x41b068
mov eax, dword [esp + 0x20]
jmp 0x41b076
mov edx, dword [esp + 0x20]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x24], 0
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x1e], 0
jne 0x41b39e
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x1c]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x41b020
mov edi, dword [esp + 0x24]
mov edx, dword [edi + ebp + 8]
mov eax, dword [edi + ebp + 0x18]
mov ebx, dword [esp + 0x10]
push edx
push ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], eax
call fcn.00410460
mov eax, dword [edi + ebp + 0xc]
push eax
push ebx
call fcn.00410460
mov ecx, dword [edi + ebp + 0x10]
push ecx
push ebx
call fcn.00410460
mov eax, dword [edi + ebp + 0x14]
xor edx, edx
mov dword [edi + ebp + 8], edx
mov dword [edi + ebp + 0xc], edx
mov dword [edi + ebp + 0x10], edx
mov dword [edi + ebp + 0x18], edx
lea ebp, [edi + ebp + 0x14]
add esp, 0x18
cmp eax, edx
je 0x41b121
movzx ecx, word [eax + 0x20]
cmp cx, 1
jne 0x41b117
mov edi, dword [esp + 0x3c]
mov ecx, dword [edi + 0x1a0]
cmp ecx, edx
jne 0x41b106
mov ecx, edi
mov edi, dword [ecx + 0x21c]
mov dword [eax + 0x44], edi
mov dword [ecx + 0x21c], eax
jmp 0x41b11e
add ecx, 0xffffffff
mov word [eax + 0x20], cx
mov dword [ebp], edx
mov ebp, esi
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
test eax, eax
mov edi, dword [edx + 8]
mov ebx, dword [esp + 0x10]
movsx esi, word [edi]
mov byte [esp + 0x3c], 0
mov dword [esp + 0x18], eax
je 0x41b14d
mov ecx, dword [esp + 0x2c]
mov dl, byte [ecx]
mov byte [esp + 0x3c], dl
jmp 0x41b16a
push 0
push 0
xor eax, eax
call fcn.00416e80
add esp, 8
test eax, eax
mov dword [ebp + 8], eax
mov dword [esp + 0x18], eax
je 0x41b38c
cmp esi, 1
jle 0x41b195
mov ecx, dword [esp + 0x40]
add ecx, 1
push ecx
lea edx, [esi - 1]
push edx
push ebx
call fcn.00415c20
add esp, 0xc
mov dword [ebp + 8], eax
cmp byte [ebx + 0x1e], 0
mov dword [esp + 0x18], eax
jne 0x41b38c
test esi, esi
jle 0x41b1fb
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
add edi, 8
lea edx, [eax + ecx + 8]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 0x20]
mov ebx, dword [esp + 0x10]
call fcn.004107f0
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov ecx, 0xe
mov edi, ebx
push 0x38
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x24]
push 0
push esi
call fcn.0045c6f6
add ebx, 0x38
add esi, 0x38
add esp, 0xc
sub dword [esp + 0x28], 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], esi
jne 0x41b1b4
mov al, byte [esp + 0x3c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov byte [ecx + edx + 0x1d], al
mov esi, dword [ebp]
xor eax, eax
cmp dword [esi], eax
mov dword [esp + 0x28], eax
jle 0x41b260
mov dword [esp + 0x3c], eax
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x3c]
cmp dword [ecx + edx + 4], 0
lea eax, [ecx + edx]
jne 0x41b24c
mov eax, dword [eax + 8]
test eax, eax
je 0x41b24c
mov ebx, eax
mov edx, edi
call fcn.00414160
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x3c]
mov dword [ecx + edx + 4], eax
mov eax, dword [esp + 0x28]
add dword [esp + 0x3c], 0x14
add eax, 1
cmp eax, dword [esi]
mov dword [esp + 0x28], eax
jl 0x41b220
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
mov ebx, dword [esp + 0x30]
mov ecx, dword [ebp]
push eax
push ebx
push ecx
push edi
call fcn.004194b0
add esp, 0x10
cmp dword [esp + 0x44], 0
je 0x41b2a2
mov edx, dword [esi]
mov eax, dword [ebp + 0x10]
push edx
push ebx
push eax
push edi
call fcn.004194b0
mov ecx, dword [esi]
mov edx, dword [ebp + 0x14]
push ecx
push ebx
push edx
push edi
call fcn.00418490
add esp, 0x20
mov dword [ebp + 0x14], eax
mov eax, dword [esi + 0x18]
test eax, eax
je 0x41b2b5
mov dword [ebp + 0x18], eax
mov dword [esi + 0x18], 0
jmp 0x41b2ca
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x41b2ca
mov ecx, dword [esi]
push ecx
push ebx
push eax
push edi
call fcn.004194b0
add esp, 0x10
mov eax, dword [esi + 0xc]
test eax, eax
je 0x41b2e3
push 0
push eax
push edi
call fcn.00417340
add esp, 0xc
mov dword [esp + 0x3c], eax
jmp 0x41b2eb
mov dword [esp + 0x3c], 0
cmp dword [esp + 0x48], 0
je 0x41b33b
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x3c]
mov dword [ebp + 0x14], edx
mov dword [ebp + 0xc], eax
mov ecx, dword [esi]
push ecx
push ebx
push edx
push edi
call fcn.00418490
mov dword [ebp + 0x14], eax
mov eax, dword [esi + 0x14]
push 0
push eax
push edi
call fcn.00417340
mov ecx, dword [ebp + 0x14]
push ecx
mov ecx, edi
call fcn.00414ba0
mov dword [ebp + 0x14], eax
mov edx, dword [esi + 0x10]
push 0
push edx
push edi
call fcn.00414ab0
add esp, 0x2c
mov dword [ebp + 0x10], eax
jmp 0x41b35e
mov eax, dword [esi]
mov ecx, dword [ebp + 0xc]
push eax
push ebx
push ecx
push edi
call fcn.00418490
mov dword [ebp + 0xc], eax
push eax
mov eax, dword [esp + 0x50]
mov ecx, edi
call fcn.00414ba0
add esp, 0x14
mov dword [ebp + 0xc], eax
movzx edx, byte [esi + 6]
and edx, 1
or word [ebp + 6], dx
mov eax, dword [esi + 0x28]
test eax, eax
je 0x41b37a
mov dword [ebp + 0x28], eax
mov dword [esi + 0x28], 0
mov ebp, dword [ebp + 0x1c]
test ebp, ebp
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x14], eax
jne 0x41b123
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.004144f0
add esp, 8
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x28
ret