Function at 0x5c22f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a9c48
mov eax, dword fs:[0]
push eax
sub esp, 0x234
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 eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
push 0x30
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x48]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x24], 7
add esp, 0xc
mov word [ebp - 0x38], ax
movups xmmword [ebp - 0x48], xmm0
mov word [ebp - 0x20], ax
mov byte [ebp - 0x1e], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x240]
push eax
call fcn.005c1540
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x5c2391
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x5c2380
xor eax, eax
mov ecx, esi
mov word [esi + edx*2], ax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5c23b0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x6c]
call fcn.004044f0
push 0xf003f
push 0
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 1
push eax
push SysReAllocString
lea ecx, [ebp - 0x48]
call fcn.0057e080
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0
mov bl, al
call fcn.00404490
test bl, bl
je 0x5c2540
push dword [ebp - 0x50]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x14], 0
call fcn.00404120
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x48]
call fcn.0057e880
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0
mov bl, al
call fcn.00404490
test bl, bl
je 0x5c2540
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x4c]
add eax, 0xfffffffc
lea ebx, [eax - 4]
mov dword [ebp - 0x4c], ebx
cmp eax, 4
jne 0x5c245d
xor esi, esi
jmp 0x5c2514
push ebx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x50], edi
test edi, edi
je 0x5c2540
push ebx
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [esi + 4]
mov edx, edi
mov edi, dword [ebp - 0x4c]
add esp, 0xc
shr edi, 2
add esi, 8
test edi, edi
je 0x5c24e0
nop dword [eax + eax]
mov al, byte [esi]
lea ecx, [esi + 3]
imul ebx, ebx, 0x343fd
add ebx, 0x269ec3
xor al, bl
mov byte [edx], al
mov eax, ebx
shr eax, 8
xor al, byte [esi + 1]
mov byte [edx + 1], al
mov eax, ebx
shr eax, 0x10
xor al, byte [esi + 2]
add esi, 4
mov byte [edx + 2], al
mov eax, ebx
shr eax, 0x18
xor al, byte [ecx]
mov byte [edx + 3], al
add edx, 4
sub edi, 1
jne 0x5c24a0
imul eax, ebx, 0x343fd
xor ecx, ecx
mov ebx, dword [ebp - 0x4c]
mov edi, ebx
add eax, 0x269ec3
mov dword [ebp - 0x18], eax
and edi, 3
je 0x5c2511
dec esi
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x18]
lea esi, [esi + 1]
xor al, byte [esi]
inc ecx
mov byte [edx - 1], al
cmp ecx, edi
jb 0x5c2500
mov esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x54]
mov ecx, edi
push edi
push ebx
call fcn.00475cd0
push ebx
push esi
push dword [edi]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov bl, 1
jmp 0x5c2542
xor bl, bl
mov eax, dword [ebp - 0x48]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x5c2559
push eax
call esi
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x20], 0
call fcn.00404490
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x5c2576
push eax
call esi
mov al, bl
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