Function at 0x5cfec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7aaf91
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
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 - 0x14c], ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x58]
push 0x30
push 0
push eax
mov dword [ebp - 0x214], 0
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x38], 0
xorps xmm0, xmm0
mov dword [ebp - 0x34], 7
add esp, 0xc
mov word [ebp - 0x48], ax
movups xmmword [ebp - 0x58], xmm0
mov word [ebp - 0x30], ax
mov byte [ebp - 0x2e], al
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [ebp - 0x1c0], 0x29
mov dword [ebp - 0x1bc], 0xd600eb
mov dword [ebp - 0x1b8], 0xcf00dc
mov dword [ebp - 0x1b4], 0xdc00cb
mov dword [ebp - 0x1b0], 0xda00cc
mov dword [ebp - 0x1ac], 0x8c009c
mov dword [ebp - 0x1a8], 0xa000ab
mov dword [ebp - 0x1a4], 0xaa00b6
mov dword [ebp - 0x1a0], 0xa800b5
mov dword [ebp - 0x19c], 0xbd00ae
mov dword [ebp - 0x198], 0x820096
mov dword [ebp - 0x194], 0xb900a2
mov dword [ebp - 0x190], 0xbd00ab
mov dword [ebp - 0x18c], 0xb400be
mov dword [ebp - 0x188], 0xf300a6
mov dword [ebp - 0x184], 0xad0091
mov dword [ebp - 0x180], 0xbb00a6
mov dword [ebp - 0x17c], 0xab00b7
mov dword [ebp - 0x178], 0xa900bf
mov dword [ebp - 0x174], 0x900080
mov dword [ebp - 0x170], 0xb600bf
mov dword [ebp - 0x16c], 0xe1008e
cmp byte [ebp + 0xc], cl
je 0x5d00b0
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1bc], ax
inc ecx
mov eax, dword [ebp - 0x1c0]
cmp ecx, eax
jb 0x5d0020
xor ecx, ecx
mov word [ebp + eax*2 - 0x1bc], cx
xor eax, eax
mov dword [ebp - 0x138], ecx
lea ecx, [ebp - 0x1bc]
mov dword [ebp - 0x134], 7
lea edx, [ecx + 2]
mov word [ebp - 0x148], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d0065
sub ecx, edx
lea eax, [ebp - 0x1bc]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x148]
call fcn.004044f0
push 0xf003f
push 0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 1
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x58]
call fcn.0057e080
jmp 0x5d0131
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1bc], ax
inc ecx
mov eax, dword [ebp - 0x1c0]
cmp ecx, eax
jb 0x5d00b0
xor ecx, ecx
mov dword [ebp - 0x134], 7
mov word [ebp + eax*2 - 0x1bc], cx
xor eax, eax
mov dword [ebp - 0x138], ecx
lea ecx, [ebp - 0x1bc]
mov word [ebp - 0x148], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d00f5
sub ecx, edx
lea eax, [ebp - 0x1bc]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x148]
call fcn.004044f0
push 0xf003f
push 0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x58]
call fcn.0057e200
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0
mov bl, al
call fcn.00404490
test bl, bl
je 0x5d0694
push esi
lea ecx, [ebp - 0x28]
call fcn.00404120
mov byte [ebp - 4], 3
xor ecx, ecx
mov dword [ebp - 0x140], 5
mov dword [ebp - 0x13c], 0xd400dd
mov dword [ebp - 0x138], 0xcf00ca
mov dword [ebp - 0x134], 0xbd00c5
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x13c], ax
inc ecx
mov eax, dword [ebp - 0x140]
cmp ecx, eax
jb 0x5d0181
xor ecx, ecx
mov word [ebp + eax*2 - 0x13c], cx
lea ecx, [ebp - 0x13c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d01b0
sub ecx, edx
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
sar ecx, 1
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
cmp edx, ecx
jne 0x5d0303
push edx
lea ecx, [ebp - 0x13c]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x5d0303
push eax
push 0x7cd378
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], 7
mov word [ebp - 0x164], ax
call fcn.004044f0
mov byte [ebp - 4], 4
mov eax, 0xa
mov dword [ebp - 0x124], eax
xor ecx, ecx
mov dword [ebp - 0x120], 0xcd00eb
mov dword [ebp - 0x11c], 0xc900db
mov dword [ebp - 0x118], 0x9d00c8
mov dword [ebp - 0x114], 0xde00ee
mov dword [ebp - 0x110], 0xa400a7
mov dword [ebp - 0x10c], 0xc2
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x120], ax
inc ecx
mov eax, dword [ebp - 0x124]
cmp ecx, eax
jb 0x5d0270
xor ecx, ecx
mov word [ebp + eax*2 - 0x120], cx
xor eax, eax
mov dword [ebp - 0x138], ecx
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x134], 7
lea edx, [ecx + 2]
mov word [ebp - 0x148], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d02b5
sub ecx, edx
lea eax, [ebp - 0x120]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x148]
call fcn.004044f0
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x58]
call fcn.0057e4b0
lea ecx, [ebp - 0x148]
call fcn.00404490
lea ecx, [ebp - 0x164]
jmp 0x5d03ee
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x148]
call fcn.00404120
mov byte [ebp - 4], 5
mov eax, 0xa
mov dword [ebp - 0x124], eax
xor ecx, ecx
mov dword [ebp - 0x120], 0xcd00eb
mov dword [ebp - 0x11c], 0xc900db
mov dword [ebp - 0x118], 0x9d00c8
mov dword [ebp - 0x114], 0xde00ee
mov dword [ebp - 0x110], 0xa400a7
mov dword [ebp - 0x10c], 0xc2
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x120], ax
inc ecx
mov eax, dword [ebp - 0x124]
cmp ecx, eax
jb 0x5d0360
xor ecx, ecx
mov word [ebp + eax*2 - 0x120], cx
xor eax, eax
mov dword [ebp - 0x154], ecx
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x150], 7
lea edx, [ecx + 2]
mov word [ebp - 0x164], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d03a5
sub ecx, edx
lea eax, [ebp - 0x120]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x164]
call fcn.004044f0
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x58]
call fcn.0057e4b0
lea ecx, [ebp - 0x164]
call fcn.00404490
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 3
call fcn.00404490
push 0xb0
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x108], 0x7d4f80
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xf8], 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 - 0xf0]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x214], 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], 7
mov eax, dword [ebp - 0x108]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x10c], eax
lea ecx, [ebp - 0xf0]
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 - 0xf0], 0x7c6164
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x14c]
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 8
mov eax, dword [eax + 0xd0]
add eax, 0xc
push eax
call fcn.00404120
mov byte [ebp - 4], 9
lea eax, [ebp - 0x164]
cmp dword [ebp - 0x150], 8
push dword [ebp - 0x154]
cmovae eax, dword [ebp - 0x164]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.00404c80
add esp, 0xc
mov dword [ebp - 0x130], 0x11
mov edx, eax
mov dword [ebp - 0x12c], 0xca0098
mov dword [ebp - 0x128], 0xcf00df
xor ecx, ecx
mov dword [ebp - 0x124], 0xce009c
mov dword [ebp - 0x120], 0xde00ca
mov dword [ebp - 0x11c], 0xb500b2
mov dword [ebp - 0x118], 0xb300e2
mov dword [ebp - 0x114], 0xa200a5
mov dword [ebp - 0x110], 0xfd00a3
mov dword [ebp - 0x10c], 0xc900e8
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x12c], ax
inc ecx
mov eax, dword [ebp - 0x130]
cmp ecx, eax
jb 0x5d0560
xor ecx, ecx
mov word [ebp + eax*2 - 0x12c], cx
lea eax, [ebp - 0x12c]
push eax
push edx
call fcn.00404740
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push ecx
push eax
call fcn.00404c80
add esp, 0x14
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x164]
call fcn.00404490
call fcn.00434600
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x210]
push eax
call fcn.005d06f0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea ebx, [esi + 4]
test edx, edx
je 0x5d05f1
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebx + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5d05e0
xor eax, eax
mov word [ebx + edx*2], ax
lea eax, [ebp - 0x2e8]
push eax
call fcn.005c9670
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x5d0621
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5d0610
mov ecx, dword [ebp - 0x14c]
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x108]
push eax
push ebx
push 0x270
push edi
push 1
call fcn.00469240
mov eax, dword [ebp - 0x108]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x10c], eax
lea ecx, [ebp - 0xf0]
call fcn.004073e0
lea ecx, [ebp - 0xe8]
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 - 0xa0]
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 - 0x28]
call fcn.00404490
mov eax, dword [ebp - 0x58]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x5d06ab
push eax
call esi
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x30], 0
call fcn.00404490
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x5d06c8
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 8