Function at 0x5d24e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ab2f1
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x82f184]
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 dword [ebp - 0x180], ecx
mov eax, dword [ebp + 8]
push 0x30
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x4c]
push 0
push eax
mov dword [ebp - 0x17c], 0
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x28], 7
add esp, 0xc
mov word [ebp - 0x3c], ax
movups xmmword [ebp - 0x4c], xmm0
mov word [ebp - 0x24], ax
mov byte [ebp - 0x22], al
cmp byte [ebp + 0xc], 0
mov dword [ebp - 4], eax
lea eax, [ebp - 0xe4]
push eax
je 0x5d25f0
call fcn.005c8470
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x5d2591
nop
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x5d2580
xor eax, eax
mov ecx, esi
mov word [esi + edx*2], ax
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], 7
mov word [ebp - 0x174], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d25b3
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x174]
call fcn.004044f0
push 0xf003f
push 0
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 1
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x4c]
call fcn.0057e080
jmp 0x5d266b
call fcn.005c8470
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x5d2613
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x5d2602
xor eax, eax
mov dword [ebp - 0x160], 7
mov ecx, esi
mov word [esi + edx*2], ax
mov dword [ebp - 0x164], eax
mov word [ebp - 0x174], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d2635
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x174]
call fcn.004044f0
push 0xf003f
push 0
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x4c]
call fcn.0057e200
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0
mov bl, al
call fcn.00404490
test bl, bl
je 0x5d2b20
mov ebx, dword [ebp - 0x178]
lea ecx, [ebp - 0x7c]
push ebx
call fcn.00404120
xor eax, eax
mov byte [ebp - 4], 3
push eax
push 0x7cd378
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
call fcn.004044f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x174]
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
xor eax, eax
movq qword [ebp - 0x1c], xmm0
push 0x7d5790
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 7
mov word [ebp - 0x174], ax
call fcn.004044f0
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 5
push eax
mov edx, ebx
lea ecx, [ebp - 0x1c]
call fcn.00574db0
add esp, 4
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 7
call fcn.00404490
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0x5d277e
lea eax, [ebp - 0x7c]
cmp eax, esi
je 0x5d275f
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x5d2752
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x7c]
call fcn.004044f0
mov esi, dword [ebp - 0x1c]
add esi, 0x18
lea eax, [ebp - 0x64]
cmp eax, esi
je 0x5d277e
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x5d2774
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x64]
call fcn.004044f0
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x1b0]
call fcn.00404120
mov byte [ebp - 4], 8
mov eax, 0xc
mov dword [ebp - 0x14c], eax
xor ecx, ecx
mov dword [ebp - 0x148], 0xdc00fc
mov dword [ebp - 0x144], 0xda00dc
mov dword [ebp - 0x140], 0xd100c9
mov dword [ebp - 0x13c], 0xec00ca
mov dword [ebp - 0x138], 0xae00a3
mov dword [ebp - 0x134], 0xa600b2
mov dword [ebp - 0x130], 0xc4
nop dword [eax]
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x148], ax
inc ecx
mov eax, dword [ebp - 0x14c]
cmp ecx, eax
jb 0x5d27f0
xor ecx, ecx
mov word [ebp + eax*2 - 0x148], cx
xor eax, eax
mov dword [ebp - 0x188], ecx
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x184], 7
lea edx, [ecx + 2]
mov word [ebp - 0x198], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d2835
sub ecx, edx
lea eax, [ebp - 0x148]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x198]
call fcn.004044f0
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0057e4b0
lea ecx, [ebp - 0x198]
call fcn.00404490
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 7
call fcn.00404490
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0057e170
test al, al
je 0x5d2b08
push 0xb0
lea eax, [ebp - 0x12c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x12c], 0x7d4f80
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x11c], 0x7d5218
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 - 0x114]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x17c], 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], 0xa
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x130], eax
lea ecx, [ebp - 0x114]
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 - 0x114], 0x7c6164
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x180]
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0xb
mov eax, dword [eax + 0xb8]
add eax, 0xc
push eax
call fcn.00404120
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x198]
cmp dword [ebp - 0x184], 8
push dword [ebp - 0x188]
cmovae eax, dword [ebp - 0x198]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00404c80
mov edx, 0x14
mov dword [ebp - 0x158], 0xca0098
add esp, 0xc
mov dword [ebp - 0x15c], edx
mov esi, eax
mov dword [ebp - 0x154], 0xcf00df
mov dword [ebp - 0x150], 0xce009c
xor ecx, ecx
mov dword [ebp - 0x14c], 0xde00db
mov dword [ebp - 0x148], 0xa200b2
mov dword [ebp - 0x144], 0xe300aa
mov dword [ebp - 0x140], 0xbc00b7
mov dword [ebp - 0x13c], 0xb300b5
mov dword [ebp - 0x138], 0xa400ad
mov dword [ebp - 0x134], 0xeb00f0
mov dword [ebp - 0x130], 0xcc
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x158], ax
inc ecx
mov edx, dword [ebp - 0x15c]
cmp ecx, edx
jb 0x5d2a20
xor eax, eax
mov word [ebp + edx*2 - 0x158], ax
lea eax, [ebp - 0x158]
push eax
push esi
call fcn.00404740
mov ecx, dword [ebx + 0x10]
add esp, 8
cmp dword [ebx + 0x14], 8
jb 0x5d2a5e
mov ebx, dword [ebx]
push ecx
push ebx
push eax
call fcn.00404c80
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x198]
call fcn.00404490
call fcn.00434600
mov edi, eax
lea eax, [ebp - 0x264]
push eax
call fcn.005d2b80
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x334]
push eax
call fcn.005c9670
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0x12c]
push ecx
push esi
push 0x335
push eax
push 1
mov ecx, edi
call fcn.00469240
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x130], eax
lea ecx, [ebp - 0x114]
call fcn.004073e0
lea ecx, [ebp - 0x10c]
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 - 0xc4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x1c]
call fcn.00404220
lea ecx, [ebp - 0x64]
call fcn.00404490
lea ecx, [ebp - 0x7c]
call fcn.00404490
mov eax, dword [ebp - 0x4c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x5d2b37
push eax
call esi
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x24], 0
call fcn.00404490
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x5d2b54
push eax
call esi
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.0076d59e
mov esp, ebp
pop ebp
ret 0xc