Function at 0x57ffc0
Capabilities:
Delete registry value
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a4137
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xf4], 0
cmp byte [ecx + 0x28], 0
je 0x58021f
cmp dword [eax + 0x14], 8
jb 0x58000c
mov eax, dword [eax]
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
test esi, esi
jne 0x580022
mov al, 1
jmp 0x580221
push 0xb0
lea eax, [ebp - 0xc4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xc4], 0x7d6f90
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0xb4], 0x7d7228
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0xac]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xf4], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc4], 0x7c81a4
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc8], eax
lea ecx, [ebp - 0xac]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0xac], 0x7c8164
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 4], 2
mov ecx, 0x12
mov dword [ebp - 0xf0], ecx
xor eax, eax
mov dword [ebp - 0xec], 0xcf00ed
mov dword [ebp - 0xe8], 0xc900c7
mov dword [ebp - 0xe4], 0xcb00d9
mov dword [ebp - 0xe0], 0xd100f9
mov dword [ebp - 0xdc], 0xc700dd
mov dword [ebp - 0xd8], 0x9400d6
mov dword [ebp - 0xd4], 0xc400d0
mov dword [ebp - 0xd0], 0xd700c5
mov dword [ebp - 0xcc], 0x9a00cb
mov dword [ebp - 0xc8], 0xbb
nop word [eax + eax]
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0xec], cx
inc eax
mov ecx, dword [ebp - 0xf0]
cmp eax, ecx
jb 0x580150
xor eax, eax
mov word [ebp + ecx*2 - 0xec], ax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00404740
add esp, 8
mov ecx, eax
push esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int_]
call fcn.004345f0
mov edi, eax
lea eax, [ebp - 0x234]
push eax
call fcn.00580240
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x194]
push eax
call fcn.0057fd40
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0xc4]
push ecx
push esi
push 0x1ad
push eax
push 0
mov ecx, edi
call fcn.00469f50
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc4], 0x7c81a4
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc8], eax
lea ecx, [ebp - 0xac]
call fcn.004073e0
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret 4