Function at 0x4af280
Capabilities:
Enumerate files on windows
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
push 0x140
call fcn.00455e40
pop ecx
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x13c], 0
push 0x258
call fcn.00455e40
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x13c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x13c]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 8
jne 0x4af36d
lea edi, [ebp - 0x10]
mov esi, 0x5f312c
mov ecx, 4
rep movsb byte es:[edi], byte [esi]
push 3
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00490a40
add esp, 0xc
mov edx, dword [ebp - 0xc]
mov dword [edx], 0xffffffff
cmp byte [ebp - 0xe], 0
jne 0x4af301
mov byte [ebp - 0xe], 0x5c
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x104
mov eax, dword [ebp - 0xc]
add eax, 0x14c
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x4af361
lea eax, [ebp - 0x10]
push eax
call fcn.004aeb60
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x250], eax
mov dword [ecx + 0x254], edx
mov dword [ebp - 8], 1
mov eax, dword [ebp + 0xc]
push eax
call fcn.004aed40
pop ecx
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x144], eax
jmp 0x4af4b3
mov dword [ebp - 8], 0
jmp 0x4af4b3
mov edx, dword [ebp + 8]
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x4af373
mov dword [ebp - 0x14], eax
add eax, 4
push eax
call fcn.00455e40
pop ecx
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xc]
mov dword [edx], 0xffffffff
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4af4b3
push 0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.0048fa10
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp byte [edx + eax - 1], 0x5c
jne 0x4af3d7
push 0
push 0x5f313f
mov eax, dword [ebp - 0x10]
push eax
call fcn.0048f9b0
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
lea edx, [eax + 4]
push edx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.004aed40
pop ecx
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x144], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x4af4a9
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x144]
test edx, edx
je 0x4af435
mov eax, dword [eax + 4]
test eax, eax
je 0x4af435
mov ecx, eax
and ecx, 0x80
jne 0x4af435
and edx, eax
je 0x4af441
mov dword [ebp - 8], 1
jmp 0x4af4a9
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 4]
mov ecx, edx
and ecx, 0x10
jne 0x4af458
mov eax, dword [eax + 0x144]
and eax, edx
je 0x4af461
mov dword [ebp - 8], 1
jmp 0x4af4a9
mov dword [ebp - 8], 0
jmp 0x4af495
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x144]
test edx, edx
je 0x4af48c
mov eax, dword [eax + 4]
test eax, eax
je 0x4af48c
mov ecx, eax
and ecx, 0x80
jne 0x4af48c
and edx, eax
je 0x4af495
mov dword [ebp - 8], 1
jmp 0x4af4a9
mov eax, dword [ebp - 0xc]
lea edx, [eax + 4]
push edx
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4af46a
mov eax, dword [ebp - 0x10]
push eax
call fcn.00455f20
pop ecx
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.004a6b50
add esp, 8
cmp dword [ebp - 8], 0
je 0x4af4d3
mov eax, dword [ebp - 4]
push eax
call fcn.004af000
pop ecx
jmp 0x4af4e4
mov eax, dword [ebp - 4]
push eax
call fcn.004af570
pop ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret