Function at 0x4056e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d72bf
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
push ebx
push esi
push edi
mov eax, dword [0x50f880]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
xor esi, esi
push 0x90
mov dword [esp + 0x14], esi
call fcn.0045401f
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x108], esi
cmp eax, esi
je 0x40573c
push eax
call fcn.004c3470
jmp 0x40573e
xor eax, eax
lea ecx, [esp + 0x2c]
push ecx
mov edi, eax
mov dword [esp + 0x10c], 0xffffffff
call fcn.0040d8e0
mov dword [esp + 0x108], 1
call fcn.004c37d0
mov edx, dword [esp + 0x2c]
push edx
call fcn.004c46c0
push str.Supported_drives:_n_n
call fcn.00454df0
add esp, 4
push str.Drive____Type____Media_Type___FS________Size__________Free_n
call fcn.00454df0
mov ecx, dword [esp + 0x30]
add esp, 4
lea edi, [esp + 0x48]
call fcn.00401e50
lea esi, [esp + 0x38]
mov dword [esp + 0x108], 5
call fcn.0040d980
mov byte [esp + 0x108], 8
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x24]
lea esi, [esp + 0x50]
call fcn.00421600
mov eax, dword [esp + 0x4c]
push eax
call fcn.00453bd6
add esp, 4
mov eax, dword [esp + 0x3c]
mov ebx, dword [eax]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
jmp 0x4057f4
mov ebx, dword [esp + 0x18]
cmp ebx, dword [esp + 0x1c]
setne byte [esp + 0x17]
test dword [esp + 0x10], 0x10000
je 0x405845
and dword [esp + 0x10], 0xfffeffff
mov dword [esp + 0x108], 0x25
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x68]
lea esi, [esp + 0xa4]
call fcn.00421600
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.00453bd6
add esp, 4
mov dword [esp + 0x108], 0xd
test dword [esp + 0x10], 0x8000
je 0x40589d
and dword [esp + 0x10], 0xffff7fff
mov byte [esp + 0x108], 0x26
mov eax, dword [esp + 0xf0]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x60]
lea esi, [esp + 0xf4]
call fcn.00421600
mov byte [esp + 0x108], 0xd
mov edx, dword [esp + 0xf0]
push edx
call fcn.00453bd6
add esp, 4
cmp byte [esp + 0x17], 0
je 0x405b45
mov eax, dword [ebx + 0xc]
sub eax, 0x10
call fcn.0041b370
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
test ebx, ebx
je 0x4058d8
lea ecx, [ebx + 4]
mov edx, 1
lock xadd dword [ecx], edx
mov dword [esp + 0x108], 0x29
test dword [esp + 0x10], 0x40000
je 0x40592c
and dword [esp + 0x10], 0xfffbffff
mov byte [esp + 0x108], 0x2b
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x6c]
lea esi, [esp + 0xc4]
call fcn.00421600
mov eax, dword [esp + 0xc0]
push eax
call fcn.00453bd6
mov eax, dword [esp + 0x28]
add esp, 4
mov byte [esp + 0x108], 0x2c
test dword [esp + 0x10], 0x20000
je 0x405990
and dword [esp + 0x10], 0xfffdffff
mov byte [esp + 0x108], 0x2d
mov eax, dword [esp + 0xe0]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x70]
lea esi, [esp + 0xe4]
call fcn.00421600
mov byte [esp + 0x108], 0x2c
mov ecx, dword [esp + 0xe0]
push ecx
call fcn.00453bd6
mov eax, dword [esp + 0x28]
add esp, 4
jmp 0x405990
mov edx, dword [eax + 0xc0]
sub edx, dword [eax + 0xbc]
sar edx, 2
test edx, edx
je 0x405a3d
lea ecx, [esp + 0x6c]
push ecx
mov ebx, eax
call fcn.00401920
mov eax, dword [esp + 0x78]
cmp eax, 1
jne 0x4059c3
mov ecx, str.HDD
jmp 0x4059d2
mov ecx, str.SSD
cmp eax, 2
je 0x4059d2
mov ecx, str.Other
mov eax, dword [esp + 0x74]
cmp eax, 3
jne 0x4059e2
mov eax, str.Fixed
jmp 0x4059f1
cmp eax, 2
mov eax, str.Removable
je 0x4059f1
mov eax, str.Other
mov edx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x8c]
push edx
push ecx
push eax
mov eax, dword [esp + 0x88]
push eax
push str._s________s___s_____s___14I64d_14I64d_n
call fcn.00454df0
add esp, 0x24
lea esi, [esp + 0x6c]
call fcn.00401a10
mov ebx, dword [esp + 0x28]
mov byte [esp + 0x108], 0x2e
test ebx, ebx
je 0x405a73
lea ecx, [ebx + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x405a73
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
call edx
lea eax, [ebx + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x405a73
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
mov byte [esp + 0x108], 0xd
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405a9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x18]
call fcn.0040c930
test dword [esp + 0x10], 0x4000
je 0x405aec
and dword [esp + 0x10], 0xffffbfff
mov dword [esp + 0x108], 0x22
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x64]
lea esi, [esp + 0xb4]
call fcn.00421600
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.00453bd6
add esp, 4
mov dword [esp + 0x108], 0xd
test dword [esp + 0x10], 0x2000
je 0x4057f0
and dword [esp + 0x10], 0xffffdfff
mov byte [esp + 0x108], 0x23
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x3c]
lea esi, [esp + 0xd4]
call fcn.00421600
mov edx, dword [esp + 0xd0]
push edx
call fcn.00453bd6
add esp, 4
jmp 0x4057f0
mov byte [esp + 0x108], 0x2f
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x3c]
lea esi, [esp + 0x40]
call fcn.00421600
mov eax, dword [esp + 0x3c]
push eax
call fcn.00453bd6
mov dword [esp + 0x10c], 0xffffffff
mov esi, dword [esp + 0x34]
add esp, 4
test esi, esi
je 0x405bac
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x405bac
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x405bac
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret