Function at 0x44b440
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
mov dword [ebp - 0x90], ecx
mov byte [ebp - 1], 0
mov eax, dword [ebp - 0x90]
cmp dword [eax + 0x10], 0xffffffff
je 0x44b60c
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
and ecx, 0xffff
movzx edx, cx
and edx, 0xff
movzx eax, dl
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 6
jae 0x44b60c
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x448]
mov eax, dword [ebp + 0xc]
adc eax, dword [ecx + 0x44c]
mov ecx, dword [ebp - 0x90]
mov ecx, dword [ecx + 0x45c]
xor esi, esi
push esi
push ecx
push eax
push edx
call fcn.00555990
mov dword [ebp - 0x6c], eax
push 0x50
push 0
lea edx, [ebp - 0x68]
push edx
call fcn.00555bf0
add esp, 0xc
mov eax, 0x2c
mov word [ebp - 0x68], ax
mov dword [ebp - 0x58], 2
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], 0x30
mov byte [ebp - 0x61], 0x20
mov byte [ebp - 0x60], 0
mov edx, dword [ebp - 0x90]
mov eax, dword [edx + 0x45c]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x62], 0xa
mov byte [ebp - 0x4c], 0x2a
mov byte [ebp - 0x4b], 0
mov ecx, dword [ebp - 0x6c]
shr ecx, 0x18
and ecx, 0xff
mov byte [ebp - 0x4a], cl
mov edx, dword [ebp - 0x6c]
shr edx, 0x10
and edx, 0xff
mov byte [ebp - 0x49], dl
mov eax, dword [ebp - 0x6c]
shr eax, 8
and eax, 0xff
mov byte [ebp - 0x48], al
mov ecx, dword [ebp - 0x6c]
and ecx, 0xff
mov byte [ebp - 0x47], cl
mov byte [ebp - 0x46], 0
mov byte [ebp - 0x45], 0
mov byte [ebp - 0x44], 1
mov byte [ebp - 0x43], 0
push 0
lea edx, [ebp - 0x10]
push edx
push 0x50
lea eax, [ebp - 0x68]
push eax
push 0x50
lea ecx, [ebp - 0x68]
push ecx
push 0x4d014
mov edx, dword [ebp - 0x90]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
jne 0x44b5b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.IOCTL_SCSI_PASS_THROUGH_DIRECT_failed_with_error__d_r_n
call fcn.0054d5e0
add esp, 8
jmp 0x44b60c
movzx edx, byte [ebp - 0x66]
test edx, edx
je 0x44b60c
movzx eax, byte [ebp - 0x66]
push eax
push str.IOCTL_SCSI_PASS_THROUGH_DIRECT_failure_r_n_tSCSI_status_code_02x_r_n
call fcn.0054d5e0
add esp, 8
mov dword [ebp - 0x70], 0
jmp 0x44b5dd
mov ecx, dword [ebp - 0x70]
add ecx, 1
mov dword [ebp - 0x70], ecx
cmp dword [ebp - 0x70], 0x20
jae 0x44b5fb
mov edx, dword [ebp - 0x70]
movzx eax, byte [ebp + edx - 0x38]
push eax
push 0x601974
call fcn.0054d5e0
add esp, 8
jmp 0x44b5d4
push 0x60197c
call fcn.0054d5e0
add esp, 4
mov byte [ebp - 1], 0
movzx ecx, byte [ebp - 1]
test ecx, ecx
jne 0x44b740
mov edx, dword [ebp - 0x90]
cmp dword [edx + 0xc], 0
je 0x44b740
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 0x45c]
add ecx, 0x20c
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x448]
mov ecx, dword [ebp + 0xc]
adc ecx, dword [edx + 0x44c]
mov edx, dword [ebp - 0x90]
mov edx, dword [edx + 0x45c]
xor esi, esi
push esi
push edx
push ecx
push eax
call fcn.00555990
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x74]
push eax
call fcn.0054ea24
add esp, 4
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x74]
push ecx
push 0
mov edx, dword [ebp - 0x78]
push edx
call fcn.00555bf0
add esp, 0xc
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x80]
mov dword [eax + 0x200], ecx
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 0x45c]
mov dword [edx + 0x204], ecx
mov edx, dword [ebp - 0x90]
add edx, 0x230
push edx
push 0x100
mov eax, dword [ebp - 0x78]
push eax
call fcn.0054d766
add esp, 0xc
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + 0x45c]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x78]
add ecx, 0x208
push ecx
call fcn.00555c70
add esp, 0xc
push 0
lea edx, [ebp - 0x7c]
push edx
push 0
push 0
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
push 0x22e00c
mov edx, dword [ebp - 0x90]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
push ecx
push str.IOCTL_SECTOR_WRITE_SRB_returned__d_r_n
call fcn.0054d5e0
add esp, 8
mov edx, dword [ebp - 0x78]
push edx
call fcn.0054eaee
add esp, 4
movzx eax, byte [ebp - 1]
test eax, eax
jne 0x44b86d
mov ecx, dword [ebp - 0x90]
cmp dword [ecx + 0xc], 0
je 0x44b86d
mov edx, dword [ebp - 0x90]
mov eax, dword [edx + 0x45c]
add eax, 0x210
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.0054ea24
add esp, 4
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x84]
push edx
push 0
mov eax, dword [ebp - 0x88]
push eax
call fcn.00555bf0
add esp, 0xc
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x200], edx
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0x204], eax
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x90]
mov eax, dword [edx + 0x45c]
mov dword [ecx + 0x208], eax
mov ecx, dword [ebp - 0x90]
add ecx, 0x32
push ecx
push 0xff
mov edx, dword [ebp - 0x88]
push edx
call fcn.0054d766
add esp, 0xc
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 0x45c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x88]
add eax, 0x20c
push eax
call fcn.00555c70
add esp, 0xc
push 0
lea ecx, [ebp - 0x8c]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x88]
push eax
push 0x22e004
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 1], al
movzx eax, byte [ebp - 1]
push eax
push str.IOCTL_SECTOR_WRITE_returned__d_r_n
call fcn.0054d5e0
add esp, 8
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.0054eaee
add esp, 4
mov al, byte [ebp - 1]
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret 0xc