Function at 0x4148f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x68
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
mov al, 1
cmp esi, 0x101
mov ebx, esi
jb 0x41493f
mov eax, 0xff
lea ebx, [eax + 1]
cmp ebx, esi
jae 0x41492f
cmp byte [edx + eax + 1], 0xbf
jg 0x41493d
mov ebx, eax
sub ebx, 1
jb 0x41493c
cmp esi, eax
mov eax, ebx
jne 0x414921
inc ebx
xor eax, eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ebx
mov ebx, str.0assertion_failed:_edelta___0librarycore_src_numdiy_float.rs
mov ebp, str._..._byte_index__is_out_of_bounds_of__
test al, al
cmovne ebp, ebx
xor al, 1
cmp ecx, esi
movzx eax, al
mov dword [esp + 0x5c], ebp
lea eax, [eax + eax*4]
mov dword [esp + 0x60], eax
ja 0x4149e6
cmp edi, esi
ja 0x4149e6
cmp ecx, edi
jbe 0x414a5d
lea eax, [esp + 0x84]
lea edx, [esp + 0x88]
lea ecx, [esp + 0x54]
mov dword [esp + 0x14], 0x463dcc
mov dword [esp + 0x18], 4
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], fcn.00415e50
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], fcn.00415e50
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x5c]
mov dword [esp + 0x40], 0x416750
mov dword [esp + 0x44], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x48], 0x416750
mov dword [esp + 0x28], 4
jmp 0x414a47
cmp ecx, esi
lea eax, [esp + 0xc]
lea edx, [esp + 0x5c]
mov dword [esp + 0x14], 0x463d90
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], 0
cmova edi, ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], fcn.00415e50
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], 0x416750
mov dword [esp + 0x3c], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x40], 0x416750
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 3
lea eax, [esp + 0x14]
push dword [esp + 0x8c]
push eax
call fcn.00410d60
add esp, 8
ud2
test ecx, ecx
je 0x414a6d
cmp esi, ecx
je 0x414a6d
jbe 0x414a6f
cmp byte [edx + ecx], 0xc0
jl 0x414a6f
mov ecx, edi
test ecx, ecx
mov dword [esp + 0x64], ecx
je 0x414a98
cmp ecx, esi
je 0x414a98
lea eax, [esi + 1]
cmp ecx, esi
jae 0x414a88
cmp byte [edx + ecx], 0xc0
jge 0x414abc
lea edi, [ecx - 1]
cmp ecx, 1
je 0x414a9a
cmp eax, ecx
mov ecx, edi
jne 0x414a7e
jmp 0x414a9a
mov edi, ecx
lea ebp, [esp + 4]
mov ecx, edi
cmp ecx, esi
jne 0x414ac4
push dword [esp + 0x8c]
push 0x2b
push 0x463751
call fcn.00410cb0
add esp, 0xc
ud2
lea ebp, [esp + 4]
cmp ecx, esi
je 0x414aa4
lea eax, [edx + ecx]
movzx ebx, byte [eax]
test bl, bl
js 0x414ae0
mov dword [esp + 4], ebx
lea edx, [esp + 0xc]
mov ebx, 1
jmp 0x414b92
add edx, esi
lea edi, [eax + 1]
xor esi, esi
mov dword [esp], ebp
cmp edi, edx
mov edi, edx
je 0x414afc
movzx esi, byte [eax + 1]
add eax, 2
mov edi, eax
and esi, 0x3f
mov ebp, ebx
and ebp, 0x1f
cmp bl, 0xdf
jbe 0x414b55
xor eax, eax
cmp edi, edx
mov dword [esp + 8], edx
je 0x414b1b
movzx eax, byte [edi]
inc edi
mov dword [esp + 8], edi
and eax, 0x3f
shl esi, 6
or esi, eax
cmp bl, 0xf0
jb 0x414b5a
mov edi, dword [esp + 8]
xor eax, eax
cmp edi, edx
je 0x414b37
movzx eax, byte [edi]
mov edx, edi
and eax, 0x3f
and ebp, 7
shl esi, 6
shl ebp, 0x12
or esi, ebp
mov ebp, dword [esp]
or esi, eax
cmp esi, 0x110000
je 0x414aa4
jmp 0x414b62
shl ebp, 6
jmp 0x414b5d
shl ebp, 0xc
or esi, ebp
mov ebp, dword [esp]
lea edx, [esp + 0xc]
mov ebx, 1
cmp esi, 0x80
mov dword [esp + 4], esi
jb 0x414b92
mov ebx, 2
cmp esi, 0x800
jb 0x414b92
cmp esi, 0x10000
mov ebx, 4
sbb ebx, 0
lea eax, [esp + 0x64]
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x14], 0x463e20
mov dword [esp + 0x18], 5
add ebx, ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x30], fcn.00415e50
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], 0x4135b0
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], 0x410970
mov dword [esp + 0x10], ebx
mov dword [esp + 0x44], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x48], 0x416750
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x50], 0x416750
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x28], 5
push esi
push eax
call fcn.00410d60
add esp, 8
ud2