Function at 0x13f0450
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [ecx + 0x1f0]
push ebx
mov ebx, dword [ecx]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x28], eax
push esi
mov esi, edx
lea eax, [ecx*8]
mov dword [esp + 0xc], esi
sub eax, ecx
inc eax
cmp dword [ebp + 0x10], 0
push edi
mov edi, dword [esi + 8]
mov edx, dword [edi + eax*8 + 0x10]
lea ecx, [edi + eax*8]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
je 0x13f04b2
cmp dword [ebp + 0xc], 0
jne 0x13f0b5c
cmp word [edi], 1
jg 0x13f0b5c
mov eax, dword [edx + 0x28]
mov ecx, dword [edx + 8]
test eax, eax
je 0x13f04c6
cmp dword [esi + 0x28], 0
jne 0x13f0b5c
cmp dword [edx + 0x2c], 0
jne 0x13f0b5c
cmp dword [esi + 0x24], 0
je 0x13f04e4
test eax, eax
je 0x13f04e4
cmp dword [edx + 0x18], 0
jne 0x13f0b5c
cmp word [ecx], 0
je 0x13f0b5c
test byte [edx + 6], 1
jne 0x13f04f8
test eax, eax
je 0x13f050c
cmp word [edi], 1
jg 0x13f0b5c
cmp dword [ebp + 0xc], 0
jne 0x13f0b5c
mov cx, word [esi + 6]
and cx, 1
je 0x13f0520
cmp dword [ebp + 0x10], 0
jne 0x13f0b5c
mov edi, dword [esi + 0x18]
test edi, edi
je 0x13f0531
cmp dword [edx + 0x18], 0
jne 0x13f0b5c
cmp dword [ebp + 0xc], 0
je 0x13f0541
cmp dword [edx + 0x18], 0
jne 0x13f0b5c
test eax, eax
je 0x13f054f
cmp dword [esi + 0xc], 0
jne 0x13f0b5c
mov eax, dword [esp + 0x14]
test byte [eax + 0x15], 0x20
jne 0x13f0b5c
cmp dword [edx + 0x1c], 0
je 0x13f05f2
cmp dword [edx + 0x18], 0
jne 0x13f0b5c
cmp dword [ebp + 0xc], 0
jne 0x13f0b5c
test cx, cx
jne 0x13f0b5c
mov eax, dword [esp + 0x20]
cmp word [eax], 1
jne 0x13f0b5c
mov eax, edx
test byte [eax + 6], 5
jne 0x13f0b5c
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x13f05af
cmp byte [eax + 4], 0x70
jne 0x13f0b5c
mov eax, dword [eax + 8]
test eax, eax
je 0x13f0b5c
cmp word [eax], 1
jne 0x13f0b5c
mov eax, ecx
test eax, eax
jne 0x13f0594
test edi, edi
je 0x13f05f2
mov edi, dword [edi]
test edi, edi
jle 0x13f05f2
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0xc]
add eax, 0xe
lea ecx, [ecx]
cmp word [eax], 0
je 0x13f0b5c
inc ecx
add eax, 0x14
cmp ecx, edi
jl 0x13f05e0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x1f0], eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x24], eax
test eax, eax
je 0x13f06a1
nop
mov eax, dword [esp + 0x10]
mov edx, eax
mov edi, dword [esi + 0x18]
mov esi, dword [esi + 0x28]
push 0
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x20], ecx
mov ecx, ebx
mov dword [eax + 0x18], 0
mov dword [eax + 8], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x28], 0
call fcn.013d1930
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0x28], esi
mov esi, ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x18], edi
mov dword [esi + 8], ecx
mov byte [esi + 4], 0x70
mov dword [esi + 0x24], 0
test eax, eax
jne 0x13f0673
mov eax, dword [esp + 0x1c]
jmp 0x13f0681
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x24], 0
mov dword [esi + 0x1c], eax
cmp byte [ebx + 0x1e], 0
jne 0x13f0b50
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x13f0610
mov edx, dword [esp + 0x14]
mov edi, dword [edx + 0x10]
mov ecx, dword [edx]
mov dword [esp + 0x34], edi
mov dword [esp + 0x1c], edi
test ebx, ebx
je 0x13f06e3
test ecx, ecx
je 0x13f06e3
cmp ecx, dword [ebx + 0xf0]
jb 0x13f06e3
cmp ecx, dword [ebx + 0xf4]
jae 0x13f06e3
mov eax, dword [ebx + 0xec]
mov dword [ecx], eax
dec dword [ebx + 0xe4]
mov dword [ebx + 0xec], ecx
mov ecx, dword [edx + 4]
jmp 0x13f06f7
push ecx
call fcn.013b4350
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, dword [edx + 4]
test ebx, ebx
je 0x13f0724
test ecx, ecx
je 0x13f0724
cmp ecx, dword [ebx + 0xf0]
jb 0x13f0724
cmp ecx, dword [ebx + 0xf4]
jae 0x13f0724
mov eax, dword [ebx + 0xec]
mov dword [ecx], eax
dec dword [ebx + 0xe4]
mov dword [ebx + 0xec], ecx
mov ecx, dword [edx + 8]
jmp 0x13f0738
push ecx
call fcn.013b4350
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [eax + 8]
test ebx, ebx
je 0x13f0762
test ecx, ecx
je 0x13f0762
cmp ecx, dword [ebx + 0xf0]
jb 0x13f0762
cmp ecx, dword [ebx + 0xf4]
jae 0x13f0762
mov eax, dword [ebx + 0xec]
mov dword [ecx], eax
dec dword [ebx + 0xe4]
mov dword [ebx + 0xec], ecx
jmp 0x13f076b
push ecx
call fcn.013b4350
add esp, 4
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0xc]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0x10], 0
test ecx, ecx
je 0x13f07bf
movzx eax, word [ecx + 0x20]
cmp eax, 1
jne 0x13f07b3
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x20c]
mov dword [ecx + 0x44], eax
mov dword [edx + 0x20c], ecx
mov edx, dword [esp + 0x14]
jmp 0x13f07b8
dec eax
mov word [ecx + 0x20], ax
mov dword [edx + 0xc], 0
mov ecx, dword [ebp + 8]
lea eax, [ecx*8]
sub eax, ecx
shl eax, 3
mov dword [esp + 0x30], eax
mov eax, dword [edi + 8]
mov ecx, dword [esi + 8]
mov byte [esp + 0xf], 0
mov dword [esp + 0x28], eax
movsx edi, word [eax]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x13f07f9
mov al, byte [edx + 0x15]
mov byte [esp + 0xf], al
jmp 0x13f081a
push 0
push 0
xor edx, edx
mov ecx, ebx
call fcn.013dd130
mov ecx, eax
add esp, 8
mov dword [esp + 0x20], ecx
mov dword [esi + 8], ecx
test ecx, ecx
je 0x13f0b02
cmp edi, 1
jle 0x13f0847
mov eax, dword [ebp + 8]
mov edx, ecx
inc eax
mov ecx, ebx
push eax
lea eax, [edi - 1]
push eax
call fcn.013dcfe0
mov ecx, eax
add esp, 8
mov dword [esi + 8], ecx
cmp byte [ebx + 0x1e], 0
mov dword [esp + 0x20], ecx
jne 0x13f0b02
test edi, edi
jle 0x13f08a6
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
add esi, 8
add edi, 8
mov dword [esp + 0x28], esi
add edi, ecx
mov dword [esp + 0x24], edi
mov edx, dword [edi + 0x20]
mov ecx, ebx
call fcn.013dcef0
mov ecx, 0xe
push 0x38
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x2c]
push 0
push esi
call fcn.01405710
mov edi, dword [esp + 0x30]
add esi, 0x38
add edi, 0x38
mov dword [esp + 0x34], esi
add esp, 0xc
mov dword [esp + 0x24], edi
sub dword [esp + 0x2c], 1
jne 0x13f0863
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov al, byte [esp + 0xf]
mov byte [edx + ecx + 0x1d], al
xor ecx, ecx
mov eax, dword [esi]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
cmp dword [eax], ecx
jle 0x13f08fa
xor edi, edi
mov esi, eax
mov eax, dword [esi + 0xc]
cmp dword [eax + edi + 4], 0
jne 0x13f08ea
mov edx, dword [eax + edi + 8]
test edx, edx
je 0x13f08ea
mov ecx, ebx
call fcn.013b46c0
mov ecx, dword [esi + 0xc]
mov dword [ecx + edi + 4], eax
mov ecx, dword [esp + 0x2c]
inc ecx
add edi, 0x14
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esi]
jl 0x13f08c6
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
mov eax, dword [esi]
mov dword [esp + 0x28], eax
mov ecx, dword [edi]
mov dword [esp + 0x24], ecx
test eax, eax
je 0x13f0958
cmp dword [eax], 0
mov dword [esp + 0x2c], 0
jle 0x13f0958
xor edi, edi
mov esi, eax
nop
mov edx, dword [esi + 0xc]
push ecx
push dword [esp + 0x1c]
mov ecx, ebx
mov edx, dword [edx + edi]
call fcn.013f0150
mov ecx, dword [esi + 0xc]
lea edi, [edi + 0x14]
add esp, 8
mov dword [edi + ecx - 0x14], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esi]
jl 0x13f0920
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
cmp dword [ebp + 0xc], 0
je 0x13f09ce
mov eax, dword [esi + 0x10]
mov ecx, dword [edi]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
test eax, eax
je 0x13f09b8
cmp dword [eax], 0
mov dword [esp + 0x2c], 0
jle 0x13f09b8
xor edi, edi
mov esi, eax
mov edx, dword [esi + 0xc]
push ecx
push dword [esp + 0x1c]
mov ecx, ebx
mov edx, dword [edx + edi]
call fcn.013f0150
mov ecx, dword [esi + 0xc]
lea edi, [edi + 0x14]
add esp, 8
mov dword [edi + ecx - 0x14], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esi]
jl 0x13f0980
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
push dword [edi]
mov edx, dword [esi + 0x14]
mov ecx, ebx
push dword [esp + 0x1c]
call fcn.013f0150
add esp, 8
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
test eax, eax
je 0x13f09e1
mov dword [esi + 0x18], eax
mov dword [edi + 0x18], 0
jmp 0x13f0a3b
mov eax, dword [esi + 0x18]
mov dword [esp + 0x28], eax
test eax, eax
je 0x13f0a3b
cmp dword [eax], 0
mov ecx, dword [edi]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], 0
jle 0x13f0a3b
xor edi, edi
mov esi, eax
mov edx, dword [esi + 0xc]
push ecx
push dword [esp + 0x1c]
mov ecx, ebx
mov edx, dword [edi + edx]
call fcn.013f0150
mov ecx, dword [esi + 0xc]
lea edi, [edi + 0x14]
add esp, 8
mov dword [edi + ecx - 0x14], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esi]
jl 0x13f0a03
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
mov edx, dword [edi + 0xc]
test edx, edx
je 0x13f0a52
push 0
push 0
mov ecx, ebx
call fcn.013d1030
add esp, 8
jmp 0x13f0a54
xor eax, eax
cmp dword [ebp + 0x10], 0
mov ecx, ebx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x2c], eax
je 0x13f0aaa
mov dword [esi + 0x14], edx
mov dword [esi + 0xc], eax
push dword [edi]
push dword [esp + 0x1c]
call fcn.013f0150
mov dword [esi + 0x14], eax
mov ecx, ebx
mov edx, dword [edi + 0x14]
push 0
push 0
call fcn.013d1030
mov edx, dword [esi + 0x14]
mov ecx, ebx
push eax
call fcn.013d09a0
add esp, 0x14
mov dword [esi + 0x14], eax
mov edx, dword [edi + 0x10]
mov ecx, ebx
push 0
call fcn.013d1340
add esp, 4
mov dword [esi + 0x10], eax
jmp 0x13f0acb
push dword [edi]
push dword [esp + 0x1c]
call fcn.013f0150
push dword [esp + 0x34]
mov edx, eax
mov dword [esi + 0xc], eax
mov ecx, ebx
call fcn.013d09a0
add esp, 0xc
mov dword [esi + 0xc], eax
mov ax, word [edi + 6]
and ax, 1
or word [esi + 6], ax
mov eax, dword [edi + 0x28]
test eax, eax
je 0x13f0ae8
mov dword [esi + 0x28], eax
mov dword [edi + 0x28], 0
mov esi, dword [esi + 0x1c]
mov edi, dword [edi + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], edi
test esi, esi
jne 0x13f07d2
mov esi, dword [esp + 0x34]
test esi, esi
je 0x13f0b50
mov edx, esi
mov ecx, ebx
call fcn.013e98b0
test ebx, ebx
je 0x13f0b47
cmp esi, dword [ebx + 0xf0]
jb 0x13f0b47
cmp esi, dword [ebx + 0xf4]
jae 0x13f0b47
mov eax, dword [ebx + 0xec]
mov dword [esi], eax
mov eax, 1
dec dword [ebx + 0xe4]
mov dword [ebx + 0xec], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.013b4350
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret