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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79809b
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
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 - 0x7c]
push 0x30
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x5c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x58], 7
add esp, 0xc
mov word [ebp - 0x6c], ax
movups xmmword [ebp - 0x7c], xmm0
mov word [ebp - 0x54], ax
mov byte [ebp - 0x52], al
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x94]
lea eax, [esi + 4]
push eax
call fcn.00404120
mov byte [ebp - 4], 1
mov ecx, 0x1c
mov dword [ebp - 0xd4], ecx
xor eax, eax
mov dword [ebp - 0xd0], 0xc100fd
mov dword [ebp - 0xcc], 0xd700ca
mov dword [ebp - 0xc8], 0xcf00d3
mov dword [ebp - 0xc4], 0xcd00db
mov dword [ebp - 0xc0], 0x92009c
mov dword [ebp - 0xbc], 0xa200b6
mov dword [ebp - 0xb8], 0xb100b6
mov dword [ebp - 0xb4], 0xb700b3
mov dword [ebp - 0xb0], 0xb90089
mov dword [ebp - 0xac], 0xb900ba
mov dword [ebp - 0xa8], 0xbb00a3
mov dword [ebp - 0xa4], 0xab00ab
mov dword [ebp - 0xa0], 0x83008c
mov dword [ebp - 0x9c], 0xbd00a7
mov dword [ebp - 0x98], 0xd4
nop dword [eax + eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0xd0], cx
inc eax
mov ecx, dword [ebp - 0xd4]
cmp eax, ecx
jb 0x45a6d0
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp + ecx*2 - 0xd0], ax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x34], eax
lea edx, [ecx + 2]
mov word [ebp - 0x44], ax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45a710
sub ecx, edx
lea eax, [ebp - 0xd0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x44]
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 - 0x44]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00405530
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00404490
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00404490
mov eax, dword [esi]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x94]
push eax
call fcn.00404120
push 0xf003f
push 0x100
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x7c]
call fcn.0057e150
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov bl, al
call fcn.00404490
test bl, bl
je 0x45a83a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x38], 3
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
lea eax, [esi + 0x1c]
push eax
call fcn.00404120
cmp byte [ebp - 0x54], 0
jne 0x45a806
xor bl, bl
jmp 0x45a82a
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x38]
push 0xc
push ecx
push 3
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
lea ecx, [ebp - 0x28]
call fcn.00404490
test bl, bl
je 0x45a83a
mov bl, 1
jmp 0x45a83c
xor bl, bl
lea ecx, [ebp - 0x94]
call fcn.00404490
mov eax, dword [ebp - 0x7c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x45a85e
push eax
call esi
mov dword [ebp - 0x7c], 0
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x54], 0
call fcn.00404490
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x45a87b
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