Function at 0x5c6d20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ab878
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x831184]
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 - 0x44], ecx
push 0x30
lea eax, [ebp - 0x40]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 7
add esp, 0xc
mov word [ebp - 0x30], ax
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x18], ax
mov byte [ebp - 0x16], al
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0xbc], 0
je 0x5c6ecb
lea eax, [ebp - 0x1b8]
push eax
call fcn.005c70a0
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x5c6dc1
nop
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x5c6db0
xor eax, eax
mov ecx, esi
mov word [esi + edx*2], ax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5c6de0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x5c]
call fcn.004044f0
push 0xf003f
push 0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 1
push eax
push SysReAllocString
lea ecx, [ebp - 0x40]
call fcn.0057f200
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
mov bl, al
call fcn.00404490
test bl, bl
je 0x5c6ec8
mov eax, 0xa
mov dword [ebp - 0x74], 0xda00e6
mov dword [ebp - 0x78], eax
xor ecx, ecx
mov dword [ebp - 0x70], 0xc200ce
mov dword [ebp - 0x6c], 0xcb00fe
mov dword [ebp - 0x68], 0xc200ce
mov dword [ebp - 0x64], 0xda00d2
mov dword [ebp - 0x60], 0xb3
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x74], ax
inc ecx
mov eax, dword [ebp - 0x78]
cmp ecx, eax
jb 0x5c6e60
xor ecx, ecx
mov word [ebp + eax*2 - 0x74], cx
xor eax, eax
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x48], 7
lea edx, [ecx + 2]
mov word [ebp - 0x5c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5c6e90
sub ecx, edx
lea eax, [ebp - 0x74]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.004044f0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x40]
call fcn.0057fab0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.00404490
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0xbd], 0
je 0x5c7047
lea eax, [ebp - 0x260]
push eax
call fcn.005c2540
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x5c6f02
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x5c6ef1
xor eax, eax
mov ecx, esi
mov word [esi + edx*2], ax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5c6f20
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x5c]
call fcn.004044f0
push 0xf003f
push 0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 3
push eax
push SysReAllocString
lea ecx, [ebp - 0x40]
call fcn.0057f200
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
mov bl, al
call fcn.00404490
test bl, bl
je 0x5c7047
mov dword [ebp - 0x8c], 0x15
xor ecx, ecx
mov dword [ebp - 0x88], 0xd800f9
mov dword [ebp - 0x84], 0xd800c4
mov dword [ebp - 0x80], 0xcd00c8
mov dword [ebp - 0x7c], 0xd500db
mov dword [ebp - 0x78], 0xe100d5
mov dword [ebp - 0x74], 0xd500d6
mov dword [ebp - 0x70], 0xd500c7
mov dword [ebp - 0x6c], 0xeb00df
mov dword [ebp - 0x68], 0xd500da
mov dword [ebp - 0x64], 0xd900cb
mov dword [ebp - 0x60], 0xbe00ce
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x88], ax
inc ecx
mov eax, dword [ebp - 0x8c]
cmp ecx, eax
jb 0x5c6fd0
xor ecx, ecx
mov word [ebp + eax*2 - 0x88], cx
xor eax, eax
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x48], 7
lea edx, [ecx + 2]
mov word [ebp - 0x5c], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5c7010
sub ecx, edx
lea eax, [ebp - 0x88]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.004044f0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x40]
call fcn.0057ffc0
lea ecx, [ebp - 0x5c]
call fcn.00404490
mov eax, dword [ebp - 0x40]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x5c705e
push eax
call esi
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x18], 0
call fcn.00404490
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x5c707b
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.0076eb7e
mov esp, ebp
pop ebp
ret