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

Disassembly:
sub esp, 0x248
mov eax, dword [0x7be9b8]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push ebp
mov ebp, dword [esp + 0x254]
push esi
push edi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x30], 0
mov byte [ebp], 0
mov dword [ebp + 0x128], 0
mov dword [ebp + 0x12c], 0
call fcn.0043a0b0
test byte [ebp + 0x134], 8
mov esi, dword [ebp + 0x140]
mov dword [esp + 0x10], 0
je 0x4cd0cf
cmp dword [esi + 0x258], 0
jne 0x4cd0cf
xor ebx, ebx
mov dword [esi + 0x258], 1
mov eax, dword [ebp + 0x130]
xor edi, edi
mov dword [esp + 0x24], ebx
test eax, eax
je 0x4cd04c
cmp byte [eax], bl
je 0x4cd04c
push eax
call fcn.004cdcc0
add esp, 4
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4cd01b
cmp byte [ecx], bl
je 0x4cd01b
push ecx
call fcn.004c8e20
mov edi, eax
add esp, 4
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x4cd040
mov cl, byte [eax]
test cl, cl
je 0x4cd040
cmp byte [eax + 1], bl
jne 0x4cd031
cmp cl, 0x5c
je 0x4cd040
push eax
call fcn.00460670
add esp, 4
mov dword [esp + 0x24], eax
mov ebx, eax
push dword [esp + 0x10]
call fcn.00470430
add esp, 4
push 0
push 0
push 0
push 0
push 0
push 0x108
lea eax, [esp + 0x5c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
xor ebx, ebx
test eax, eax
setne bl
mov dword [esp + 0x10], ebx
test eax, eax
je 0x4cd0a9
push 0x107
lea eax, [esp + 0x48]
push ebp
push eax
call fcn.00460600
add esp, 0xc
test edi, edi
je 0x4cd0a9
cmp byte [edi], 0
je 0x4cd0a9
push edi
push ebp
call fcn.004cd480
add esp, 8
test eax, eax
jne 0x4cd0a9
xor ebx, ebx
mov byte [ebp], al
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4cd0ba
push eax
call fcn.00470430
add esp, 4
test edi, edi
je 0x4cd0c7
push edi
call fcn.00470430
add esp, 4
test ebx, ebx
jne 0x4cd243
mov eax, dword [ebp + 0x134]
and al, 0x1e
cmp al, 8
je 0x4cd243
cmp dword [ebp + 0x138], 0
je 0x4cd20f
push dword [ebp + 0x130]
call fcn.00460670
mov edi, dword [ebp + 0x134]
mov ebx, eax
add esp, 4
mov dword [ebp + 0x138], 0
mov ecx, edi
mov eax, edi
and ecx, 0x20
mov edx, ecx
or edx, 0x10
and al, 0x10
mov eax, edi
cmove edx, ecx
mov ecx, edx
or ecx, 2
and al, 2
mov eax, edi
cmove ecx, edx
mov edx, ecx
or edx, 1
and al, 1
mov eax, edi
cmove edx, ecx
mov ecx, edx
or ecx, 4
and al, 4
mov eax, edi
cmove ecx, edx
mov edx, ecx
or edx, 0x80
and al, 0x80
mov eax, edi
cmove edx, ecx
mov ecx, edx
or ecx, 0x4000
and eax, 0x4000
mov eax, edi
cmove ecx, edx
mov edx, ecx
or edx, 0x100
and eax, 0x100
mov eax, edi
cmove edx, ecx
mov ecx, edx
or ecx, 0x200
and eax, 0x200
mov eax, edi
cmove ecx, edx
mov edx, ecx
or edx, 0x400
and eax, 0x400
mov eax, edi
cmove edx, ecx
mov ecx, edx
or ecx, 0x800
and eax, 0x800
mov eax, edi
cmove ecx, edx
mov edx, ecx
or edx, 0x1000
and eax, 0x1000
mov eax, edi
cmove edx, ecx
mov ecx, edx
or ecx, 0x2000
and eax, 0x2000
cmove ecx, edx
mov eax, ecx
or eax, 0x8000
and edi, 0x8000
lea edi, [esi + 4]
push edi
cmove eax, ecx
push ebx
mov dword [esi + 0x254], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push ebx
mov dword [esi], eax
call fcn.00470430
add esp, 4
cmp dword [esi], 0xffffffff
je 0x4cd20f
mov eax, dword [edi]
test al, 0x16
je 0x4cd24e
and eax, dword [esi + 0x254]
test al, 0x16
jne 0x4cd24e
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4cd243
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edi, [esi + 4]
push edi
push eax
call ebx
test eax, eax
je 0x4cd243
mov ecx, dword [edi]
test cl, 0x16
je 0x4cd24e
mov eax, dword [esi + 0x254]
and eax, ecx
test al, 0x16
jne 0x4cd24e
push edi
push dword [esi]
call ebx
test eax, eax
jne 0x4cd227
mov esi, dword [esp + 0x10]
xor ebx, ebx
jmp 0x4cd2ff
push 0x107
lea eax, [esi + 0x30]
push ebp
push eax
call fcn.00460600
add esp, 0xc
test byte [edi], 0x10
je 0x4cd278
xorps xmm0, xmm0
movlpd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
jmp 0x4cd283
mov eax, dword [esi + 0x20]
xor ecx, ecx
add ecx, dword [esi + 0x24]
adc eax, 0
mov dword [ebp + 0x128], ecx
add esi, 0x18
mov dword [ebp + 0x12c], eax
lea eax, [esp + 0x24]
mov ebx, dword [edi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x4cd2fa
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov esi, 1
test eax, eax
je 0x4cd2ff
movzx eax, word [esp + 0x36]
movzx edi, word [esp + 0x34]
mov dword [esp + 0x2c], eax
movzx eax, word [esp + 0x3a]
mov dword [esp + 0x14], eax
movzx eax, word [esp + 0x3c]
mov dword [esp + 0x20], eax
movzx eax, word [esp + 0x3e]
mov dword [esp + 0x1c], eax
movzx eax, word [esp + 0x40]
mov dword [esp + 0x18], eax
movzx eax, word [esp + 0x42]
mov dword [esp + 0x30], eax
jmp 0x4cd301
mov esi, 1
xor edi, edi
push 0
push esi
call fcn.00444780
add esp, 8
test esi, esi
je 0x4cd45e
mov ecx, ebx
mov byte [ebp + 0x107], 0
and ecx, 0x20
mov eax, ebx
mov edx, ecx
or edx, 0x10
and al, 0x10
mov eax, ebx
cmove edx, ecx
mov ecx, edx
or ecx, 2
and al, 2
mov eax, ebx
cmove ecx, edx
mov edx, ecx
or edx, 1
and al, 1
mov eax, ebx
cmove edx, ecx
mov ecx, edx
or ecx, 4
and al, 4
mov eax, ebx
cmove ecx, edx
mov edx, ecx
or edx, 0x80
and al, 0x80
mov eax, ebx
cmove edx, ecx
mov ecx, edx
or ecx, 0x4000
and eax, 0x4000
mov eax, ebx
cmove ecx, edx
mov edx, ecx
or edx, 0x100
and eax, 0x100
mov eax, ebx
cmove edx, ecx
mov ecx, edx
or ecx, 0x200
and eax, 0x200
mov eax, ebx
cmove ecx, edx
mov edx, ecx
or edx, 0x400
and eax, 0x400
push dword [esp + 0x14]
cmove edx, ecx
mov eax, ebx
mov ecx, edx
or ecx, 0x800
and eax, 0x800
mov eax, ebx
cmove ecx, edx
mov edx, ecx
or edx, 0x1000
and eax, 0x1000
mov eax, ebx
cmove edx, ecx
mov ecx, edx
or ecx, 0x2000
and eax, 0x2000
cmove ecx, edx
mov eax, ecx
or eax, 0x8000
and ebx, 0x8000
mov ebx, dword [esp + 0x30]
cmove eax, ecx
push ebx
push edi
mov dword [ebp + 0x124], eax
call fcn.004c9580
push dword [esp + 0x3c]
mov dword [ebp + 0x11c], eax
push dword [esp + 0x28]
push dword [esp + 0x30]
push dword [esp + 0x38]
call fcn.004c9b10
push dword [esp + 0x30]
mov dword [ebp + 0x120], eax
push ebx
lea eax, [ebp + 0x108]
push edi
push eax
call fcn.004c9880
push dword [esp + 0x44]
lea ecx, [ebp + 0x111]
mov byte [ebp + 0x110], 0
push dword [esp + 0x4c]
push dword [esp + 0x54]
push str._02d:_02d:_02d
push 9
push ecx
call fcn.004ca860
add esp, 0x44
call fcn.0043a0b0
mov ecx, dword [esp + 0x254]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004daa4c
add esp, 0x248
ret