Function at 0x4bd6b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5e0f00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x60752c]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xc0], esi
mov ebx, dword [edi + 0x174]
lea ecx, [esi + 4]
mov al, byte [edi + 0x1c4]
mov dword [ebp - 0xc8], ebx
mov bl, byte [edi + 0x1c2]
mov byte [ebp - 0xc1], al
lea eax, [ebp - 0xa0]
mov byte [ebp - 0xb9], bl
nop
mov dword [eax - 4], esi
xorps xmm0, xmm0
mov dword [eax], esi
lea eax, [eax + 0x28]
mov dword [eax - 0x24], esi
mov dword [eax - 0x20], esi
movups xmmword [eax - 0x18], xmm0
mov dword [eax - 8], esi
mov dword [eax - 0x1c], esi
sub ecx, 1
jne 0x4bd710
xor eax, eax
mov dword [ebp - 0xd4], eax
cmp dword [edi + 0x54], eax
jle 0x4bddcb
mov dword [ebp - 0xd8], eax
xor edx, edx
xor ecx, ecx
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [edi + 0x38]
and ecx, dword [edi + 0x3c]
or edx, ecx
je 0x4bd98a
mov edx, dword [edi + 0x10]
xor eax, eax
add edx, dword [ebp - 0xd8]
test bl, bl
mov dword [ebp - 0x104], edx
setg al
inc eax
xor ebx, ebx
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x100], ebx
nop
test ebx, ebx
jne 0x4bd799
mov al, byte [edx + 0x58]
jmp 0x4bd79c
mov al, byte [edx + 0x59]
movzx eax, al
mov dword [ebp - 0xcc], eax
lea edi, [eax + eax*2]
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xf8], edi
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xdc], eax
mov eax, dword [eax + edi*8]
mov ecx, eax
test eax, eax
jle 0x4bd7fd
mov ecx, dword [ebp - 0xdc]
lea esi, [eax + eax*2]
add esi, esi
mov edi, dword [ecx + edi*8 + 8]
mov ecx, eax
cmp dword [edi + esi*8 - 0x10], 0
jne 0x4bd7f7
cmp dword [edi + esi*8 - 0xc], 0
jne 0x4bd7f7
mov esi, dword [ebp - 0xdc]
lea ecx, [eax - 1]
mov eax, dword [ebp - 0xf8]
mov dword [esi + eax*8], ecx
mov esi, dword [ebp - 0xc0]
cmp ecx, 1
jne 0x4bd967
test dword [edx], 0x100
jne 0x4bd842
cmp byte [ebp - 0xb9], 0
jg 0x4bd823
movss xmm0, dword [edx + 0x44]
maxss xmm0, dword [edx + 0x48]
jmp 0x4bd838
test ebx, ebx
jne 0x4bd833
movss xmm0, dword [edx + 0x40]
maxss xmm0, dword [edx + 0x48]
jmp 0x4bd838
movss xmm0, dword [edx + 0x44]
comiss xmm0, dword [edx + 0x28]
ja 0x4bd967
cmp byte [ebp - 0xc1], 0
jle 0x4bd864
mov eax, dword [ebp - 0xd0]
movsx eax, byte [eax + 0x1c4]
cmp dword [ebp - 0xd4], eax
jge 0x4bd864
xor ecx, ecx
jmp 0x4bd869
mov ecx, 1
cmp byte [ebp - 0xb9], 0
jle 0x4bd87a
test ebx, ebx
jne 0x4bd87a
xor eax, eax
jmp 0x4bd87f
mov eax, 2
add eax, ecx
lea esi, [ebp - 0xa4]
mov dword [ebp - 0x108], eax
lea eax, [eax + eax*4]
cmp dword [esi + eax*8 + 0x10], 0
lea esi, [esi + eax*8]
lea eax, [esi + 0xc]
mov dword [ebp - 0xfc], eax
jne 0x4bd8bf
mov dword [esi], 0x7f7fffff
mov dword [esi + 4], 0x7f7fffff
mov dword [esi + 8], 0xff7fffff
mov dword [eax], 0xff7fffff
jmp 0x4bd8c5
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xcc]
mov ecx, eax
shr ecx, 5
and eax, 0x1f
mov dword [ebp - 0xcc], eax
mov edx, dword [ebp - 0xcc]
mov eax, dword [esi + ecx*4 + 0x14]
bts eax, edx
mov edx, dword [ebp - 0x104]
mov dword [esi + ecx*4 + 0x14], eax
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xdc]
inc dword [esi + 0x10]
movss xmm0, dword [esi]
mov eax, dword [ecx + eax*8 + 8]
movss xmm4, dword [eax]
comiss xmm0, xmm4
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
movss xmm3, dword [eax + 0xc]
jbe 0x4bd923
movss dword [esi], xmm4
movss xmm0, dword [esi + 4]
comiss xmm0, xmm1
jbe 0x4bd932
movss dword [esi + 4], xmm1
comiss xmm2, dword [esi + 8]
jbe 0x4bd93d
movss dword [esi + 8], xmm2
mov eax, dword [ebp - 0xfc]
comiss xmm3, dword [eax]
jbe 0x4bd94c
movss dword [eax], xmm3
mov esi, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x108]
bts esi, eax
mov ebx, dword [ebp - 0x100]
mov dword [ebp - 0xc0], esi
inc ebx
mov dword [ebp - 0x100], ebx
cmp ebx, dword [ebp - 0xe4]
jl 0x4bd790
mov edi, dword [ebp - 0xd0]
mov bl, byte [ebp - 0xb9]
mov byte [edx + 0x57], 0xff
mov eax, dword [ebp - 0xd4]
add dword [ebp - 0xd8], 0x68
inc eax
mov dword [ebp - 0xd4], eax
cmp eax, dword [edi + 0x54]
jl 0x4bd747
test esi, esi
je 0x4bddcb
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xe0]
mov edi, dword [ecx + 0x425c]
lea ebx, [ecx + 0x4258]
mov esi, dword [eax + 4]
sub esi, 2
cmp esi, edi
jle 0x4bda02
test edi, edi
je 0x4bd9e2
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, edi
jmp 0x4bd9e7
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, ebx
push eax
call fcn.004c78f0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xe0]
mov dword [ebx], esi
xorps xmm0, xmm0
mov edi, dword [eax + 4]
mov ebx, 2
mov esi, dword [ecx + 0x4260]
mov dword [ebp - 0xcc], esi
movups xmmword [ebp - 0xb8], xmm0
lea edx, [edi - 1]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xc0], edi
cmp edx, ebx
jl 0x4bdaa7
mov esi, edx
and esi, 0x1f
mov dword [ebp - 0xe4], esi
mov eax, ebx
mov edi, ebx
or eax, 0x1f
sar edi, 5
cmp edx, eax
mov ecx, 0x1f
cmovle ecx, esi
xor esi, esi
inc ecx
xor eax, eax
bts esi, ecx
cmp ecx, 0x20
mov ecx, ebx
cmovae eax, esi
xor edx, edx
xor esi, eax
and ecx, 0x1f
bts edx, ecx
dec esi
xor eax, eax
cmp ecx, 0x20
cmovae eax, edx
add ebx, 0x20
xor edx, eax
and ebx, 0xffffffe0
neg edx
and esi, edx
or dword [ebp + edi*4 - 0xb8], esi
mov edi, dword [ebp - 0xc0]
mov esi, dword [ebp - 0xe4]
lea edx, [edi - 1]
cmp ebx, edx
jle 0x4bda44
mov esi, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xd0]
movzx edx, byte [eax + 0x1c8]
mov ecx, edx
and edx, 0x1f
shr ecx, 5
mov eax, dword [ebp + ecx*4 - 0xb8]
btr eax, edx
mov dl, byte [ebp - 0xb9]
mov dword [ebp + ecx*4 - 0xb8], eax
xor eax, eax
test dl, dl
setg al
add eax, 2
sub edi, eax
xor ebx, ebx
mov dword [ebp - 0xc0], edi
mov edi, dword [ebp - 0xd0]
movups xmm0, xmmword [edi + 0x140]
movups xmmword [ebp - 0xf4], xmm0
movss xmm2, dword [ebp - 0xe8]
movss xmm3, dword [ebp - 0xec]
movss xmm5, dword [ebp - 0xf0]
movss xmm4, dword [ebp - 0xf4]
mov dword [ebp - 0xd4], ebx
lea eax, [ebx + ebx*4]
shl eax, 3
mov ecx, dword [ebp + eax - 0x94]
mov dword [ebp - 0xd8], ecx
test ecx, ecx
je 0x4bdd1a
lea edi, [ebp - 0xa4]
mov edx, ebx
add edi, eax
movups xmm1, xmmword [edi]
movups xmmword [ebp - 0xf4], xmm1
and edx, 1
je 0x4bdb5e
cmp byte [ebp - 0xc1], 0
jg 0x4bdb72
comiss xmm4, xmm1
ja 0x4bdb72
movss dword [ebp - 0xf4], xmm4
movups xmm1, xmmword [ebp - 0xf4]
mov eax, ebx
and eax, 2
je 0x4bdb82
cmp byte [ebp - 0xb9], 0
jg 0x4bdb9d
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
comiss xmm5, xmm0
ja 0x4bdb9d
movss dword [ebp - 0xf0], xmm5
movups xmm1, xmmword [ebp - 0xf4]
test edx, edx
je 0x4bdbbc
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
comiss xmm0, xmm3
jae 0x4bdbbc
movss dword [ebp - 0xec], xmm3
movups xmm1, xmmword [ebp - 0xf4]
test eax, eax
je 0x4bdbea
mov eax, dword [ebp - 0xd0]
test dword [eax + 4], 0x20000
jne 0x4bdbea
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xff
comiss xmm0, xmm2
jae 0x4bdbea
movss dword [ebp - 0xe8], xmm2
movups xmm1, xmmword [ebp - 0xf4]
mov eax, dword [ebp - 0xc0]
xor edx, edx
sub eax, dword [edi + 0x10]
mov dword [ebp - 0xc0], eax
mov eax, dword [edi + 0x14]
not eax
and dword [ebp - 0xb8], eax
mov eax, dword [edi + 0x18]
not eax
and dword [ebp - 0xb4], eax
mov eax, dword [edi + 0x1c]
not eax
and dword [ebp - 0xb0], eax
mov eax, dword [edi + 0x20]
not eax
and dword [ebp - 0xac], eax
mov eax, dword [edi + 0x24]
not eax
and dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xc8]
cmp dword [eax + 4], edx
jle 0x4bdcc9
xor ebx, ebx
test ecx, ecx
je 0x4bdcc3
mov esi, edx
mov ecx, edx
and ecx, 0x1f
sar esi, 5
mov eax, 1
shl eax, cl
test dword [edi + esi*4 + 0x14], eax
je 0x4bdca8
mov eax, dword [edi + esi*4 + 0x14]
dec dword [ebp - 0xd8]
btr eax, ecx
mov dword [edi + esi*4 + 0x14], eax
mov eax, dword [ebp - 0xc8]
mov esi, dword [ebp - 0xcc]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx + ebx + 8]
movups xmmword [eax], xmm1
mov eax, esi
add esi, 0x18
movups xmm0, xmmword [ecx + ebx]
mov dword [ebp - 0xcc], esi
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + ebx + 0x10]
movq qword [eax + 0x10], xmm0
jmp 0x4bdcae
mov esi, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xc8]
inc edx
mov ecx, dword [ebp - 0xd8]
add ebx, 0x18
cmp edx, dword [eax + 4]
jl 0x4bdc43
mov ebx, dword [ebp - 0xd4]
mov dl, byte [ebp - 0xb9]
mov edi, dword [ebp - 0xd0]
cmp ebx, 1
jne 0x4bdd22
test dl, dl
jle 0x4bdd22
movzx eax, byte [edi + 0x1c8]
mov edx, esi
add esi, 0x18
inc ebx
mov dword [ebp - 0xcc], esi
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0x10]
movups xmm0, xmmword [eax + ecx*8]
movups xmmword [edx], xmm0
movq xmm0, qword [eax + ecx*8 + 0x10]
movq qword [edx + 0x10], xmm0
mov dl, byte [ebp - 0xb9]
jmp 0x4bdb1b
mov eax, dword [ebp - 0xc8]
jmp 0x4bdcd5
inc ebx
mov dword [ebp - 0xd4], ebx
cmp ebx, 4
jl 0x4bdb21
mov eax, dword [eax + 4]
xor edi, edi
test eax, eax
jle 0x4bdd9f
mov edx, dword [ebp - 0xc0]
xor ebx, ebx
test edx, edx
je 0x4bdd9f
mov eax, edi
mov ecx, edi
and ecx, 0x1f
sar eax, 5
mov edx, 1
shl edx, cl
test dword [ebp + eax*4 - 0xb8], edx
mov edx, dword [ebp - 0xc0]
je 0x4bdd8e
mov eax, dword [ebp - 0xc8]
mov ecx, esi
add esi, 0x18
dec edx
mov dword [ebp - 0xc0], edx
mov eax, dword [eax + 0x10]
movups xmm0, xmmword [eax + ebx]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + ebx + 0x10]
movq qword [ecx + 0x10], xmm0
mov eax, dword [ebp - 0xc8]
inc edi
add ebx, 0x18
mov eax, dword [eax + 4]
cmp edi, eax
jl 0x4bdd43
lea eax, [eax + eax*2]
lea eax, [eax*8 - 0x30]
push eax
mov eax, dword [ebp - 0xe0]
push dword [eax + 0x4260]
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0x10]
add eax, 0x30
push eax
call fcn.004d6030
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d3b35
mov esp, ebp
pop ebp
ret