Function at 0x441760
Capabilities:
Check os version
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4818b5
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4a4100]
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 dword [ebp - 0x2c], edx
mov esi, ecx
mov dword [ebp - 0x18], 0
call fcn.0040a916
mov ecx, eax
test ecx, ecx
je 0x4419ca
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 1
xorps xmm0, xmm0
xor ebx, ebx
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push str..PhysicalDrive_u
push eax
call fcn.0040bd93
mov edi, dword [ebp - 0x18]
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x30], esi
cmp esi, 0xffffffff
jne 0x441810
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x441984
push 0x1001
call fcn.00461b84
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x44182b
lea esi, [eax + 8]
jmp 0x44197b
push 0x1001
push 0
push ebx
call fcn.004557e0
add esp, 0xc
lea eax, [ebp - 0x28]
push 0
push eax
push 0x1000
push ebx
push 0xc
lea eax, [ebp - 0x24]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x44186a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x44197b
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x441976
cmp ecx, dword [ebp - 0x28]
jae 0x441976
mov eax, dword [ebp - 0x14]
cmp al, 6
ja 0x441947
jne 0x441896
shr eax, 8
cmp al, 2
jae 0x441947
mov dword [ebp - 0x14], 0
call fcn.0040a916
test eax, eax
je 0x4419ca
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x28]
sub edx, dword [ebx + 0x18]
js 0x4419d4
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x4418e4
push edx
lea ecx, [ebp - 0x14]
call fcn.00416d2f
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x18]
add ecx, ebx
push esi
call fcn.00441280
push dword [esi - 8]
push esi
call fcn.0045ebd0
add esp, 0xc
test eax, eax
js 0x4419d4
cmp eax, dword [esi - 8]
jg 0x4419d4
mov ecx, dword [ebp - 0x2c]
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
lea eax, [ebp - 0x14]
push eax
call fcn.004432c0
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44196a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
call fcn.00443090
xor esi, esi
jmp 0x44197b
lea edx, [ecx + ebx]
test edx, edx
jne 0x441952
xor ecx, ecx
jmp 0x441960
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x441957
sub ecx, esi
push ecx
mov ecx, dword [ebp - 0x2c]
push edx
call fcn.00422fcf
mov ecx, dword [ebp - 0x2c]
call fcn.00443090
xor esi, esi
jmp 0x44197b
mov esi, 0xd
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.0045d3d7
add esp, 4
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4419ac
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
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.0045360d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040a64c
push 0x80070057
call fcn.0040a64c
int3