Function at 0x2075c740
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xdc
push ebx
push ebp
push esi
push edi
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 0x65]
mov byte [esp + 0x64], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x100]
xor eax, eax
cmp edi, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
je 0x2075ca2b
mov esi, dword [esp + 0xfc]
cmp esi, eax
je 0x2075ca2b
mov ebp, dword [esp + 0x104]
cmp ebp, eax
je 0x2075ca2b
mov ebx, dword [esp + 0x110]
lea eax, [esp + 0x64]
push ebx
push eax
push edi
call fcn.20757430
mov eax, ebx
mov ecx, ebp
and eax, 0xffff
sub ecx, eax
test ecx, ecx
jle 0x2075c7eb
mov edx, ecx
lea edi, [esp + eax + 0x64]
mov eax, 0xa5a5a5a5
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x100]
lea eax, [esp + 0x54]
push eax
push esi
call fcn.2076c3f0
lea ecx, [esp + 0x18]
lea edx, [esp + 0x9c]
mov esi, dword [esp + 0xf0]
push ecx
mov ecx, dword [esp + 0xfc]
push 0x50
lea eax, [esp + 0x5c]
push edx
push eax
push ecx
push esi
call fcn.2075ca40
cmp ax, 0x4a
je 0x2075c9c5
cmp ax, 0xa
je 0x2075c9c5
cmp ax, 4
je 0x2075c9c5
test ax, ax
jne 0x2075ca2f
cmp esi, 7
jne 0x2075c95a
cmp ebp, 4
lea eax, [esp + 0x1c]
mov ecx, ebp
jb 0x2075c891
mov dl, byte [esp + ecx + 0x98]
sub ecx, 4
mov byte [eax], dl
inc eax
mov dl, byte [esp + ecx + 0x9d]
mov byte [eax], dl
mov dl, byte [esp + ecx + 0x9e]
inc eax
mov byte [eax], dl
mov dl, byte [esp + ecx + 0x9f]
inc eax
mov byte [eax], dl
inc eax
cmp ecx, 4
jae 0x2075c85a
mov edi, dword [esp + 0x100]
mov eax, dword [esp + 0x1f]
mov ecx, dword [esp + 0x1e]
mov edx, dword [esp + 0x1d]
and eax, 0xff
shl eax, 8
and ecx, 0xff
and edx, 0xff
or eax, ecx
mov ecx, dword [esp + 0x1c]
shl eax, 8
or eax, edx
mov edx, dword [esp + 0x108]
shl eax, 8
and ecx, 0xff
or eax, ecx
lea ecx, [edx + edx]
mov dword [esp + 0x10], eax
xor ecx, eax
mov eax, dword [esp + 0x10c]
jne 0x2075c904
test eax, eax
je 0x2075c8ec
push ebx
push eax
push edi
call fcn.20757430
mov esi, dword [esp + 0x114]
test esi, esi
je 0x2075c94a
lea edx, [esp + 0x10]
push 4
push edx
lea eax, [esp + ebp + 0x68]
jmp 0x2075c92a
test eax, eax
je 0x2075c914
push ebx
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.20757430
mov esi, dword [esp + 0x114]
test esi, esi
je 0x2075c94a
lea edx, [esp + 0x10]
push 4
push edx
lea eax, [esp + ebp + 0x20]
push eax
call fcn.20757430
mov cx, word [esp + 0x12]
mov dx, word [esp + 0x10]
mov word [esp + 0x14], cx
mov word [esp + 0x16], dx
mov eax, dword [esp + 0x14]
mov dword [esi], eax
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0xdc
ret 0x28
cmp esi, 5
jne 0x2075ca2b
cmp dword [esp + 0xf4], 0x12c0216
jne 0x2075ca2b
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
shr edx, 2
cmp edx, 1
jb 0x2075c999
lea eax, [esp + edx*4 + 0x9c]
mov esi, dword [eax - 4]
sub eax, 4
mov dword [ecx], esi
add ecx, 4
dec edx
jne 0x2075c98b
mov eax, dword [esp + 0x10c]
test eax, eax
je 0x2075c9b0
push ebx
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.20757430
mov esi, dword [esp + 0x114]
test esi, esi
je 0x2075c94a
cmp ebp, 0x38
ja 0x2075c94a
jmp 0x2075c91f
mov eax, dword [esp + 0x10c]
test eax, eax
je 0x2075c9d8
push ebx
push eax
push edi
call fcn.20757430
mov esi, dword [esp + 0x114]
test esi, esi
je 0x2075c94a
cmp ebp, 0x38
ja 0x2075c94a
lea ecx, [esp + 0x10]
push 4
lea edx, [esp + ebp + 0x64]
push ecx
push edx
call fcn.20757430
pop edi
mov ax, word [esp + 0xe]
mov cx, word [esp + 0xc]
mov word [esp + 0x10], ax
mov word [esp + 0x12], cx
mov edx, dword [esp + 0x10]
xor ax, ax
mov dword [esi], edx
pop esi
pop ebp
pop ebx
add esp, 0xdc
ret 0x28
mov ax, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xdc
ret 0x28