Function at 0x41f7b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5701fe
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x5d4d80]
xor eax, esp
mov dword [esp + 0x370], eax
push ebx
push esi
push edi
mov eax, dword [0x5d4d80]
xor eax, esp
push eax
lea eax, [esp + 0x388]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00458642
push str.Please_Select_driver___
lea ecx, [esp + 0x20]
call fcn.00403630
xor ebx, ebx
mov dword [esp + 0x390], ebx
lea eax, [ebx + 6]
lea esi, [esp + 0x34]
mov dword [esp + 0x34], vtable.CBinary.0
mov dword [esp + 0x38], ebx
call fcn.00416720
movzx eax, ax
cmp ax, bx
mov ebx, dword [esp + 0x38]
jne 0x41f852
movsx eax, word [ebx + 4]
add eax, dword [ebx]
mov ecx, dword [0x5a6254]
mov dword [eax], ecx
mov dx, word [0x5a6258]
mov word [eax + 4], dx
add word [ebx + 4], 6
jmp 0x41f858
mov word [0x5ee374], ax
lea eax, [esp + 0x1c]
lea esi, [esp + 0x20]
mov byte [esp + 0x390], 1
call fcn.00418770
mov byte [esp + 0x390], 2
mov eax, dword [eax]
mov edx, dword [edi]
push 0
push eax
mov eax, dword [edx + 0x1dc]
mov ecx, edi
call eax
mov byte [esp + 0x390], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or esi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f8b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x41f8d2
cmp word [ebx + 0xa], 1
jne 0x41f8ce
mov eax, dword [ebx]
push eax
call fcn.00427143
push ebx
call fcn.00427143
add esp, 8
jmp 0x41f8d2
add word [ebx + 0xa], si
mov dword [esp + 0x390], esi
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x41f8f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x100
lea ecx, [esp + 0x180]
push 0
push ecx
call fcn.00542b10
add esp, 0xc
lea edx, [esp + 0x17c]
push edx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov esi, eax
push 0xa0
lea eax, [esp + 0x40]
push 0
push eax
mov dword [esp + 0x20], esi
call fcn.00542b10
xor eax, eax
xor edx, edx
add esp, 0xc
mov dword [esp + 0x34], 0
mov byte [esp + 0x13], al
mov dword [esp + 0x18], edx
test esi, esi
jle 0x41fa03
lea esi, [esp + 0x3c]
mov ebx, esi
lea ecx, [esp + 0x34]
sub ebx, ecx
movzx ecx, word [esp + edx*2 + 0x17c]
test cx, cx
jne 0x41f9e7
xor edx, edx
mov word [esp + eax*2 + 0x34], dx
lea eax, [esp + 0x34]
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [ebx + eax], cx
add eax, 2
test cx, cx
jne 0x41f980
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
sub eax, 2
je 0x41f9bd
sub eax, 1
jne 0x41f9d9
mov eax, dword [edi]
mov edx, dword [eax + 0x1dc]
push 0
push esi
mov ecx, edi
call edx
mov edx, dword [esp + 0x18]
add esi, 0xa
add ebx, 0xa
xor eax, eax
jmp 0x41f9ed
mov eax, dword [edi]
mov edx, dword [eax + 0x1dc]
push 0
push esi
mov ecx, edi
mov byte [esp + 0x1b], 1
call edx
push esi
mov ecx, edi
call fcn.00458b2f
mov edx, dword [esp + 0x18]
add esi, 0xa
add ebx, 0xa
xor eax, eax
jmp 0x41f9ed
mov word [esp + eax*2 + 0x34], cx
inc eax
inc edx
cmp edx, dword [esp + 0x14]
mov dword [esp + 0x18], edx
jl 0x41f962
cmp byte [esp + 0x13], 0
jne 0x41fa0c
push 0
mov ecx, edi
call fcn.00458a26
movzx eax, byte [esp + 0x13]
mov edx, dword [edi]
mov dword [edi + 0x1d4], eax
mov eax, dword [edx + 0x38]
mov ecx, edi
call eax
test eax, eax
jne 0x41fc07
mov eax, dword [edi + 0x184]
test eax, eax
je 0x41fa4a
cmp dword [eax + 0x20], 0
je 0x41fa4a
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41fc07
mov ecx, dword [0x5da690]
test ecx, ecx
je 0x41fa7e
mov edx, dword [ecx]
mov eax, dword [edx + 0x19c]
call eax
cmp eax, dword [edi + 0x38]
je 0x41fa7e
mov ecx, dword [0x5da690]
mov edx, dword [ecx + 0x20]
push 0
push 0
push 0x10
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x41fc07
mov ecx, edi
call fcn.0045318a
push 0xfb0
call fcn.00427114
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x390], 3
test eax, eax
je 0x41fab1
push edi
mov ecx, eax
call fcn.0049ac6b
mov ebx, eax
jmp 0x41fab3
xor ebx, ebx
push edi
mov ecx, ebx
mov dword [esp + 0x394], 0xffffffff
call fcn.00495c1b
mov esi, dword [edi + 0x190]
test esi, esi
je 0x41faeb
mov eax, esi
test esi, esi
je 0x41fc2b
mov eax, dword [eax + 8]
mov esi, dword [esi]
push eax
mov ecx, ebx
call fcn.0049ab0a
test esi, esi
jne 0x41fad0
mov ecx, dword [edi + 0x1c4]
push ecx
mov ecx, ebx
call fcn.0049adb8
mov edx, dword [edi + 0x1c8]
mov dword [ebx + 0xe34], edx
mov eax, dword [edi + 0x20]
sub eax, dword [edi + 0x18]
lea esi, [edi + 0x18]
mov dword [ebx + 0xfa4], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x90]
mov ecx, edi
call eax
mov dword [esp + 0x14], eax
test eax, eax
je 0x41fc07
mov ecx, eax
call fcn.0042fd9b
and eax, 0x400000
mov dword [esp + 0x18], eax
lea eax, [edi + 0xcc]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
mov eax, esi
jne 0x41fb55
lea eax, [edi + 0xcc]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x24]
mov dword [esp + 0x2c], ecx
push eax
mov ecx, esi
mov dword [esp + 0x34], edx
call fcn.0048f645
push ebx
mov ecx, edi
call fcn.00452e16
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x41fb9d
or eax, 0xffffffff
or edx, eax
push edx
push eax
push 0
call fcn.00454919
mov ecx, dword [edi + 0x184]
test ecx, ecx
je 0x41fbc1
cmp dword [ecx + 0x20], 0
je 0x41fbc1
call fcn.0042ff41
mov ecx, dword [edi + 0x184]
push 0xffffffffffffffff
push 0
call fcn.0048d7dc
cmp dword [edi + 0x1d0], 0
je 0x41fbd3
push 0x24
mov ecx, ebx
call fcn.00495d9d
cmp dword [esp + 0x18], 0
mov edi, dword [esp + 0x2c]
jne 0x41fbe2
mov edi, dword [esp + 0x24]
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x41fbf3
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0042c707
mov ecx, dword [esp + 0x30]
push eax
push ecx
push edi
mov ecx, ebx
call fcn.0049acc5
mov ecx, dword [esp + 0x388]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x370]
xor ecx, esp
call fcn.0053d842
mov esp, ebp
pop ebp
ret
call fcn.00427b64
int3