Function at 0x452c60
Capabilities:
Check os version

Disassembly:
push 0x13c
mov eax, 0x48aa6d
call fcn.0047dc8f
mov eax, ecx
mov dword [ebp - 0x134], eax
and dword [ebp - 4], 0
and dword [ebp - 0x140], 0
or dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x144], 0xe
cmp ebx, 1
je 0x452cf6
cmp ebx, 2
je 0x452cf6
cmp ebx, 3
je 0x452cf6
cmp ebx, 4
je 0x452cf6
cmp ebx, 5
je 0x452cf6
lea ebx, [eax + 0x2c]
mov edi, 0x80070057
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4928c8]
mov ecx, ebx
call esi
test eax, eax
je 0x452ff6
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4928c8]
mov ecx, ebx
call esi
push 0x789
push 0x411af8
mov edx, edi
mov ecx, eax
call fcn.00456239
jmp 0x452ff6
mov eax, dword [eax]
mov esi, dword [eax + 0x60]
lea eax, [ebp - 0x148]
push eax
mov ecx, esi
call dword [0x4928c8]
mov ecx, dword [ebp - 0x134]
call esi
mov edi, eax
mov dword [ebp - 0x130], edi
test edi, edi
jns 0x452d59
mov ebx, dword [ebp - 0x134]
mov ecx, dword [ebx + 0x2c]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4928c8]
lea ecx, [ebx + 0x2c]
call esi
test eax, eax
je 0x452ff6
mov eax, dword [ebx + 0x2c]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4928c8]
lea ecx, [ebx + 0x2c]
call esi
push 0x78d
jmp 0x452ce3
push 0x118
xor esi, esi
lea eax, [ebp - 0x128]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.ntdll.dll_RtlGetVersion]
push eax
call fcn.004323eb
test eax, eax
jne 0x452ddc
mov edi, dword [ebp - 0x134]
mov eax, dword [edi + 0x2c]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4928c8]
lea ecx, [edi + 0x2c]
call esi
test eax, eax
je 0x452ff0
mov eax, dword [edi + 0x2c]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4928c8]
lea ecx, [edi + 0x2c]
call esi
push 0x793
mov edi, dword [ebp - 0x130]
jmp 0x452ce3
push 2
pop edx
push 5
mov eax, ebx
mov dword [ebp - 0x138], edx
mov ecx, esi
pop edi
mov dword [ebp - 0x13c], edi
sub eax, edx
je 0x452e31
sub eax, 1
je 0x452e2d
sub eax, 1
je 0x452e14
sub eax, 1
jne 0x452e44
xor ecx, ecx
inc ecx
mov dword [ebp - 0x138], 3
jmp 0x452e44
or ecx, 0xffffffff
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x13c], 3
jmp 0x452e44
mov ecx, edx
jmp 0x452e08
push 0xfffffffffffffffe
pop ecx
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x13c], 1
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x452ea2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004324dd
mov ebx, dword [ebp - 0x134]
mov edi, eax
mov eax, dword [ebx + 0x2c]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4928c8]
lea ecx, [ebx + 0x2c]
call esi
test eax, eax
je 0x452ff6
mov eax, dword [ebx + 0x2c]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4928c8]
lea ecx, [ebx + 0x2c]
call esi
push 0x7c1
jmp 0x452ce3
cmp dword [ebp - 0x128], 6
jb 0x452fd6
cmp ebx, 3
je 0x452eb8
cmp ebx, edi
jne 0x452f16
push 1
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x140]
call fcn.0042ed9f
mov edi, eax
mov dword [ebp - 0x130], edi
test edi, edi
jns 0x452f16
mov ebx, dword [ebp - 0x134]
mov eax, dword [ebx + 0x2c]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4928c8]
lea ecx, [ebx + 0x2c]
call esi
test eax, eax
je 0x452ff6
mov eax, dword [ebx + 0x2c]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4928c8]
lea ecx, [ebx + 0x2c]
call esi
push 0x7cc
jmp 0x452ce3
lea eax, [ebp - 0x130]
push eax
push 4
lea eax, [ebp - 0x138]
push eax
push 0x16
push 0xfffffffffffffffe
call dword [sym.imp.ntdll.dll_NtSetInformationThread]
push eax
call fcn.004323eb
test eax, eax
jne 0x452f78
mov edi, dword [ebp - 0x134]
mov eax, dword [edi + 0x2c]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4928c8]
lea ecx, [edi + 0x2c]
call esi
test eax, eax
je 0x452ff0
mov eax, dword [edi + 0x2c]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4928c8]
lea ecx, [edi + 0x2c]
call esi
push 0x7d4
jmp 0x452dd1
lea eax, [ebp - 0x130]
push eax
push 4
lea eax, [ebp - 0x13c]
push eax
push 0x18
push 0xfffffffffffffffe
call dword [sym.imp.ntdll.dll_NtSetInformationThread]
push eax
call fcn.004323eb
test eax, eax
jne 0x452fd6
mov edi, dword [ebp - 0x134]
mov eax, dword [edi + 0x2c]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4928c8]
lea ecx, [edi + 0x2c]
call esi
test eax, eax
je 0x452ff0
mov eax, dword [edi + 0x2c]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4928c8]
lea ecx, [edi + 0x2c]
call esi
push 0x7db
jmp 0x452dd1
mov ecx, dword [ebp - 0x134]
cmp dword [ecx + 0x1f4], esi
jne 0x452ff0
mov eax, dword [ebp - 0x148]
mov dword [ecx + 0x1f4], eax
mov edi, dword [ebp - 0x130]
push edi
call fcn.00432150
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x140]
call fcn.00432fe4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x140]
call fcn.00432fe4
or dword [ebp - 4], 0xffffffff
mov eax, edi
call fcn.0047dc41
ret 4