Function at 0x5c6220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ab77c
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], ecx
push 0x30
lea eax, [ebp - 0x58]
push 0
push eax
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
mov eax, dword [ebp - 0xb0]
cmp byte [eax + 0xd4], 0
je 0x5c65fa
lea eax, [ebp - 0x244]
push eax
call fcn.005c5c30
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x5c62c5
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x5c62b4
xor eax, eax
mov ecx, esi
mov word [esi + edx*2], ax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], 7
mov word [ebp - 0xc8], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5c62e7
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0xc8]
call fcn.004044f0
push 0xf003f
push 0
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 1
push eax
push SysReAllocString
lea ecx, [ebp - 0x58]
call fcn.0057f200
lea ecx, [ebp - 0xc8]
mov byte [ebp - 0x59], al
mov byte [ebp - 4], 0
call fcn.00404490
cmp byte [ebp - 0x59], 0
je 0x5c65f4
mov eax, 0xe
mov dword [ebp - 0x7c], 0xc500e1
mov dword [ebp - 0x80], eax
xor ecx, ecx
mov dword [ebp - 0x78], 0xc900c6
mov dword [ebp - 0x74], 0xdb00ef
mov dword [ebp - 0x70], 0xc400db
mov dword [ebp - 0x6c], 0xdc00de
mov dword [ebp - 0x68], 0xd500e3
mov dword [ebp - 0x64], 0xd300d2
mov dword [ebp - 0x60], 0xb7
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x7c], ax
inc ecx
mov eax, dword [ebp - 0x80]
cmp ecx, eax
jb 0x5c6380
xor ecx, ecx
mov word [ebp + eax*2 - 0x7c], cx
xor eax, eax
mov dword [ebp - 0xb8], ecx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0xb4], 7
lea edx, [ecx + 2]
mov word [ebp - 0xc8], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5c63c0
sub ecx, edx
lea eax, [ebp - 0x7c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xc8]
call fcn.004044f0
xor eax, eax
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 7
mov word [ebp - 0xe0], ax
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x58]
call fcn.0057f450
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x110]
call fcn.00404490
lea ecx, [ebp - 0xe0]
call fcn.00404490
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 6
call fcn.00404490
call fcn.00451ae0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.0058b550
test al, al
je 0x5c65e8
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], 0xb
mov dword [ebp - 0x74], 0xc800c8
mov dword [ebp - 0x70], 0xd900c4
mov dword [ebp - 0x6c], 0x9400d9
mov dword [ebp - 0x68], 0xdc00cd
mov dword [ebp - 0x64], 0xdc00d0
mov dword [ebp - 0x60], 0xb400d8
call fcn.00403e20
mov edx, eax
mov dword [ebp - 0xd0], 0
mov ecx, edx
mov dword [ebp - 0xcc], 7
xor eax, eax
mov word [ebp - 0xe0], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5c64f0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe0]
call fcn.004044f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0xe
mov dword [ebp - 0xa0], 0xc500e1
mov dword [ebp - 0x9c], 0xc900c6
mov dword [ebp - 0x98], 0xdb00ef
mov dword [ebp - 0x94], 0xc400db
mov dword [ebp - 0x90], 0xdc00de
mov dword [ebp - 0x8c], 0xd500e3
mov dword [ebp - 0x88], 0xd300d2
mov dword [ebp - 0x84], 0xb7
call fcn.00403e20
mov edx, eax
mov dword [ebp - 0xe8], 0
mov ecx, edx
mov dword [ebp - 0xe4], 7
xor eax, eax
mov word [ebp - 0xf8], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5c65a0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xf8]
call fcn.004044f0
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x58]
call fcn.0057f630
lea ecx, [ebp - 0xf8]
call fcn.00404490
lea ecx, [ebp - 0xe0]
call fcn.00404490
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00404490
mov eax, dword [ebp - 0xb0]
cmp byte [eax + 0xd5], 0
je 0x5c6787
lea eax, [ebp - 0x2e4]
push eax
call fcn.005c2540
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x5c6631
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x5c6620
xor eax, eax
mov ecx, esi
mov word [esi + edx*2], ax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5c6650
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.004044f0
push 0xf003f
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
push SysReAllocString
lea ecx, [ebp - 0x58]
call fcn.0057f200
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x59], al
mov byte [ebp - 4], 0
call fcn.00404490
cmp byte [ebp - 0x59], 0
je 0x5c6787
mov eax, 0x12
mov dword [ebp - 0xa8], 0xd800f9
mov dword [ebp - 0xac], eax
xor ecx, ecx
mov dword [ebp - 0xa4], 0xd800c4
mov dword [ebp - 0xa0], 0xcd00c8
mov dword [ebp - 0x9c], 0xd500db
mov dword [ebp - 0x98], 0xfa00d5
mov dword [ebp - 0x94], 0xd900dc
mov dword [ebp - 0x90], 0xc600d0
mov dword [ebp - 0x8c], 0xdf00d6
mov dword [ebp - 0x88], 0xc900dc
mov dword [ebp - 0x84], 0xbb
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xa8], ax
inc ecx
mov eax, dword [ebp - 0xac]
cmp ecx, eax
jb 0x5c6710
xor ecx, ecx
mov word [ebp + eax*2 - 0xa8], cx
xor eax, eax
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x14], 7
lea edx, [ecx + 2]
mov word [ebp - 0x28], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5c6750
sub ecx, edx
lea eax, [ebp - 0xa8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004044f0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x58]
call fcn.0057ffc0
lea ecx, [ebp - 0x28]
call fcn.00404490
mov eax, dword [ebp - 0x58]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x5c679e
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 0x5c67bb
push eax
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret