Function at 0x460de0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1130
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x4f9008]
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 edi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov ebx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ebx
je 0x460e32
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0x1c
cmp esi, ebx
jne 0x460e21
mov esi, dword [edi]
mov dword [edi + 4], esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
mov edx, eax
xor eax, eax
mov dword [ebp - 0x114], edx
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 7
mov word [ebp - 0x10c], ax
mov ebx, dword [ebp + 0x14]
xor esi, esi
mov dword [ebp - 4], 1
nop dword [eax]
mov eax, 1
mov ecx, esi
shl eax, cl
test edx, eax
je 0x4610e0
lea eax, [esi + 0x41]
push eax
lea eax, [ebp - 0xd8]
push str._c:_
push eax
call fcn.00414100
add esp, 0xc
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp byte [ebp + 0xc], 0
je 0x460ec5
cmp eax, 3
jne 0x4610da
push dword [ebp - 0xd8]
lea ecx, [ebp - 0xf4]
call sym.XNewLook.exe_public:_void___thiscall_LString::constructor_wchar_t_
mov byte [ebp - 4], 2
lea eax, [ebp - 0xf0]
cmp dword [ebp - 0xdc], 8
lea ecx, [ebp - 0x10c]
push dword [ebp - 0xe0]
cmovae eax, dword [ebp - 0xf0]
push eax
call fcn.00409940
mov byte [ebp - 4], 1
mov eax, dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0xdc]
dec eax
mov dword [ebp - 0xf4], vtable.LString.0
mov dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x460f5e
mov ecx, dword [ebp - 0xf0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460f4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461154
push edx
push ecx
call fcn.00475891
mov eax, dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
add esp, 8
cmp ebx, 2
jne 0x460fe8
xor ecx, ecx
mov dword [ebp - 0xf4], vtable.LString.0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], cx
push 1
inc eax
mov byte [ebp - 4], 3
push 0x4d5b44
lea ecx, [ebp - 0xf0]
mov dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count], eax
call fcn.00409940
mov byte [ebp - 4], 4
lea eax, [ebp - 0xf0]
cmp dword [ebp - 0xdc], 8
lea ecx, [ebp - 0x10c]
push dword [ebp - 0xe0]
cmovae eax, dword [ebp - 0xf0]
push eax
call fcn.00408f20
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 1
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov eax, dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
cmp ebx, 3
jne 0x461069
xor ecx, ecx
mov dword [ebp - 0xf4], vtable.LString.0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], cx
push 2
inc eax
mov byte [ebp - 4], 5
push 0x4d66a0
lea ecx, [ebp - 0xf0]
mov dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count], eax
call fcn.00409940
mov byte [ebp - 4], 6
lea eax, [ebp - 0xf0]
cmp dword [ebp - 0xdc], 8
lea ecx, [ebp - 0x10c]
push dword [ebp - 0xe0]
cmovae eax, dword [ebp - 0xf0]
push eax
call fcn.00408f20
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 1
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov eax, dword [edi + 4]
cmp dword [edi + 8], eax
je 0x4610cb
mov dword [eax], vtable.LString.0
lea ecx, [eax + 4]
mov dword [ebp - 0x118], eax
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x10c]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
cmp ecx, eax
je 0x4610c1
cmp dword [ebp - 0xf8], 8
push dword [ebp - 0xfc]
cmovae eax, dword [ebp - 0x10c]
push eax
call fcn.00409940
mov byte [ebp - 4], 1
add dword [edi + 4], 0x1c
jmp 0x4610da
lea ecx, [ebp - 0x110]
push ecx
push eax
mov ecx, edi
call fcn.0040ff30
mov edx, dword [ebp - 0x114]
inc esi
cmp esi, 0x20
jb 0x460e80
dec dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0xf8]
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
cmp edx, 8
jb 0x461136
mov ecx, dword [ebp - 0x10c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46112c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461154
push edx
push ecx
call fcn.00475891
add esp, 8
xor eax, eax
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.00475880
mov esp, ebp
pop ebp
ret
call fcn.0047cd61
int3