Function at 0x1005e020
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d7870
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x101120a8]
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 ebx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ebx
je 0x1005e071
nop word [eax + eax]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0x1c
cmp esi, ebx
jne 0x1005e060
mov esi, dword [edi]
mov dword [edi + 4], esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
inc dword [sym.XNewLookSch.dll_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], eax
mov eax, 1
mov ecx, esi
shl eax, cl
test edx, eax
je 0x1005e316
lea eax, [esi + 0x41]
push eax
lea eax, [ebp - 0xd8]
push 0x100f14ec
push eax
call fcn.10003e10
add esp, 0xc
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp byte [ebp + 0xc], 0
je 0x1005e0fc
cmp eax, 3
jne 0x1005e310
push dword [ebp - 0xd8]
lea ecx, [ebp - 0xf4]
call sym.XNewLookSch.dll_public:_void___thiscall_LString::constructor_wchar_t_
mov byte [ebp - 4], 1
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.10002b70
mov byte [ebp - 4], 0
mov eax, dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0xdc]
dec eax
mov dword [ebp - 0xf4], vtable.LString.0
mov dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x1005e195
mov ecx, dword [ebp - 0xf0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005e186
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005e38a
push edx
push ecx
call fcn.1008bfe4
mov eax, dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
add esp, 8
cmp ebx, 2
jne 0x1005e21e
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], bl
push 0x100eeb5c
lea ecx, [ebp - 0xf0]
mov dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count], eax
call fcn.10002b70
mov byte [ebp - 4], 3
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.10011440
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
mov eax, dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
cmp ebx, 3
jne 0x1005e29f
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], 4
push 0x100efc5c
lea ecx, [ebp - 0xf0]
mov dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count], eax
call fcn.10002b70
mov byte [ebp - 4], 5
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.10011440
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
mov eax, dword [edi + 4]
cmp dword [edi + 8], eax
je 0x1005e301
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], 6
lea eax, [ebp - 0x10c]
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
cmp ecx, eax
je 0x1005e2f7
cmp dword [ebp - 0xf8], 8
push dword [ebp - 0xfc]
cmovae eax, dword [ebp - 0x10c]
push eax
call fcn.10002b70
mov byte [ebp - 4], 0
add dword [edi + 4], 0x1c
jmp 0x1005e310
lea ecx, [ebp - 0x110]
push ecx
push eax
mov ecx, edi
call fcn.100124a0
mov edx, dword [ebp - 0x114]
inc esi
cmp esi, 0x20
jb 0x1005e0b7
dec dword [sym.XNewLookSch.dll_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 0x1005e36c
mov ecx, dword [ebp - 0x10c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005e362
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005e38a
push edx
push ecx
call fcn.1008bfe4
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.1008bffe
mov esp, ebp
pop ebp
ret
call fcn.10092486
int3