Function at 0x44e80b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 8], edx
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0xa0], 0x94
lea eax, [ebp - 0xa0]
push eax
call fcn.004e3d92
cmp dword [ebp + 8], 0
jne 0x44e848
xor eax, eax
jmp 0x44eb5a
cmp dword [ebp - 0x90], 1
jne 0x44e94d
push 0
lea edx, [ebp - 8]
push edx
push dword [ebp + 8]
call fcn.004e4084
mov esi, eax
test esi, esi
je 0x44e86f
cmp dword [ebp - 8], 0
jne 0x44e876
xor eax, eax
jmp 0x44eb5a
push 0
call fcn.004e3eb8
lea edx, [ebp - 4]
push edx
push 0
push 0
push 2
push dword [ebp - 8]
call fcn.004e407e
mov esi, eax
test esi, esi
jne 0x44e8b4
call fcn.004e3cfc
cmp eax, 0x7a
jne 0x44e8a5
cmp dword [ebp - 4], 0
jne 0x44e8b4
push dword [ebp - 8]
call fcn.004e4060
xor eax, eax
jmp 0x44eb5a
push dword [ebp - 4]
push 0x40
call fcn.004e3daa
mov ebx, eax
test ebx, ebx
jne 0x44e8d3
push dword [ebp - 8]
call fcn.004e4060
xor eax, eax
jmp 0x44eb5a
lea edx, [ebp - 4]
push edx
push dword [ebp - 4]
push ebx
push 2
push dword [ebp - 8]
call fcn.004e407e
mov esi, eax
test esi, esi
jne 0x44e900
push dword [ebp - 8]
call fcn.004e4060
push ebx
call fcn.004e3dc2
xor eax, eax
jmp 0x44eb5a
or dword [ebx + 0x34], 4
push 0
push ebx
push 2
push dword [ebp - 8]
call fcn.004e408a
mov esi, eax
test esi, esi
jne 0x44e92c
push dword [ebp - 8]
call fcn.004e4060
push ebx
call fcn.004e3dc2
xor eax, eax
jmp 0x44eb5a
push 0
push 0x3e8
push 0
push str.windows
push 0
push 0x1a
push 0xffff
call fcn.004e46ba
jmp 0x44eb33
cmp dword [ebp - 0x90], 2
jne 0x44eb33
cmp dword [ebp - 0x9c], 5
jb 0x44e9c0
push str.winspool.drv
call fcn.004e3e10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x44e97d
xor eax, eax
jmp 0x44eb5a
push str.SetDefaultPrinterA
push dword [ebp - 0xc]
call fcn.004e3d2c
test eax, eax
jne 0x44e99d
push dword [ebp - 0xc]
call fcn.004e3c90
xor eax, eax
jmp 0x44eb5a
push dword [ebp + 8]
call eax
mov esi, eax
push dword [ebp - 0xc]
call fcn.004e3c90
test esi, esi
jne 0x44eb1a
xor eax, eax
jmp 0x44eb5a
push 0
lea edx, [ebp - 8]
push edx
push dword [ebp + 8]
call fcn.004e4084
mov esi, eax
test esi, esi
je 0x44e9da
cmp dword [ebp - 8], 0
jne 0x44e9e1
xor eax, eax
jmp 0x44eb5a
push 0
call fcn.004e3eb8
lea edx, [ebp - 4]
push edx
push 0
push 0
push 2
push dword [ebp - 8]
call fcn.004e407e
mov esi, eax
test esi, esi
jne 0x44ea1f
call fcn.004e3cfc
cmp eax, 0x7a
jne 0x44ea10
cmp dword [ebp - 4], 0
jne 0x44ea1f
push dword [ebp - 8]
call fcn.004e4060
xor eax, eax
jmp 0x44eb5a
push dword [ebp - 4]
push 0x40
call fcn.004e3daa
mov ebx, eax
test ebx, ebx
jne 0x44ea3e
push dword [ebp - 8]
call fcn.004e4060
xor eax, eax
jmp 0x44eb5a
lea edx, [ebp - 4]
push edx
push dword [ebp - 4]
push ebx
push 2
push dword [ebp - 8]
call fcn.004e407e
mov esi, eax
test esi, esi
je 0x44ea62
cmp dword [ebx + 0x10], 0
je 0x44ea62
cmp dword [ebx + 0xc], 0
jne 0x44ea77
push dword [ebp - 8]
call fcn.004e4060
push ebx
call fcn.004e3dc2
xor eax, eax
jmp 0x44eb5a
push dword [ebp + 8]
call fcn.004e3f7e
mov esi, eax
push dword [ebx + 0x10]
call fcn.004e3f7e
add esi, eax
push dword [ebx + 0xc]
call fcn.004e3f7e
add esi, eax
add esi, 3
push esi
push 0x40
call fcn.004e3daa
mov edi, eax
test edi, edi
jne 0x44eabb
push dword [ebp - 8]
call fcn.004e4060
push ebx
call fcn.004e3dc2
xor eax, eax
jmp 0x44eb5a
push dword [ebp + 8]
push edi
call fcn.004e3f72
push 0x6f4828
push edi
call fcn.004e3f66
push dword [ebx + 0x10]
push edi
call fcn.004e3f66
push 0x6f4828
push edi
call fcn.004e3f66
push dword [ebx + 0xc]
push edi
call fcn.004e3f66
push edi
push str.device
push str.windows
call fcn.004e3f36
mov esi, eax
test esi, esi
jne 0x44eb1a
push dword [ebp - 8]
call fcn.004e4060
push ebx
call fcn.004e3dc2
push edi
call fcn.004e3dc2
xor eax, eax
jmp 0x44eb5a
push 0
push 0x3e8
push 0
push 0
push 0
push 0x1a
push 0xffff
call fcn.004e46ba
cmp dword [ebp - 8], 0
je 0x44eb41
push dword [ebp - 8]
call fcn.004e4060
test ebx, ebx
je 0x44eb4b
push ebx
call fcn.004e3dc2
test edi, edi
je 0x44eb55
push edi
call fcn.004e3dc2
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret