Function at 0x4c99c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6255
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x4fb614]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4c9c04
push eax
call fcn.004d52bf
add esp, 4
test eax, eax
je 0x4c9bfa
mov dword [ebp - 0x44], 0
push 0x20
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
call fcn.004cf4bd
mov ecx, eax
mov dword [ebp - 0x30], 0x1f
mov dword [ebp - 0x34], 0x1f
lea eax, [ebp - 0x44]
xorps xmm0, xmm0
add esp, 4
movups xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x44], ecx
jb 0x4c9a83
movsx edx, byte [ecx]
jmp 0x4c9a89
movsx edx, byte [eax]
lea ecx, [ebp - 0x44]
mov edi, 0x4f6010
add edx, 0xdb00db
sub edi, ecx
mov esi, 0x1f
nop dword [eax + eax]
mov eax, edx
lea ecx, [ecx + 1]
imul edx, edx, 0xd7f5
shr eax, 0xa
xor al, byte [ecx + edi - 1]
mov byte [ecx - 1], al
add edx, 0xb1f5eb8
sub esi, 1
jne 0x4c9aa0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x2c], esi
cmovae eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
push 0x20
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 1
call fcn.004cf4bd
mov edx, eax
mov dword [ebp - 0x18], 0x1f
mov dword [ebp - 0x1c], 0x12
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
add esp, 4
movups xmmword [edx], xmm0
mov word [edx + 0x10], si
mov byte [edx + 0x12], 0
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x2c], edx
jb 0x4c9b23
movsx ecx, byte [edx]
jmp 0x4c9b29
movsx ecx, byte [eax]
lea edx, [ebp - 0x2c]
mov edi, 0x4f60d0
add ecx, 0xdb00db
sub edi, edx
mov esi, 0x12
nop dword [eax + eax]
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xcaf5
shr eax, 0xa
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0xb1f5eb8
sub esi, 1
jne 0x4c9b40
push 0x8f
push dword [ebp - 0x48]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov edx, 0x4ef9c8
push 1
cmovae ecx, dword [ebp - 0x2c]
push 1
call int.004ace20
mov edx, dword [ebp - 0x18]
add esp, 0x10
cmp edx, 0x10
jb 0x4c9bb8
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c9bae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c9c22
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x4c9bfa
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c9bf0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c9c22
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004cf4aa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004d4192
int3