Function at 0x5c8540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7aa50f
mov eax, dword fs:[0]
push eax
sub esp, 0xec
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
xor eax, eax
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 7
mov word [ebp - 0xf8], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
lea esi, [ecx + 0x84]
mov byte [ebp - 4], 1
push esi
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x6c], esi
call fcn.00403b80
lea eax, [ebp - 0xf8]
mov dword [ebp - 4], 2
push eax
call fcn.00419200
add esp, 4
lea ecx, [ebp - 0xe0]
call fcn.00404220
lea ecx, [ebp - 0xf8]
call fcn.00404490
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], 3
xor ecx, ecx
mov dword [ebp - 0xc4], 0x29
mov dword [ebp - 0xc0], 0xd600eb
mov dword [ebp - 0xbc], 0xcf00dc
mov dword [ebp - 0xb8], 0xdc00cb
mov dword [ebp - 0xb4], 0xda00cc
mov dword [ebp - 0xb0], 0x8c009c
mov dword [ebp - 0xac], 0xa000ab
mov dword [ebp - 0xa8], 0xaa00b6
mov dword [ebp - 0xa4], 0xa800b5
mov dword [ebp - 0xa0], 0xbd00ae
mov dword [ebp - 0x9c], 0x820096
mov dword [ebp - 0x98], 0xb900a2
mov dword [ebp - 0x94], 0xbd00ab
mov dword [ebp - 0x90], 0xb400be
mov dword [ebp - 0x8c], 0xf300a6
mov dword [ebp - 0x88], 0xad0091
mov dword [ebp - 0x84], 0xbb00a6
mov dword [ebp - 0x80], 0xab00b7
mov dword [ebp - 0x7c], 0xa900bf
mov dword [ebp - 0x78], 0x900080
mov dword [ebp - 0x74], 0xb600bf
mov dword [ebp - 0x70], 0xe1008e
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0xc0], ax
inc ecx
mov eax, dword [ebp - 0xc4]
cmp ecx, eax
jb 0x5c86f0
xor ecx, ecx
mov dword [ebp - 0x44], 7
mov word [ebp + eax*2 - 0xc0], cx
xor eax, eax
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0xc0]
mov word [ebp - 0x58], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5c8730
sub ecx, edx
lea eax, [ebp - 0xc0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.004044f0
push 0xf003f
push 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x40]
call fcn.0057e200
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
mov bl, al
call fcn.00404490
test bl, bl
je 0x5c87ee
mov dword [ebp - 0x58], 9
xor ecx, ecx
mov dword [ebp - 0x54], 0xf400e4
mov dword [ebp - 0x50], 0xd200db
mov dword [ebp - 0x4c], 0x9300d2
mov dword [ebp - 0x48], 0xda00cc
mov dword [ebp - 0x44], 0xc100a7
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x54], ax
inc ecx
mov eax, dword [ebp - 0x58]
cmp ecx, eax
jb 0x5c87a4
xor ecx, ecx
mov word [ebp + eax*2 - 0x54], cx
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0xec]
push esi
push eax
call fcn.00421b40
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
push eax
call fcn.00583300
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 3
call fcn.00404490
lea eax, [ebp - 0xd4]
push eax
call fcn.005c8470
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x5c8821
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x5c8810
xor eax, eax
mov dword [ebp - 0x44], 7
mov ecx, esi
mov word [esi + edx*2], ax
mov dword [ebp - 0x48], eax
mov word [ebp - 0x58], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5c8840
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x58]
call fcn.004044f0
push 0xf003f
push 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x40]
call fcn.0057e200
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
mov bl, al
call fcn.00404490
test bl, bl
je 0x5c8918
mov dword [ebp - 0x68], 0x11
xor eax, eax
mov dword [ebp - 0x64], 0xea00e4
mov dword [ebp - 0x60], 0xda00df
mov dword [ebp - 0x5c], 0xde00ce
mov dword [ebp - 0x58], 0xec00d6
mov dword [ebp - 0x54], 0xae00a3
mov dword [ebp - 0x50], 0xa600b2
mov dword [ebp - 0x4c], 0xeb00b7
mov dword [ebp - 0x48], 0xa200b4
mov dword [ebp - 0x44], 0xc900af
nop
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x64], cx
inc eax
mov ecx, dword [ebp - 0x68]
cmp eax, ecx
jb 0x5c88d0
xor eax, eax
mov word [ebp + ecx*2 - 0x64], ax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x6c]
lea eax, [ebp - 0xec]
push eax
call fcn.00421b40
add esp, 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
push eax
call fcn.00583300
lea ecx, [ebp - 0xec]
call fcn.00404490
mov eax, dword [ebp - 0x40]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x5c892f
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 0x5c894c
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.0076d59e
mov esp, ebp
pop ebp
ret