Function at 0x45d9e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a13bb
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x4bf6bc]
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 0x45dc82
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.00407860
mov dword [ebp - 4], ebx
push 0x2f
lea eax, [ebp - 0x2c]
call fcn.00469100
add esp, 4
push 0x5c
lea eax, [ebp - 0x2c]
call fcn.00469100
mov ebx, 3
add esp, 4
cmp dword [ebp - 0x1c], ebx
ja case.default.0x45da81
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x45da71
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
ja case.default.0x45da81
jmp dword [eax*4 + 0x45dca0]
lea ecx, [ebp - 0x368]
push ecx
call fcn.004059f0
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.004090a0
add esp, 0xc
push eax
call fcn.0045f6e0
add esp, 4
push eax
call fcn.004090a0
add esp, 0xc
push eax
call fcn.00410900
add esp, 8
push str.CFileUtility::IsDirPath
lea ecx, [ebp - 0x48]
call fcn.00404fa0
mov byte [ebp - 4], 2
push str.FileUtility.cpp
lea ecx, [ebp - 0x64]
call fcn.00404fa0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x368]
push edx
call fcn.00405af0
mov byte [ebp - 4], 4
push eax
push 0x268
push 0
call fcn.004061f0
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x64]
call fcn.00462280
mov byte [ebp - 4], bl
lea esi, [ebp - 0x80]
call fcn.00409f00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.00404fe0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00404fe0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x368]
call fcn.004039b0
mov dword [ebp - 4], edi
lea esi, [ebp - 0x2c]
call fcn.00409f00
jmp 0x45dc82
mov dword [ebp - 4], edi
lea esi, [ebp - 0x2c]
call fcn.00409f00
mov al, 1
jmp 0x45dc84
mov eax, dword [ebp - 0x2c]
mov ebx, 8
cmp dword [ebp - 0x18], ebx
jae 0x45db8c
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x2d0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, edi
jne 0x45dc18
mov eax, dword [esi + 0x10]
lea ecx, [eax - 1]
cmp eax, ecx
ja 0x45dbb2
push str.invalid_string_position
call fcn.0047b38e
mov ebx, dword [esi + 0x14]
cmp ebx, 8
jb 0x45dbbe
mov eax, dword [esi]
jmp 0x45dbc0
mov eax, esi
lea edx, [ecx + ecx]
cmp word [edx + eax], 0x5c
je 0x45dbeb
cmp dword [esi + 0x10], ecx
ja 0x45dbd9
push str.invalid_string_position
call fcn.0047b38e
cmp ebx, 8
jb 0x45dbe0
mov esi, dword [esi]
cmp word [edx + esi], 0x2f
jne 0x45db5a
mov dword [ebp - 4], edi
cmp dword [ebp - 0x18], 8
jb 0x45dc00
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0047bd91
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 0x45dc84
test byte [ebp - 0x2d0], 0x10
push eax
je 0x45dc54
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], edi
cmp dword [ebp - 0x18], ebx
jb 0x45dc3c
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0047bd91
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 0x45dc84
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], edi
cmp dword [ebp - 0x18], ebx
jb 0x45dc6e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0047bd91
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.0047bd9c
mov esp, ebp
pop ebp
ret