Function at 0x4309e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
lea esp, [esp - 0x18]
mov dword [esp], eax
mov byte [esp + 0x14], 0
mov byte [esp + 0x10], 0
mov eax, dword [esp]
mov esi, dword [eax - 0x48]
mov eax, dword [esp]
mov edx, dword [eax - 4]
mov dword [esp + 4], edx
mov dword [esp + 0xc], 1
jmp 0x430cfa
mov al, byte [esi]
cmp al, 0x22
jb 0x430a5a
sub al, 0x22
je 0x430a24
sub al, 5
je 0x430a3f
jmp 0x430a5a
mov al, byte [esp + 0x14]
test al, al
jne 0x430a37
mov al, byte [esp + 0x10]
test al, al
sete byte [esp + 0x10]
add esi, 1
jmp 0x430cfa
mov al, byte [esp + 0x10]
test al, al
jne 0x430a52
mov al, byte [esp + 0x14]
test al, al
sete byte [esp + 0x14]
add esi, 1
jmp 0x430cfa
mov al, byte [esp + 0x14]
test al, al
jne 0x430cea
mov al, byte [esp + 0x10]
test al, al
jne 0x430cea
mov al, byte [esi]
cmp al, 0x23
jb 0x430cd3
sub al, 0x23
je 0x430a9d
sub al, 0xb
je 0x430a9d
sub al, 2
je 0x430a9d
sub al, 0x15
je 0x430c2e
sub al, 0x20
je 0x430c2e
jmp 0x430cd3
cmp dword [esp + 0xc], 1
jne 0x430b6f
mov eax, dword [esp]
cmp dword [eax - 0x6c], 0
jle 0x430b6f
mov eax, dword [esp]
mov ebx, dword [eax - 0x6c]
mov dword [esp + 8], 1
cmp ebx, dword [esp + 8]
jl 0x430b65
sub dword [esp + 8], 1
mov esi, esi
add dword [esp + 8], 1
mov edx, dword [esp]
mov al, byte [esp + 8]
and eax, 0xff
cmp byte [edx + eax - 0x38], 0x20
je 0x430b07
mov edx, dword [esp]
mov al, byte [esp + 8]
and eax, 0xff
mov al, byte [edx + eax - 0x38]
mov edx, dword [esp + 4]
mov byte [edx], al
add dword [esp + 4], 1
mov edx, dword [esp]
cmp byte [edx - 0x68], 0
je 0x430b5b
mov al, byte [esp + 8]
and eax, 0xff
movzx eax, byte [edx + eax - 0x38]
cmp eax, 0x20
je 0x430b5b
cmp eax, 0x2d
je 0x430b5b
mov ecx, dword [esp]
mov eax, dword [ecx - 0x70]
cdq
mov edi, 3
idiv edi
test edx, edx
jne 0x430b54
cmp dword [ecx - 0x70], 0
jle 0x430b54
mov eax, dword [esp]
mov al, byte [eax - 0x12e]
mov edx, dword [esp + 4]
mov byte [edx], al
add dword [esp + 4], 1
mov eax, dword [esp]
sub dword [eax - 0x70], 1
cmp ebx, dword [esp + 8]
jg 0x430ad4
mov eax, dword [esp]
mov eax, dword [eax - 0x6c]
add dword [esp + 0xc], eax
mov edx, dword [esp]
mov al, byte [esp + 0xc]
and eax, 0xff
cmp byte [edx + eax - 0x38], 0x20
je 0x430c07
mov edx, dword [esp]
mov al, byte [esp + 0xc]
and eax, 0xff
cmp byte [edx + eax - 0x38], 0x2e
jne 0x430baa
mov eax, dword [esp]
mov dl, byte [eax - 0x12d]
mov eax, dword [esp + 4]
mov byte [eax], dl
jmp 0x430bc0
mov edx, dword [esp]
mov al, byte [esp + 0xc]
and eax, 0xff
mov dl, byte [edx + eax - 0x38]
mov eax, dword [esp + 4]
mov byte [eax], dl
add dword [esp + 4], 1
mov ecx, dword [esp]
cmp byte [ecx - 0x68], 0
je 0x430c07
mov eax, dword [ecx - 0x70]
cdq
mov ebx, 3
idiv ebx
test edx, edx
jne 0x430c07
cmp dword [ecx - 0x70], 0
jle 0x430c07
mov al, byte [esp + 0xc]
and eax, 0xff
cmp byte [ecx + eax - 0x38], 0x2d
je 0x430c07
mov eax, dword [esp]
mov dl, byte [eax - 0x12e]
mov eax, dword [esp + 4]
mov byte [eax], dl
add dword [esp + 4], 1
mov edx, dword [esp]
mov al, byte [esp + 0xc]
and eax, 0xff
cmp byte [edx + eax - 0x38], 0x2d
je 0x430c21
mov eax, dword [esp]
sub dword [eax - 0x70], 1
add dword [esp + 0xc], 1
add esi, 1
jmp 0x430cfa
mov eax, dword [esp]
cmp dword [eax - 0x50], 0
je 0x430cc1
add esi, 1
mov eax, dword [esp]
mov eax, dword [eax - 0x4c]
cmp eax, esi
jbe 0x430cfa
movzx eax, byte [esi]
cmp eax, 0x2b
je 0x430c59
cmp eax, 0x2d
jne 0x430cbc
mov eax, dword [esp]
mov eax, dword [eax - 0x54]
add esi, eax
mov eax, dword [esp]
movzx eax, byte [eax - 0x44]
mov ecx, eax
mov dword [esp + 8], 1
cmp ecx, dword [esp + 8]
jl 0x430ca7
sub dword [esp + 8], 1
lea esi, [esi]
add dword [esp + 8], 1
mov edx, dword [esp]
mov al, byte [esp + 8]
and eax, 0xff
mov dl, byte [edx + eax - 0x44]
mov eax, dword [esp + 4]
mov ebx, dword [esp + 8]
mov byte [eax + ebx - 1], dl
cmp ecx, dword [esp + 8]
jg 0x430c80
mov eax, dword [esp]
movzx eax, byte [eax - 0x44]
add dword [esp + 4], eax
mov eax, dword [esp]
mov dword [eax - 0x50], 0
add esi, 1
jmp 0x430cfa
mov dl, byte [esi]
mov eax, dword [esp + 4]
mov byte [eax], dl
add dword [esp + 4], 1
add esi, 1
jmp 0x430cfa
cmp byte [esi], 0x2c
je 0x430ce5
mov dl, byte [esi]
mov eax, dword [esp + 4]
mov byte [eax], dl
add dword [esp + 4], 1
add esi, 1
jmp 0x430cfa
mov dl, byte [esi]
mov eax, dword [esp + 4]
mov byte [eax], dl
add dword [esp + 4], 1
add esi, 1
mov eax, dword [esp]
mov eax, dword [eax - 0x4c]
cmp eax, esi
ja 0x430a14
mov eax, dword [esp]
mov edx, dword [eax - 4]
mov eax, dword [esp + 4]
sub eax, edx
lea esp, [esp + 0x18]
pop edi
pop esi
pop ebx
ret