Function at 0x43ca30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov dword [esp + 0x10], 0x32353437
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1b], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xe
ja 0x43cab5
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax - 0x25adae87]
add eax, 0x79
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
mov ecx, eax
or ecx, 0xb0
and eax, 0xb0
add eax, ecx
inc al
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xf
jb 0x43ca70
mov esi, dword [esp + 0x10]
mov eax, dword [0x448868]
test eax, eax
je 0x43cb0c
xor ecx, ecx
mov edx, dword [0x44886c]
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x77defcd
je 0x43cae0
inc ecx
cmp eax, ecx
jne 0x43cad0
jmp 0x43cb0c
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43cb0c
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x448870]
push eax
call fcn.00439850
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x43cd22
push dword [esp + 8]
call fcn.00437d30
add esp, 4
mov edi, eax
mov eax, dword [esp + 8]
mov dword [esp + 0x10], 0x32353437
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1b], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0xe
ja 0x43cba6
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x10]
lea esi, [ecx - 0x25adae87]
add ecx, 0x79
and ecx, edx
or esi, edx
sub esi, ecx
mov dword [esp + 0xc], esi
mov ecx, dword [esp + 0xc]
mov edx, ecx
or edx, 0xb0
and ecx, 0xb0
add ecx, edx
inc cl
mov edx, dword [esp]
mov byte [esp + edx + 0x10], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0xf
jb 0x43cb60
mov edx, dword [ebp + 0x14]
mov esi, dword [esp + 0x10]
mov ecx, dword [0x448868]
test ecx, ecx
je 0x43cc24
mov dword [esp + 4], eax
mov eax, esi
xor edx, edx
mov esi, dword [0x44886c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x77defcd
je 0x43cbef
mov ebx, edx
and ebx, 1
xor edx, 1
lea edx, [edx + ebx*2]
cmp edx, ecx
jb 0x43cbd0
mov esi, eax
mov edx, dword [ebp + 0x14]
jmp 0x43cc24
mov ecx, dword [esi + edx*8 + 4]
mov esi, eax
cmp ecx, eax
mov edx, dword [ebp + 0x14]
je 0x43cc24
lea edx, [esp + 8]
push edx
push dword [esp + 8]
push edi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x448870]
push ecx
call fcn.00439850
mov edx, dword [ebp + 0x14]
add esp, 0x24
mov esi, eax
test edx, edx
je 0x43cd19
test esi, esi
js 0x43cd19
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x43cd12
mov ecx, dword [edi + 0xc]
shr ecx, 1
mov ebx, dword [edx]
cmp ebx, ecx
jb 0x43cc4c
mov ebx, ecx
test ebx, ebx
je 0x43cd0a
mov dword [esp + 4], edi
mov ecx, edi
add ecx, 0x10
mov edi, ebx
and edi, 3
mov dword [esp + 0x24], esi
je 0x43cca0
mov dword [esp + 0x28], ebx
xor esi, esi
nop
nop
movzx ebx, word [ecx]
xor edx, edx
test bx, bx
setne dl
lea ecx, [ecx + edx*2]
mov word [eax], bx
add eax, 2
inc esi
cmp edi, esi
jne 0x43cc70
mov ebx, dword [esp + 0x28]
mov edx, ebx
sub edx, esi
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x24]
cmp ebx, 4
jae 0x43ccb0
jmp 0x43cd0a
mov edx, ebx
mov edi, dword [esp + 4]
cmp ebx, 4
jb 0x43cd0a
nop
nop
nop
nop
nop
movzx esi, word [ecx]
xor ebx, ebx
test si, si
setne bl
mov word [eax], si
lea esi, [ecx + ebx*2]
movzx ecx, word [ecx + ebx*2]
xor ebx, ebx
test cx, cx
setne bl
mov word [eax + 2], cx
lea ecx, [esi + ebx*2]
movzx esi, word [esi + ebx*2]
xor ebx, ebx
test si, si
setne bl
mov word [eax + 4], si
lea esi, [ecx + ebx*2]
movzx edi, word [ecx + ebx*2]
xor ecx, ecx
test di, di
setne cl
lea ecx, [esi + ecx*2]
mov word [eax + 6], di
add eax, 8
add edx, 0xfffffffc
jne 0x43ccb0
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x24]
mov word [eax], 0
mov edx, dword [ebp + 0x14]
mov eax, dword [edi + 0xc]
shr eax, 1
mov dword [edx], eax
push edi
call fcn.00437dc0
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret