Function at 0x445f60
Capabilities:
Check os version
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed990
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x555ab0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x10]
or ebx, 0xffffffff
cmp dword [eax - 0xc], 0
je 0x44600f
push 0x53b3d0
lea edx, [ebp + 0x10]
lea ecx, [ebp - 0x1c]
call fcn.0041c9c0
add esp, 4
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.004020f0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44600f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, dword [0x55e860]
movzx edi, al
shr eax, 8
movzx eax, al
mov dword [ebp - 0x28], eax
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov ecx, 0x17
idiv ecx
mov eax, dword [0x55f824]
mov ecx, 0x4d1c0de7
mov dword [ebp - 0x1c], edi
cmp edx, 0xb
cmove eax, ecx
mov ecx, dword [ebp + 8]
cmp edi, 6
mov edi, dword [ebp + 0xc]
mov dword [0x55f824], eax
ja 0x44606c
cmp dword [ebp - 0x1c], 6
jne 0x44613d
cmp dword [ebp - 0x28], 1
jbe 0x44613d
cmp edi, reloc.OLEAUT32.dll_SysReAllocString
je 0x44613d
mov edx, ecx
push 1
lea ecx, [ebp - 0x1c]
call fcn.00444fd0
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.004045e0
add esp, 8
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004020f0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4460c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4460e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x44611d
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x446127
push dword [ebp - 0x1c]
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00446940
mov ecx, dword [ebp + 8]
add esp, 8
mov edx, ecx
push 0
lea ecx, [ebp - 0x30]
call fcn.00444fd0
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.004045e0
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [eax]
lea ecx, [esi - 0x10]
lea eax, [edx - 0x10]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], ecx
cmp eax, ecx
je 0x4461bc
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x4461ad
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4461ad
mov ecx, dword [ebp - 0x28]
call fcn.004022e0
mov dword [ebp - 0x28], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4461a5
mov esi, dword [ebp - 0x1c]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x28]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
jmp 0x4461bc
push dword [edx - 0xc]
lea ecx, [ebp - 0x14]
push edx
call fcn.004021b0
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4461dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4461fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x446232
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x44623b
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x1c]
push eax
push 0x2001f
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x446258
mov byte [ebp - 0xd], 0
jmp 0x44628c
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
lea eax, [eax*2 + 2]
push eax
mov eax, dword [ebp - 0x24]
push ecx
push 1
push 0
push dword [eax]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x1c]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete byte [ebp - 0xd]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4462ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4462c9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 0x10]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4462ea
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret