Function at 0x43cb90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov byte [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0x5c5d5e5f
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0x10
ja 0x43cc18
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
movzx edx, byte [esp + eax + 0x20]
lea eax, [ecx + edx]
add eax, 0x8077de74
add ecx, 0x8077de74
and ecx, edx
add ecx, ecx
sub eax, ecx
add al, 0xd4
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 0x20], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 0x11
jb 0x43cbe0
mov esi, dword [esp + 0x20]
mov eax, dword [0x44c0b0]
test eax, eax
je 0x43cc6c
xor ecx, ecx
mov edx, dword [0x44c0b4]
nop
nop
nop
cmp dword [edx + ecx*8], 0x542c2d52
je 0x43cc40
inc ecx
cmp eax, ecx
jne 0x43cc30
jmp 0x43cc6c
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43cc6c
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x44c0b8]
push eax
call fcn.00439090
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x43cef4
push dword [esp + 0x18]
call fcn.00436b20
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0x5c5d5e5f
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0xc]
cmp ecx, 0x10
ja 0x43ccfa
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
movzx esi, byte [esp + ecx + 0x20]
lea ecx, [edx + esi]
add ecx, 0x8077de74
add edx, 0x8077de74
and edx, esi
add edx, edx
sub ecx, edx
add cl, 0xd4
mov edx, dword [esp + 0xc]
mov byte [esp + edx + 0x20], cl
inc dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
cmp ecx, 0x11
jb 0x43ccc0
mov esi, dword [esp + 0x20]
mov ecx, dword [0x44c0b0]
test ecx, ecx
je 0x43cd5e
mov edi, esi
xor edx, edx
mov esi, dword [0x44c0b4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x542c2d52
je 0x43cd32
inc edx
cmp ecx, edx
jne 0x43cd20
mov esi, edi
jmp 0x43cd5e
mov ecx, dword [esi + edx*8 + 4]
mov esi, edi
cmp ecx, edi
je 0x43cd5e
lea edx, [esp + 0x18]
push edx
push eax
push ebx
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x44c0b8]
push ecx
call fcn.00439090
add esp, 0x24
mov esi, eax
test esi, esi
js 0x43ceeb
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
test edi, edi
mov dword [esp + 0x1c], esi
je 0x43ce4c
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x43ce45
mov eax, dword [ebx + 0x10]
shr eax, 1
mov edi, dword [edi]
cmp edi, eax
jb 0x43cd90
mov edi, eax
test edi, edi
je 0x43ce39
mov dword [esp + 0x10], ebx
mov esi, ebx
add esi, 0x14
mov eax, edi
and eax, 3
mov dword [esp + 0x14], edi
je 0x43cdc8
nop
nop
nop
nop
dec edi
movzx ecx, word [esi]
xor ebx, ebx
test cx, cx
setne bl
lea esi, [esi + ebx*2]
mov word [edx], cx
add edx, 2
dec eax
jne 0x43cdb0
cmp dword [esp + 0x14], 4
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebp + 0x18]
jb 0x43ce39
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, word [esi]
xor ecx, ecx
test ax, ax
setne cl
mov word [edx], ax
lea eax, [esi + ecx*2]
movzx ecx, word [esi + ecx*2]
xor ebx, ebx
test cx, cx
setne bl
mov word [edx + 2], cx
lea ecx, [eax + ebx*2]
movzx eax, word [eax + ebx*2]
xor ebx, ebx
test ax, ax
setne bl
mov word [edx + 4], ax
lea eax, [ecx + ebx*2]
movzx ecx, word [ecx + ebx*2]
xor ebx, ebx
test cx, cx
setne bl
lea esi, [eax + ebx*2]
mov word [edx + 6], cx
add edx, 8
add edi, 0xfffffffc
jne 0x43cde0
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebp + 0x18]
mov word [edx], 0
mov esi, dword [esp + 0x1c]
mov edi, dword [ebp + 0x14]
mov eax, dword [ebx + 0x10]
shr eax, 1
mov dword [edi], eax
mov edi, dword [ebp + 0x20]
test ecx, ecx
je 0x43ce58
mov eax, dword [ebx + 4]
mov dword [ecx], eax
test edi, edi
je 0x43ceeb
mov dword [esp + 0x10], ebx
cmp dword [ebp + 0x1c], 0
je 0x43cede
mov ebx, dword [edi]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
cmp ebx, ecx
jb 0x43ce79
mov ebx, ecx
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 8]
add esi, eax
mov ecx, ebx
shr ecx, 2
mov edx, ebx
and edx, 0xfffffffc
mov eax, dword [ebp + 0x1c]
mov edi, eax
add eax, edx
add edx, esi
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov esi, ebx
and esi, 3
mov ecx, esi
shr ecx, 1
mov edi, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x48], eax
mov edi, eax
mov eax, dword [esp + 0x14]
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
test bl, 1
mov edi, dword [ebp + 0x20]
je 0x43cede
mov ecx, ebx
not ecx
or ecx, 0xfffffffe
add ecx, esi
xor esi, 1
or ebx, 2
and ebx, esi
movzx ecx, byte [edx + ecx + 1]
mov eax, dword [esp + 0x48]
mov byte [eax + ebx], cl
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0xc]
mov dword [edi], eax
mov esi, dword [esp + 0x1c]
push ebx
call fcn.00436be0
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret