Function at 0x4b2020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e51f5
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4fb614]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
shl edx, 2
lea ecx, [edi*4]
cmp edx, ecx
je 0x4b2095
test edx, edx
jne 0x4b2072
push ecx
call fcn.004d4296
add esp, 4
jmp 0x4b2095
test ecx, ecx
jne 0x4b208b
push eax
call fcn.004d427b
add esp, 4
mov dword [esi + 8], 0
mov dword [esi + 0xc], edi
jmp 0x4b20a3
push ecx
push eax
call fcn.004d42a1
add esp, 8
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
test eax, eax
jne 0x4b227b
test edi, edi
je 0x4b227b
lea eax, [ebp - 0x80]
mov ecx, 0x4f4c60
push eax
call fcn.004b22a0
cmp dword [eax + 0x14], 0x10
jb 0x4b20c1
mov eax, dword [eax]
push edi
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004a8850
add esp, 0xc
lea ecx, [ebp - 0x80]
call fcn.004aa2e0
mov dword [ebp - 0x68], 0
push 0x30
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov dword [ebp - 4], 0xffffffff
call fcn.004aa4a0
push 0x27
mov esi, eax
mov dword [ebp - 0x58], 0x27
push 0
push esi
mov dword [ebp - 0x54], 0x2f
call fcn.004d0920
mov byte [esi + 0x27], 0
lea eax, [ebp - 0x68]
add esp, 0xc
mov dword [ebp - 0x68], esi
cmp dword [ebp - 0x54], 0x10
jb 0x4b2130
movsx ecx, byte [esi]
jmp 0x4b2136
movsx ecx, byte [eax]
lea esi, [ebp - 0x68]
mov edi, 0x4f4be0
add ecx, 0x253e6a6
sub edi, esi
mov edx, 0x27
nop dword [eax + eax]
mov eax, ecx
lea esi, [esi + 1]
imul ecx, ecx, 0xdff5
shr eax, 8
xor al, byte [esi + edi - 1]
mov byte [esi - 1], al
add ecx, 0x1e430a07
sub edx, 1
jne 0x4b2150
mov dword [ebp - 4], 1
lea eax, [ebp - 0x68]
cmp dword [ebp - 0x54], 0x10
cmovae eax, dword [ebp - 0x68]
mov dword [ebp - 0x84], eax
push 0x30
mov byte [ebp - 4], 1
call fcn.004aa4a0
mov edx, eax
mov dword [ebp - 0x70], 0x25
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0x2f
mov dword [ebp - 0x80], edx
mov edi, 0x4f4b30
mov esi, 0x25
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x20], 0
mov word [edx + 0x24], 0
movsx ecx, byte [edx]
add ecx, 0x253e6a6
sub edi, edx
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xddf5
shr eax, 8
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0x1e430a07
sub esi, 1
jne 0x4b21d2
push 0x186
push dword [ebp - 0x84]
mov byte [ebp - 4], 3
lea edx, [ebp - 0x80]
cmp dword [ebp - 0x6c], 0x10
lea ecx, [ebp - 0x50]
push 3
cmovae edx, dword [ebp - 0x80]
push 3
call int.004ace20
mov edx, dword [ebp - 0x6c]
add esp, 0x10
cmp edx, 0x10
jb 0x4b224b
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b2241
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b2298
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x4b227b
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b2271
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b2298
push edx
push ecx
call fcn.004cf4f2
add esp, 8
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.004cf4aa
mov esp, ebp
pop ebp
ret 4
call fcn.004d4192
int3