Function at 0x4277a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov ebp, dword [ebx + 4]
cmp ebp, dword [sym.imp.python311.dll_PyLong_Type]
je 0x4277f0
mov edi, dword [sym.imp.python311.dll_PyLong_Type]
mov eax, dword [edi + 0xac]
test eax, eax
je 0x42784a
mov ecx, dword [eax + 8]
mov dl, 1
mov dword [esp], edx
test ecx, ecx
jle 0x427898
xor edx, edx
nop
cmp dword [eax + edx*4 + 0xc], ebp
je 0x427859
inc edx
cmp ecx, edx
jne 0x4277e0
jmp 0x427898
cmp ebx, esi
je 0x427835
mov eax, dword [ebx + 8]
cmp eax, dword [esi + 8]
jne 0x42783f
mov ecx, eax
neg ecx
cmovs ecx, eax
nop word cs:[eax + eax]
test ecx, ecx
jle 0x427835
mov edx, dword [ebx + ecx*4 + 8]
mov edi, dword [esi + ecx*4 + 8]
dec ecx
cmp edx, edi
je 0x427810
test eax, eax
sets cl
cmp edx, edi
seta al
xor al, cl
movzx esi, al
jmp 0x4279ae
xor eax, eax
movzx esi, al
jmp 0x4279ae
setg al
movzx esi, al
jmp 0x4279ae
push ebp
push edi
call dword [sym.imp.python311.dll_PyType_IsSubtype]
add esp, 8
test eax, eax
je 0x427893
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x427893
push 0
push ebx
push esi
call ecx
add esp, 0xc
cmp eax, dword [sym.imp.python311.dll__Py_NotImplementedStruct]
jne 0x4278ed
mov eax, dword [sym.imp.python311.dll__Py_NotImplementedStruct]
dec dword [eax]
jne 0x427884
mov ecx, dword [eax + 4]
push eax
call dword [ecx + 0x18]
add esp, 4
mov dword [esp], 0
mov edi, dword [sym.imp.python311.dll_PyLong_Type]
jmp 0x427898
mov al, 1
mov dword [esp], eax
mov eax, dword [ebp + 0x64]
test eax, eax
je 0x4278c3
push 4
push esi
push ebx
call eax
add esp, 0xc
cmp eax, dword [sym.imp.python311.dll__Py_NotImplementedStruct]
jne 0x4278ed
mov eax, dword [sym.imp.python311.dll__Py_NotImplementedStruct]
dec dword [eax]
mov edi, dword [sym.imp.python311.dll_PyLong_Type]
je 0x427968
cmp byte [esp], 0
je 0x427991
mov eax, dword [edi + 0x64]
test eax, eax
je 0x427991
push 0
push ebx
push esi
call eax
add esp, 0xc
cmp eax, dword [sym.imp.python311.dll__Py_NotImplementedStruct]
je 0x42797e
mov edi, eax
test eax, eax
je 0x4279a9
cmp edi, dword [sym.imp.python311.dll__Py_TrueStruct]
je 0x427953
xor esi, esi
cmp edi, dword [sym.imp.python311.dll__Py_FalseStruct]
je 0x427958
cmp edi, dword [sym.imp.python311.dll__Py_NoneStruct]
je 0x427958
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x427922
mov ecx, dword [ecx + 0x24]
test ecx, ecx
jne 0x42793c
mov ecx, dword [eax + 0x38]
test ecx, ecx
je 0x42792f
mov ecx, dword [ecx]
test ecx, ecx
jne 0x42793c
mov eax, dword [eax + 0x34]
test eax, eax
je 0x427953
mov ecx, dword [eax]
test ecx, ecx
je 0x427953
push edi
call ecx
add esp, 4
mov esi, 1
test eax, eax
jg 0x427958
setne al
movzx esi, al
jmp 0x427958
mov esi, 1
dec dword [edi]
jne 0x4279ae
mov eax, dword [edi + 4]
push edi
call dword [eax + 0x18]
add esp, 4
jmp 0x4279ae
mov ecx, dword [eax + 4]
push eax
call dword [ecx + 0x18]
add esp, 4
cmp byte [esp], 0
jne 0x4278cd
jmp 0x427991
mov eax, dword [sym.imp.python311.dll__Py_NotImplementedStruct]
dec dword [eax]
jne 0x427991
mov ecx, dword [eax + 4]
push eax
call dword [ecx + 0x18]
add esp, 4
mov eax, dword [sym.imp.python311.dll_PyExc_TypeError]
push dword [ebp + 0xc]
push str.__not_supported_between_instances_of__s_and_int
push dword [eax]
call dword [sym.imp.python311.dll_PyErr_Format]
add esp, 0xc
mov esi, 0xffffffff
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret