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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda8
xor eax, eax
xor edx, edx
xor ecx, ecx
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
xor eax, eax
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x18], ecx
xor edx, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov byte [esi], 0
mov dword [esi + 0x128], 0
mov dword [esi + 0x12c], 0
call fcn.0044ccf0
mov ebx, dword [esi + 0x140]
xor edi, edi
test byte [esi + 0x134], 8
je 0x4b1d81
cmp dword [ebx + 0x258], 0
jne 0x4b1d81
xor eax, eax
xor edx, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
mov dword [ebx + 0x258], 1
mov eax, dword [esi + 0x130]
test eax, eax
je 0x4b1cfb
cmp byte [eax], 0
je 0x4b1cfb
push eax
call fcn.004b221c
pop ecx
mov edi, eax
mov eax, dword [edi + 4]
test eax, eax
je 0x4b1cd0
cmp byte [eax], 0
je 0x4b1cd0
push eax
call fcn.004b4448
pop ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [edi]
test eax, eax
je 0x4b1cf4
cmp byte [eax], 0
je 0x4b1cf4
mov eax, dword [edi]
cmp byte [eax + 1], 0
jne 0x4b1ce8
cmp byte [eax], 0x5c
je 0x4b1cf4
mov edx, dword [edi]
push edx
call fcn.0047879c
pop ecx
mov dword [ebp - 0x28], eax
push edi
call fcn.0046af54
pop ecx
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x248]
push 0x108
push ecx
mov eax, dword [ebp - 0x28]
push eax
call sub.KERNEL32.DLL_GetVolumeInformationW
test eax, eax
setne dl
and edx, 1
mov edi, edx
test edi, edi
je 0x4b1d61
push 0x107
push esi
lea eax, [ebp - 0x248]
push eax
call fcn.00478900
add esp, 0xc
cmp dword [ebp - 0x2c], 0
je 0x4b1d61
mov edx, dword [ebp - 0x2c]
cmp byte [edx], 0
je 0x4b1d61
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
call fcn.004b6ac8
add esp, 8
test eax, eax
jne 0x4b1d61
mov byte [esi], 0
xor edi, edi
cmp dword [ebp - 0x28], 0
je 0x4b1d71
mov eax, dword [ebp - 0x28]
push eax
call fcn.0046af54
pop ecx
cmp dword [ebp - 0x2c], 0
je 0x4b1d81
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0046af54
pop ecx
test edi, edi
jne 0x4b1f09
mov ecx, dword [esi + 0x134]
and ecx, 0x1e
cmp ecx, 8
je 0x4b1f09
cmp dword [esi + 0x138], 0
je 0x4b1e06
mov eax, dword [esi + 0x130]
push eax
call fcn.0047879c
pop ecx
mov dword [ebp - 0x30], eax
xor edx, edx
mov dword [esi + 0x138], edx
mov ecx, dword [esi + 0x134]
push ecx
call fcn.004b1a8c
pop ecx
mov dword [ebx + 0x254], eax
lea eax, [ebx + 4]
push eax
mov edx, dword [ebp - 0x30]
push edx
call sub.KERNEL32.DLL_FindFirstFileW
mov dword [ebx], eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0046af54
pop ecx
cmp dword [ebx], 0xffffffff
je 0x4b1e06
mov eax, dword [ebx + 4]
test al, 0x16
je 0x4b1e01
mov edx, dword [ebx + 0x254]
and edx, eax
test dl, 0x16
je 0x4b1e06
mov edi, 1
test edi, edi
jne 0x4b1e3c
cmp dword [ebx], 0xffffffff
je 0x4b1e3c
jmp 0x4b1e2c
mov eax, dword [ebx + 4]
test al, 0x16
je 0x4b1e25
mov edx, dword [ebx + 0x254]
and edx, eax
test dl, 0x16
je 0x4b1e2c
mov edi, 1
jmp 0x4b1e3c
lea eax, [ebx + 4]
push eax
mov edx, dword [ebx]
push edx
call sub.KERNEL32.DLL_FindNextFileW
test eax, eax
jne 0x4b1e11
test edi, edi
je 0x4b1f09
push 0x107
push esi
lea ecx, [ebx + 0x30]
push ecx
call fcn.00478900
add esp, 0xc
test byte [ebx + 4], 0x10
je 0x4b1e72
mov dword [esi + 0x128], 0
mov dword [esi + 0x12c], 0
jmp 0x4b1e98
mov eax, dword [ebx + 0x24]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x20]
xor edx, edx
mov edx, eax
xor eax, eax
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], edx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x20], ecx
lea eax, [ebp - 0x38]
push eax
add ebx, 0x18
push ebx
call sub.KERNEL32.DLL_FileTimeToLocalFileTime
test eax, eax
je 0x4b1f09
lea eax, [ebp - 0x258]
push eax
lea edx, [ebp - 0x38]
push edx
call sub.KERNEL32.DLL_FileTimeToSystemTime
test eax, eax
je 0x4b1f09
movzx ecx, word [ebp - 0x258]
mov dword [ebp - 4], ecx
movzx eax, word [ebp - 0x256]
mov dword [ebp - 8], eax
movzx edx, word [ebp - 0x252]
mov dword [ebp - 0xc], edx
movzx ecx, word [ebp - 0x250]
mov dword [ebp - 0x10], ecx
movzx eax, word [ebp - 0x24e]
mov dword [ebp - 0x14], eax
movzx edx, word [ebp - 0x24c]
mov dword [ebp - 0x18], edx
movzx ecx, word [ebp - 0x24a]
mov dword [ebp - 0x1c], ecx
push 0
push edi
call fcn.00434534
add esp, 8
test edi, edi
je 0x4b1fb2
mov byte [esi + 0x107], 0
mov eax, dword [ebp - 0x20]
push eax
call fcn.004b19f8
pop ecx
or eax, dword [ebp - 0x24]
mov dword [esi + 0x124], eax
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
push ecx
mov eax, dword [ebp - 4]
push eax
call fcn.004b026c
add esp, 0xc
mov dword [esi + 0x11c], eax
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x18]
push ecx
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0x10]
push edx
call fcn.004b08d4
add esp, 0x10
mov dword [esi + 0x120], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
lea ecx, [esi + 0x108]
push ecx
call fcn.004b04e8
add esp, 0x10
mov byte [esi + 0x110], 0
mov eax, dword [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x10]
push ecx
push 0x5b28cc
push 9
add esi, 0x111
push esi
call fcn.004b4290
add esp, 0x18
call fcn.0044ccec
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret