Function at 0x434850
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6004f2
mov eax, dword fs:[0]
push eax
sub esp, 0x350
mov eax, dword [0x69def4]
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 edi, dword [ebp + 8]
lea eax, [ebp - 0x330]
push 0x118
push 0
mov dword [ebp - 0x354], 0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x338], edi
mov dword [ebp - 0x35c], edi
mov dword [ebp - 0x334], 0x11c
call fcn.005d4b40
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.0048bcf0
test al, al
je 0x4348e6
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.0048c460
test al, al
je 0x4348ff
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 0x434925
mov eax, dword [edi]
jmp 0x434927
mov eax, edi
xor ecx, ecx
push ecx
mov word [eax], cx
mov ecx, edi
push 0x6097e8
call fcn.004072f0
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x350], eax
movzx eax, byte [ebp - 0x21a]
mov dword [ebp - 0x358], eax
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x344], eax
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x354], 1
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x348], eax
call fcn.0048c070
test al, al
je 0x4349b9
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.0048bac0
test al, al
je 0x4349dc
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 str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x434a28
push 0x60d564
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x434a21
lea ecx, [ebp - 0x33c]
push ecx
lea ecx, [ebp - 0x340]
push ecx
lea ecx, [ebp - 0x34c]
push ecx
call eax
movzx eax, word [ebp - 0x33c]
mov dword [ebp - 0x33c], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.0048c3f0
test al, al
je 0x434a4b
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.0048c230
test al, al
je 0x434a65
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.0048bd60
test al, al
je 0x434a80
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 - 0x350]
cmp esi, 5
jne 0x434ab8
mov eax, dword [ebp - 0x348]
test eax, eax
je 0x434baf
mov ecx, dword [ebp - 0x338]
cmp eax, 1
jne 0x434aae
push str.WindowsXP
jmp 0x434baa
push str.WindowsServer2003
jmp 0x434baa
cmp esi, 6
jne 0x434b8e
mov eax, dword [ebp - 0x348]
sub eax, 0
je 0x434b71
sub eax, 1
je 0x434b6a
sub eax, 1
jne 0x434baf
mov ecx, dword [ebp - 0x344]
cmp ecx, 0x1ebb
jne 0x434afa
push str.Windows8
jmp 0x434ba4
lea eax, [ecx - 0x1ee6]
cmp eax, 0x25
ja 0x434b0f
push str.Windows8
jmp 0x434ba4
cmp ecx, 0x1f13
jne 0x434b21
push str.Windows8
jmp 0x434ba4
mov eax, dword [ebp - 0x34c]
cmp eax, 0xa
jne 0x434b55
cmp dword [ebp - 0x340], 0
jne 0x434baf
cmp dword [ebp - 0x33c], 0x4e20
mov ecx, dword [ebp - 0x338]
jae 0x434b4e
push str.Windows10
jmp 0x434baa
push str.Windows11
jmp 0x434baa
cmp eax, 6
jne 0x434baf
cmp dword [ebp - 0x340], 3
jne 0x434baf
push str.Windows8.1
jmp 0x434ba4
push str.Windows7
jmp 0x434ba4
cmp dword [ebp - 0x358], 1
mov ecx, dword [ebp - 0x338]
jne 0x434b87
push str.WindowsVista
jmp 0x434baa
push str.WindowsServer2008
jmp 0x434baa
cmp esi, 0xa
jne 0x434baf
cmp dword [ebp - 0x344], 0x4e20
jb 0x434baf
push str.Windows11
mov ecx, dword [ebp - 0x338]
call fcn.0040b200
call fcn.0048c3f0
test al, al
je 0x434bd8
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 - 0x350]
call fcn.0048c230
test al, al
je 0x434bf2
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.0048bd60
test al, al
je 0x434c0d
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 - 0x338]
cmp dword [ebx + 0x14], 8
jb 0x434c1d
mov eax, dword [ebx]
jmp 0x434c1f
mov eax, ebx
push 0
push 0x6097e8
push dword [ebx + 0x10]
push eax
call fcn.00407100
add esp, 0x10
test eax, eax
jne 0x434c9e
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005d4b40
push dword [ebp - 0x344]
lea eax, [ebp - 0x218]
push dword [ebp - 0x348]
push esi
push str.Windows_d._d._d
push eax
call fcn.0040fd80
add esp, 0x20
cmp word [ebp - 0x218], 0
jne 0x434c77
xor ecx, ecx
jmp 0x434c8f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434c80
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.004072f0
call fcn.0048bcf0
test al, al
je 0x434cc2
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.0048c230
test al, al
je 0x434ce9
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 - 0x338]
cmp dword [ebp + 0xc], 0
je 0x434d24
cmp word [ebp - 0x320], 0
jne 0x434cfd
xor ecx, ecx
jmp 0x434d15
lea ecx, [ebp - 0x320]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434d06
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x320]
mov ecx, ebx
push eax
call fcn.0040fc50
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.005cabbc
mov esp, ebp
pop ebp
ret