Function at 0x445540
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x240
mov ebx, dword [esp + 0x260]
mov dword [esp + 0x3b], 0xe48040
mov dword [esp + 0x38], 0x4010ec83
mov dword [esp + 0x34], 0x48e78948
mov dword [esp + 0x30], 0xce8948fc
mov dword [esp + 0x23], 0xc3fc8948
mov dword [esp + 0x20], 0x48d2ff41
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0xfffffff1
mov dword [esp + 0x14], 0xba49c031
lea edi, [esp + 0x40]
lea eax, [esp + 0x30]
mov ecx, 3
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [esp + 0x4c]
lea eax, [esp + 0x3c]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
movzx eax, byte [esp + 0x3e]
mov byte [esp + 0x4e], al
mov esi, ebx
cmp ebx, 4
jb 0x4455d1
mov esi, 4
lea edx, [esp + 0x4f]
test ebx, ebx
je 0x445793
xor ebp, ebp
jmp 0x44561a
mov eax, 0x44a575
mov ecx, 1
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
add edx, 4
mov eax, 0x44a579
mov edi, edx
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
inc ebp
cmp esi, ebp
je 0x445699
cmp ebp, 3
ja case.default.0x44561f
jmp dword [ebp*4 + 0x449d90]
mov eax, 0x44a57a
mov edi, edx
xor ecx, ecx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, 0x44a57a
mov edi, edx
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov byte [edx + 2], 0xe
add edx, 3
jmp case.default.0x44561f
mov eax, 0x44a570
mov ecx, 1
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
add edx, 4
mov eax, 0x44a574
mov edi, edx
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
jmp case.default.0x44561f
mov eax, 0x44a57e
mov ecx, 1
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
add edx, 4
mov eax, 0x44a582
mov edi, edx
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
jmp case.default.0x44561f
cmp ebx, 3
jbe 0x445793
test bl, 1
je 0x4456ca
mov eax, 0x44a587
mov esi, 0x44a587
mov edi, edx
xor ecx, ecx
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov edi, edx
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
add edx, 2
mov word [esp + 4], 0x50
mov dword [esp], 0x20468b48
mov byte [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000000
mov dword [esp + 8], 0x80868b48
mov eax, ebx
and eax, 8
mov ecx, ebx
or ecx, 8
imul ecx, eax
xor eax, 8
mov esi, ebx
and esi, 0xfffffff7
imul esi, eax
add ecx, esi
cmp ecx, 0x7fffffff
jae 0x4459f9
lea esi, [ebx - 1]
cmp esi, 4
jb 0x445793
lea ebx, [ebx*8 - 8]
lea eax, [esp + 8]
jmp 0x44575e
mov dword [esp + 0xb], ebx
mov ebp, eax
mov edi, edx
mov ecx, 2
xchg esi, ebp
rep movsd dword es:[edi], dword [esi]
xchg esi, ebp
add edx, 8
lea ebp, [esp + 0x10]
xor ecx, ecx
mov edi, edx
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
dec esi
add ebx, 0xfffffff8
cmp esi, 3
jbe 0x445793
cmp ebx, 0x7e
ja 0x445730
mov byte [esp + 3], bl
mov ebp, esp
mov edi, edx
mov ecx, 1
xchg esi, ebp
rep movsd dword es:[edi], dword [esi]
xchg esi, ebp
lea edi, [edx + 4]
lea ebp, [esp + 4]
xor ecx, ecx
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
movzx ecx, byte [esp + 4]
mov byte [edx + 4], cl
add edx, 5
jmp 0x445755
mov ebx, dword [esp + 0x258]
mov eax, dword [esp + 0x254]
mov esi, 0x44a56b
mov edi, edx
mov ecx, 1
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea esi, [edx + 4]
mov ebp, 0x44a56f
mov edi, esi
xor ecx, ecx
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
mov dword [esp + 0x1c], ebx
mov ebp, dword [esp + 0x25c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
mov edi, esi
mov ecx, 4
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [edx + 0x14]
lea eax, [esp + 0x24]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
movzx eax, byte [esp + 0x26]
mov byte [edx + 0x16], al
lea ecx, [esp + 0x40]
mov eax, ecx
neg eax
lea edi, [edx + eax]
add edi, 0x17
sub edx, ecx
mov dword [esp], 0
add edx, 0x70
mov dword [esp + 0x2c], edx
mov dword [esp + 8], 0x14151a1b
mov word [esp + 0xc], 0
mov eax, 0x86
mov ecx, 0x79
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x7e]
mov esi, ecx
or esi, edx
not edx
or edx, eax
and edx, esi
mov bl, 0x61
sub bl, dl
mov byte [esp + eax - 0x7e], bl
inc eax
dec ecx
cmp eax, 0x8c
jne 0x445840
mov eax, dword [esp + 8]
mov ecx, dword [0x452e1c]
test ecx, ecx
je 0x4458bc
xor edx, edx
mov esi, dword [0x452e20]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xf3285e74
je 0x445890
inc edx
cmp ecx, edx
jne 0x445880
jmp 0x4458bc
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x4458bc
lea eax, [esp + 0x2c]
mov edx, esp
push 0x40
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x452e24]
push ecx
call fcn.00443a10
add esp, 0x24
test eax, eax
js 0x4459c0
mov ebx, edi
mov eax, dword [esp]
mov edx, 0x449d35
mov edi, eax
mov ecx, 0x16
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [eax + 0x58]
mov edx, 0x449d8d
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov byte [eax + 0x58], 0x24
mov eax, dword [esp]
lea edi, [eax + 0x59]
mov ecx, ebx
shr ecx, 2
lea edx, [esp + 0x40]
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, ebx
and ecx, 0xfffffffc
add eax, ecx
add eax, 0x59
lea edx, [esp + ecx]
add edx, 0x40
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov esi, edx
mov edi, eax
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
test bl, 1
je 0x445936
and ebx, 2
movzx ecx, byte [edx + ebx]
mov byte [eax + ebx], cl
mov eax, dword [esp]
lea ecx, [eax + 0x59]
push ebp
push ecx
call eax
mov dword [esp + 0x28], 0
mov dword [esp + 8], 0x14151a1b
mov word [esp + 0xc], 0
mov ebp, 0x86
mov esi, 0x79
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + ebp - 0x7e]
mov edi, esi
or edi, ebx
not ebx
or ebx, ebp
and ebx, edi
mov cl, 0x61
sub cl, bl
mov byte [esp + ebp - 0x7e], cl
inc ebp
dec esi
cmp ebp, 0x8c
jne 0x445970
mov ecx, dword [0x452e1c]
test ecx, ecx
je 0x445a03
mov esi, dword [esp + 8]
xor edi, edi
mov ebx, dword [0x452e20]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x731cdbf3
je 0x4459c7
inc edi
cmp ecx, edi
jne 0x4459b0
jmp 0x445a03
mov edx, eax
sar edx, 0x1f
jmp 0x445a03
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, esi
je 0x445a03
lea esi, [esp + 0x28]
mov edi, esp
push 0x8000
push esi
push edi
push 0xffffffffffffffff
push 4
push dword [0x452e24]
push ecx
mov esi, eax
mov edi, edx
call fcn.00443a10
mov edx, edi
mov eax, esi
add esp, 0x1c
jmp 0x445a03
mov eax, 0xffffffff
mov edx, 0xffffffff
add esp, 0x240
pop esi
pop edi
pop ebx
pop ebp
ret 0x10