Function at 0x4297a0
Capabilities:
Encode data using xor
Query or enumerate registry value
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b0cb
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x6dd8d0]
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 ecx, dword [sym.imp.MSVCR120.dll_malloc]
mov dword [ebp - 0x118], 0x5b3ed0
mov edi, dword [ebp - 0x118]
mov ebx, dword [ebp - 0x118]
add ebx, 0x14
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x120], 0
cmp byte [edi + 0x13], 0
mov dword [ebp - 0x124], 0x104
je 0x429860
mov esi, dword [edi + 0xf]
lea eax, [esi + 1]
push eax
call ecx
add esp, 4
mov dword [ebp - 0x118], eax
xor edx, edx
test esi, esi
je 0x42984d
sub ebx, eax
jmp 0x429830
lea ecx, [edx + eax]
mov eax, edx
and eax, 7
inc edx
mov al, byte [eax + edi + 7]
xor al, byte [ebx + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x118]
cmp edx, dword [edi + 0xf]
jb 0x429830
mov ecx, dword [ebp - 0x118]
mov eax, dword [edi + 0xf]
mov byte [ecx + eax], 0
mov ecx, dword [sym.imp.MSVCR120.dll_malloc]
mov dword [ebp - 0x118], 0x5b3f00
mov ebx, dword [ebp - 0x118]
mov edi, dword [ebp - 0x118]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x4298c5
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call ecx
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 0x118], ecx
test esi, esi
je 0x4298bc
sub edi, ecx
jmp 0x4298a0
mov eax, edx
add ecx, edx
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x118]
cmp edx, dword [ebx + 0xf]
jb 0x4298a0
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
lea eax, [ebp - 0x11c]
push eax
push 1
push 0
push edi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jle 0x4298ea
call fcn.0042a4c0
jmp 0x429aba
mov dword [ebp - 0x118], 0x5b3f30
mov ebx, dword [ebp - 0x118]
mov edi, dword [ebp - 0x118]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x429955
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 0x118], ecx
test esi, esi
je 0x42994c
sub edi, ecx
lea esp, [esp]
mov eax, edx
add ecx, edx
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x118]
cmp edx, dword [ebx + 0xf]
jb 0x429930
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
lea eax, [ebp - 0x11c]
push eax
push 1
push 0
push edi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x429aae
lea eax, [ebp - 0x124]
mov dword [ebp - 0x120], 1
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x120]
push eax
push 0
push 0x5b3e44
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x429aa9
push 1
push 0x40
push 8
push 0x5b3f60
lea ecx, [ebp - 0x1cc]
call fcn.0040c520
mov dword [ebp - 0x118], str.HW
mov ebx, dword [ebp - 0x118]
mov edi, dword [ebp - 0x118]
add edi, 0x14
mov dword [ebp - 4], 0
cmp byte [ebx + 0x13], 0
je 0x429a35
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 0x118], ecx
test esi, esi
je 0x429a2c
sub edi, ecx
lea ebx, [ebx]
mov eax, edx
add ecx, edx
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x118]
cmp edx, dword [ebx + 0xf]
jb 0x429a10
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x1cc]
push edi
push eax
call fcn.0040afa0
add esp, 8
push eax
call fcn.0040afa0
add esp, 8
lea ecx, [ebp - 0x1c8]
call fcn.0040a310
test eax, eax
jne 0x429a7e
push eax
mov eax, dword [ebp - 0x1cc]
lea ecx, [ebp - 0x1cc]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 2
push str.Temp
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
call fcn.0042a4c0
lea ecx, [ebp - 0x16c]
call fcn.0040c630
lea ecx, [ebp - 0x16c]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
jmp 0x429aae
call fcn.0042a4c0
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.0059978a
mov esp, ebp
pop ebp
ret