Function at 0x424320
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7ac2
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x632a40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x360], edx
mov edi, ecx
mov dword [ebp - 0x33c], edi
mov dword [ebp - 0x358], edi
push 0x118
mov dword [ebp - 4], 0
lea eax, [ebp - 0x334]
push 0
mov dword [ebp - 0x35c], 0
push eax
mov dword [ebp - 0x364], edi
mov dword [ebp - 0x338], 0x11c
call fcn.0057ff70
add esp, 0xc
lea eax, [ebp - 0x338]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.0043b660
test al, al
je 0x4243c1
pop eax
push edx
push edi
pop esi
push edx
push esi
push edi
push esi
push eax
push eax
pop esp
pop ebp
push edi
pop ecx
push esp
pop esp
pop esi
push ebx
call fcn.0043b200
test al, al
je 0x4243da
push ebx
pop esi
pop esi
push ebp
pop edx
push ecx
pop ebx
pop eax
pop ecx
pop esp
pop esi
pop ecx
pop edx
push ebp
pop edx
push edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x424400
mov eax, dword [edi]
jmp 0x424402
mov eax, edi
xor ecx, ecx
push ecx
mov word [eax], cx
mov ecx, edi
push 0x623880
call fcn.00404db0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x334]
mov dword [ebp - 0x354], eax
movzx eax, byte [ebp - 0x21e]
mov dword [ebp - 0x358], eax
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 0x348], eax
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x35c], 1
mov dword [ebp - 0x350], 0
mov dword [ebp - 0x344], 0
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x34c], eax
call fcn.0043b970
test al, al
je 0x424494
pop edx
pop ebx
pop esi
push edi
pop edi
push ecx
pop edx
push ebp
pop eax
pop ebp
push edx
push eax
push eax
pop edx
push edi
pop esp
pop eax
push ebx
pop edi
pop edx
push edx
pop eax
push esi
call fcn.0043b430
test al, al
je 0x4244b7
pop esp
push ebx
push eax
pop edi
pop ecx
pop edx
push ebp
push eax
pop ecx
push edi
pop eax
pop ebx
push edi
pop ecx
push ebx
pop edi
push eax
pop ecx
push edi
pop esp
push ebx
pop edi
push edx
pop edi
push edx
pop esi
push 0x626088
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x424503
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4244fc
lea ecx, [ebp - 0x340]
push ecx
lea ecx, [ebp - 0x344]
push ecx
lea ecx, [ebp - 0x350]
push ecx
call eax
movzx eax, word [ebp - 0x340]
mov dword [ebp - 0x340], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.0043b190
test al, al
je 0x424526
push edi
pop esp
push esp
pop edi
push esi
pop edx
push ecx
pop edx
push esi
pop edx
push esi
push eax
push esp
pop ebx
pop ebp
push ebx
pop ebx
push edx
push esp
pop ebp
push ebp
push edi
push ebp
pop esi
push ebx
pop ebx
call fcn.0043bb30
test al, al
je 0x424540
pop ebp
push esi
pop eax
pop esp
push ecx
pop ebp
push ebx
pop ebp
pop ecx
pop edi
push edi
pop ecx
push ecx
pop eax
pop ebx
push esp
pop edx
call fcn.0043b6d0
test al, al
je 0x42455b
pop ecx
push esp
pop ebp
push esi
pop esp
pop eax
pop edi
push ebp
push esp
pop edi
push ecx
pop ecx
push edx
push ecx
pop ecx
push eax
push esp
push ecx
mov esi, dword [ebp - 0x354]
cmp esi, 5
jne 0x424593
mov eax, dword [ebp - 0x34c]
test eax, eax
je 0x42468a
mov ecx, dword [ebp - 0x33c]
cmp eax, 1
jne 0x424589
push str.WindowsXP
jmp 0x424685
push str.WindowsServer2003
jmp 0x424685
cmp esi, 6
jne 0x424669
mov eax, dword [ebp - 0x34c]
sub eax, 0
je 0x42464c
sub eax, 1
je 0x424645
sub eax, 1
jne 0x42468a
mov ecx, dword [ebp - 0x348]
cmp ecx, 0x1ebb
jne 0x4245d5
push str.Windows8
jmp 0x42467f
lea eax, [ecx - 0x1ee6]
cmp eax, 0x25
ja 0x4245ea
push str.Windows8
jmp 0x42467f
cmp ecx, 0x1f13
jne 0x4245fc
push str.Windows8
jmp 0x42467f
mov eax, dword [ebp - 0x350]
cmp eax, 0xa
jne 0x424630
cmp dword [ebp - 0x344], 0
jne 0x42468a
cmp dword [ebp - 0x340], 0x4e20
mov ecx, dword [ebp - 0x33c]
jae 0x424629
push str.Windows10
jmp 0x424685
push str.Windows11
jmp 0x424685
cmp eax, 6
jne 0x42468a
cmp dword [ebp - 0x344], 3
jne 0x42468a
push str.Windows8.1
jmp 0x42467f
push str.Windows7
jmp 0x42467f
cmp dword [ebp - 0x358], 1
mov ecx, dword [ebp - 0x33c]
jne 0x424662
push str.WindowsVista
jmp 0x424685
push str.WindowsServer2008
jmp 0x424685
cmp esi, 0xa
jne 0x42468a
cmp dword [ebp - 0x348], 0x4e20
jb 0x42468a
push str.Windows11
mov ecx, dword [ebp - 0x33c]
call fcn.004049c0
call fcn.0043b190
test al, al
je 0x4246b3
push edi
pop esp
push esp
pop edi
push esi
pop edx
push ecx
pop edx
push esi
pop edx
push esi
push eax
push esp
pop ebx
pop ebp
push ebx
pop ebx
push edx
push esp
pop ebp
push ebp
push edi
push ebp
pop esi
push ebx
pop ebx
mov esi, dword [ebp - 0x354]
call fcn.0043bb30
test al, al
je 0x4246cd
pop ebp
push esi
pop eax
pop esp
push ecx
pop ebp
push ebx
pop ebp
pop ecx
pop edi
push edi
pop ecx
push ecx
pop eax
pop ebx
push esp
pop edx
call fcn.0043b6d0
test al, al
je 0x4246e8
pop ecx
push esp
pop ebp
push esi
pop esp
pop eax
pop edi
push ebp
push esp
pop edi
push ecx
pop ecx
push edx
push ecx
pop ecx
push eax
push esp
push ecx
mov ebx, dword [ebp - 0x33c]
mov ecx, ebx
push 0x623880
call fcn.0040dac0
test eax, eax
jne 0x42476e
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0057ff70
push dword [ebp - 0x348]
lea eax, [ebp - 0x218]
push dword [ebp - 0x34c]
push esi
push str.Windows_d._d._d
push eax
call fcn.0040a360
add esp, 0x20
cmp word [ebp - 0x218], 0
jne 0x42473f
xor ecx, ecx
jmp 0x42475f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424750
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.00404db0
call fcn.0043b660
test al, al
je 0x424792
pop eax
push edx
push edi
push esp
push ebp
pop ebp
pop eax
push eax
pop esi
push esi
pop eax
pop esp
push esi
push esi
push eax
push esp
push eax
push eax
pop ecx
push edx
pop esi
push edx
pop esp
pop eax
push esi
push ebp
push edx
call fcn.0043bb30
test al, al
je 0x4247b9
pop esp
push ebx
pop esp
pop esp
pop esp
pop edi
pop eax
pop eax
push esi
push esi
pop eax
push esi
push ebx
push eax
push ebp
push ebp
push ebp
push edi
pop edi
pop ebp
pop esp
push ebx
push ebp
pop ebx
mov ebx, dword [ebp - 0x33c]
cmp dword [ebp - 0x360], 0
je 0x4247fe
cmp word [ebp - 0x324], 0
jne 0x4247d0
xor ecx, ecx
jmp 0x4247ef
lea ecx, [ebp - 0x324]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4247e0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x324]
mov ecx, ebx
push eax
call fcn.0040d860
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00579ec9
mov esp, ebp
pop ebp
ret