Function at 0x1000f6e3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov edx, dword [0x1003c03c]
mov eax, ecx
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], eax
movzx eax, word [eax]
lea edi, [ebp - 0x30]
mov dword [ebp - 0xc], ecx
lea ebx, [edx - 0x31d7f51e]
push 7
pop ecx
mov esi, str.launch_failed
mov dword [ebp - 0x10], ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor esi, esi
mov dword [ebp - 8], ecx
cmp ax, word [ebp - 0x30]
jne 0x1000f753
mov edx, dword [ebp - 4]
mov eax, esi
movzx ecx, cx
mov ebx, eax
test cx, cx
je 0x1000f747
cmp word [ebp + eax - 0x30], si
je 0x1000f747
inc ebx
lea eax, [ebx + ebx]
movzx ecx, word [eax + edx]
cmp cx, word [ebp + eax - 0x30]
je 0x1000f72c
mov edx, dword [0x1003c03c]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + eax*2]
movzx eax, byte [ebp + eax*2 - 0x30]
sub ecx, eax
cmp ecx, 0x180c
jbe 0x1000f774
and edx, 0x66b56ae
jmp 0x1000f77c
mov edx, ebx
and edx, 0x717ec6cd
push 7
lea eax, [edx - 0x6eff6a97]
mov edx, esi
pop ecx
mov esi, str.corrupted_data
mov dword [ebp - 0xc], eax
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
push 0x4e
movsw word es:[edi], word [esi]
pop esi
xor edi, edi
cmp si, word [ebp - 0x34]
jne 0x1000f7d1
mov ecx, edi
test si, si
je 0x1000f7c1
cmp word [ebp + ecx - 0x34], di
je 0x1000f7c1
inc edx
lea ecx, [edx + edx]
movzx esi, word [ecx + str.Nul_byte_in_header]
cmp si, word [ebp + ecx - 0x34]
je 0x1000f7a3
cmp dword [ebp - 0x14], edx
jae 0x1000f7d1
mov ebx, eax
or ebx, 0xefdb7078
mov dword [ebp - 0x10], ebx
mov edx, eax
xor edx, 0x747f55e0
cmp word [ebp - 8], 0
je 0x1000f7e6
imul edx, eax, 0x56cb465
mov eax, edi
mov esi, str.moc.tu_morf
push 6
pop ecx
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 8]
cmp si, word [ebp - 0x2c]
jne 0x1000f851
movzx edi, si
xor ecx, ecx
mov esi, dword [ebp - 4]
xor ebx, ebx
test di, di
je 0x1000f823
cmp word [ebp + ecx - 0x2c], bx
je 0x1000f823
inc eax
lea ecx, [eax + eax]
movzx edi, word [ecx + esi]
cmp di, word [ebp + ecx - 0x2c]
je 0x1000f808
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
jmp 0x1000f84b
cmp eax, 0xbe7
jne 0x1000f844
lea edx, [edi + 0x21aac207]
add edx, 0x7826783d
inc eax
cmp eax, ecx
jb 0x1000f837
jmp 0x1000f854
mov edi, dword [ebp - 0xc]
xor eax, eax
test si, si
je 0x1000f87c
mov ecx, dword [ebp - 4]
lea ebx, [edi + 0xdb7d309]
xor esi, esi
inc eax
cmp word [ecx + eax*2], si
jne 0x1000f866
cmp eax, 0x1710
jbe 0x1000f87e
add ebx, 0x1b1da396
jmp 0x1000f884
xor esi, esi
imul ebx, ebx, 0xf53ce95
mov eax, esi
mov dword [ebp - 0x14], ebx
push 0xf
pop ecx
mov esi, str.invalid_sRGB_rendering_intent
mov dword [0x1003bf70], ebx
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 8]
cmp cx, word [ebp - 0x50]
jne 0x1000f8cd
mov ebx, dword [ebp - 4]
xor edi, edi
movzx esi, cx
mov ecx, edi
test si, si
je 0x1000f8ca
cmp word [ebp + ecx - 0x50], di
je 0x1000f8ca
inc eax
lea ecx, [eax + eax]
movzx esi, word [ecx + ebx]
cmp si, word [ebp + ecx - 0x50]
je 0x1000f8af
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + eax*2]
movzx eax, byte [ebp + eax*2 - 0x50]
sub ecx, eax
cmp ecx, 0x522
jbe 0x1000f8ed
mov eax, dword [ebp - 0xc]
add eax, 0x55588382
jmp 0x1000f8f3
imul eax, ebx, 0x3cbe39df
pop edi
xor edx, 0xedf9672b
mov dword [0x1003bf84], eax
pop esi
mov dword [0x1003c03c], edx
pop ebx
leave
ret