Function at 0x5064d5
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
sub esp, 0x68
lea ebp, [esp - 4]
mov eax, dword [0x6d25dc]
xor eax, ebp
mov dword [ebp + 0x68], eax
push 0xc4
mov eax, 0x60c1fe
call fcn.00579aba
mov eax, dword [ebp + 0x74]
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x4c], ebx
mov dword [ebp], eax
mov dword [ebp + 0xc], esi
push str.loadAttributeRegistry
push dword [0x6cded4]
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], esi
call fcn.0056862d
lea eax, [ebp - 0x58]
push eax
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.00505842
mov edi, dword [ebp + 0x78]
mov eax, dword [edi + 4]
push edi
push eax
lea ecx, [ebp + 0x20]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call fcn.004d9f35
mov eax, dword [edi + 8]
push edi
push eax
lea ecx, [ebp + 0x10]
call fcn.004d9f35
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp + 0x28], esi
call fcn.0050582a
mov eax, dword [eax]
lea ecx, [ebp - 0xa0]
mov dword [ebp + 4], eax
call fcn.0047c3ea
push esi
lea ecx, [ebp + 0x30]
mov dword [ebp + 8], esi
mov dword [ebp + 0x48], 7
call fcn.00419206
mov eax, dword [ebx + 8]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx]
push 1
push esi
push eax
push dword [ebp + 4]
mov byte [ebp - 4], 3
push esi
push esi
call dword [edx + 0xc]
mov dword [ebp - 0x34], eax
or eax, edx
mov dword [ebp - 0x30], edx
je 0x506b89
mov esi, dword [ebp + 4]
mov ecx, dword [ebp - 0x34]
mov eax, esi
add ecx, eax
cmp eax, ecx
mov dword [ebp - 0x48], ecx
jae 0x506b1b
movzx eax, word [esi + 4]
movzx ecx, ax
lea eax, [ecx + esi]
cmp eax, dword [ebp - 0x48]
ja 0x506b1b
mov eax, dword [esi]
test eax, eax
mov dword [ebp + 0x18], eax
je 0x506b57
movzx eax, word [esi + 4]
test ax, ax
je 0x506b57
cmp ax, 0x1a
jb 0x506b1b
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
ja 0x506b1b
movzx eax, byte [esi + 6]
push eax
movzx eax, byte [esi + 7]
add eax, esi
push eax
lea eax, [ebp + 0x4c]
push eax
call fcn.0051d51b
add esp, 0xc
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x18], eax
mov byte [ebp - 4], 4
jne 0x506658
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp + 0x4c]
call fcn.0041fdbb
test eax, eax
jne 0x506658
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp + 0x4c]
call fcn.0041fdbb
test eax, eax
jne 0x506964
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x506964
mov eax, dword [edi + 8]
push edi
push eax
lea ecx, [ebp - 0xa8]
call fcn.004d9f35
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp + 0x10]
call fcn.004d9bfc
test al, al
jne 0x5066ed
jmp 0x5066c0
lea ecx, [ebp + 0x10]
call fcn.004d9cd2
push dword [ebp + 0x28]
mov eax, dword [eax]
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.004ec181
mov ecx, dword [eax]
mov byte [ebp - 4], 5
call fcn.004e9a3e
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.004dbd52
lea ecx, [ebp + 0x10]
call fcn.004d9cd2
mov eax, dword [eax]
push dword [ebp + 0x28]
mov ecx, eax
call fcn.004ec881
lea ecx, [ebp + 0x10]
call fcn.004d9cd2
push dword [ebp + 0x28]
mov eax, dword [eax]
lea ecx, [ebp - 0x60]
push ecx
mov ecx, eax
call fcn.004ec181
cmp dword [eax], 0
lea ecx, [ebp - 0x60]
setne byte [ebp + 0x2f]
call fcn.004dbd52
cmp byte [ebp + 0x2f], 0
jne 0x50667d
movzx edx, word [esi + 0x18]
movzx ecx, word [esi + 0x14]
mov eax, dword [esi + 0x10]
and dword [ebp + 0x1c], 0
and dword [ebp + 0x28], 0
push edx
push ecx
mov ecx, dword [ebp]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004de5dd
cmp dword [ebp - 0x3c], 0
mov byte [ebp - 4], 6
jne 0x506730
push 0x656140
push 0x1cf
push str...NTFSAttributeList.cpp
call fcn.0056a8b5
add esp, 0xc
cmp dword [ebp + 0x18], 0x30
je 0x50676b
lea eax, [ebp - 0x80]
push eax
mov ecx, ebx
call fcn.00505809
mov ecx, eax
call fcn.004d9b4f
mov ecx, eax
call fcn.004bb24e
mov eax, dword [eax]
push dword [ebp + 0x18]
or dword [ebp + 0xc], 1
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.004d475d
test al, al
jne 0x50676b
xor bl, bl
jmp 0x50676d
mov bl, 1
test byte [ebp + 0xc], 1
mov dword [ebp - 4], 6
je 0x506786
and dword [ebp + 0xc], 0xfffffffe
lea ecx, [ebp - 0x80]
call fcn.004b79f7
test bl, bl
je 0x5067c3
mov ecx, dword [ebp - 0x3c]
call fcn.004f1f8b
test al, al
jne 0x5067ad
push str.range__isResident__
push 0x1d6
push str...NTFSAttributeList.cpp
call fcn.0056a8b5
add esp, 0xc
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp + 0x1c], eax
mov eax, dword [ecx]
call dword [eax + 0x24]
mov dword [ebp + 0x28], eax
and dword [ebp - 0x1c], 0
and dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 8
call fcn.004f1f98
test al, al
je 0x50681e
push 0xa8
call fcn.00401012
pop ecx
mov dword [ebp + 8], eax
test eax, eax
mov byte [ebp - 4], 9
je 0x50680a
push dword [ebp + 0x28]
lea ecx, [ebp + 0x4c]
push dword [ebp + 0x1c]
push ecx
push dword [ebp + 0x18]
mov ecx, eax
push dword [ebp]
call fcn.0050e18d
jmp 0x50680c
xor eax, eax
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.004f3396
jmp 0x5068a2
push 0x78
call fcn.00401012
pop ecx
mov dword [ebp + 8], eax
test eax, eax
mov byte [ebp - 4], 0xa
je 0x50684a
push dword [ebp + 0x28]
lea ecx, [ebp + 0x4c]
push dword [ebp + 0x1c]
push ecx
push dword [ebp + 0x18]
mov ecx, eax
push dword [ebp]
call fcn.00506bf0
jmp 0x50684c
xor eax, eax
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.004da799
jmp 0x5068a2
lea ecx, [ebp + 0x20]
call fcn.004d9cd2
mov eax, dword [eax]
push dword [ebp - 0x1c]
push eax
call fcn.004eb343
test al, al
pop ecx
pop ecx
je 0x5068bf
lea ecx, [ebp + 0x20]
call fcn.004d9cd2
mov ecx, dword [eax]
call fcn.004e9a76
push dword [ebp + 0x24]
lea eax, [ebp - 0xd0]
push dword [ebp + 0x20]
mov ecx, edi
push eax
call fcn.004dcf06
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0x20], ecx
mov dword [ebp + 0x24], eax
mov eax, dword [edi + 8]
push edi
push eax
lea ecx, [ebp - 0x14]
call fcn.004d9f35
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x20]
call fcn.004d9bfc
test al, al
je 0x50685b
mov eax, dword [edi + 8]
push edi
push eax
lea ecx, [ebp - 0x88]
call fcn.004d9f35
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp + 0x20]
call fcn.004d9bfc
test al, al
jne 0x5068fb
lea ecx, [ebp + 0x20]
call fcn.004d9cd2
mov eax, dword [eax]
push dword [ebp - 0x1c]
push eax
call fcn.004eb8fd
test al, al
pop ecx
pop ecx
je 0x50691e
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x24]
lea eax, [ebp - 0x90]
push dword [ebp + 0x20]
mov ecx, edi
push eax
call fcn.004f55a2
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0x20], ecx
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 0x18]
push 0xffffffffffffffff
mov dword [ebp + 8], eax
push 0
lea eax, [ebp + 0x4c]
push eax
lea ecx, [ebp + 0x30]
call fcn.00418ec6
mov eax, dword [ebp + 0x20]
and dword [ebp + 0x28], 0
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x24]
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x14], eax
call fcn.004d9cf3
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.004b7b4e
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.004b7b19
push dword [esi + 0xc]
movzx eax, word [esi + 0x18]
push dword [esi + 8]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x44], ecx
mov ecx, dword [esi + 0x14]
push eax
push ecx
push dword [esi + 0x10]
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0xc8]
mov dword [ebp + 0x1c], eax
call fcn.004e9a0e
and dword [ebp - 0x2c], 0
and dword [ebp - 0x28], 0
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xc
call fcn.004d9cd2
push dword [ebp + 0x28]
mov eax, dword [eax]
lea ecx, [ebp - 0x98]
push ecx
mov ecx, eax
call fcn.004ec181
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call fcn.004dc8cb
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xc
call fcn.004dbd52
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x506aad
lea eax, [ebp - 0xc8]
push eax
push ebx
call fcn.004e96d5
test al, al
pop ecx
pop ecx
je 0x506a41
mov ecx, ebx
call fcn.004e9a3e
lea ecx, [ebp + 0x10]
call fcn.004d9cd2
mov eax, dword [eax]
push dword [ebp + 0x28]
mov ecx, eax
call fcn.004ec881
lea ecx, [ebp + 0x10]
call fcn.004d9cd2
push dword [ebp + 0x28]
mov eax, dword [eax]
lea ecx, [ebp - 0x78]
push ecx
mov ecx, eax
call fcn.004ec181
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call fcn.004dc8cb
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xc
call fcn.004dbd52
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
jne 0x5069db
test ebx, ebx
je 0x506aad
lea eax, [ebp - 0xc8]
push eax
push ebx
call fcn.004e972b
test al, al
pop ecx
pop ecx
je 0x506a9a
movzx eax, word [ebx + 8]
cmp ax, word [ebp + 0x1c]
jne 0x506a80
mov eax, dword [ebx]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004f2e21
test al, al
pop ecx
pop ecx
jne 0x506a9a
mov ax, word [ebp + 0x1c]
mov word [ebx + 8], ax
mov eax, dword [ebp - 0x44]
mov dword [ebx], eax
mov eax, dword [ebp - 0x40]
mov ecx, ebx
mov dword [ebx + 4], eax
call fcn.004e9a3e
lea eax, [ebp - 0xc8]
push eax
push ebx
call fcn.004e9749
test al, al
pop ecx
pop ecx
je 0x506ad0
lea ecx, [ebp + 0x10]
call fcn.004d9cd2
push dword [esi + 0xc]
mov eax, dword [eax]
push dword [esi + 8]
mov ecx, eax
push dword [ebp + 0x1c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push dword [ebp + 0x28]
call fcn.004ec79f
movzx eax, word [esi + 4]
inc dword [ebp + 0x28]
cdq
add dword [ebp - 0x24], eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
adc dword [ebp - 0x20], edx
call fcn.004dbd52
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 4
call fcn.004b7b19
push 0
push 1
lea ecx, [ebp + 0x4c]
mov byte [ebp - 4], 3
call fcn.00418fcc
movzx eax, word [esi + 4]
mov ebx, dword [ebp - 0x4c]
add esi, eax
cmp esi, dword [ebp - 0x48]
jb 0x5065c1
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 8]
xor edx, edx
cmp dword [ebp - 0x34], ecx
jne 0x506b53
cmp dword [ebp - 0x30], edx
jne 0x506b53
push 1
push 0
mov eax, ecx
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx]
push eax
push dword [ebp + 4]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call dword [edx + 0xc]
mov dword [ebp - 0x34], eax
or eax, edx
mov dword [ebp - 0x30], edx
jne 0x5065ac
xor esi, esi
jmp 0x506b89
push 0
jmp 0x506ba7
lea ecx, [ebp + 0x20]
call fcn.004d9cd2
mov ecx, dword [eax]
call fcn.004e9a76
push dword [ebp + 0x24]
lea eax, [ebp - 0x90]
push dword [ebp + 0x20]
mov ecx, edi
push eax
call fcn.004dcf06
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0x20], ecx
mov dword [ebp + 0x24], eax
mov eax, dword [edi + 8]
push edi
push eax
lea ecx, [ebp - 0x14]
call fcn.004d9f35
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x20]
call fcn.004d9bfc
test al, al
je 0x506b5b
push esi
push 1
lea ecx, [ebp + 0x30]
call fcn.00418fcc
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.004b7b4e
lea ecx, [ebp - 0x50]
call fcn.005672a3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x78]
call fcn.004de30f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x68]
xor ecx, ebp
call fcn.00579aab
add ebp, 0x6c
leave
ret 0xc