Function at 0x41c420
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53c152
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x5ac020]
xor eax, esp
mov dword [esp + 0x2f4], eax
push esi
push edi
mov eax, dword [0x5ac020]
xor eax, esp
push eax
lea eax, [esp + 0x308]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov dword [esp + 0x310], eax
mov dword [esp + 0xc], vtable.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov dword [esp + 0x310], 1
mov eax, dword [esi + 4]
add eax, 0x41
push eax
lea eax, [esp + 0x10]
push str._c:_
push eax
call fcn.00401a00
add esp, 0xc
lea eax, [esp + 0x10]
cmp dword [esp + 0x24], 8
cmovae eax, dword [esp + 0x10]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3ed
jne 0x41c63f
cmp dword [esi + 8], 0
je 0x41c5a8
xor eax, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov byte [esp + 0x310], 2
mov dword [esp + 0x28], vtable.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov byte [esp + 0x310], 3
mov eax, dword [esi + 4]
add eax, 0x41
push eax
lea eax, [esp + 0x2c]
push 0x56c3b4
push eax
call fcn.00401a00
add esp, 0xc
lea eax, [esp + 0x2c]
cmp dword [esp + 0x40], 8
cmovae eax, dword [esp + 0x2c]
push eax
push 0xefffffff
push 4
push 2
push 4
push 0x56ed60
push 3
push dword [esi]
call fcn.004a3b30
add esp, 0x20
cmp eax, 6
je 0x41c597
mov byte [esp + 0x310], 1
lea ecx, [esp + 0x28]
call fcn.004021a0
jmp 0x41c68a
mov byte [esp + 0x310], 1
lea ecx, [esp + 0x28]
call fcn.004021a0
mov ecx, dword [0x5be230]
test ecx, ecx
je 0x41c5b7
mov eax, dword [ecx]
call dword [eax + 0x78]
push 2
push 0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.00412420
mov byte [esp + 0x310], 4
cmp dword [eax + 0x14], 8
jb 0x41c5d9
mov eax, dword [eax]
mov edx, eax
call fcn.0040d3e0
mov edi, eax
mov byte [esp + 0x310], 1
cmp dword [esp + 0x3c], 8
jb 0x41c5fd
push dword [esp + 0x28]
call fcn.0051d3d0
add esp, 4
mov ecx, dword [0x5be230]
xor eax, eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
test ecx, ecx
je 0x41c623
mov eax, dword [ecx]
call dword [eax + 0x7c]
test edi, edi
je 0x41c63f
mov ecx, dword [esi]
xor edx, edx
call fcn.0040d140
test eax, eax
je 0x41c68a
mov ecx, dword [esi]
mov edx, edi
call fcn.004a4000
jmp 0x41c68a
cmp dword [esp + 0x24], 8
lea ecx, [esp + 0x44]
push 0
push 0x2b4
push ecx
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
push 5
cmovae eax, dword [esp + 0x14]
push 0x56c344
push eax
push str.Explorer.exe
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
call fcn.0051d3d0
add esp, 4
mov dword [esp + 0x310], 0xffffffff
mov dword [esp + 0xc], vtable.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov dword [esp + 0x310], 0xffffffff
cmp dword [esp + 0x24], 8
jb 0x41c6c4
push dword [esp + 0x10]
call fcn.0051d3d0
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov ecx, dword [esp + 0x308]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2f4]
xor ecx, esp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret