Function at 0x62e8e5f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x78]
test edx, edx
je 0x62e8ea78
mov ebp, dword [esp + 0x64]
test ebp, ebp
js 0x62e8e978
mov edi, dword [esp + 0x68]
test edi, edi
je 0x62e8eab8
mov edi, dword [esp + 0x68]
mov ebx, dword [edi]
cmp dword [esp + 0x64], ebx
jbe 0x62e8e958
mov edi, dword [esp + 0x74]
lea edx, [edi - 8]
and edx, 0xfffffff7
jne 0x62e8e890
test eax, 0xfffefc00
jne 0x62e8ea38
movzx edx, al
lea ecx, [edx - 1]
cmp ecx, 2
ja 0x62e8ea98
cmp edx, 3
je 0x62e8e9b8
cmp edx, 2
je 0x62e8e8d8
test ah, 1
je 0x62e8ead8
movzx eax, byte [esp + 0x74]
mov edx, dword [esp + 0x2c]
mov ebp, 2
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
cmovne eax, edx
mov byte [esp + 0x34], al
test al, al
je 0x62e8e6f0
mov edi, ecx
mov ebp, 3
shr edi, 5
and edi, 1
mov esi, edi
shl edi, cl
xor esi, 1
shl esi, cl
mov ecx, edi
mov edx, esi
not ecx
not edx
mov eax, ecx
and edx, dword [esp + 0x28]
and eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
or eax, edx
mov dword [esp + 0x28], edx
jne 0x62e8e6f0
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
lea esi, [esi]
nop
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov eax, 9
cmp eax, esi
mov eax, 0
mov esi, 1
sbb eax, edi
mov edi, 0
jae 0x62e8e757
lea esi, [esi]
mov eax, 0xa
imul ecx, edi, 0xa
add ebp, 1
mul esi
mov dword [esp + 8], eax
mov edi, edx
mov esi, eax
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add edi, ecx
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.___udivdi3
mov ecx, 9
cmp ecx, eax
mov eax, 0
sbb eax, edx
jb 0x62e8e718
mov eax, ebp
movzx ebp, al
add ebp, ebx
cmp dword [esp + 0x64], ebp
jb 0x62e8ea18
mov ecx, dword [esp + 0x60]
mov ebp, dword [esp + 0x60]
lea eax, [ebx + 1]
lea edx, [ebx + 2]
mov dword [esp + 0x30], edx
add ecx, ebx
add ebp, eax
cmp byte [esp + 0x34], 0
je 0x62e8e799
add ebx, 3
add edx, dword [esp + 0x60]
mov byte [ecx], 0x2d
mov ecx, ebp
mov dword [esp + 0x30], ebx
mov ebp, edx
mov ebx, eax
mov eax, 1
cmp eax, esi
mov eax, 0
sbb eax, edi
jae 0x62e8e849
lea esi, [esi]
lea eax, [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.___udivmoddi4
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x34], ebx
add ebx, 1
mov ecx, eax
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], esi
add ecx, 0x30
mov byte [ebp + ebx - 1], cl
mov ebp, edi
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
call sym.___udivdi3
mov esi, eax
mov eax, 0x13
cmp eax, dword [esp + 0x30]
mov eax, 0
sbb eax, ebp
mov edi, edx
jb 0x62e8e7b0
mov eax, dword [esp + 0x34]
add ebx, dword [esp + 0x60]
mov ecx, ebx
lea ebx, [eax + 3]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x60]
lea ebp, [ebx + eax + 2]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 0x34], ecx
call sym.___udivdi3
mov ecx, dword [esp + 0x34]
add eax, 0x30
mov byte [ecx], al
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x30]
mov byte [ebp], 0
mov dword [eax], edi
add esp, 0x4c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [edi - 0x20]
and edx, 0xffffffdf
je 0x62e8e64f
mov dword [esp + 0x10], str.libfvalue_utf8_string_with_index_copy_from_integer
mov dword [esp + 0xc], str._s:_unsupported_integer_value_size.
mov dword [esp + 8], 0xe
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], 0x72
mov dword [esp], eax
call dbg.libcerror_error_set
add esp, 0x4c
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + 0x74]
shr edx, 2
test eax, 0x10000
je 0x62e8eb10
lea eax, [edx + 1]
movzx eax, al
add eax, ebx
cmp dword [esp + 0x64], eax
jb 0x62e8ea18
movzx eax, byte [esp + 0x74]
mov edi, dword [esp + 0x60]
lea ecx, [eax - 4]
lea esi, [esi]
nop
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov esi, ebx
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
cmovne eax, edx
add ebx, 1
and eax, 0xf
lea ebp, [eax + 0x57]
lea edx, [eax + 0x30]
cmp al, 0xa
cmovae edx, ebp
mov byte [edi + ebx - 1], dl
sub cl, 4
jns 0x62e8e910
lea eax, [esi + 2]
add ebx, dword [esp + 0x60]
mov dword [esp + 0x30], eax
mov ebp, ebx
jmp 0x62e8e872
mov dword [esp + 0x10], str.libfvalue_utf8_string_with_index_copy_from_integer
mov dword [esp + 0xc], str._s:_invalid_UTF_8_string_index_value_out_of_bounds.
mov dword [esp + 8], 0xc
jmp 0x62e8e8b4
mov dword [esp + 0x10], str.libfvalue_utf8_string_with_index_copy_from_integer
mov dword [esp + 0xc], 0x62f29a40
mov dword [esp + 8], 4
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], 0x61
mov dword [esp], eax
call dbg.libcerror_error_set
add esp, 0x4c
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov edx, ebp
or edx, edi
jne 0x62e8ea00
lea eax, [ebx + 6]
mov dword [esp + 0x30], eax
cmp dword [esp + 0x64], eax
jb 0x62e8ea18
mov eax, dword [esp + 0x60]
mov byte [eax + ebx], 0x66
lea ebp, [eax + ebx + 5]
mov byte [eax + ebx + 1], 0x61
mov byte [eax + ebx + 2], 0x6c
mov byte [eax + ebx + 3], 0x73
mov byte [eax + ebx + 4], 0x65
jmp 0x62e8e872
lea eax, [ebx + 5]
mov dword [esp + 0x30], eax
cmp dword [esp + 0x64], eax
jae 0x62e8eaf0
lea esi, [esi]
mov dword [esp + 0x10], str.libfvalue_utf8_string_with_index_copy_from_integer
mov dword [esp + 0xc], str._s:_UTF_8_string_size_too_small.
mov dword [esp + 8], 5
jmp 0x62e8e990
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], str.libfvalue_utf8_string_with_index_copy_from_integer
mov dword [esp], eax
mov dword [esp + 0xc], 0x62f2993c
mov dword [esp + 8], 8
mov dword [esp + 4], 0x61
call dbg.libcerror_error_set
add esp, 0x4c
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], str.libfvalue_utf8_string_with_index_copy_from_integer
mov dword [esp + 0xc], 0x62f29a23
mov dword [esp + 8], 1
jmp 0x62e8e990
mov dword [esp + 0x10], str.libfvalue_utf8_string_with_index_copy_from_integer
mov dword [esp + 0xc], str._s:_unsupported_string_format_type.
mov dword [esp + 8], 8
jmp 0x62e8e990
mov dword [esp + 0x10], str.libfvalue_utf8_string_with_index_copy_from_integer
mov dword [esp + 0xc], 0x62f29a78
mov dword [esp + 8], 1
jmp 0x62e8e990
mov byte [esp + 0x34], 0
mov ebp, 2
jmp 0x62e8e6f0
mov eax, dword [esp + 0x60]
mov byte [eax + ebx], 0x74
lea ebp, [eax + ebx + 4]
mov byte [eax + ebx + 1], 0x72
mov byte [eax + ebx + 2], 0x75
mov byte [eax + ebx + 3], 0x65
jmp 0x62e8e872
lea eax, [edx + 3]
movzx eax, al
add eax, ebx
cmp dword [esp + 0x64], eax
jb 0x62e8ea18
mov eax, dword [esp + 0x60]
mov byte [eax + ebx], 0x30
mov byte [eax + ebx + 1], 0x78
add ebx, 2
jmp 0x62e8e8fc