Function at 0x4c6081
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
push ebx
push esi
push 0xfabce86c
call fcn.004cf30d
mov esi, eax
mov dword [esp], 0x5265ee6b
call fcn.004cf30d
push 0x8650fc80
mov dword [ebp - 0x1c], eax
call fcn.004cf30d
push 0x42162bda
mov dword [ebp - 4], eax
call fcn.004cf30d
push 0x147b819e
mov dword [ebp - 0x3c], eax
call fcn.004cf30d
push 0xf1637f1e
mov dword [ebp - 0x30], eax
call fcn.004cf30d
push 0xf472eb24
mov dword [ebp - 0x38], eax
call fcn.004cf30d
mov dword [ebp - 0x40], eax
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x2cc], ax
lea eax, [ebp - 0x2ca]
push ebx
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0x34], 0x104
call fcn.004b3f30
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc], eax
add esp, 0x24
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2cc]
push eax
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], bl
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 5
call esi
push 0x53
pop eax
push 0x79
mov word [ebp - 0x2c], ax
pop eax
push 0x73
mov word [ebp - 0x2a], ax
pop eax
push 0x74
mov word [ebp - 0x28], ax
pop eax
mov word [ebp - 0x26], ax
push 0x65
pop eax
mov word [ebp - 0x24], ax
push 0x6d
pop eax
mov word [ebp - 0x22], ax
xor eax, eax
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.004c5f64
pop ecx
pop ecx
test eax, eax
jne 0x4c6190
mov eax, dword [ebp + 8]
mov dword [eax + 4], 2
jmp 0x4c62bc
push edi
push 8
pop ecx
mov esi, 0x4edd80
lea edi, [ebp - 0x60]
push 0xe
rep movsd dword es:[edi], dword [esi]
pop ecx
mov dx, word [ebp + ecx*2 - 0x62]
lea eax, [ebp + ecx*2 - 0x60]
xor word [eax], dx
dec ecx
cmp ecx, ebx
jg 0x4c61a1
mov eax, 0x2141
xor word [ebp - 0x60], ax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.004c5f64
pop ecx
pop ecx
test eax, eax
jne 0x4c61e0
mov eax, dword [ebp + 8]
mov dword [eax + 4], 2
jmp 0x4c62bb
lea eax, [ebp - 0x10]
push eax
push 8
push 0xffffffffffffffff
call dword [ebp - 0x1c]
test eax, eax
jne 0x4c61fd
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x1c]
mov dword [eax + 4], ebx
jmp 0x4c629a
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push 2
push dword [ebp - 0x10]
call dword [ebp - 4]
test eax, eax
jne 0x4c621c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4c61ef
push dword [ebp - 8]
call fcn.004b4117
pop ecx
mov edi, eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push edi
push 2
push dword [ebp - 0x10]
call dword [ebp - 4]
test eax, eax
jne 0x4c6243
mov eax, dword [ebp + 8]
mov dword [eax + 4], ebx
jmp 0x4c629a
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x18]
push eax
call dword [ebp - 0x3c]
test eax, eax
je 0x4c623b
mov dword [ebp - 4], ebx
cmp dword [edi], ebx
jbe 0x4c629a
lea esi, [edi + 8]
push dword [esi - 4]
push dword [ebp - 0xc]
call dword [ebp - 0x30]
test eax, eax
je 0x4c6284
mov eax, dword [ebp + 8]
mov byte [eax + 1], 1
test byte [esi], 4
jne 0x4c6293
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add esi, 8
cmp eax, dword [edi]
jb 0x4c626b
jmp 0x4c629a
mov dword [eax + 4], 1
cmp dword [ebp - 0xc], ebx
je 0x4c62a5
push dword [ebp - 0xc]
call dword [ebp - 0x38]
cmp edi, ebx
je 0x4c62b0
push edi
call fcn.004b3716
pop ecx
cmp dword [ebp - 0x10], ebx
je 0x4c62bb
push dword [ebp - 0x10]
call dword [ebp - 0x40]
pop edi
pop esi
pop ebx
leave
ret