Function at 0x598260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a69b6
mov eax, dword fs:[0]
push eax
sub esp, 0x104
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x74]
mov edi, dword [ebp + 0xc]
push 0x30
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x54], 0
xorps xmm0, xmm0
mov dword [ebp - 0x50], 7
add esp, 0xc
mov word [ebp - 0x64], ax
movups xmmword [ebp - 0x74], xmm0
mov word [ebp - 0x4c], ax
mov byte [ebp - 0x4a], al
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [ebp - 0xac], 0x17
mov dword [ebp - 0xa8], 0xe500fa
mov dword [ebp - 0xa4], 0xf800ed
mov dword [ebp - 0xa0], 0xef00fa
mov dword [ebp - 0x9c], 0xf500fd
mov dword [ebp - 0x98], 0xf100ed
mov dword [ebp - 0x94], 0xd500df
mov dword [ebp - 0x90], 0xc500c6
mov dword [ebp - 0x8c], 0xcb00d2
mov dword [ebp - 0x88], 0xf900e5
mov dword [ebp - 0x84], 0xef00f7
mov dword [ebp - 0x80], 0xfa00f4
mov dword [ebp - 0x7c], 0xc000e3
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xa8], ax
inc ecx
mov eax, dword [ebp - 0xac]
cmp ecx, eax
jb 0x598350
xor ecx, ecx
mov word [ebp + eax*2 - 0xa8], cx
lea eax, [ebp - 0xa8]
push esi
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.0041ee30
mov dword [ebp - 0x30], 0
xor ecx, ecx
mov dword [ebp - 0x2c], 0
add esp, 0xc
mov dword [ebp - 0x44], reloc.OLEAUT32.dll_SysReAllocString
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 1
call fcn.00404490
push 0xf003f
push 0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x74]
call fcn.0057f2d0
test al, al
jne 0x5983f2
mov byte [ebp - 0x75], 1
jmp 0x5986c1
mov dword [ebp - 0x9c], 0xf
xor ecx, ecx
mov dword [ebp - 0x98], 0xe300f5
mov dword [ebp - 0x94], 0xfc00c5
mov dword [ebp - 0x90], 0xc100df
mov dword [ebp - 0x8c], 0xe300cc
mov dword [ebp - 0x88], 0xc000d4
mov dword [ebp - 0x84], 0xd100c5
mov dword [ebp - 0x80], 0x8500c7
mov dword [ebp - 0x7c], 0xb80085
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x98], ax
inc ecx
mov eax, dword [ebp - 0x9c]
cmp ecx, eax
jb 0x598450
xor ecx, ecx
mov dword [ebp - 0xe0], 0x17
mov word [ebp + eax*2 - 0x98], cx
xor eax, eax
mov dword [ebp - 0xdc], 0xe500fa
mov dword [ebp - 0xd8], 0xf800ed
mov dword [ebp - 0xd4], 0xef00fa
mov dword [ebp - 0xd0], 0xf500fd
mov dword [ebp - 0xcc], 0xf100ed
mov dword [ebp - 0xc8], 0xd500df
mov dword [ebp - 0xc4], 0xc500c6
mov dword [ebp - 0xc0], 0xcb00d2
mov dword [ebp - 0xbc], 0xf900e5
mov dword [ebp - 0xb8], 0xef00f7
mov dword [ebp - 0xb4], 0xfa00f4
mov dword [ebp - 0xb0], 0xc000e3
nop word [eax + eax]
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0xdc], cx
inc eax
mov ecx, dword [ebp - 0xe0]
cmp eax, ecx
jb 0x598500
xor eax, eax
mov word [ebp + ecx*2 - 0xdc], ax
lea eax, [ebp - 0xdc]
push esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041ee30
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.00408060
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x598583
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0xf8]
call fcn.00404490
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00404490
push 0xf003f
push 0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x74]
call fcn.0057f2d0
test al, al
je 0x5986bd
xor eax, eax
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 7
mov word [ebp - 0x110], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xf8]
push eax
push 0x7cf388
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], 7
mov word [ebp - 0xf8], ax
call fcn.004044f0
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x74]
call fcn.0057f450
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x18], xmm0
mov word [eax], cx
lea ecx, [ebp - 0x90]
call fcn.00404490
lea ecx, [ebp - 0xf8]
call fcn.00404490
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 7
call fcn.00404490
test edi, edi
je 0x598686
lea eax, [ebp - 0x28]
cmp edi, eax
je 0x598686
cmp dword [ebp - 0x14], 8
mov ecx, edi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004044f0
cmp dword [ebp - 0x18], 0
jne 0x59869a
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x75], 0
call fcn.00404490
jmp 0x5986c1
lea eax, [ebp - 0x28]
push eax
call fcn.0058fa50
test al, al
je 0x5986b5
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x75], 1
call fcn.00404490
jmp 0x5986c1
lea ecx, [ebp - 0x28]
call fcn.00404490
mov byte [ebp - 0x75], 0
lea ecx, [ebp - 0x40]
call fcn.00404490
mov eax, dword [ebp - 0x74]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x5986e0
push eax
call esi
mov dword [ebp - 0x74], 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x4c], 0
call fcn.00404490
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x5986fd
push eax
call esi
mov al, byte [ebp - 0x75]
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 8