Function at 0x50ae00
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [ecx + 0x1f0]
push ebx
push esi
mov esi, dword [ecx]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x24], eax
push edi
mov edi, edx
lea eax, [ecx*8]
mov dword [esp + 0x14], edi
sub eax, ecx
inc eax
cmp dword [ebp + 0x10], 0
mov edx, dword [edi + 8]
mov ebx, dword [edx + eax*8 + 0x10]
lea ecx, [edx + eax*8]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
je 0x50ae5a
cmp dword [ebp + 0xc], 0
jne 0x50ae9d
cmp word [edx], 1
jg 0x50ae9d
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 8]
test eax, eax
je 0x50ae6a
cmp dword [edi + 0x28], 0
jne 0x50ae9d
cmp dword [ebx + 0x2c], 0
jne 0x50ae9d
cmp dword [edi + 0x24], 0
je 0x50ae80
test eax, eax
je 0x50ae80
cmp dword [ebx + 0x18], 0
jne 0x50ae9d
cmp word [ecx], 0
je 0x50ae9d
test byte [ebx + 6], 1
jne 0x50ae90
test eax, eax
je 0x50aea6
cmp word [edx], 1
jg 0x50ae9d
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x50aea9
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
test byte [edi + 6], 1
je 0x50aeb5
cmp dword [ebp + 0x10], 0
jne 0x50ae9d
cmp dword [edi + 0x18], 0
je 0x50aec1
cmp dword [ebx + 0x18], 0
jne 0x50ae9d
test ecx, ecx
je 0x50aecb
cmp dword [ebx + 0x18], 0
jne 0x50ae9d
test eax, eax
je 0x50aed5
cmp dword [edi + 0xc], 0
jne 0x50ae9d
mov eax, dword [esp + 0x18]
test byte [eax + 0x15], 0x20
jne 0x50ae9d
cmp dword [ebx + 0x1c], 0
je 0x50af52
cmp dword [ebx + 0x18], 0
jne 0x50ae9d
test ecx, ecx
jne 0x50ae9d
test byte [edi + 6], 1
jne 0x50ae9d
cmp word [edx], 1
jne 0x50ae9d
mov eax, ebx
nop dword [eax]
test byte [eax + 6], 5
jne 0x50ae9d
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x50af13
cmp byte [eax + 4], 0x70
jne 0x50ae9d
mov eax, dword [eax + 8]
test eax, eax
je 0x50ae9d
cmp word [eax], 1
jne 0x50ae9d
mov eax, ecx
test eax, eax
jne 0x50af00
mov eax, dword [edi + 0x18]
test eax, eax
je 0x50af52
mov ecx, dword [eax]
xor edx, edx
test ecx, ecx
jle 0x50af52
mov eax, dword [eax + 0xc]
add eax, 0xe
nop
cmp word [eax], 0
je 0x50ae9d
inc edx
add eax, 0x14
cmp edx, ecx
jl 0x50af40
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x1f0], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x24], eax
test eax, eax
je 0x50b001
nop
mov eax, dword [esp + 0x14]
mov edx, eax
mov ebx, dword [edi + 0x18]
mov edi, dword [edi + 0x28]
push 0
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x2c], ecx
mov ecx, esi
mov dword [eax + 0x18], 0
mov dword [eax + 8], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x28], 0
call fcn.00527e30
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx + 0x28], edi
mov edi, ecx
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x18], ebx
mov dword [edi + 8], ecx
mov byte [edi + 4], 0x70
mov dword [edi + 0x24], 0
test eax, eax
jne 0x50afd3
mov eax, dword [esp + 0x28]
jmp 0x50afe1
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x24], 0
mov dword [edi + 0x1c], eax
cmp byte [esi + 0x1e], 0
jne 0x50b4bc
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x50af70
mov edx, dword [esp + 0x18]
mov ebx, dword [edx + 0x10]
mov ecx, dword [edx]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x20], ebx
test esi, esi
je 0x50b043
test ecx, ecx
je 0x50b043
cmp ecx, dword [esi + 0xf0]
jb 0x50b043
cmp ecx, dword [esi + 0xf4]
jae 0x50b043
mov eax, dword [esi + 0xec]
mov dword [ecx], eax
dec dword [esi + 0xe4]
mov dword [esi + 0xec], ecx
mov ecx, dword [edx + 4]
jmp 0x50b057
push ecx
call fcn.00549d90
mov edx, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [edx + 4]
test esi, esi
je 0x50b084
test ecx, ecx
je 0x50b084
cmp ecx, dword [esi + 0xf0]
jb 0x50b084
cmp ecx, dword [esi + 0xf4]
jae 0x50b084
mov eax, dword [esi + 0xec]
mov dword [ecx], eax
dec dword [esi + 0xe4]
mov dword [esi + 0xec], ecx
mov ecx, dword [edx + 8]
jmp 0x50b098
push ecx
call fcn.00549d90
mov eax, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [eax + 8]
test esi, esi
je 0x50b0c2
test ecx, ecx
je 0x50b0c2
cmp ecx, dword [esi + 0xf0]
jb 0x50b0c2
cmp ecx, dword [esi + 0xf4]
jae 0x50b0c2
mov eax, dword [esi + 0xec]
mov dword [ecx], eax
dec dword [esi + 0xe4]
mov dword [esi + 0xec], ecx
jmp 0x50b0cb
push ecx
call fcn.00549d90
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
test ecx, ecx
je 0x50b11f
movzx eax, word [ecx + 0x20]
cmp eax, 1
jne 0x50b10f
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x20c]
mov dword [ecx + 0x44], eax
mov dword [edx + 0x20c], ecx
jmp 0x50b114
dec eax
mov word [ecx + 0x20], ax
mov eax, dword [esp + 0x18]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp + 8]
lea eax, [ecx*8]
sub eax, ecx
shl eax, 3
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 8]
mov edx, dword [edi + 8]
mov byte [esp + 0x13], 0
mov dword [esp + 0x30], eax
movsx ecx, word [eax]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
test edx, edx
je 0x50b15d
mov eax, dword [esp + 0x18]
mov al, byte [eax + 0x15]
mov byte [esp + 0x13], al
jmp 0x50b182
push 0
push 0
xor edx, edx
mov ecx, esi
call fcn.0051d150
mov edx, eax
add esp, 8
mov dword [esp + 0x28], edx
mov dword [edi + 8], edx
test edx, edx
je 0x50b46e
mov ecx, dword [esp + 0x24]
cmp ecx, 1
jle 0x50b1b1
mov eax, dword [ebp + 8]
inc eax
push eax
lea eax, [ecx - 1]
mov ecx, esi
push eax
call fcn.0051d3c0
mov edx, eax
add esp, 8
mov dword [edi + 8], edx
cmp byte [esi + 0x1e], 0
mov dword [esp + 0x28], edx
jne 0x50b46e
mov ecx, dword [esp + 0x24]
test ecx, ecx
jle 0x50b215
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
add edi, 8
add ebx, 8
add edi, edx
mov edx, dword [edi + 0x20]
mov ecx, esi
call fcn.0051d590
movups xmm0, xmmword [ebx]
push 0x38
push 0
movups xmmword [edi], xmm0
push ebx
movups xmm0, xmmword [ebx + 0x10]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [ebx + 0x20]
movups xmmword [edi + 0x20], xmm0
movq xmm0, qword [ebx + 0x30]
movq qword [edi + 0x30], xmm0
call fcn.004359b0
add esp, 0xc
lea edi, [edi + 0x38]
add ebx, 0x38
sub dword [esp + 0x24], 1
jne 0x50b1c5
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov al, byte [esp + 0x13]
mov byte [ecx + edx + 0x1d], al
xor ecx, ecx
mov eax, dword [edi]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
cmp dword [eax], ecx
jle 0x50b26d
xor ebx, ebx
mov edi, eax
mov eax, dword [edi + 0xc]
cmp dword [eax + ebx + 4], 0
jne 0x50b259
mov edx, dword [eax + ebx + 8]
test edx, edx
je 0x50b259
mov ecx, esi
call fcn.00549830
mov ecx, dword [edi + 0xc]
mov dword [ecx + ebx + 4], eax
mov ecx, dword [esp + 0x28]
inc ecx
add ebx, 0x14
mov dword [esp + 0x28], ecx
cmp ecx, dword [edi]
jl 0x50b235
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov eax, dword [edi]
mov ecx, dword [ebx]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
test eax, eax
je 0x50b2c8
cmp dword [eax], 0
mov dword [esp + 0x28], 0
jle 0x50b2c8
xor ebx, ebx
mov edi, eax
nop
mov edx, dword [edi + 0xc]
push ecx
push dword [esp + 0x20]
mov ecx, esi
mov edx, dword [edx + ebx]
call fcn.0050b6b0
mov ecx, dword [edi + 0xc]
lea ebx, [ebx + 0x14]
add esp, 8
mov dword [ebx + ecx - 0x14], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [edi]
jl 0x50b290
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
cmp dword [ebp + 0xc], 0
je 0x50b33e
mov eax, dword [edi + 0x10]
mov ecx, dword [ebx]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
test eax, eax
je 0x50b328
cmp dword [eax], 0
mov dword [esp + 0x28], 0
jle 0x50b328
xor ebx, ebx
mov edi, eax
mov edx, dword [edi + 0xc]
push ecx
push dword [esp + 0x20]
mov ecx, esi
mov edx, dword [edx + ebx]
call fcn.0050b6b0
mov ecx, dword [edi + 0xc]
lea ebx, [ebx + 0x14]
add esp, 8
mov dword [ebx + ecx - 0x14], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [edi]
jl 0x50b2f0
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
push dword [ebx]
mov edx, dword [edi + 0x14]
mov ecx, esi
push dword [esp + 0x20]
call fcn.0050b6b0
add esp, 8
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x50b351
mov dword [edi + 0x18], eax
mov dword [ebx + 0x18], 0
jmp 0x50b3ab
mov eax, dword [edi + 0x18]
mov dword [esp + 0x30], eax
test eax, eax
je 0x50b3ab
cmp dword [eax], 0
mov ecx, dword [ebx]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0
jle 0x50b3ab
xor ebx, ebx
mov edi, eax
mov edx, dword [edi + 0xc]
push ecx
push dword [esp + 0x20]
mov ecx, esi
mov edx, dword [ebx + edx]
call fcn.0050b6b0
mov ecx, dword [edi + 0xc]
lea ebx, [ebx + 0x14]
add esp, 8
mov dword [ebx + ecx - 0x14], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [edi]
jl 0x50b373
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x50b3c2
push 0
push 0
mov ecx, esi
call fcn.00528b30
add esp, 8
jmp 0x50b3c4
xor eax, eax
cmp dword [ebp + 0x10], 0
mov ecx, esi
mov edx, dword [edi + 0xc]
mov dword [esp + 0x28], eax
je 0x50b41a
mov dword [edi + 0x14], edx
mov dword [edi + 0xc], eax
push dword [ebx]
push dword [esp + 0x20]
call fcn.0050b6b0
mov dword [edi + 0x14], eax
mov ecx, esi
mov edx, dword [ebx + 0x14]
push 0
push 0
call fcn.00528b30
mov edx, dword [edi + 0x14]
mov ecx, esi
push eax
call fcn.005293a0
add esp, 0x14
mov dword [edi + 0x14], eax
mov edx, dword [ebx + 0x10]
mov ecx, esi
push 0
call fcn.00528700
add esp, 4
mov dword [edi + 0x10], eax
jmp 0x50b43b
push dword [ebx]
push dword [esp + 0x20]
call fcn.0050b6b0
push dword [esp + 0x30]
mov edx, eax
mov dword [edi + 0xc], eax
mov ecx, esi
call fcn.005293a0
add esp, 0xc
mov dword [edi + 0xc], eax
mov ax, word [ebx + 6]
and ax, 1
or word [edi + 6], ax
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x50b458
mov dword [edi + 0x28], eax
mov dword [ebx + 0x28], 0
mov edi, dword [edi + 0x1c]
mov ebx, dword [ebx + 0x1c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], ebx
test edi, edi
jne 0x50b132
mov ebx, dword [esp + 0x34]
test ebx, ebx
je 0x50b4bc
mov edx, ebx
mov ecx, esi
call fcn.00510d00
test esi, esi
je 0x50b4b3
cmp ebx, dword [esi + 0xf0]
jb 0x50b4b3
cmp ebx, dword [esi + 0xf4]
jae 0x50b4b3
mov eax, dword [esi + 0xec]
mov dword [ebx], eax
mov eax, 1
dec dword [esi + 0xe4]
mov dword [esi + 0xec], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.00549d90
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret