Function at 0x45a4ae
Capabilities:
Check os version
Encode data using xor

Disassembly:
push 0x350
mov eax, 0x5e402d
call fcn.0046d2ba
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x330]
xor ebx, ebx
mov dword [ebp - 0x338], edi
push 0x118
push ebx
mov dword [ebp - 0x354], ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x35c], edi
mov dword [ebp - 0x334], 0x11c
call fcn.004830b0
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.00473856
test al, al
je 0x45a520
pop es
push 0x84094cc5
jae 0x45a579
popfd
lahf
daa
rcl bx, cl
adc eax, ecx
das
aad 0x33
fld xword [eax - 0x10]
xchg dword [esi], ebx
shr dword [edi], 0xd5
xor ebx, ebx
push 0x5e87f0
mov ecx, edi
call fcn.00403b30
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 - 0x34c], eax
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x354], 1
mov dword [ebp - 0x340], ebx
mov dword [ebp - 0x344], ebx
mov dword [ebp - 0x33c], ebx
mov dword [ebp - 0x348], eax
call fcn.00473337
test al, al
je 0x45a5a2
cld
invalid
push ds
or dh, byte [edx]
jns 0x45a51b
adc eax, 0xac3d75ef
imul ebx, dword [esi - 0x51], 0x5d
int 0xd
popfd
out 5, eax
inc ecx
mov al, 0xd2
sti
inc esp
mov bl, 0x1b
invalid
call fcn.00473673
test al, al
je 0x45a5c4
mov esp, 0x21bb4d81
lcall 0x470b, 0x77f1cc4f
mov ah, 0xd
pop ss
imul esp, dword [edx - 0x45b23ca5], 0xf1f54516
call fcn.00473490
test al, al
je 0x45a5e5
int3
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x45a631
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45a62a
lea ecx, [ebp - 0x33c]
push ecx
lea ecx, [ebp - 0x344]
push ecx
lea ecx, [ebp - 0x340]
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.004732ad
test al, al
je 0x45a653
iretd
call fcn.00473742
test al, al
je 0x45a673
inc ebx
inc edi
pop edx
mov eax, 0xa18cdef
or dh, byte [edi]
xchg dh, dl
pop edx
push ebx
scasd eax, dword es:[edi]
inc ebx
add al, 0xfb
and ebx, esp
and al, ch
xor eax, 0x8400018c
sal byte [edi + edx - 0x39], 0xf8
stc
outsd dx, dword [esi]
mov edi, 0xd9bf6dde
and bh, ch
and dl, byte [eax]
xlatb
call fcn.004732ad
test al, al
je 0x45a693
xbegin 0xdf05167b
insd dword es:[edi], dx
mov edi, 0x22ef20d9
adc bh, dl
outsb dx, byte [esi]
ficom dword [ebx]
arpl di, bp
pop ecx
cmp al, 0xfe
nop
mov eax, dword [ebp - 0x350]
cmp eax, 5
jne 0x45a6c5
mov eax, dword [ebp - 0x348]
test eax, eax
je 0x45a786
cmp eax, 1
jne 0x45a6bb
mov esi, str.WindowsXP
jmp 0x45a772
mov esi, str.WindowsServer2003
jmp 0x45a772
cmp eax, 6
jne 0x45a786
mov eax, dword [ebp - 0x348]
sub eax, 0
je 0x45a75f
sub eax, 1
je 0x45a758
sub eax, 1
jne 0x45a786
mov ecx, dword [ebp - 0x34c]
cmp ecx, 0x1ebb
jne 0x45a700
mov esi, str.Windows8
jmp 0x45a772
lea eax, [ecx - 0x1ee6]
cmp eax, 0x25
jbe 0x45a6f9
cmp ecx, 0x1f13
je 0x45a6f9
cmp dword [ebp - 0x340], 0xa
jne 0x45a73f
cmp dword [ebp - 0x344], 0
jne 0x45a786
cmp dword [ebp - 0x33c], 0x4e20
jae 0x45a738
mov esi, str.Windows10
jmp 0x45a772
mov esi, str.Windows11
jmp 0x45a772
cmp dword [ebp - 0x340], 6
jne 0x45a786
cmp dword [ebp - 0x344], 3
jne 0x45a786
mov esi, str.Windows8.1
jmp 0x45a772
add bl, ch
sbb bh, byte [esi + str.Windows7]
mov esi, str.Windows7
jmp 0x45a772
cmp dword [ebp - 0x358], 1
mov esi, str.WindowsVista
je 0x45a772
mov esi, str.WindowsServer2008
push esi
call fcn.00491757
pop ecx
mov ecx, dword [ebp - 0x338]
push eax
push esi
call fcn.00402650
call fcn.004732ad
test al, al
je 0x45a7a8
cmpsb byte [esi], byte es:[edi]
and edx, ecx
nop
lea edi, [ebx + 0x7698cc74]
outsd dx, dword [esi]
rcl dword [eax - 0x338b4473]
cwde
jbe 0x45a809
mov al, 0xd4
pop es
xor eax, 0x5f2b6de5
call 0x341ccdaf
js 0x45a791
call fcn.00473742
test al, al
je 0x45a7c8
xchg ebp, eax
pop dword [ecx]
add byte [eax + eax*8 + 0x7be81774], al
outsd dx, dword [esi]
jp 0x45a78d
call 0xd7c01731
dec esi
cli
mov eax, 0x94f00e9d
fbstp tbyte [esi + ebp*2]
std
int 0x66
daa
lds edx, [edi]
or dword [edi - 0x18], esi
loopne 0x45a755
call fcn.004732ad
add dword [eax], eax
test al, al
je 0x45a7e8
add al, 0xa6
cmp eax, 0xabc92637
or al, 0xf
fistp dword [ebx + ebx*8 + 0x6e]
and dword [edi], ebp
aam 0xc3
outsd dx, dword [esi]
cld
imul eax, ecx, 0xc89d8b6b
cld
invalid
mov ebx, dword [ebp - 0x338]
mov ecx, ebx
push 0x5e87f0
call fcn.00429920
test eax, eax
jne 0x45a862
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.004830b0
push dword [ebp - 0x34c]
mov eax, dword [ebp - 0x350]
push dword [ebp - 0x348]
push eax
lea eax, [ebp - 0x218]
push str.Windows_d._d._d
push eax
call fcn.00407e70
add esp, 0x20
cmp word [ebp - 0x218], si
jne 0x45a846
invalid
add bh, bh
mov ch, 0xb4
cld
invalid
mov eax, esi
jmp 0x45a853
lea eax, [ebp - 0x218]
push eax
call fcn.00491757
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.00402650
cli
invalid
call fcn.0047362e
test al, al
je 0x45a88b
mov esi, esp
jg 0x45a873
fst qword [ecx - 4]
cwde
or eax, eax
jns 0x45a860
mov ebx, 0x391830bd
in eax, 0xe3
jne 0x45a811
lodsb al, byte [esi]
jecxz 0x45a862
sub dh, byte [edx - 0x37e1431e]
push ecx
call fcn.0047351a
test al, al
je 0x45a8ab
lcall 0xcdca, 0x911dc0f4
in al, dx
mov byte [0xd5668783], al
mov al, 0x40
and bh, dh
pop edx
sbb dword [edi], edx
mov bh, al
pop esp
call fcn.004733c1
test al, al
je 0x45a8cb
invalid
cmp dword [ebp + 0xc], 0
je 0x45a903
cmp word [ebp - 0x320], 0
jne 0x45a8df
xor eax, eax
jmp 0x45a8ec
lea eax, [ebp - 0x320]
push eax
call fcn.00491757
pop ecx
mov esi, dword [ebp - 0x338]
mov ecx, esi
push eax
lea eax, [ebp - 0x320]
push eax
call fcn.00405710
jmp 0x45a909
mov esi, dword [ebp - 0x338]
mov eax, esi
call fcn.0046d264
ret