Function at 0x10278770
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
mov eax, dword [0x1070dd84]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x28]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0x24]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov eax, dword [eax + 0x3bb8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x120], eax
xor eax, eax
mov dword [ebx], 0
push edi
mov edi, dword [ebp + 0x10]
mov dword [esi], 1
mov dword [esi + 4], 0
mov dword [ebp - 0xf8], ecx
mov ecx, dword [ebp + 0x30]
mov dword [edi], 1
mov dword [edi + 4], 0
mov dword [ebp - 0x134], edi
mov edi, dword [ebp - 0xf8]
add edi, 0xe0
mov dword [ebp - 0x148], ecx
cmp byte [ebp + 0x3c], 0x18
mov ecx, dword [ebp + 0x34]
sete al
mov dl, byte [ebp + 0x38]
mov dword [ebp - 0x10c], eax
xor eax, eax
cmp dword [ebp + 0x48], eax
mov dword [ebp - 0x14c], ecx
mov ecx, dword [ebp + 0x4c]
sete al
mov dword [ebp - 0xfc], ecx
mov ecx, dword [edi + 0x1008]
mov dword [ebp - 0x138], ebx
xor ebx, ebx
lea eax, [eax*2 + 1]
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x13c], eax
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x44]
shl eax, 2
mov dword [ebp - 0xf0], eax
mov al, byte [ebp + 0x3c]
sub al, 0xd
movzx esi, dl
mov byte [ebp - 0xd5], al
mov eax, 0xc
sub eax, dword [ebp + 0x2c]
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x144], eax
nop
imul eax, ebx, 0x538
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xf4], eax
mov edx, dword [eax + edi + 0x14]
mov ecx, dword [eax + edi + 0x18]
mov eax, dword [esi*4 + 0x1064f660]
lea eax, [edx + eax*2]
lea eax, [ecx + eax*2]
mov esi, dword [eax*4 + 0x103fa250]
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0xe8], esi
mov eax, dword [eax + ebx*4]
mov edi, eax
imul edi, dword [ebp + 0x40]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xf0]
shl edi, 2
sar edi, cl
mov ecx, edx
sar eax, cl
mov ecx, dword [ebp + 0x2c]
add edi, eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x108], ecx
add edi, dword [eax + ebx*4]
mov dword [ebp - 0xdc], edi
nop word [eax + eax]
cmp byte [ebp - 0xd5], 0xb
ja 0x10278bb6
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x160], 0
mov eax, dword [eax + 0x10b0]
mov eax, dword [eax]
add eax, dword [ebp - 0x144]
mov eax, dword [eax + ecx]
mov ecx, dword [ecx]
mov dword [ebp - 0x11c], eax
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + ebx*4 - 0x1c]
mov dword [ebp - 0x15c], eax
test ebx, ebx
je 0x1027899d
mov eax, dword [ecx + 4]
mov dword [ebp - 0x158], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x154], eax
mov eax, dword [ecx + 0x24]
jmp 0x102789b1
mov eax, dword [ecx]
mov dword [ebp - 0x158], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x154], eax
mov eax, dword [ecx + 0x20]
mov ebx, dword [ebp - 0xe0]
mov dword [ebp - 0x104], eax
movups xmm0, xmmword [ebp - 0x160]
mov dword [ebp - 0x158], 0
mov eax, dword [ebx + 0x1008]
mov dword [ebp - 0x168], 3
mov edx, dword [eax + 0x8c]
mov eax, dword [ebp - 0xf4]
shr edx, 3
and edx, 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x44], edx
mov edx, 0x120
mov esi, dword [eax + ebx + 0x18]
mov edi, dword [eax + ebx + 0x14]
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0xd4], 0
movzx ecx, byte [eax + 0x1064f5a8]
movzx eax, byte [eax + 0x1064f590]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x40]
shl eax, 2
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x74], ecx
mov ecx, esi
sar eax, cl
mov ecx, edi
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xf0]
sar eax, cl
mov ecx, esi
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x1a78]
xor ebx, ebx
sar edx, cl
mov ecx, edi
mov dword [ebp - 0x48], eax
mov eax, 0x1000
shl edx, 0xa
sub eax, edx
mov edx, 0x120
mov dword [ebp - 0x30], eax
mov eax, 0x1000
sar edx, cl
mov ecx, 0x1064f500
shl edx, 0xa
sub eax, edx
cmp dword [ebp - 0x78], 4
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0x2c], eax
mov eax, 0x1064f180
cmovbe eax, ecx
cmp dword [ebp - 0x178], 4
mov dword [ebp - 0x80], eax
mov eax, 0x1064f180
cmovbe eax, ecx
mov esi, dword [edx + 0x2b84]
cmp byte [ebp + 0x3c], 0x18
mov dword [ebp - 0x7c], eax
mov eax, dword [edx + 0x1000]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x58], eax
mov eax, 1
cmove ebx, eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x15c], eax
xor eax, eax
mov dword [ebp - 0xd0], ebx
mov ebx, dword [ebp + 0x3c]
cmp bl, 0x18
movups xmmword [ebp - 0x68], xmm0
setne al
xor ecx, ecx
cmp bl, 0x18
setne cl
lea eax, [eax*4 + 7]
mov dword [ebp - 0x164], eax
lea ecx, [ecx*4 + 7]
mov edx, dword [edx + 0x1a78]
add edx, 6
cmp edx, 0x10
jle 0x10278b37
lea eax, [edx - 0xd]
mov dword [ebp - 0x168], eax
cmp bl, 0x18
je 0x10278b37
sub ecx, edx
add ecx, 0x10
mov dword [ebp - 0x164], ecx
mov eax, dword [ebp - 0xe4]
mov ebx, dword [ebp - 0x100]
mov edi, dword [ebp - 0xdc]
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0xd4]
mov dword [ebp - 0x170], esi
mov dword [ebp - 0x16c], 0x80
movups xmm0, xmmword [ebp - 0x174]
push eax
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x160], ebx
movups xmmword [ebp - 0xa8], xmm0
push eax
movups xmm0, xmmword [ebp - 0x164]
push dword [ebp - 0xec]
movups xmmword [ebp - 0x98], xmm0
push edi
movq xmm0, qword [ebp - 0x154]
movq qword [ebp - 0x88], xmm0
call fcn.1026bdc0
mov esi, dword [ebp - 0xe8]
add esp, 0x10
jmp 0x10278c02
mov eax, dword [ebp - 0xec]
push ebx
push 0
push 0
push eax
mov ecx, dword [ebp - 0x120]
push edi
push eax
movzx eax, byte [esi + 0x1064f5f0]
push edi
push 5
push 0
push 0
push dword [ebp + 0x3c]
push eax
movzx eax, byte [esi + 0x1064f5a8]
push eax
movzx eax, byte [esi + 0x1064f590]
push eax
movzx eax, byte [ecx + 0x3d]
push eax
push dword [ecx + 0x1c]
push dword [ebp - 0xe0]
call fcn.1018f120
add esp, 0x44
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0x108]
inc eax
mov edx, dword [ebp - 0x10c]
add ecx, 4
mov edi, dword [ebp - 0xdc]
inc edx
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x108], ecx
cmp eax, edx
jl 0x10278930
mov ecx, dword [ebp - 0xe8]
lea eax, [ebp - 0x180]
push eax
mov esi, dword [ebp + ebx*4 - 0x10]
lea eax, [ebp - 0x118]
push eax
movzx edx, byte [ecx + 0x1064f590]
lea eax, [ebp - 0xdc]
push eax
movzx eax, byte [ecx + 0x1064f5f0]
push eax
movzx eax, byte [ecx + 0x1064f5a8]
push eax
mov eax, dword [ebp - 0xf4]
push edx
push dword [ebp - 0x124]
mov dword [ebp - 0xdc], 1
push dword [ebp - 0x128]
mov dword [ebp - 0x118], 1
push dword [ebp - 0x110]
mov dword [ebp - 0x114], 0
push dword [ebp - 0xec]
push edi
mov edi, dword [ebp - 0xe0]
push esi
imul esi, dword [ebp + 0x40]
mov ecx, dword [eax + edi + 0x18]
mov eax, dword [ebp - 0xf0]
shl esi, 2
sar esi, cl
mov ecx, dword [ebp - 0xf4]
add esi, dword [ebp + ebx*4 - 0x28]
mov ecx, dword [ecx + edi + 0x14]
sar eax, cl
add esi, eax
push esi
push edx
push dword [ebp - 0x12c]
push dword [ebp - 0xf8]
call fcn.1027c750
add esp, 0x40
test ebx, ebx
jne 0x10278d50
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x10278d50
xor esi, esi
cmp dword [eax + 0x100c], esi
jle 0x10278d4a
movsd xmm1, qword [0x104798d8]
mov ebx, eax
lea ecx, [ebx + 8]
nop
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + esi*4]
inc esi
cdq
xor eax, edx
sub eax, edx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
addsd xmm0, qword [ecx]
movsd qword [ecx], xmm0
add ecx, 8
cmp esi, dword [ebx + 0x100c]
jl 0x10278d10
mov ebx, dword [ebp - 0x100]
mov eax, dword [ebp - 0xfc]
inc dword [eax + 0x1008]
mov ecx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x118]
mov esi, dword [ebp - 0x140]
add dword [ecx], eax
mov eax, dword [ebp - 0x114]
adc dword [ecx + 4], eax
mov ecx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x180]
add dword [ecx], eax
mov eax, dword [ebp - 0x17c]
adc dword [ecx + 4], eax
inc ebx
mov ecx, dword [ebp - 0x138]
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x100], ebx
add dword [ecx], eax
cmp ebx, dword [ebp - 0x13c]
jl 0x102788b0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10398bef
mov esp, ebp
pop ebp
ret