Function at 0x4bf2e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
mov dword [ebp - 0x220], edi
cmp dword [ebp + 0xc], edi
jle 0x4bf60b
push ebx
push esi
mov esi, dword [ebp - 0x224]
nop dword [eax]
mov edx, dword [0x57ec0c]
xor eax, eax
mov ecx, dword [0x57eac4]
cmp edx, 0x140
cmove edx, eax
mov eax, dword [ebp + 8]
mov dword [0x57ec0c], edx
mov al, byte [edi + eax]
add byte [ecx + edx], al
and edx, 0x8000000f
jns 0x4bf343
dec edx
or edx, 0xfffffff0
inc edx
jne 0x4bf5eb
cmp dword [0x55c4a0], 0
je 0x4bf5eb
mov eax, dword [0x55c4a4]
sub eax, 1
je 0x4bf37a
sub eax, 1
je 0x4bf373
sub eax, 1
je 0x4bf373
mov byte [0], 0
jmp 0x4bf37f
mov esi, 0x40
jmp 0x4bf37f
mov esi, 0x14
mov eax, 0x140
cdq
idiv esi
test edx, edx
je 0x4bf392
mov byte [0], 0
xor edi, edi
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [0x55c4a4]
sub eax, 1
je 0x4bf42e
sub eax, 1
je 0x4bf3f9
sub eax, 1
je 0x4bf3c4
mov byte [0], 0
jmp 0x4bf464
lea eax, [ebp - 0x14c]
push eax
call fcn.004df070
lea eax, [ebp - 0x14c]
push eax
push 0xa00
push dword [0x57eac4]
call fcn.004dea30
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.004debf0
jmp 0x4bf461
lea eax, [ebp - 0x21c]
push eax
call fcn.004dc5c0
lea eax, [ebp - 0x21c]
push eax
push 0x140
push dword [0x57eac4]
call fcn.004de780
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004de760
jmp 0x4bf461
lea eax, [ebp - 0xa4]
push eax
call fcn.004da070
push 0x140
push dword [0x57eac4]
lea eax, [ebp - 0xa4]
push eax
call fcn.004db230
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004d9fb0
add esp, 0x18
xor eax, eax
test esi, esi
jle 0x4bf50c
cmp esi, 0x20
jb 0x4bf4ed
mov ecx, dword [0x57eac4]
lea ebx, [ecx - 1]
lea edx, [ecx + edi]
add ebx, esi
lea ecx, [ebp + esi - 0x45]
mov dword [ebp - 0x224], edx
add ebx, edi
cmp edx, ecx
ja 0x4bf498
lea ecx, [ebp - 0x44]
cmp ebx, ecx
jae 0x4bf4ed
mov ecx, esi
and ecx, 0x8000001f
jns 0x4bf4a7
dec ecx
or ecx, 0xffffffe0
inc ecx
mov ebx, esi
lea edx, [ebp - 0x34]
sub ebx, ecx
mov ecx, dword [ebp - 0x224]
add ecx, 0x10
nop word [eax + eax]
movups xmm0, xmmword [ecx - 0x10]
add eax, 0x20
lea ecx, [ecx + 0x20]
lea edx, [edx + 0x20]
movups xmm1, xmmword [edx - 0x30]
pxor xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
movups xmm1, xmmword [ecx - 0x20]
movups xmm0, xmmword [edx - 0x20]
pxor xmm1, xmm0
movups xmmword [ecx - 0x20], xmm1
cmp eax, ebx
jl 0x4bf4c0
cmp eax, esi
jge 0x4bf50c
mov edx, dword [0x57eac4]
add edx, edi
nop dword [eax]
mov cl, byte [ebp + eax - 0x44]
xor byte [edx + eax], cl
inc eax
cmp eax, esi
jl 0x4bf500
add edi, esi
cmp edi, 0x140
jl 0x4bf3a0
lea eax, [ebp - 0x44]
mov ecx, 0x40
mov edi, ecx
mov edx, eax
mov byte [edx], 0
lea edx, [edx + 1]
sub edi, 1
jne 0x4bf526
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4bf531
mov eax, dword [0x55c4a4]
sub eax, 1
je 0x4bf5bd
sub eax, 1
je 0x4bf58d
sub eax, 1
je 0x4bf55b
mov byte [0], cl
jmp 0x4bf5eb
lea eax, [ebp - 0x14c]
mov ecx, 0xa8
mov edi, ecx
mov edx, eax
nop word [eax + eax]
mov byte [edx], 0
lea edx, [edx + 1]
sub edi, 1
jne 0x4bf570
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4bf580
jmp 0x4bf5eb
lea eax, [ebp - 0x21c]
mov ecx, 0xd0
mov edi, ecx
mov edx, eax
nop dword [eax]
mov byte [edx], 0
lea edx, [edx + 1]
sub edi, 1
jne 0x4bf5a0
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4bf5b0
jmp 0x4bf5eb
lea eax, [ebp - 0xa4]
mov ecx, 0x60
mov edi, ecx
mov edx, eax
nop dword [eax]
mov byte [edx], 0
lea edx, [edx + 1]
sub edi, 1
jne 0x4bf5d0
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4bf5e0
mov eax, dword [ebp - 0x220]
inc dword [0x57ec0c]
inc eax
mov edi, eax
mov dword [ebp - 0x220], eax
cmp eax, dword [ebp + 0xc]
jl 0x4bf310
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret