Function at 0x410952
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x29f0
call fcn.0042c5d0
movsx eax, byte [0x437bf0]
push esi
xor esi, esi
push 0x5ffff
mov dword [ebp - 8], ecx
push eax
mov dword [ebp - 4], esi
call fcn.00410092
mov dword [0x437c1c], eax
movsx eax, byte [0x437be9]
push eax
push 0x573ffff
call fcn.0040ff1a
mov word [0x437bf4], ax
add esp, 0x10
xor eax, eax
cmp dword [0x437c20], esi
setne al
add dword [0x437c08], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp eax, esi
jne 0x4109ba
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push esi
push esi
push 3
push esi
push 3
push esi
push eax
push 0x3a
call fcn.0041448a
pop ecx
call eax
mov dword [ebp + 8], eax
movsx eax, word [0x437bfa]
push eax
movsx eax, word [0x437c00]
push eax
call fcn.0040ffe3
add dword [0x437c14], eax
cmp dword [ebp + 8], 0xffffffff
pop ecx
pop ecx
je 0x410bb3
movsx eax, word [0x437c02]
push ebx
push edi
push eax
mov dword [ebp - 0xc], esi
push dword [0x437c2c]
call fcn.0040fede
pop ecx
mov word [0x437bf6], ax
pop ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov byte [0x437bee], al
mov al, byte [0x437beb]
inc al
mov ebx, 0xf6
mov byte [0x437bed], al
push ebx
lea eax, [ebp - 0x104]
push esi
push eax
call sub.MSVCRT.dll_memset
movsx eax, word [0x437bf8]
push eax
push 0xfdabffff
mov dword [ebp - 0x104], esi
call fcn.0040ff4b
add byte [0x437be9], al
add esp, 0x14
call dword [sym.imp.USER32.dll_GetCursor]
add dword [0x437c0c], eax
mov dword [ebp - 0x100], esi
movsx eax, word [0x437bf6]
push eax
push dword [0x437c14]
call fcn.0040ff1a
add byte [0x437bef], al
push 0xb683ffff
push dword [0x437c14]
call fcn.0040fede
add byte [0x437bf0], al
push 0xcf77ffff
push dword [0x437c10]
call fcn.0040ff78
add byte [0x437bee], al
mov edi, 0x28ea
push edi
lea eax, [ebp - 0x29f0]
push esi
push eax
call sub.MSVCRT.dll_memset
movsx eax, byte [0x437bf0]
push eax
movsx eax, byte [0x437bed]
push eax
call fcn.0041004e
mov word [0x437bf4], ax
mov eax, dword [0x438030]
add esp, 0x2c
cmp eax, esi
mov dword [0x437c24], 0x7181ffff
jne 0x410b0a
push 0x62
call fcn.0041448a
pop ecx
mov dword [0x438030], eax
lea ecx, [ebp - 0xc]
push esi
push ecx
lea ecx, [ebp - 0x29f0]
push edi
push ecx
lea ecx, [ebp - 0x104]
push ebx
push ecx
push 0x2d1400
push dword [ebp + 8]
mov byte [0x437bee], 1
call eax
pop edi
pop ebx
test eax, eax
je 0x410b65
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x29f0]
push eax
call fcn.00410340
push dword [0x437c20]
mov dword [ebp - 4], 1
push 0x319ffff
call fcn.004100bc
add word [0x437bf4], ax
pop ecx
pop ecx
movsx eax, byte [0x437beb]
push eax
movsx eax, word [0x437bf4]
push eax
call fcn.004100bc
pop ecx
add word [0x437bf2], ax
add word [0x437bf8], 0xfffe
pop ecx
push dword [ebp + 8]
push 0x37
call fcn.0041448a
pop ecx
call eax
movsx eax, word [0x437bfc]
push dword [0x437c08]
push eax
call fcn.004100bc
add dword [0x437c18], eax
pop ecx
pop ecx
push 0xb8d7ffff
push dword [0x437c0c]
call fcn.0040ff1a
add word [0x437bfe], ax
xor eax, eax
cmp dword [0x437c28], esi
push 0x3c2dffff
setne al
add word [0x437c04], ax
movsx eax, word [0x437bfe]
push eax
call fcn.0040ff78
add esp, 0x10
add word [0x437bf8], ax
mov eax, dword [ebp - 4]
pop esi
leave
ret 4