Function at 0x474b60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c318b
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 0x474e02
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.00416830
mov dword [ebp - 4], ebx
push 0x2f
lea eax, [ebp - 0x2c]
call fcn.004704a0
add esp, 4
push 0x5c
lea eax, [ebp - 0x2c]
call fcn.004704a0
mov ebx, 3
add esp, 4
cmp dword [ebp - 0x1c], ebx
ja case.default.0x474c01
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x474bf1
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
ja case.default.0x474c01
jmp dword [eax*4 + 0x474e20]
lea ecx, [ebp - 0x368]
push ecx
call fcn.00414a60
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.return_false._GetLastError:
push eax
call fcn.0041d7d0
add esp, 0xc
push eax
call fcn.00475c10
add esp, 4
push eax
call fcn.0041d7d0
add esp, 0xc
push eax
call fcn.0041dcf0
add esp, 8
push str.CFileUtility::IsDirPath
lea ecx, [ebp - 0x48]
call fcn.00411a30
mov byte [ebp - 4], 2
push str.FileUtility.cpp
lea ecx, [ebp - 0x64]
call fcn.00411a30
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x368]
push edx
call fcn.00414b60
mov byte [ebp - 4], 4
push eax
push 0x268
push 0
call fcn.00413e40
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x64]
call fcn.00471900
mov byte [ebp - 4], bl
lea esi, [ebp - 0x80]
call fcn.00426e80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.00411a90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00411a90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x368]
call fcn.00403e50
mov dword [ebp - 4], edi
lea esi, [ebp - 0x2c]
call fcn.00426e80
jmp 0x474e02
mov dword [ebp - 4], edi
lea esi, [ebp - 0x2c]
call fcn.00426e80
mov al, 1
jmp 0x474e04
mov eax, dword [ebp - 0x2c]
mov ebx, 8
cmp dword [ebp - 0x18], ebx
jae 0x474d0c
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x2d0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, edi
jne 0x474d98
mov eax, dword [esi + 0x10]
lea ecx, [eax - 1]
cmp eax, ecx
ja 0x474d32
push str.invalid_string_position
call fcn.0049c6af
mov ebx, dword [esi + 0x14]
cmp ebx, 8
jb 0x474d3e
mov eax, dword [esi]
jmp 0x474d40
mov eax, esi
lea edx, [ecx + ecx]
cmp word [edx + eax], 0x5c
je 0x474d6b
cmp dword [esi + 0x10], ecx
ja 0x474d59
push str.invalid_string_position
call fcn.0049c6af
cmp ebx, 8
jb 0x474d60
mov esi, dword [esi]
cmp word [edx + esi], 0x2f
jne 0x474cda
mov dword [ebp - 4], edi
cmp dword [ebp - 0x18], 8
jb 0x474d80
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0049ca60
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 0x474e04
test byte [ebp - 0x2d0], 0x10
push eax
je 0x474dd4
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], edi
cmp dword [ebp - 0x18], ebx
jb 0x474dbc
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0049ca60
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 0x474e04
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], edi
cmp dword [ebp - 0x18], ebx
jb 0x474dee
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0049ca60
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.0049ca6b
mov esp, ebp
pop ebp
ret