Function at 0x505db0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
sub esp, 0x68
lea ebp, [esp - 4]
mov eax, dword [0x6d15dc]
xor eax, ebp
mov dword [ebp + 0x68], eax
push 0xc4
mov eax, 0x60ba8e
call fcn.0057938a
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 [0x6cced4]
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], esi
call fcn.00567f08
lea eax, [ebp - 0x58]
push eax
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.0050511d
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.004d9810
mov eax, dword [edi + 8]
push edi
push eax
lea ecx, [ebp + 0x10]
call fcn.004d9810
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp + 0x28], esi
call fcn.00505105
mov eax, dword [eax]
lea ecx, [ebp - 0xa0]
mov dword [ebp + 4], eax
call fcn.0047bdbf
push esi
lea ecx, [ebp + 0x30]
mov dword [ebp + 8], esi
mov dword [ebp + 0x48], 7
call fcn.00418d13
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 0x506464
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 0x5063f6
movzx eax, word [esi + 4]
movzx ecx, ax
lea eax, [ecx + esi]
cmp eax, dword [ebp - 0x48]
ja 0x5063f6
mov eax, dword [esi]
test eax, eax
mov dword [ebp + 0x18], eax
je 0x506432
movzx eax, word [esi + 4]
test ax, ax
je 0x506432
cmp ax, 0x1a
jb 0x5063f6
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
ja 0x5063f6
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.0051cdf6
add esp, 0xc
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x18], eax
mov byte [ebp - 4], 4
jne 0x505f33
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp + 0x4c]
call fcn.0041f8c8
test eax, eax
jne 0x505f33
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp + 0x4c]
call fcn.0041f8c8
test eax, eax
jne 0x50623f
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x50623f
mov eax, dword [edi + 8]
push edi
push eax
lea ecx, [ebp - 0xa8]
call fcn.004d9810
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp + 0x10]
call fcn.004d94d7
test al, al
jne 0x505fc8
jmp 0x505f9b
lea ecx, [ebp + 0x10]
call fcn.004d95ad
push dword [ebp + 0x28]
mov eax, dword [eax]
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.004eba5c
mov ecx, dword [eax]
mov byte [ebp - 4], 5
call fcn.004e9319
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.004db62d
lea ecx, [ebp + 0x10]
call fcn.004d95ad
mov eax, dword [eax]
push dword [ebp + 0x28]
mov ecx, eax
call fcn.004ec15c
lea ecx, [ebp + 0x10]
call fcn.004d95ad
push dword [ebp + 0x28]
mov eax, dword [eax]
lea ecx, [ebp - 0x60]
push ecx
mov ecx, eax
call fcn.004eba5c
cmp dword [eax], 0
lea ecx, [ebp - 0x60]
setne byte [ebp + 0x2f]
call fcn.004db62d
cmp byte [ebp + 0x2f], 0
jne 0x505f58
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.004ddeb8
cmp dword [ebp - 0x3c], 0
mov byte [ebp - 4], 6
jne 0x50600b
push str.false
push 0x1cf
push str...NTFSAttributeList.cpp
call fcn.0056a190
add esp, 0xc
cmp dword [ebp + 0x18], 0x30
je 0x506046
lea eax, [ebp - 0x80]
push eax
mov ecx, ebx
call fcn.005050e4
mov ecx, eax
call fcn.004d942a
mov ecx, eax
call fcn.004bab29
mov eax, dword [eax]
push dword [ebp + 0x18]
or dword [ebp + 0xc], 1
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.004d4038
test al, al
jne 0x506046
xor bl, bl
jmp 0x506048
mov bl, 1
test byte [ebp + 0xc], 1
mov dword [ebp - 4], 6
je 0x506061
and dword [ebp + 0xc], 0xfffffffe
lea ecx, [ebp - 0x80]
call fcn.004b72d2
test bl, bl
je 0x50609e
mov ecx, dword [ebp - 0x3c]
call fcn.004f1866
test al, al
jne 0x506088
push str.range__isResident__
push 0x1d6
push str...NTFSAttributeList.cpp
call fcn.0056a190
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.004f1873
test al, al
je 0x5060f9
push 0xa8
call fcn.00401012
pop ecx
mov dword [ebp + 8], eax
test eax, eax
mov byte [ebp - 4], 9
je 0x5060e5
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.0050da68
jmp 0x5060e7
xor eax, eax
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.004f2c71
jmp 0x50617d
push 0x78
call fcn.00401012
pop ecx
mov dword [ebp + 8], eax
test eax, eax
mov byte [ebp - 4], 0xa
je 0x506125
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.005064cb
jmp 0x506127
xor eax, eax
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.004da074
jmp 0x50617d
lea ecx, [ebp + 0x20]
call fcn.004d95ad
mov eax, dword [eax]
push dword [ebp - 0x1c]
push eax
call fcn.004eac1e
test al, al
pop ecx
pop ecx
je 0x50619a
lea ecx, [ebp + 0x20]
call fcn.004d95ad
mov ecx, dword [eax]
call fcn.004e9351
push dword [ebp + 0x24]
lea eax, [ebp - 0xd0]
push dword [ebp + 0x20]
mov ecx, edi
push eax
call fcn.004dc7e1
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.004d9810
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x20]
call fcn.004d94d7
test al, al
je 0x506136
mov eax, dword [edi + 8]
push edi
push eax
lea ecx, [ebp - 0x88]
call fcn.004d9810
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp + 0x20]
call fcn.004d94d7
test al, al
jne 0x5061d6
lea ecx, [ebp + 0x20]
call fcn.004d95ad
mov eax, dword [eax]
push dword [ebp - 0x1c]
push eax
call fcn.004eb1d8
test al, al
pop ecx
pop ecx
je 0x5061f9
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.004f4e7d
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.004189d3
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.004d95ce
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.004b7429
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.004b73f4
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.004e92e9
and dword [ebp - 0x2c], 0
and dword [ebp - 0x28], 0
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xc
call fcn.004d95ad
push dword [ebp + 0x28]
mov eax, dword [eax]
lea ecx, [ebp - 0x98]
push ecx
mov ecx, eax
call fcn.004eba5c
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call fcn.004dc1a6
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xc
call fcn.004db62d
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x506388
lea eax, [ebp - 0xc8]
push eax
push ebx
call fcn.004e8fb0
test al, al
pop ecx
pop ecx
je 0x50631c
mov ecx, ebx
call fcn.004e9319
lea ecx, [ebp + 0x10]
call fcn.004d95ad
mov eax, dword [eax]
push dword [ebp + 0x28]
mov ecx, eax
call fcn.004ec15c
lea ecx, [ebp + 0x10]
call fcn.004d95ad
push dword [ebp + 0x28]
mov eax, dword [eax]
lea ecx, [ebp - 0x78]
push ecx
mov ecx, eax
call fcn.004eba5c
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call fcn.004dc1a6
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xc
call fcn.004db62d
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
jne 0x5062b6
test ebx, ebx
je 0x506388
lea eax, [ebp - 0xc8]
push eax
push ebx
call fcn.004e9006
test al, al
pop ecx
pop ecx
je 0x506375
movzx eax, word [ebx + 8]
cmp ax, word [ebp + 0x1c]
jne 0x50635b
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.004f26fc
test al, al
pop ecx
pop ecx
jne 0x506375
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.004e9319
lea eax, [ebp - 0xc8]
push eax
push ebx
call fcn.004e9024
test al, al
pop ecx
pop ecx
je 0x5063ab
lea ecx, [ebp + 0x10]
call fcn.004d95ad
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.004ec07a
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.004db62d
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 4
call fcn.004b73f4
push 0
push 1
lea ecx, [ebp + 0x4c]
mov byte [ebp - 4], 3
call fcn.00418ad9
movzx eax, word [esi + 4]
mov ebx, dword [ebp - 0x4c]
add esi, eax
cmp esi, dword [ebp - 0x48]
jb 0x505e9c
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 8]
xor edx, edx
cmp dword [ebp - 0x34], ecx
jne 0x50642e
cmp dword [ebp - 0x30], edx
jne 0x50642e
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 0x505e87
xor esi, esi
jmp 0x506464
push 0
jmp 0x506482
lea ecx, [ebp + 0x20]
call fcn.004d95ad
mov ecx, dword [eax]
call fcn.004e9351
push dword [ebp + 0x24]
lea eax, [ebp - 0x90]
push dword [ebp + 0x20]
mov ecx, edi
push eax
call fcn.004dc7e1
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.004d9810
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x20]
call fcn.004d94d7
test al, al
je 0x506436
push esi
push 1
lea ecx, [ebp + 0x30]
call fcn.00418ad9
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.004b7429
lea ecx, [ebp - 0x50]
call fcn.00566b7e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x78]
call fcn.004ddbea
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.0057937b
add ebp, 0x6c
leave
ret 0xc