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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0x128
call fcn.0049b580
pop ecx
mov dword [ebp - 4], eax
mov dword [eax + 0x120], 0
push 0x258
call fcn.0049b580
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x120], eax
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x120]
movzx eax, word [ebp + 0xc]
cmp eax, 8
jne 0x4c0cf6
lea eax, [ebp - 0xc]
mov ecx, dword [0x6a8668]
mov dword [eax], ecx
push 3
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00532800
add esp, 0xc
or dword [ebx], 0xffffffff
movsx eax, byte [ebp - 0xa]
test eax, eax
jne 0x4c0c87
mov byte [ebp - 0xa], 0x5c
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x104
lea eax, [ebx + 0x14c]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x4c0cea
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004c04b0
add esp, 8
lea edi, [ebx + 0x250]
lea esi, [ebp - 0x18]
mov ecx, 8
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 8], 1
movzx eax, word [ebp + 0xc]
push eax
call fcn.004c06d0
pop ecx
mov dword [ebx + 0x144], eax
jmp 0x4c0e1d
mov dword [ebp - 8], 0
jmp 0x4c0e1d
mov eax, dword [ebp + 8]
mov edx, eax
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x4c0cfe
mov dword [ebp - 0x10], eax
lea eax, [eax + 4]
push eax
call fcn.0049b580
pop ecx
mov dword [ebp - 0xc], eax
or dword [ebx], 0xffffffff
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4c0e1d
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00531ba0
add esp, 8
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
movsx eax, byte [edx + eax - 1]
cmp eax, 0x5c
jne 0x4c0d5b
push 0x6a8688
mov eax, dword [ebp - 0xc]
push eax
call fcn.00532090
add esp, 8
lea eax, [ebx + 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebx], eax
movzx eax, word [ebp + 0xc]
push eax
call fcn.004c06d0
pop ecx
mov dword [ebx + 0x144], eax
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x4c0e13
mov eax, dword [ebx + 0x144]
test eax, eax
je 0x4c0da8
mov edx, dword [ebx + 4]
test edx, edx
je 0x4c0da8
mov ecx, edx
and ecx, 0x80
jne 0x4c0da8
and eax, edx
je 0x4c0db4
mov dword [ebp - 8], 1
jmp 0x4c0e13
mov eax, dword [ebx + 4]
mov edx, eax
and edx, 0x10
jne 0x4c0dc8
mov edx, dword [ebx + 0x144]
and edx, eax
je 0x4c0dd1
mov dword [ebp - 8], 1
jmp 0x4c0e13
mov dword [ebp - 8], 0
jmp 0x4c0e02
mov eax, dword [ebx + 0x144]
test eax, eax
je 0x4c0df9
mov edx, dword [ebx + 4]
test edx, edx
je 0x4c0df9
mov ecx, edx
and ecx, 0x80
jne 0x4c0df9
and eax, edx
je 0x4c0e02
mov dword [ebp - 8], 1
jmp 0x4c0e13
lea eax, [ebx + 4]
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4c0dda
mov eax, dword [ebp - 0xc]
push eax
call fcn.0049b640
pop ecx
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.004be070
add esp, 8
cmp dword [ebp - 8], 0
je 0x4c0e3d
mov eax, dword [ebp - 4]
push eax
call fcn.004c09f0
pop ecx
jmp 0x4c0e4e
mov eax, dword [ebp - 4]
push eax
call fcn.004c0ee0
pop ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret