Function at 0x1000e65b
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, ecx
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x1000e940
mov ecx, 0x8e
mov dword [ebp - 0x2c], 0x5a2
push ebx
xor ebx, ebx
mov dword [ebp - 0x34], ecx
mov eax, ebx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], 0x6a5
mov dword [ebp - 0x24], 0x1e24
mov dword [ebp - 0x20], ecx
cmp eax, 5
je 0x1000e6a4
inc eax
cmp eax, 6
jl 0x1000e699
mov eax, dword [ebp + eax*4 - 0x34]
mov edx, str.IID_IAdviseSink
push esi
xor eax, 0x8f
mov dword [ebp - 0x1c], 0xecd24409
push edi
mov dword [ebp - 0x40], eax
lea edi, [ebp - 0x58]
mov eax, dword [0x1003e864]
mov esi, str.._AVwxStackWalkerBase__
add eax, 0x36e0d648
mov dword [ebp - 0x18], 0x15581f6c
push 6
pop ecx
mov dword [ebp - 0xc], eax
mov dword [0x1003e864], eax
mov eax, dword [0x1003e960]
rep movsd dword es:[edi], dword [esi]
push eax
push str.._AVwxMBConvUTF16BE__
mov ecx, str.2C3K3P3U3_3m3v3
mov dword [ebp - 4], eax
call fcn.1000cbf3
mov esi, str.TIFFComputeStrip
lea edi, [ebp - 0x30]
pop ecx
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
cmp byte [ebp - 0x30], 0x49
jne 0x1000e744
mov esi, dword [ebp - 0xc]
mov cl, 0x49
mov edi, dword [ebp - 4]
mov eax, ebx
mov dword [ebp - 8], ebx
test cl, cl
je 0x1000e744
cmp byte [ebp + eax - 0x30], bl
je 0x1000e744
push esi
push edi
call fcn.1000db93
mov eax, dword [ebp - 8]
inc eax
pop ecx
pop ecx
mov dword [ebp - 8], eax
mov cl, byte [eax + str.IID_IAdviseSink]
cmp cl, byte [ebp + eax - 0x30]
je 0x1000e71e
mov eax, ebx
mov dword [ebp - 8], eax
cmp byte [0x1003e94c], al
je 0x1000e771
mov esi, dword [ebp - 4]
add esi, 0x3494bfd3
mov dword [ebp - 0xc], esi
mov dword [0x1003e864], esi
inc eax
cmp byte [eax + 0x1003e94c], bl
jne 0x1000e763
mov dword [ebp - 8], eax
jmp 0x1000e774
mov esi, dword [ebp - 0xc]
call fcn.1000cd19
cmp dword [ebp - 8], 0x1a07
jne 0x1000e793
or esi, 0xc5efff48
mov dword [ebp - 0xc], esi
mov dword [0x1003e864], esi
jmp 0x1000e7bb
mov edi, esi
mov edx, str.IID_IAdviseSink
or edi, 0xb4401a0a
mov ecx, str.._AVwxMBConvUTF16BE__
push esi
push str.Hungarian
mov dword [ebp - 4], edi
mov dword [0x1003e960], edi
call fcn.1000cbf3
pop ecx
pop ecx
mov eax, ebx
mov byte [ebp + eax - 0x158], al
inc eax
cmp eax, 0x100
jb 0x1000e7bd
mov edi, ebx
mov esi, ebx
xor edx, edx
mov bl, byte [ebp + edi - 0x158]
push 0x17
mov eax, edi
pop ecx
div ecx
movzx ecx, bl
movzx eax, byte [ebp + edx - 0x58]
add eax, esi
add ecx, eax
movzx esi, cl
mov al, byte [ebp + esi - 0x158]
mov byte [ebp + edi - 0x158], al
inc edi
mov byte [ebp + esi - 0x158], bl
cmp edi, 0x100
jb 0x1000e7d0
mov esi, dword [ebp - 0xc]
xor ebx, ebx
mov edi, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
cmp byte [0x1003e94c], 0
mov eax, ebx
je 0x1000e889
and esi, 0xd40c9e7e
inc eax
cmp byte [eax + 0x1003e94c], 0
jne 0x1000e829
mov dword [0x1003e864], esi
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], eax
jae 0x1000e889
mov ebx, dword [ebp - 0xc]
imul eax, esi, 0xf7aee3e2
mov dword [ebp - 0x38], eax
push esi
push esi
call fcn.1000db93
mov eax, dword [ebp - 4]
pop ecx
pop ecx
cmp eax, 0x378
jne 0x1000e878
or edi, 0xa906fa07
push esi
push edi
call fcn.1000db93
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov edi, dword [ebp - 0x38]
inc eax
mov dword [ebp - 4], eax
cmp eax, ebx
jb 0x1000e853
mov dword [0x1003e960], edi
mov eax, dword [ebp - 0x10]
inc eax
movzx eax, al
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
push 0
mov cl, byte [ebp + eax - 0x158]
mov eax, dword [ebp - 8]
movzx edx, cl
add eax, edx
movzx eax, al
mov dword [ebp - 8], eax
mov al, byte [ebp + eax - 0x158]
mov byte [ebp + ebx - 0x158], al
mov eax, dword [ebp - 8]
mov byte [ebp + eax - 0x158], cl
mov eax, ebx
mov ecx, dword [ebp - 0x14]
pop ebx
movzx eax, byte [ebp + eax - 0x158]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x158]
xor al, byte [ebp + ecx - 0x1c]
mov byte [ebp + ecx - 0x28], al
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, 8
jb 0x1000e81e
pop edi
mov byte [ebp - 0x20], bl
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], 0x421
mov dword [ebp - 0x50], 0x2685
mov dword [ebp - 0x4c], 0x1ab5
mov dword [ebp - 0x48], 0x1894
mov dword [ebp - 0x44], ebx
pop esi
test ebx, ebx
je 0x1000e925
inc ebx
cmp ebx, 6
jl 0x1000e91b
push dword [ebp - 0x3c]
push dword [ebp + ebx*4 - 0x58]
call fcn.1000e08d
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x28]
push eax
call fcn.1001834c
call eax
pop ebx
leave
ret