Function at 0x5c5220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a9fdc
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x82f184]
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 0x5c55fa
lea eax, [ebp - 0x244]
push eax
call fcn.005c4c30
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x5c52c5
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x5c52b4
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 0x5c52e7
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.0057e080
lea ecx, [ebp - 0xc8]
mov byte [ebp - 0x59], al
mov byte [ebp - 4], 0
call fcn.00404490
cmp byte [ebp - 0x59], 0
je 0x5c55f4
mov eax, 0xe
mov dword [ebp - 0x7c], 0xd600f0
mov dword [ebp - 0x80], eax
xor ecx, ecx
mov dword [ebp - 0x78], 0xde00d7
mov dword [ebp - 0x74], 0xc800fe
mov dword [ebp - 0x70], 0xcb00ca
mov dword [ebp - 0x6c], 0xaf00af
mov dword [ebp - 0x68], 0xa20092
mov dword [ebp - 0x64], 0xa000a3
mov dword [ebp - 0x60], 0xc6
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x7c], ax
inc ecx
mov eax, dword [ebp - 0x80]
cmp ecx, eax
jb 0x5c5380
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 0x5c53c0
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.0057e2d0
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.00451010
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.0058a560
test al, al
je 0x5c55e8
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], 0xb
mov dword [ebp - 0x74], 0xdb00d9
mov dword [ebp - 0x70], 0xce00d5
mov dword [ebp - 0x6c], 0x8700c8
mov dword [ebp - 0x68], 0xd300dc
mov dword [ebp - 0x64], 0xaf00a1
mov dword [ebp - 0x60], 0xc300a9
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 0x5c54f0
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], 0xd600f0
mov dword [ebp - 0x9c], 0xde00d7
mov dword [ebp - 0x98], 0xc800fe
mov dword [ebp - 0x94], 0xcb00ca
mov dword [ebp - 0x90], 0xaf00af
mov dword [ebp - 0x8c], 0xa20092
mov dword [ebp - 0x88], 0xa000a3
mov dword [ebp - 0x84], 0xc6
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 0x5c55a0
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.0057e4b0
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 0x5c5787
lea eax, [ebp - 0x2e4]
push eax
call fcn.005c1540
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x5c5631
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x5c5620
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 0x5c5650
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.0057e080
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x59], al
mov byte [ebp - 4], 0
call fcn.00404490
cmp byte [ebp - 0x59], 0
je 0x5c5787
mov eax, 0x12
mov dword [ebp - 0xa8], 0xcb00e8
mov dword [ebp - 0xac], eax
xor ecx, ecx
mov dword [ebp - 0xa4], 0xcf00d5
mov dword [ebp - 0xa0], 0xde00d9
mov dword [ebp - 0x9c], 0xda00ca
mov dword [ebp - 0x98], 0x8900a4
mov dword [ebp - 0x94], 0xae00ad
mov dword [ebp - 0x90], 0xb500a1
mov dword [ebp - 0x8c], 0xa000a7
mov dword [ebp - 0x88], 0xba00ad
mov dword [ebp - 0x84], 0xca
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0xa8], ax
inc ecx
mov eax, dword [ebp - 0xac]
cmp ecx, eax
jb 0x5c5710
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 0x5c5750
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.0057ee40
lea ecx, [ebp - 0x28]
call fcn.00404490
mov eax, dword [ebp - 0x58]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x5c579e
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 0x5c57bb
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.0076d59e
mov esp, ebp
pop ebp
ret