Function at 0x445c00
Capabilities:
Check os version

Disassembly:
push 0x138
mov eax, 0x46eed9
call fcn.0046cef5
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 0x445c72
cmp eax, 2
je 0x445c72
cmp eax, 3
je 0x445c72
cmp eax, 4
je 0x445c72
cmp eax, 5
je 0x445c72
mov ebx, 0x80070057
push 0x65f
mov eax, dword [edi + 0x2c]
mov esi, dword [eax + 4]
push 0x412874
mov ecx, esi
call dword [0x47547c]
lea ecx, [edi + 0x2c]
call esi
mov edx, ebx
mov ecx, eax
call fcn.00446ed9
jmp 0x445eb1
mov eax, dword [edi]
lea ecx, [ebp - 0x140]
push ecx
mov esi, dword [eax + 0x4c]
mov ecx, esi
call dword [0x47547c]
mov ecx, edi
call esi
mov ebx, eax
mov dword [ebp - 0x130], ebx
test ebx, ebx
jns 0x445ca3
mov edx, dword [edi + 0x2c]
push 0x663
mov esi, dword [edx + 4]
jmp 0x445c52
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.0041b9cf
test eax, eax
jne 0x445d06
push 0x669
mov eax, dword [edi + 0x2c]
push 0x412874
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x47547c]
lea ecx, [edi + 0x2c]
call esi
mov ebx, dword [ebp - 0x130]
jmp 0x445c64
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 0x445d5e
dec eax
je 0x445d57
dec eax
je 0x445d3c
dec eax
jne 0x445d72
mov ecx, 0x8000
mov dword [ebp - 0x134], 3
jmp 0x445d72
mov ecx, 0x4000
mov dword [ebp - 0x134], 1
mov dword [ebp - 0x138], 3
jmp 0x445d72
mov ecx, 0x80
jmp 0x445d30
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 0x445d9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
mov ebx, eax
push 0x697
jmp 0x445c4c
cmp dword [ebp - 0x128], 6
jb 0x445e96
cmp dword [ebp + 8], 3
je 0x445db5
cmp dword [ebp + 8], esi
jne 0x445ddf
push 1
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x13c]
call fcn.0041b84d
mov ebx, eax
mov dword [ebp - 0x130], ebx
test ebx, ebx
jns 0x445ddf
push 0x6a2
jmp 0x445c4c
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.0041b9cf
test eax, eax
jne 0x445e0f
push 0x6aa
jmp 0x445ce3
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.0041b9cf
test eax, eax
jne 0x445e3c
push 0x6af
jmp 0x445ce3
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.0041b9cf
test eax, eax
jne 0x445e69
push 0x6b6
jmp 0x445ce3
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.0041b9cf
test eax, eax
jne 0x445e96
push 0x6bb
jmp 0x445ce3
cmp dword [edi + 0x160], 0
mov ebx, dword [ebp - 0x130]
jne 0x445eb1
mov eax, dword [ebp - 0x140]
mov dword [edi + 0x160], eax
mov ecx, ebx
call fcn.004190b1
lea ecx, [ebp - 0x13c]
call fcn.0041e051
lea ecx, [ebp - 0x13c]
call fcn.0041e051
mov eax, ebx
call fcn.0046cea9
ret 4