Function at 0x4b8020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e577d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
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 edi, ecx
mov dword [ebp - 0x70], edi
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x6c], esi
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
call eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
test edx, edx
jl 0x4b832a
jg 0x4b8079
cmp eax, 0x3e800000
jb 0x4b832a
mov dword [ebp - 0x40], 0
push 0x30
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
call fcn.004cf4bd
mov edx, eax
mov dword [ebp - 0x2c], 0x2f
mov dword [ebp - 0x30], 0x21
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
add esp, 4
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov word [edx + 0x20], 0
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x40], edx
jb 0x4b80d4
movsx ecx, byte [edx]
jmp 0x4b80da
movsx ecx, byte [eax]
lea edx, [ebp - 0x40]
mov edi, 0x4f5160
add ecx, 0xd2565c3
sub edi, edx
mov esi, 0x21
nop dword [eax]
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xd9f5
shr eax, 0xb
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
sub ecx, 0x55198180
sub esi, 1
jne 0x4b80f0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x64], eax
push 0x20
mov byte [ebp - 4], 1
call fcn.004cf4bd
mov edx, eax
mov dword [ebp - 0x48], 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0x1f
mov dword [ebp - 0x58], edx
mov edi, 0x4f5110
add esp, 4
mov esi, 0x18
movups xmmword [edx], xmm0
movq qword [edx + 0x10], xmm0
mov byte [edx + 0x18], 0
movsx ecx, byte [edx]
add ecx, 0xd2565c3
sub edi, edx
nop word [eax + eax]
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xd0f5
shr eax, 0xb
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
sub ecx, 0x55198180
sub esi, 1
jne 0x4b8170
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
mov dword [ebp - 0x28], esi
cmovae eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
push 0x30
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 3
call fcn.004cf4bd
mov edx, eax
mov dword [ebp - 0x14], 0x2f
mov dword [ebp - 0x18], 0x26
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
add esp, 4
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x20], esi
mov word [edx + 0x24], si
mov byte [edx + 0x26], 0
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x28], edx
jb 0x4b81f3
movsx ecx, byte [edx]
jmp 0x4b81f9
movsx ecx, byte [eax]
lea edx, [ebp - 0x28]
mov edi, 0x4f5130
add ecx, 0xd2565c3
sub edi, edx
mov esi, 0x26
nop dword [eax + eax]
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xdef5
shr eax, 0xb
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
sub ecx, 0x55198180
sub esi, 1
jne 0x4b8210
mov edx, dword [ebp - 0x68]
lea ecx, [ebp - 0x28]
push 0x89d
push dword [ebp - 0x64]
mov byte [ebp - 4], 5
cmp dword [ebp - 0x14], 0x10
push 2
cmovae ecx, dword [ebp - 0x28]
push 1
call int.004ace20
mov byte [ebp - 4], 3
add esp, 0x10
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4b828e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b8284
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b8369
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x4b82d8
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b82ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b8369
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x4b830f
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b8305
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b8369
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov eax, dword [ebp - 0x60]
mov esi, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x70]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
sub eax, dword [edi + 8]
mov ecx, edi
inc eax
push eax
call fcn.004b77c0
mov eax, dword [esi]
lea ecx, [ebp - 0x60]
push ecx
push dword [edi + 4]
mov ecx, esi
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [ebp - 0x60]
mov dword [edi + 0xc], ecx
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