Function at 0x6be0e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov edi, ecx
mov dword [esp + 4], 0
mov eax, dword [ecx + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 8], 0x74750a0b
mov byte [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x6be161
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
mov edx, eax
xor edx, 0x3b8cc0be
and eax, 0x3b8cc0be
lea eax, [edx + eax*2]
mov edx, eax
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x4a
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x6be120
mov eax, dword [esp + 8]
mov ecx, dword [0x6cf754]
test ecx, ecx
je 0x6be1be
xor edx, edx
mov esi, dword [0x6cf758]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x6be190
inc edx
cmp ecx, edx
jne 0x6be180
jmp 0x6be1be
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x6be1be
lea eax, [esp + 0x20]
lea edx, [esp + 4]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x6cf75c]
push ecx
call fcn.006bf5f0
add esp, 0x24
test eax, eax
js 0x6be223
mov ecx, dword [esp + 0x38]
push 0
push 0
push dword [edi + 8]
push dword [esp + 0x10]
push dword [edi + 4]
mov dword [esp + 0x2c], edi
push dword [edi]
call fcn.006bd400
mov ecx, eax
xor eax, eax
mov edx, 0
cmp ecx, 0xbfffffff
ja 0x6be2b1
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + 8]
add ebx, ecx
sub ebx, edi
xor eax, eax
mov dword [esp + 0x14], ecx
cmp ebx, ecx
jbe 0x6be2b1
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x14]
jmp 0x6be23b
xor eax, eax
xor edx, edx
jmp 0x6be382
add ebp, eax
dec ebp
inc ebp
xor eax, eax
mov edx, 0
cmp ebp, ebx
jae 0x6be2b1
test ecx, ecx
je 0x6be244
cmp byte [ecx], 0x3f
je 0x6be24c
movzx eax, byte [ebp]
cmp al, byte [esi]
jne 0x6be22f
cmp edi, 2
jb 0x6be293
mov eax, 1
jmp 0x6be287
movzx edx, byte [ebp + eax]
cmp dl, byte [esi + eax]
jne 0x6be22c
mov edx, 0x740dcea3
sub edx, eax
add eax, 0xbf2315c
and edx, 0x8bf2315b
and eax, 0x740dcea4
sub eax, edx
cmp eax, edi
jae 0x6be293
test ecx, ecx
je 0x6be260
cmp byte [ecx + eax], 0x3f
jne 0x6be260
jmp 0x6be26a
test ebp, ebp
je 0x6be2ad
sub ebp, dword [esp + 0x14]
mov edx, ebp
sar edx, 0x1f
mov eax, dword [esp + 0x18]
add ebp, dword [eax]
adc edx, dword [eax + 4]
mov eax, ebp
jmp 0x6be2b1
xor eax, eax
xor edx, edx
mov dword [esp + 0x1c], 0
mov dword [esp + 8], 0x74750a0b
mov byte [esp + 0xc], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 4
ja 0x6be323
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 8]
mov edi, ecx
xor edi, 0x3b8cc0be
and ecx, 0x3b8cc0be
lea ecx, [edi + ecx*2]
mov edi, ecx
and edi, esi
add ecx, esi
add edi, edi
sub ecx, edi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
add cl, 0x4a
mov esi, dword [esp]
mov byte [esp + esi + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 5
jb 0x6be2e0
mov ecx, dword [0x6cf754]
test ecx, ecx
je 0x6be382
mov esi, dword [esp + 8]
xor edi, edi
mov ebx, dword [0x6cf758]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x44caaeb6
je 0x6be350
inc edi
cmp ecx, edi
jne 0x6be340
jmp 0x6be382
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, esi
je 0x6be382
lea esi, [esp + 0x1c]
lea edi, [esp + 4]
push 0x8000
push esi
push edi
push 0xffffffffffffffff
push 4
push dword [0x6cf75c]
push ecx
mov esi, eax
mov edi, edx
call fcn.006bf5f0
mov edx, edi
mov eax, esi
add esp, 0x1c
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x10