Function at 0x4443a0
Capabilities:
Check os version

Disassembly:
push 0x13c
mov eax, 0x47661d
call fcn.00472eab
mov eax, ecx
mov dword [ebp - 0x134], eax
and dword [ebp - 0x140], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x144], 0xe
cmp ebx, 1
je 0x44442e
cmp ebx, 2
je 0x44442e
cmp ebx, 3
je 0x44442e
cmp ebx, 4
je 0x44442e
cmp ebx, 5
je 0x44442e
lea ebx, [eax + 0x2c]
mov edi, 0x80070057
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x47d838]
mov ecx, ebx
call esi
test eax, eax
je 0x444714
mov eax, dword [ebx]
push 0x789
push 0x411658
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x47d838]
mov ecx, ebx
call esi
mov edx, edi
mov ecx, eax
call fcn.0044829d
jmp 0x444714
mov eax, dword [eax]
lea ecx, [ebp - 0x148]
push ecx
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x47d838]
mov ecx, dword [ebp - 0x134]
call esi
mov edi, eax
mov dword [ebp - 0x130], edi
test edi, edi
jns 0x444494
mov ebx, dword [ebp - 0x134]
mov ecx, dword [ebx + 0x2c]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x47d838]
lea ecx, [ebx + 0x2c]
call esi
test eax, eax
je 0x444714
push 0x78d
mov eax, dword [ebx + 0x2c]
push 0x411658
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x47d838]
lea ecx, [ebx + 0x2c]
jmp 0x44441e
push 0x118
lea eax, [ebp - 0x128]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.ntdll.dll_RtlGetVersion]
test eax, eax
jne 0x4444cf
xor edi, edi
mov dword [ebp - 0x130], edi
jmp 0x44452f
lea edx, [ebp - 0x130]
mov ecx, eax
call fcn.00427484
test eax, eax
jne 0x444529
mov edi, dword [ebp - 0x134]
mov eax, dword [edi + 0x2c]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x47d838]
lea ecx, [edi + 0x2c]
call esi
test eax, eax
je 0x4446eb
push 0x793
mov eax, dword [edi + 0x2c]
push 0x411658
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x47d838]
lea ecx, [edi + 0x2c]
call esi
mov edi, dword [ebp - 0x130]
jmp 0x444420
mov edi, dword [ebp - 0x130]
push 2
pop edx
push 5
mov eax, ebx
mov dword [ebp - 0x138], edx
xor ecx, ecx
pop esi
mov dword [ebp - 0x13c], esi
sub eax, edx
je 0x444582
sub eax, 1
je 0x44457e
sub eax, 1
je 0x444565
sub eax, 1
jne 0x444596
inc ecx
mov dword [ebp - 0x138], 3
jmp 0x444596
or ecx, 0xffffffff
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x13c], 3
jmp 0x444596
mov ecx, edx
jmp 0x444559
or ecx, 0xffffffff
mov dword [ebp - 0x13c], 1
and dword [ebp - 0x138], 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x4445e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0042754e
mov ebx, dword [ebp - 0x134]
mov edi, eax
mov eax, dword [ebx + 0x2c]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x47d838]
lea ecx, [ebx + 0x2c]
call esi
test eax, eax
je 0x444714
push 0x7c1
jmp 0x44447c
cmp dword [ebp - 0x128], 6
jb 0x4446f9
cmp ebx, 3
je 0x4445f8
cmp ebx, esi
jne 0x444643
push 1
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x140]
call fcn.00424bc3
mov edi, eax
mov dword [ebp - 0x130], edi
test edi, edi
jns 0x444643
mov ebx, dword [ebp - 0x134]
mov eax, dword [ebx + 0x2c]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x47d838]
lea ecx, [ebx + 0x2c]
call esi
test eax, eax
je 0x444714
push 0x7cc
jmp 0x44447c
push 4
lea eax, [ebp - 0x138]
push eax
push 0x16
push 0xfffffffffffffffe
call dword [sym.imp.ntdll.dll_NtSetInformationThread]
test eax, eax
jne 0x44467b
and dword [ebp - 0x130], eax
push 4
lea eax, [ebp - 0x13c]
push eax
push 0x18
push 0xfffffffffffffffe
call dword [sym.imp.ntdll.dll_NtSetInformationThread]
test eax, eax
jne 0x4446b3
xor edi, edi
jmp 0x4446f9
lea edx, [ebp - 0x130]
mov ecx, eax
call fcn.00427484
test eax, eax
jne 0x444660
mov edi, dword [ebp - 0x134]
mov eax, dword [edi + 0x2c]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x47d838]
lea ecx, [edi + 0x2c]
call esi
test eax, eax
je 0x4446eb
push 0x7d4
jmp 0x444506
lea edx, [ebp - 0x130]
mov ecx, eax
call fcn.00427484
test eax, eax
jne 0x4446f3
mov edi, dword [ebp - 0x134]
mov eax, dword [edi + 0x2c]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x47d838]
lea ecx, [edi + 0x2c]
call esi
test eax, eax
je 0x4446eb
push 0x7db
jmp 0x444506
mov edi, dword [ebp - 0x130]
jmp 0x444714
mov edi, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x134]
cmp dword [ecx + 0x1f4], 0
jne 0x444714
mov eax, dword [ebp - 0x148]
mov dword [ecx + 0x1f4], eax
mov ecx, edi
call fcn.0042757e
and dword [ebp - 4], 0
lea ecx, [ebp - 0x140]
call fcn.004276f7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x140]
call fcn.004276f7
or dword [ebp - 4], 0xffffffff
mov eax, edi
call fcn.00472e69
ret 4