Function at 0x5c6340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7aa126
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
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 esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x54], esi
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x14], eax
push 0x30
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x4c]
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x28], 7
add esp, 0xc
mov word [ebp - 0x3c], ax
movups xmmword [ebp - 0x4c], xmm0
mov word [ebp - 0x24], ax
mov byte [ebp - 0x22], al
lea eax, [ebp - 0x1ec]
mov byte [ebp - 4], 1
push eax
call fcn.005c1990
mov edi, eax
xor ecx, ecx
mov eax, dword [edi]
lea edx, [edi + 4]
test eax, eax
je 0x5c6401
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov eax, dword [edi]
cmp ecx, eax
jb 0x5c63f0
xor ecx, ecx
mov word [edx + eax*2], cx
xor eax, eax
mov dword [ebp - 0x9c], ecx
mov ecx, edx
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5c6425
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xac]
call fcn.004044f0
push 0xf003f
push 0
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 2
push eax
push SysReAllocString
lea ecx, [ebp - 0x4c]
call fcn.0057e080
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 1
mov bl, al
call fcn.00404490
test bl, bl
jne 0x5c64e5
mov eax, dword [ebp - 0x4c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
test eax, eax
je 0x5c64b5
push eax
call edi
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x24], 0
call fcn.00404490
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x5c64d9
push eax
call edi
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
jmp 0x5c669b
mov dword [ebp - 0x58], 0
xor ecx, ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x94], 0x19
mov dword [ebp - 0x90], 0xc900f7
mov dword [ebp - 0x8c], 0xd500df
mov dword [ebp - 0x88], 0xd800ef
mov dword [ebp - 0x84], 0xcd00df
mov dword [ebp - 0x80], 0xa900a3
mov dword [ebp - 0x7c], 0xa60086
mov dword [ebp - 0x78], 0xa600b7
mov dword [ebp - 0x74], 0xae00b4
mov dword [ebp - 0x70], 0xbd00b8
mov dword [ebp - 0x6c], 0xa400a3
mov dword [ebp - 0x68], 0x8900a2
mov dword [ebp - 0x64], 0xbb00af
mov dword [ebp - 0x60], 0xd100b1
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x90], ax
inc ecx
mov eax, dword [ebp - 0x94]
cmp ecx, eax
jb 0x5c6570
xor ecx, ecx
mov word [ebp + eax*2 - 0x90], cx
xor eax, eax
mov dword [ebp - 0x9c], ecx
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x98], 7
lea edx, [ecx + 2]
mov word [ebp - 0xac], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5c65b5
sub ecx, edx
lea eax, [ebp - 0x90]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xac]
call fcn.004044f0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0057e880
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 1
mov bl, al
call fcn.00404490
test bl, bl
jne 0x5c661d
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x5c667e
push dword [ebp - 0x50]
lea eax, [ebp - 0xa0]
push dword [ebp - 0x58]
push eax
call fcn.005c25a0
mov edi, eax
lea eax, [ebp - 0x1c]
cmp eax, edi
je 0x5c6663
mov ecx, eax
call fcn.00404220
mov eax, dword [edi + 4]
mov ebx, dword [edi]
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ebp - 0x54], eax
mov dword [edi + 8], 0
jmp 0x5c6665
xor ebx, ebx
lea ecx, [ebp - 0xa0]
call fcn.00404220
mov eax, dword [ebp - 0x5c]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x54]
mov dword [esi], ebx
mov dword [esi + 8], eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
call fcn.0057de70
lea ecx, [ebp - 0x1c]
call fcn.00404220
mov eax, 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 4