Function at 0x43c6f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx], 0
lea ecx, [ecx + 2]
jne 0x43c710
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x2c], cx
add ecx, 2
mov word [esp + 0x2e], cx
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], 0xa0a1aeaf
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x24], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xc
ja 0x43c7ad
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x18]
lea edx, [eax - 0x3c286e3a]
add eax, 0xc6
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
add al, 0x96
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xd
jb 0x43c770
mov esi, dword [esp + 0x18]
mov eax, dword [0x44769c]
test eax, eax
je 0x43c80e
xor ecx, ecx
mov edx, dword [0x4476a0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x36e97270
je 0x43c7e0
inc ecx
cmp eax, ecx
jne 0x43c7d0
jmp 0x43c80e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43c80e
lea ecx, [esp + 0x10]
lea edx, [esp + 0x2c]
push ecx
push 0
push 0
push 2
push edx
push dword [ebp + 8]
push 6
push dword [0x4476a4]
push eax
call fcn.00438e70
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x43c9d8
push dword [esp + 0x10]
call fcn.00436dc0
add esp, 4
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x18], 0xa0a1aeaf
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x24], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0xc
ja 0x43c89f
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x18]
lea esi, [ecx - 0x3c286e3a]
add ecx, 0xc6
and ecx, edx
or esi, edx
sub esi, ecx
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x14]
add cl, 0x96
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x18], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0xd
jb 0x43c860
mov esi, dword [esp + 0x18]
mov ecx, dword [0x44769c]
test ecx, ecx
je 0x43c903
mov eax, edi
xor edx, edx
mov edi, dword [0x4476a0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x36e97270
je 0x43c8d2
inc edx
cmp ecx, edx
jne 0x43c8c0
mov edi, eax
jmp 0x43c903
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
mov edi, eax
je 0x43c903
lea edx, [esp + 0x10]
lea esi, [esp + 0x2c]
push edx
push ebx
push dword [esp + 0x10]
push 2
push esi
push dword [ebp + 8]
push 6
push dword [0x4476a4]
push ecx
call fcn.00438e70
add esp, 0x24
mov esi, eax
test esi, esi
mov ebx, dword [ebp + 0x14]
mov edx, dword [esp + 8]
js 0x43c9cf
test edi, edi
je 0x43c91b
mov eax, dword [edx + 4]
mov dword [edi], eax
cmp dword [ebp + 0x18], 0
je 0x43c9cf
test ebx, ebx
je 0x43c9c7
mov edi, ebx
mov eax, dword [ebp + 0x18]
mov ebx, dword [eax]
mov ecx, dword [edx + 8]
cmp ebx, ecx
jb 0x43c93d
mov ebx, ecx
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 8]
add eax, 0xc
mov ecx, ebx
shr ecx, 2
mov edx, edi
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov ecx, ebx
and ecx, 0xfffffffc
add edx, ecx
mov eax, dword [esp + 8]
lea edi, [eax + ecx]
add edi, 0xc
mov eax, ebx
and eax, 3
mov ecx, eax
shr ecx, 1
mov dword [esp + 0xc], edi
mov dword [esp + 0x38], edi
mov edi, edx
mov ebx, dword [esp + 0x38]
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov ebx, dword [esp + 0x34]
mov edi, edx
mov edx, dword [esp + 8]
mov ecx, ebx
xor ecx, 2
and ecx, eax
je 0x43c9c7
and ebx, 2
mov eax, dword [esp + 0xc]
movzx eax, byte [eax + ebx]
mov byte [edi + ebx], al
cmp ecx, 1
je 0x43c9c7
mov eax, dword [esp + 0xc]
movzx eax, byte [eax + ebx + 1]
mov byte [edi + ebx + 1], al
cmp ecx, 2
je 0x43c9c7
mov eax, dword [esp + 0xc]
movzx eax, byte [eax + ebx + 2]
mov byte [edi + ebx + 2], al
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
push edx
call fcn.00436e70
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret