Function at 0x47c950
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c24bb
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x4eb6b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x10], ebx
je 0x47cbf2
xor eax, eax
push ebx
mov word [ebp - 0x2c], ax
or edi, 0xffffffff
push esi
mov eax, edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.004138e0
mov dword [ebp - 4], ebx
push 0x2f
lea eax, [ebp - 0x2c]
call fcn.0046f940
add esp, 4
push 0x5c
lea eax, [ebp - 0x2c]
call fcn.0046f940
mov ebx, 3
add esp, 4
cmp dword [ebp - 0x1c], ebx
ja case.default.0x47c9f1
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x47c9e1
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
ja case.default.0x47c9f1
jmp dword [eax*4 + 0x47cc10]
lea ecx, [ebp - 0x368]
push ecx
call fcn.00410ff0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x2c]
push edx
push ecx
push str.._tmpPath:
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea eax, [ebp - 0x368]
push str.GetDriveTypeW_FAILED._GetLastError:
push eax
call fcn.00418890
add esp, 0xc
push eax
call fcn.004102c0
add esp, 4
push eax
call fcn.00418890
add esp, 0xc
push eax
call fcn.00418af0
add esp, 8
push str.CFileUtility::IsDirPath
lea ecx, [ebp - 0x48]
call fcn.0040fb20
mov byte [ebp - 4], 2
push str.FileUtility.cpp
lea ecx, [ebp - 0x64]
call fcn.0040fb20
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x368]
push edx
call fcn.004110f0
mov byte [ebp - 4], 4
push eax
push 0x268
push 0
call fcn.004117f0
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x64]
call fcn.0047acf0
mov byte [ebp - 4], bl
lea esi, [ebp - 0x80]
call fcn.00410c70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.0040fb80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0040fb80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x368]
call fcn.004039f0
mov dword [ebp - 4], edi
lea esi, [ebp - 0x2c]
call fcn.00410c70
jmp 0x47cbf2
mov dword [ebp - 4], edi
lea esi, [ebp - 0x2c]
call fcn.00410c70
mov al, 1
jmp 0x47cbf4
mov eax, dword [ebp - 0x2c]
mov ebx, 8
cmp dword [ebp - 0x18], ebx
jae 0x47cafc
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x2d0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, edi
jne 0x47cb88
mov eax, dword [esi + 0x10]
lea ecx, [eax - 1]
cmp eax, ecx
ja 0x47cb22
push str.invalid_string_position
call fcn.0049af59
mov ebx, dword [esi + 0x14]
cmp ebx, 8
jb 0x47cb2e
mov eax, dword [esi]
jmp 0x47cb30
mov eax, esi
lea edx, [ecx + ecx]
cmp word [edx + eax], 0x5c
je 0x47cb5b
cmp dword [esi + 0x10], ecx
ja 0x47cb49
push str.invalid_string_position
call fcn.0049af59
cmp ebx, 8
jb 0x47cb50
mov esi, dword [esi]
cmp word [edx + esi], 0x2f
jne 0x47caca
mov dword [ebp - 4], edi
cmp dword [ebp - 0x18], 8
jb 0x47cb70
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0049b30a
add esp, 4
xor eax, eax
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov al, 1
jmp 0x47cbf4
test byte [ebp - 0x2d0], 0x10
push eax
je 0x47cbc4
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], edi
cmp dword [ebp - 0x18], ebx
jb 0x47cbac
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0049b30a
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
mov al, 1
jmp 0x47cbf4
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], edi
cmp dword [ebp - 0x18], ebx
jb 0x47cbde
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0049b30a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049b315
mov esp, ebp
pop ebp
ret