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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c0e5
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x49d034]
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 ebx, edx
mov edi, ecx
mov dword [ebp - 0x14], 0
call fcn.00409480
mov ecx, eax
test ecx, ecx
je 0x43d06a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
xorps xmm0, xmm0
xor esi, esi
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
push edi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x14]
push str..PhysicalDrive_u
push eax
call fcn.00408e2a
mov edi, dword [ebp - 0x14]
add esp, 0xc
push esi
push esi
push 3
push esi
push 3
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x44], eax
cmp eax, 0xffffffff
jne 0x43cbfd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x43d024
push 0x1001
call fcn.00454c58
mov esi, eax
add esp, 4
mov dword [ebp - 0x38], esi
test esi, esi
jne 0x43cc1b
lea ebx, [eax + 8]
jmp 0x43d01b
push 0x1001
push 0
push esi
call fcn.00451b90
add esp, 0xc
lea eax, [ebp - 0x28]
push 0
push eax
push 0x1000
push esi
push 0xc
lea eax, [ebp - 0x24]
push eax
push 0x2d1400
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x43cc5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x43d01b
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x43d016
cmp ecx, dword [ebp - 0x28]
jae 0x43d016
mov eax, dword [ebp - 0x2c]
cmp al, 6
ja 0x43cee7
jne 0x43cc88
shr eax, 8
cmp al, 2
jae 0x43cee7
mov dword [ebp - 0x18], 0
call fcn.00409480
mov ecx, eax
test ecx, ecx
je 0x43d074
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
mov eax, dword [eax + 0x18]
sub edx, eax
mov dword [ebp - 0x2c], eax
js 0x43d083
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or ecx, eax
jge 0x43cce6
push edx
lea ecx, [ebp - 0x18]
call fcn.00408cb5
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x18]
mov ecx, dword [eax + 0x18]
jmp 0x43ccec
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
add ecx, eax
push esi
call fcn.0043c680
push dword [esi - 8]
push esi
call fcn.00454da4
add esp, 0xc
test eax, eax
js 0x43d083
cmp eax, dword [esi - 8]
jg 0x43d083
mov dword [esi - 0xc], eax
lea edx, [esi - 0x10]
mov byte [eax + esi], 0
mov ecx, dword [ebx]
mov dword [ebp - 0x30], edx
lea eax, [ecx - 0x10]
mov dword [ebp - 0x2c], eax
cmp edx, eax
je 0x43ceb6
lea edi, [eax + 0xc]
mov dword [ebp - 0x3c], edi
mov edi, dword [eax + 0xc]
test edi, edi
mov dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x14]
js 0x43cdbf
mov edx, dword [edx]
cmp edx, dword [eax]
jne 0x43cdbf
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x10]
mov esi, dword [ebp - 0x30]
mov ecx, eax
cmp dword [esi + 0xc], 0
lea eax, [esi + 0xc]
jl 0x43cd68
cmp ecx, dword [esi]
jne 0x43cd68
mov dword [ebp - 0x30], esi
lock inc dword [eax]
jmp 0x43cd98
mov eax, dword [ecx]
push 1
push dword [esi + 4]
call dword [eax]
mov ecx, eax
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x43d07e
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea eax, [esi + 0x10]
mov edx, dword [esi + 4]
add ecx, 0x10
inc edx
push edx
push eax
call fcn.00409000
add esp, 8
mov ecx, dword [ebp - 0x3c]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x43cdb2
mov edx, dword [ebp - 0x2c]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x30]
add eax, 0x10
mov dword [ebx], eax
jmp 0x43ceb9
mov edx, dword [esi - 0xc]
mov dword [ebp - 0x2c], edx
test edx, edx
jne 0x43ce19
mov esi, dword [eax]
cmp dword [eax + 4], edx
je 0x43ceb6
cmp dword [ebp - 0x34], edx
jge 0x43cdee
cmp dword [ecx - 8], edx
jl 0x43d083
mov dword [ecx - 0xc], edx
mov eax, dword [ebx]
mov byte [eax], dl
jmp 0x43ceb6
mov edx, dword [ebp - 0x3c]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x43ce08
lea edx, [ecx - 0x10]
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
jmp 0x43ceb6
mov eax, dword [ecx - 0xc]
mov dword [ebp - 0x40], eax
mov eax, esi
sub eax, ecx
mov dword [ebp - 0x3c], eax
test edx, edx
js 0x43d083
mov eax, 1
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx - 8]
sub eax, edx
or eax, dword [ebp - 0x34]
jge 0x43ce50
push edx
mov ecx, ebx
call fcn.00408cb5
mov ecx, dword [ebx]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x40]
ja 0x43ce92
add eax, ecx
jne 0x43ce6e
call fcn.00454c45
mov dword [eax], 0x16
call fcn.00454b6b
jmp 0x43ce9f
cmp dword [ecx - 8], edx
jae 0x43ce85
call fcn.00454c45
mov dword [eax], 0x22
call fcn.00454b6b
jmp 0x43ce9f
push edx
push eax
push ecx
call fcn.00451cf0
add esp, 0xc
jmp 0x43ce9f
push edx
mov edx, dword [ecx - 8]
push esi
call fcn.00409000
add esp, 8
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax - 8]
jg 0x43d083
mov dword [eax - 0xc], ecx
mov eax, dword [ebx]
mov byte [ecx + eax], 0
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 1
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43d008
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, ebx
call fcn.00408a11
mov esi, dword [ebp - 0x38]
xor ebx, ebx
jmp 0x43d01b
add ecx, esi
mov dword [ebp - 0x34], ecx
je 0x43cfae
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x43cef7
sub esi, edx
je 0x43cfae
mov edx, dword [ebx]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x2c], eax
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x40], eax
test esi, esi
js 0x43d083
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x43cf38
push esi
mov ecx, ebx
call fcn.00408cb5
mov edx, dword [ebx]
mov eax, dword [ebp - 0x40]
mov ecx, dword [edx - 8]
cmp eax, dword [ebp - 0x2c]
ja 0x43cf7c
add eax, edx
jne 0x43cf59
call fcn.00454c45
mov dword [eax], 0x16
call fcn.00454b6b
jmp 0x43cf8c
cmp ecx, esi
jae 0x43cf6f
call fcn.00454c45
mov dword [eax], 0x22
call fcn.00454b6b
jmp 0x43cf8c
push esi
push eax
push edx
call fcn.00451cf0
add esp, 0xc
jmp 0x43cf8c
push esi
push dword [ebp - 0x34]
mov edx, ecx
mov ecx, dword [ebx]
call fcn.00409000
add esp, 8
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x43d083
mov dword [eax - 0xc], esi
mov ecx, ebx
mov eax, dword [ebx]
mov byte [esi + eax], 0
call fcn.00408a11
mov esi, dword [ebp - 0x38]
xor ebx, ebx
jmp 0x43d01b
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
lea edx, [eax - 0x10]
mov esi, dword [edx]
je 0x43d008
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x43cfe8
cmp dword [eax - 8], 0
jl 0x43d083
mov dword [eax - 0xc], 0
mov ecx, ebx
mov eax, dword [ebx]
mov byte [eax], 0
call fcn.00408a11
mov esi, dword [ebp - 0x38]
xor ebx, ebx
jmp 0x43d01b
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x43cffc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov ecx, ebx
call fcn.00408a11
mov esi, dword [ebp - 0x38]
xor ebx, ebx
jmp 0x43d01b
mov ebx, 0xd
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00454c63
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 0x43d04c
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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.0044f515
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004091c0
push 0x80004005
call fcn.004091c0
call fcn.00408e1f
push 0x80070057
call fcn.004091c0
int3