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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7980fe
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
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
xor eax, eax
mov dword [ebp - 0xac], 0xc100fd
mov dword [ebp - 0xa8], 0xd700ca
mov dword [ebp - 0xa4], 0xcf00d3
mov dword [ebp - 0xa0], 0xcd00db
mov dword [ebp - 0x9c], 0x92009c
mov dword [ebp - 0x98], 0xa200b6
mov dword [ebp - 0x94], 0xb100b6
mov dword [ebp - 0x90], 0xb700b3
mov dword [ebp - 0x8c], 0xb90089
mov dword [ebp - 0x88], 0xb900ba
mov dword [ebp - 0x84], 0xbb00a3
mov dword [ebp - 0x80], 0xab00ab
mov dword [ebp - 0x7c], 0x83008c
mov dword [ebp - 0x78], 0xbd00a7
mov dword [ebp - 0x74], 0xd4
nop dword [eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0xac], cx
inc eax
mov ecx, dword [ebp - 0xb0]
cmp eax, ecx
jb 0x45a9b0
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 0x45a9f3
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 0x7d76e0
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.0057e150
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 1
mov bl, al
call fcn.00404490
test bl, bl
je 0x45ab1f
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 0x45aadf
xor bl, bl
jmp 0x45ab0c
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 0x45ab1f
mov bl, 1
jmp 0x45ab21
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 0x45ab40
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 0x45ab5d
push eax
call esi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret 4