Function at 0x45b5a0
Capabilities:
Encode data using xor
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79983e
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x831184]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x58]
push 0x30
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x38], 0
xorps xmm0, xmm0
mov dword [ebp - 0x34], 7
add esp, 0xc
mov word [ebp - 0x48], ax
movups xmmword [ebp - 0x58], xmm0
mov word [ebp - 0x30], ax
mov byte [ebp - 0x2e], al
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x70]
lea eax, [esi + 4]
push eax
call fcn.00404120
mov byte [ebp - 4], 1
mov ecx, 0x1c
mov dword [ebp - 0xb0], ecx
mov ebx, 0xca
mov dword [ebp - 0xac], 0xd200ec
xor eax, eax
mov dword [ebp - 0xa8], 0xc000db
mov dword [ebp - 0xa4], 0xdc00c2
mov dword [ebp - 0xa0], 0xc200ca
mov dword [ebp - 0x9c], 0xe100ed
mov dword [ebp - 0x98], 0xd500c7
mov dword [ebp - 0x94], 0xc200c7
mov dword [ebp - 0x90], 0xc800c2
mov dword [ebp - 0x8c], 0xca00f8
mov dword [ebp - 0x88], 0xce00cb
mov dword [ebp - 0x84], 0xc800d2
mov dword [ebp - 0x80], 0xa400da
mov dword [ebp - 0x7c], 0x90009d
mov dword [ebp - 0x78], 0xaa00b6
mov dword [ebp - 0x74], 0xc5
nop dword [eax]
nop word [eax + eax]
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0xac], cx
inc eax
mov ecx, dword [ebp - 0xb0]
cmp eax, ecx
jb 0x45b6c0
xor eax, eax
mov dword [ebp - 0xb4], 7
mov word [ebp + ecx*2 - 0xac], ax
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xb8], eax
lea edx, [ecx + 2]
mov word [ebp - 0xc8], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b703
sub ecx, edx
lea eax, [ebp - 0xac]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xc8]
call fcn.004044f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push 3
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x7d9724
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004044f0
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00405530
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00404490
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 1
call fcn.00404490
mov eax, dword [esi]
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0x70]
push eax
call fcn.00404120
push 0xf003f
push 0x100
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x58]
call fcn.0057f2d0
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 1
mov bl, al
call fcn.00404490
test bl, bl
je 0x45b82f
lea eax, [esi + 0x1c]
mov dword [ebp - 0x1c], 2
xorps xmm0, xmm0
lea ecx, [ebp - 0xc8]
push eax
movlpd qword [ebp - 0x18], xmm0
call fcn.00404120
cmp byte [ebp - 0x30], 0
jne 0x45b7ef
xor bl, bl
jmp 0x45b81c
cmp dword [ebp - 0xb4], 8
lea ecx, [ebp - 0x1c]
push 0xc
push ecx
push 3
lea eax, [ebp - 0xc8]
cmovae eax, dword [ebp - 0xc8]
push 0
push eax
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
lea ecx, [ebp - 0xc8]
call fcn.00404490
test bl, bl
je 0x45b82f
mov bl, 1
jmp 0x45b831
xor bl, bl
lea ecx, [ebp - 0x70]
call fcn.00404490
mov eax, dword [ebp - 0x58]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x45b850
push eax
call esi
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x30], 0
call fcn.00404490
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x45b86d
push eax
call esi
mov al, bl
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.0076eb7e
mov esp, ebp
pop ebp
ret 4