Function at 0x592510
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a63e4
mov eax, dword fs:[0]
push eax
sub esp, 0x130
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 edi, ecx
mov dword [ebp - 0xd0], edi
xor esi, esi
xorps xmm0, xmm0
mov dword [ebp - 0x110], esi
movq qword [ebp - 0x24], xmm0
mov byte [edi + 4], 0
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
mov eax, 8
mov dword [ebp - 0xe8], eax
xor ecx, ecx
mov dword [ebp - 0xe4], 0xc500fa
mov dword [ebp - 0xe0], 0xd800cd
mov dword [ebp - 0xdc], 0xcf00da
mov dword [ebp - 0xd8], 0xd500dd
mov dword [ebp - 0xd4], 0xb1
nop dword [eax]
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xe4], ax
inc ecx
mov eax, dword [ebp - 0xe8]
cmp ecx, eax
jb 0x5925b0
xor ecx, ecx
mov dword [ebp - 0x104], VariantCopy
mov word [ebp + eax*2 - 0xe4], cx
xor eax, eax
mov dword [ebp - 0xf0], ecx
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xec], 7
lea edx, [ecx + 2]
mov word [ebp - 0x100], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x592600
sub ecx, edx
lea eax, [ebp - 0xe4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x100]
call fcn.004044f0
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x24]
call fcn.0045bfa0
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0
call fcn.00404490
mov eax, 8
mov dword [ebp - 0xe4], 0xc500fa
mov dword [ebp - 0xe8], eax
xor ecx, ecx
mov dword [ebp - 0xe0], 0xd800cd
mov dword [ebp - 0xdc], 0xcf00da
mov dword [ebp - 0xd8], 0xd500dd
mov dword [ebp - 0xd4], 0xb1
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xe4], ax
inc ecx
mov eax, dword [ebp - 0xe8]
cmp ecx, eax
jb 0x592690
xor ecx, ecx
mov dword [ebp - 0x104], reloc.OLEAUT32.dll_SysReAllocString
mov word [ebp + eax*2 - 0xe4], cx
xor eax, eax
mov dword [ebp - 0xf0], ecx
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xec], 7
lea edx, [ecx + 2]
mov word [ebp - 0x100], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5926e0
sub ecx, edx
lea eax, [ebp - 0xe4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x100]
call fcn.004044f0
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x24]
call fcn.0045bfa0
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0
call fcn.00404490
mov eax, 0x14
mov dword [ebp - 0x50], 0xc500fa
mov dword [ebp - 0x54], eax
xor ecx, ecx
mov dword [ebp - 0x4c], 0xd800cd
mov dword [ebp - 0x48], 0xcf00da
mov dword [ebp - 0x44], 0xd500dd
mov dword [ebp - 0x40], 0xe500ed
mov dword [ebp - 0x3c], 0xc300dc
mov dword [ebp - 0x38], 0x820083
mov dword [ebp - 0x34], 0x8a0084
mov dword [ebp - 0x30], 0xd500f7
mov dword [ebp - 0x2c], 0xd900df
mov dword [ebp - 0x28], 0xbd
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x50], ax
inc ecx
mov eax, dword [ebp - 0x54]
cmp ecx, eax
jb 0x592780
xor ecx, ecx
mov dword [ebp - 0x104], reloc.OLEAUT32.dll_SysReAllocString
mov word [ebp + eax*2 - 0x50], cx
xor eax, eax
mov dword [ebp - 0xf0], ecx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0xec], 7
lea edx, [ecx + 2]
mov word [ebp - 0x100], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5927c3
sub ecx, edx
lea eax, [ebp - 0x50]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x100]
call fcn.004044f0
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x24]
call fcn.0045bfa0
lea ecx, [ebp - 0x100]
call fcn.00404490
push 0x30
lea eax, [ebp - 0x90]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x6c], 7
xor ecx, ecx
mov dword [ebp - 0x90], eax
add esp, 0xc
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x70], eax
mov word [ebp - 0x80], cx
mov word [ebp - 0x68], ax
mov byte [ebp - 0x66], al
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x114], edx
cmp ecx, edx
je 0x592be2
mov eax, dword [ecx]
mov dword [ebp - 0xc4], eax
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00404120
push 0xf003f
push 0x100
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x90]
call fcn.0057f2d0
test al, al
je 0x592bb2
lea eax, [ebp - 0x60]
mov dword [ebp - 0x58], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x90]
push eax
movq qword [ebp - 0x60], xmm0
call fcn.00580380
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x108], eax
cmp eax, dword [ebp - 0x5c]
je 0x592baa
nop word [eax + eax]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00404120
push 0x7cf384
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00421b40
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xa8]
cmp dword [ebp - 0x94], 8
push dword [ebp - 0x98]
cmovae ecx, dword [ebp - 0xa8]
push ecx
mov ecx, eax
call fcn.00407c50
xor ecx, ecx
or esi, 4
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x40], eax
xor eax, eax
movq qword [ebp - 0x120], xmm0
movups xmmword [ebp - 0x130], xmm1
mov dword [ebp - 0x120], ecx
movups xmmword [ebp - 0x3c], xmm1
mov dword [ebp - 0x11c], 7
movq qword [ebp - 0x2c], xmm0
mov word [ebp - 0x130], ax
lea ecx, [ebp - 0x130]
call fcn.00404490
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0xa
call fcn.00404490
push 0xf003f
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x90]
call fcn.0057f2d0
test al, al
je 0x592b7b
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x90]
call fcn.00580380
mov byte [ebp - 4], 0xb
or esi, 1
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
mov dword [ebp - 0xcc], esi
sar edx, 2
mov eax, edx
mov dword [ebp - 0x110], esi
shr eax, 0x1f
add eax, edx
jne 0x592a38
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x90]
call fcn.005805c0
or esi, 2
mov byte [ebp - 0xc5], 1
mov dword [ebp - 0xcc], esi
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x592a3f
mov byte [ebp - 0xc5], 0
mov eax, dword [ebp - 0xcc]
test al, 2
je 0x592a63
and eax, 0xfffffffd
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0xcc], eax
call fcn.00404220
mov eax, dword [ebp - 0xcc]
and eax, 0xfffffffe
mov dword [ebp - 4], 0xa
mov esi, eax
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xcc], esi
call fcn.00404220
cmp byte [ebp - 0xc5], 0
je 0x592b7b
xorps xmm0, xmm0
push 0xac
movlpd qword [ebp - 0x18], xmm0
call fcn.0076e8c3
mov esi, eax
mov dword [ebp - 0x118], esi
push 0xac
push 0
push esi
mov byte [ebp - 4], 0xc
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea eax, [ebp - 0xa8]
mov ecx, esi
push 0
push 0
push eax
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0058f5b0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x18]
push dword [ebp - 0x118]
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x14], 0
call fcn.0059dcc0
lea edx, [edi + 0x38]
mov byte [ebp - 4], 0xd
mov eax, dword [edx + 4]
cmp dword [edx + 8], eax
je 0x592b2b
mov edi, dword [ebp - 0x14]
mov dword [eax], 0
mov dword [eax + 4], 0
test edi, edi
je 0x592b1d
lock inc dword [edi + 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edi
add dword [edx + 4], 8
jmp 0x592b3a
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, edx
call fcn.00413880
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0xd0]
mov byte [eax + 4], 1
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0xcc]
mov esi, eax
test edi, edi
je 0x592b75
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x592b75
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x592b75
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0xd0]
lea ecx, [ebp - 0x3c]
call fcn.00404490
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 6
call fcn.00404490
mov eax, dword [ebp - 0x108]
add eax, 0x18
mov dword [ebp - 0x108], eax
cmp eax, dword [ebp - 0x5c]
jne 0x5928e0
lea ecx, [ebp - 0x60]
call fcn.00404220
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 4
call fcn.00404490
mov ecx, dword [ebp - 0x10c]
add ecx, 0x1c
mov dword [ebp - 0x10c], ecx
cmp ecx, dword [ebp - 0x114]
jne 0x592862
mov eax, dword [ebp - 0x90]
mov cl, byte [edi + 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0xc5], cl
test eax, eax
je 0x592c02
push eax
call esi
mov dword [ebp - 0x90], 0
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x8c], 0
mov byte [ebp - 0x68], 0
call fcn.00404490
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x592c2f
push ecx
call esi
mov dword [ebp - 0x90], 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x8c], 0
call fcn.0045c1a0
mov al, byte [ebp - 0xc5]
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