Function at 0x599c50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a5500
mov eax, dword fs:[0]
push eax
sub esp, 0xec
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 esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
jne 0x599c8d
xor al, al
jmp 0x599feb
push 0x30
lea eax, [ebp - 0x5c]
mov byte [ebp - 0x5d], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x3c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x38], 7
add esp, 0xc
mov word [ebp - 0x4c], ax
movups xmmword [ebp - 0x5c], xmm0
mov word [ebp - 0x34], ax
mov byte [ebp - 0x32], al
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [ebp - 0x90], 0x11
mov dword [ebp - 0x8c], 0xd600eb
mov dword [ebp - 0x88], 0xcf00dc
mov dword [ebp - 0x84], 0xdc00cb
mov dword [ebp - 0x80], 0xda00cc
mov dword [ebp - 0x7c], 0x82009c
mov dword [ebp - 0x78], 0xa200ae
mov dword [ebp - 0x74], 0xb600b7
mov dword [ebp - 0x70], 0xb400a3
mov dword [ebp - 0x6c], 0xc90094
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x8c], ax
inc ecx
mov eax, dword [ebp - 0x90]
cmp ecx, eax
jb 0x599d20
xor ecx, ecx
mov word [ebp + eax*2 - 0x8c], cx
lea eax, [ebp - 0x8c]
push esi
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.0041ee30
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
add esp, 0xc
mov dword [ebp - 0x2c], SysStringLen
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 - 0xf8]
mov byte [ebp - 4], 1
call fcn.00404490
push 0xf003f
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0057e150
test al, al
je 0x599dc2
mov byte [ebp - 0x64], 1
jmp 0x599fac
mov dword [ebp - 0xb8], 0x11
xor eax, eax
mov dword [ebp - 0xb4], 0xd600eb
mov dword [ebp - 0xb0], 0xcf00dc
mov dword [ebp - 0xac], 0xdc00cb
mov dword [ebp - 0xa8], 0xda00cc
mov dword [ebp - 0xa4], 0x82009c
mov dword [ebp - 0xa0], 0xa200ae
mov dword [ebp - 0x9c], 0xb600b7
mov dword [ebp - 0x98], 0xb400a3
mov dword [ebp - 0x94], 0xc90094
nop dword [eax + eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0xb4], cx
inc eax
mov ecx, dword [ebp - 0xb8]
cmp eax, ecx
jb 0x599e30
xor eax, eax
mov dword [ebp - 0x84], reloc.OLEAUT32.dll_SysReAllocString
mov word [ebp + ecx*2 - 0xb4], ax
lea eax, [ebp - 0xb4]
push esi
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.0041ee30
xor ecx, ecx
add esp, 0xc
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xe0], xmm0
movups xmmword [ebp - 0x80], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x68], xmm0
movq qword [ebp - 0x70], xmm0
mov dword [ebp - 0x2c], reloc.OLEAUT32.dll_SysReAllocString
call fcn.00404490
movups xmm0, xmmword [ebp - 0xe0]
xor eax, eax
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x80], ax
movq xmm0, qword [ebp - 0x68]
movq qword [ebp - 0x18], xmm0
call fcn.00404490
lea ecx, [ebp - 0xd0]
call fcn.00404490
push 0xf003f
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0057e150
test al, al
je 0x599f0f
mov byte [ebp - 0x64], 1
jmp 0x599fac
push esi
lea eax, [ebp - 0xd0]
push 0x7cd374
push eax
call fcn.0041ee30
add esp, 0xc
mov dword [ebp - 0x64], SysStringLen
lea ecx, [ebp - 0x84]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0045b840
mov ecx, dword [eax]
lea esi, [eax + 4]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
cmp eax, esi
je 0x599f75
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x80]
call fcn.00404490
lea ecx, [ebp - 0xd0]
call fcn.00404490
push 0xf003f
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0057e150
movzx ecx, byte [ebp - 0x5d]
test al, al
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x64], ecx
lea ecx, [ebp - 0x28]
call fcn.00404490
mov eax, dword [ebp - 0x5c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x599fcb
push eax
call esi
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x34], 0
call fcn.00404490
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x599fe8
push eax
call esi
mov al, byte [ebp - 0x64]
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 4