Function at 0x43a230
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x14], 0xd500d501
xor eax, eax
mov cl, 1
nop
movzx esi, word [esp + eax*2 + 0x14]
mov edx, eax
or edx, 0xe66e
and edx, esi
mov ebx, edx
and ebx, 0xe66d
mov ebp, esi
or ebp, 0xfffd
inc ebp
imul ebp, ebx
lea ebx, [eax + esi]
add ebx, 0xe66e
and esi, 2
or edx, 2
imul edx, esi
add ebx, ebp
sub ebx, edx
add ebx, 0xffffcc90
mov word [esp + eax*2 + 0x14], bx
mov eax, 1
test cl, 1
mov ecx, 0
jne 0x43a250
mov esi, dword [esp + 0x14]
mov eax, dword [0x445320]
test eax, eax
je 0x43a2fe
xor ecx, ecx
mov edx, dword [0x445324]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xcf2d66db
je 0x43a2d0
inc ecx
cmp eax, ecx
jne 0x43a2c0
jmp 0x43a2fe
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43a2fe
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 1
push dword [esp + 0x48]
push dword [esp + 0x48]
push 0x18
push eax
push dword [0x445328]
call fcn.004371a0
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x43a5aa
push dword [esp + 0x10]
call fcn.00435730
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 0x18], 0xd500d501
xor edx, edx
mov al, 1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, word [esp + edx*2 + 0x18]
mov esi, edx
or esi, 0xe66e
and esi, ebx
mov ebp, esi
and ebp, 0xe66d
mov ecx, ebx
or ecx, 0xfffd
inc ecx
imul ecx, ebp
lea ebp, [edx + ebx]
add ebp, 0xe66e
and ebx, 2
or esi, 2
imul esi, ebx
add ebp, ecx
sub ebp, esi
add ebp, 0xffffcc90
mov word [esp + edx*2 + 0x18], bp
mov edx, 1
test al, 1
mov eax, 0
jne 0x43a340
mov esi, dword [esp + 0x18]
mov ecx, dword [0x445320]
test ecx, ecx
je 0x43a3d0
mov eax, esi
xor edx, edx
mov esi, dword [0x445324]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xcf2d66db
je 0x43a3da
inc edx
cmp ecx, edx
jne 0x43a3c0
jmp 0x43a409
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 8]
jmp 0x43a40b
mov edx, dword [esi + edx*8 + 4]
mov esi, eax
cmp edx, eax
je 0x43a40b
lea eax, [esp + 0x10]
push eax
push dword [esp + 4]
push ebp
push 1
push dword [esp + 0x48]
push dword [esp + 0x48]
push 0x18
push edx
push dword [0x445328]
call fcn.004371a0
add esp, 0x24
mov esi, eax
test esi, esi
js 0x43a5a1
mov edx, dword [esp + 0x40]
test edx, edx
je 0x43a521
test edi, edi
je 0x43a51a
mov ecx, dword [ebp + 0x10]
shr ecx, 1
mov eax, dword [edx]
cmp eax, ecx
jb 0x43a434
mov eax, ecx
test eax, eax
je 0x43a515
add dword [esp + 4], 0x14
mov ecx, eax
and ecx, 3
mov dword [esp], esi
je 0x43a49b
mov dword [esp + 0x1c], eax
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx ebp, word [eax]
xor edx, edx
test bp, bp
setne dl
lea eax, [eax + edx*2]
mov dword [esp + 4], eax
mov word [edi], bp
add edi, 2
inc esi
cmp ecx, esi
jne 0x43a460
mov eax, dword [esp + 0x1c]
mov ecx, eax
sub ecx, esi
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 8]
mov esi, dword [esp]
cmp eax, 4
jae 0x43a4b0
jmp 0x43a515
mov ecx, eax
cmp eax, 4
jb 0x43a515
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx edx, word [eax]
xor ebx, ebx
test dx, dx
setne bl
lea esi, [eax + ebx*2]
mov word [edi], dx
movzx eax, word [eax + ebx*2]
xor edx, edx
test ax, ax
setne dl
lea ebx, [esi + edx*2]
mov word [edi + 2], ax
movzx eax, word [esi + edx*2]
xor edx, edx
test ax, ax
setne dl
lea esi, [ebx + edx*2]
mov word [edi + 4], ax
movzx edx, word [ebx + edx*2]
xor eax, eax
test dx, dx
setne al
mov word [edi + 6], dx
add edi, 8
lea eax, [esi + eax*2]
mov dword [esp + 4], eax
add ecx, 0xfffffffc
jne 0x43a4b0
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
mov esi, dword [esp]
mov word [edi], 0
mov eax, dword [ebp + 0x10]
shr eax, 1
mov dword [edx], eax
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x43a52e
mov eax, dword [ebp + 4]
mov dword [ecx], eax
test ebx, ebx
je 0x43a5a1
mov dword [esp], esi
cmp dword [esp + 0x48], 0
je 0x43a599
mov ebx, dword [ebx]
mov eax, dword [ebp + 0xc]
cmp ebx, eax
jb 0x43a547
mov ebx, eax
mov esi, dword [ebp + 8]
add esi, ebp
mov ecx, ebx
shr ecx, 2
mov eax, ebx
xor eax, 3
mov edx, ebx
or edx, 0xfffffffc
and edx, eax
mov edi, dword [esp + 0x48]
add dword [esp + 0xc], edx
add edx, esi
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov eax, ebx
and eax, 3
mov ecx, eax
shr ecx, 1
mov esi, edx
mov edi, dword [esp + 0xc]
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov esi, dword [esp + 0xc]
test bl, 1
mov ebx, dword [esp + 0x4c]
je 0x43a599
movzx ecx, byte [edx + eax - 1]
mov byte [esi + eax - 1], cl
mov eax, dword [ebp + 0xc]
mov dword [ebx], eax
mov esi, dword [esp]
push ebp
call fcn.00435750
add esp, 4
mov eax, esi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret