Function at 0x44c9c0
Capabilities:
Check os version

Disassembly:
push 0x138
mov eax, 0x476390
call fcn.00474165
mov edi, ecx
and dword [ebp - 0x13c], 0
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x144], 0xe
cmp eax, 1
je 0x44ca32
cmp eax, 2
je 0x44ca32
cmp eax, 3
je 0x44ca32
cmp eax, 4
je 0x44ca32
cmp eax, 5
je 0x44ca32
mov ebx, 0x80070057
push 0x65f
mov eax, dword [edi + 0x2c]
mov esi, dword [eax + 4]
push 0x413944
mov ecx, esi
call dword [0x47d4cc]
lea ecx, [edi + 0x2c]
call esi
mov edx, ebx
mov ecx, eax
call fcn.0044dc99
jmp 0x44cc71
mov eax, dword [edi]
lea ecx, [ebp - 0x140]
push ecx
mov esi, dword [eax + 0x4c]
mov ecx, esi
call dword [0x47d4cc]
mov ecx, edi
call esi
mov ebx, eax
mov dword [ebp - 0x130], ebx
test ebx, ebx
jns 0x44ca63
mov edx, dword [edi + 0x2c]
push 0x663
mov esi, dword [edx + 4]
jmp 0x44ca12
mov esi, 0x11c
lea eax, [ebp - 0x12c]
push esi
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x12c], esi
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.ntdll.dll_RtlGetVersion]
lea edx, [ebp - 0x130]
mov ecx, eax
call fcn.00420185
test eax, eax
jne 0x44cac6
push 0x669
mov eax, dword [edi + 0x2c]
push 0x413944
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x47d4cc]
lea ecx, [edi + 0x2c]
call esi
mov ebx, dword [ebp - 0x130]
jmp 0x44ca24
mov eax, dword [ebp + 8]
push 0x20
pop ecx
push 2
pop edx
mov dword [ebp - 0x134], edx
push 5
pop esi
mov dword [ebp - 0x138], esi
sub eax, edx
je 0x44cb1e
dec eax
je 0x44cb17
dec eax
je 0x44cafc
dec eax
jne 0x44cb32
mov ecx, 0x8000
mov dword [ebp - 0x134], 3
jmp 0x44cb32
mov ecx, 0x4000
mov dword [ebp - 0x134], 1
mov dword [ebp - 0x138], 3
jmp 0x44cb32
mov ecx, 0x80
jmp 0x44caf0
and dword [ebp - 0x134], 0
push 0x40
pop ecx
mov dword [ebp - 0x138], 1
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
test eax, eax
jne 0x44cb5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004263e0
mov ebx, eax
push 0x697
jmp 0x44ca0c
cmp dword [ebp - 0x128], 6
jb 0x44cc56
cmp dword [ebp + 8], 3
je 0x44cb75
cmp dword [ebp + 8], esi
jne 0x44cb9f
push 1
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x13c]
call fcn.0041aeda
mov ebx, eax
mov dword [ebp - 0x130], ebx
test ebx, ebx
jns 0x44cb9f
push 0x6a2
jmp 0x44ca0c
push 4
pop ebx
push ebx
lea eax, [ebp - 0x134]
push eax
push 0x21
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtSetInformationProcess]
lea edx, [ebp - 0x130]
mov ecx, eax
call fcn.00420185
test eax, eax
jne 0x44cbcf
push 0x6aa
jmp 0x44caa3
push ebx
lea eax, [ebp - 0x134]
push eax
push 0x16
push 0xfffffffffffffffe
call dword [sym.imp.ntdll.dll_NtSetInformationThread]
lea edx, [ebp - 0x130]
mov ecx, eax
call fcn.00420185
test eax, eax
jne 0x44cbfc
push 0x6af
jmp 0x44caa3
push ebx
lea eax, [ebp - 0x138]
push eax
push 0x27
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtSetInformationProcess]
lea edx, [ebp - 0x130]
mov ecx, eax
call fcn.00420185
test eax, eax
jne 0x44cc29
push 0x6b6
jmp 0x44caa3
push ebx
lea eax, [ebp - 0x138]
push eax
push 0x18
push 0xfffffffffffffffe
call dword [sym.imp.ntdll.dll_NtSetInformationThread]
lea edx, [ebp - 0x130]
mov ecx, eax
call fcn.00420185
test eax, eax
jne 0x44cc56
push 0x6bb
jmp 0x44caa3
cmp dword [edi + 0x160], 0
mov ebx, dword [ebp - 0x130]
jne 0x44cc71
mov eax, dword [ebp - 0x140]
mov dword [edi + 0x160], eax
mov ecx, ebx
call fcn.004298d9
lea ecx, [ebp - 0x13c]
call fcn.0041cb21
lea ecx, [ebp - 0x13c]
call fcn.0041cb21
mov eax, ebx
call fcn.00474119
ret 4