Function at 0x10117ee0
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xd8
push ebx
push esi
push edi
xor edi, edi
lea eax, [esp + 0xa4]
push 0x40
mov ebx, ecx
mov dword [esp + 0x60], edi
push edi
xor esi, esi
mov dword [esp + 0x50], ebx
push eax
mov dword [esp + 0x64], esi
call fcn.101dfee0
movss xmm0, dword [ebx + 0x248e4]
add esp, 0xc
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x1039c168]
cvttsd2si ecx, xmm0
cmp ecx, 0xa
jge 0x10117f34
mov dword [esp + 0x18], 0x96
jmp 0x10117f54
cmp ecx, 0xc
jle 0x10117f43
mov dword [esp + 0x18], 0x14
jmp 0x10117f54
mov eax, 0xe
sub eax, ecx
lea ecx, [eax + eax*4]
shl ecx, 2
mov dword [esp + 0x18], ecx
movss xmm0, dword [ebx + 0x248e0]
ucomiss xmm0, dword [0x1039bf00]
lahf
test ah, 0x44
jnp 0x10117f71
mov dword [esp + 0x18], 0x50
movzx eax, word [ebx + 0x14]
sub eax, 0xe
mov dword [esp + 0x4c], eax
cmp eax, 0xe
jle 0x1011838d
movzx eax, word [ebx + 0x16]
mov edx, 0x10
mov ecx, dword [esp + 0x4c]
push ebp
mov ebp, 0x40
mov dword [esp + 0x8c], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], ebp
nop word [eax + eax]
mov edi, 0xa
mov dword [esp + 0x48], edi
cmp eax, edi
jbe 0x10118367
mov eax, dword [ebx + 8]
lea esi, [edx - 2]
movzx ecx, word [ebx + 0x492bc]
sar esi, cl
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x188]
mov dword [esp + 0x10], eax
lea eax, [ebp - 8]
and eax, 0x1c
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
movzx eax, word [ebx + 0x1e]
mov ebx, ecx
imul esi, eax
lea ecx, [ebp - 4]
and ecx, 0x1c
mov dword [esp + 0x24], 0x14
mov dword [esp + 0x34], ecx
mov ecx, ebx
mov dword [esp + 0x30], esi
lea esi, [edx - 1]
sar esi, cl
mov ecx, ebp
imul esi, eax
and ecx, 0x1c
mov dword [esp + 0x3c], ecx
mov ecx, ebx
mov dword [esp + 0x38], esi
mov esi, edx
sar esi, cl
inc edx
lea ecx, [ebp + 4]
imul esi, eax
and ecx, 0x1c
mov dword [esp + 0x44], ecx
mov ecx, ebx
sar edx, cl
imul edx, eax
mov eax, 0xffffffee
mov dword [esp + 0x40], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x88], edx
mov ecx, dword [esp + 0x2c]
lea ebp, [eax - 2]
mov edx, dword [esp + 0x10]
and ebp, 2
mov eax, dword [esp + 0x30]
or ecx, ebp
shr edx, cl
mov esi, edi
and edx, 3
mov ecx, ebx
sar esi, cl
mov ebx, 0xfffffffe
mov ecx, dword [esp + 0x14]
add eax, esi
sub ebx, dword [esp + 0x24]
and ebx, 2
mov dword [esp + 0x84], esi
lea eax, [edx + eax*4]
movzx eax, word [ecx + eax*2]
mov dword [esp + edx*4 + 0x64], eax
lea eax, [edi + 1]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
or ecx, ebx
shr edx, cl
mov ecx, dword [esp + 0x28]
and edx, 3
sar eax, cl
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x18], eax
add edi, 0xfffffffe
add eax, dword [esp + 0x30]
and edi, 2
lea eax, [edx + eax*4]
movzx eax, word [ecx + eax*2]
mov ecx, dword [esp + 0x34]
mov dword [esp + edx*4 + 0x64], eax
or ecx, edi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
shr edx, cl
add eax, esi
mov ecx, dword [esp + 0x14]
and edx, 3
mov esi, dword [esp + 0x20]
and esi, 2
lea eax, [edx + eax*4]
movzx eax, word [ecx + eax*2]
mov ecx, dword [esp + 0x34]
mov dword [esp + edx*4 + 0x64], eax
or ecx, esi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x38]
shr edx, cl
mov ecx, dword [esp + 0x14]
and edx, 3
lea eax, [edx + eax*4]
movzx eax, word [ecx + eax*2]
mov ecx, dword [esp + 0x3c]
mov dword [esp + edx*4 + 0x64], eax
or ecx, ebp
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x84]
add eax, ebp
shr edx, cl
mov ecx, dword [esp + 0x14]
and edx, 3
lea eax, [edx + eax*4]
movzx eax, word [ecx + eax*2]
mov ecx, dword [esp + 0x3c]
mov dword [esp + edx*4 + 0x74], eax
or ecx, ebx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x18]
shr edx, cl
and edx, 3
add eax, ebx
mov ecx, dword [esp + 0x14]
lea eax, [edx + eax*4]
movzx eax, word [ecx + eax*2]
mov ecx, dword [esp + 0x44]
mov dword [esp + edx*4 + 0x74], eax
or ecx, edi
mov edi, dword [esp + 0x88]
mov edx, dword [esp + 0x10]
shr edx, cl
mov ecx, dword [esp + 0x44]
and edx, 3
lea eax, [edi + ebp]
or ecx, esi
mov ebp, dword [esp + 0x14]
lea eax, [edx + eax*4]
movzx eax, word [ebp + eax*2]
mov dword [esp + edx*4 + 0x74], eax
lea eax, [edi + ebx]
mov edx, dword [esp + 0x10]
shr edx, cl
and edx, 3
lea eax, [edx + eax*4]
movzx eax, word [ebp + eax*2]
mov dword [esp + edx*4 + 0x74], eax
xor eax, eax
nop word [eax + eax]
mov ecx, dword [esp + eax*4 + 0x64]
cmp ecx, 0x96
jl 0x1011832b
cmp ecx, 0x5dc
jg 0x1011832b
inc eax
cmp eax, 8
jl 0x101181c0
xor ecx, ecx
mov eax, dword [esp + ecx*4 + 0x64]
sub eax, dword [esp + ecx*4 + 0x74]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x32
jg 0x1011832b
inc ecx
cmp ecx, 4
jl 0x101181e4
lea eax, [esp + 0x98]
xor ebx, ebx
lea ebp, [esp + 0x90]
mov dword [esp + 0x18], eax
lea esi, [esp + 0x64]
xor edi, edi
nop word [eax + eax]
mov eax, dword [esi + 4]
mov ecx, edi
sub eax, dword [esi]
add edi, 2
shl eax, 0xa
cdq
idiv dword [esi]
sar ecx, 1
add esi, 8
add ecx, ebx
mov dword [esp + ecx*4 + 0x98], eax
cmp edi, 4
jl 0x10118220
push dword [esp + 0x1c]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x50]
push edi
call fcn.10117db0
mov dword [ebp], eax
add ebx, 2
add edi, 8
add ebp, 4
mov dword [esp + 0x18], edi
cmp ebx, 4
jl 0x10118218
mov eax, dword [esp + 0x90]
mov ecx, eax
mov edx, dword [esp + 0x94]
or ecx, edx
cmp ecx, 1
jg 0x1011832b
test eax, eax
je 0x101182b9
mov eax, dword [esp + 0x98]
add eax, 0x400
imul eax, dword [esp + 0x64]
sar eax, 0xa
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x9c]
add eax, 0x400
imul eax, dword [esp + 0x6c]
sar eax, 0xa
mov dword [esp + 0x70], eax
test edx, edx
je 0x101182f0
mov eax, dword [esp + 0xa0]
add eax, 0x400
imul eax, dword [esp + 0x74]
sar eax, 0xa
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xa4]
add eax, 0x400
imul eax, dword [esp + 0x7c]
sar eax, 0xa
mov dword [esp + 0x80], eax
movups xmm1, xmmword [esp + 0x64]
mov eax, ecx
shl eax, 5
inc dword [esp + ecx*4 + 0x5c]
movups xmm0, xmmword [esp + eax + 0xa8]
paddd xmm1, xmm0
movups xmmword [esp + eax + 0xa8], xmm1
movups xmm0, xmmword [esp + eax + 0xb8]
movups xmm1, xmmword [esp + 0x74]
paddd xmm1, xmm0
movups xmmword [esp + eax + 0xb8], xmm1
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
add edi, 2
add dword [esp + 0x24], 4
sub eax, 4
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x48], edi
mov dword [esp + 0x20], eax
cmp edi, dword [esp + 0x8c]
jl 0x10118051
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
add edx, 4
add ebp, 0x10
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], edx
lea eax, [edx - 2]
cmp eax, ecx
movzx eax, word [ebx + 0x16]
jl 0x10117fb0
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
pop ebp
mov eax, edi
or eax, esi
je 0x10118450
movsd xmm2, qword [0x1039c208]
xor ecx, ecx
imul eax, esi, 0xc8
movaps xmm0, xmm2
cmp eax, edi
setl cl
shl ecx, 5
mov eax, dword [esp + ecx + 0xb4]
add eax, dword [esp + ecx + 0xa4]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mov eax, dword [esp + ecx + 0xa8]
add eax, dword [esp + ecx + 0xb8]
divsd xmm0, xmm1
movaps xmm1, xmm2
cvtpd2ps xmm0, xmm0
movss dword [ebx + 0x2481c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mov eax, dword [esp + ecx + 0xac]
add eax, dword [esp + ecx + 0xbc]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movaps xmm1, xmm2
movss dword [ebx + 0x24820], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mov eax, dword [esp + ecx + 0xb0]
add eax, dword [esp + ecx + 0xc0]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [ebx + 0x24824], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
movss dword [ebx + 0x24828], xmm0
pop edi
pop esi
pop ebx
add esp, 0xd8
ret