Function at 0x10011c00
Capabilities:
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x870
mov edi, dword [ebp + 8]
mov eax, 0x6b
cmp dword [edi + 0x20], 0
jne 0x1001203f
mov ebx, dword [edi + 0x30]
cmp byte [ebp + 0x14], 0
je 0x10011c3c
mov ecx, dword [edi + 0x34]
imul ecx, ebx
cmp ecx, 0x400000
ja 0x1001203f
movsd xmm0, qword [0x100d6780]
lea eax, [esp + 0x6c]
divsd xmm0, qword [edi + 0x28]
movsd qword [esp + 8], xmm0
push 0x400
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
movsd xmm0, qword [esp + 8]
mov esi, 0xfffffc00
cvtsd2ss xmm0, xmm0
movss dword [esp + 8], xmm0
movdqa xmm0, xmmword [0x100d6790]
movdqa xmmword [esp + 0x30], xmm0
movdqa xmm1, xmmword [esp + 0x30]
movaps xmm0, xmmword [esp + 0x30]
psrld xmm1, 0x10
andps xmm0, xmmword [0x100d67a0]
por xmm1, xmmword [0x100d67c0]
orps xmm0, xmmword [0x100d67b0]
subps xmm1, xmmword [0x100d67d0]
addps xmm1, xmm0
divps xmm1, xmmword [0x100d67e0]
movaps xmmword [esp + 0x20], xmm1
sub esp, 8
movss xmm0, dword [esp + 0x10]
movss dword [esp], xmm1
movss dword [esp + 4], xmm0
call fcn.100cec20
add esp, 8
fstp dword [esp + 0x58]
movaps xmm0, xmmword [esp + 0x20]
shufps xmm0, xmm0, 0x55
sub esp, 8
movss xmm1, dword [esp + 0x10]
movss dword [esp], xmm0
movss dword [esp + 4], xmm1
call fcn.100cec20
add esp, 8
fstp dword [esp + 0x54]
movaps xmm0, xmmword [esp + 0x20]
movhlps xmm0, xmm0
sub esp, 8
movss xmm1, dword [esp + 0x10]
movss dword [esp], xmm0
movss dword [esp + 4], xmm1
call fcn.100cec20
add esp, 8
fstp dword [esp + 0x50]
movaps xmm0, xmmword [esp + 0x20]
shufps xmm0, xmm0, 0xff
sub esp, 8
movss xmm1, dword [esp + 0x10]
movss dword [esp], xmm0
movss dword [esp + 4], xmm1
call fcn.100cec20
add esp, 8
fstp dword [esp + 0x4c]
movss xmm0, dword [esp + 0x4c]
movss xmm1, dword [esp + 0x50]
movss xmm2, dword [esp + 0x54]
unpcklps xmm1, xmm0
movss xmm0, dword [esp + 0x58]
unpcklps xmm0, xmm2
movlhps xmm0, xmm1
movups xmmword [esp + esi + 0x46c], xmm0
movdqa xmm0, xmmword [esp + 0x30]
add esi, 0x10
paddd xmm0, xmmword [0x100d67f0]
jne 0x10011c80
lea eax, [esp + 0x46c]
push 0x400
lea ecx, [esp + 0x70]
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov esi, dword [edi + 0x34]
mov ecx, 4
imul esi, ebx
test esi, esi
je 0x10011e1c
xor edx, edx
cmp esi, 0x8000000
mov eax, esi
lea ecx, [esp + 0x60]
lea edi, [esp + 0x6c]
mov dword [esp + 0x70], 0
setb dl
shl eax, 4
shl edx, 2
push edi
push eax
call fcn.1001fc70
add esp, 8
cmp dword [esp + 0x60], 0
mov ecx, dword [esp + 0x64]
je 0x10011e14
cmp ecx, 0x80000001
mov eax, 0x65
mov ecx, 4
je 0x10011e1c
jmp 0x1001203f
test ecx, ecx
je 0x10012047
test ebx, ebx
mov dword [esp + 0x18], ecx
je 0x1001205c
mov eax, esi
xor edx, edx
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
div ebx
mov dword [esp + 0x44], esi
sub esi, edx
cmp esi, ebx
jb 0x10012029
mov eax, dword [ebp + 8]
mov edx, esi
mov esi, dword [eax + 4]
cmp dword [eax], 3
mov eax, dword [eax + 8]
mov dword [esp + 0x30], esi
jne 0x10011f43
mov eax, dword [eax + 0x14]
cmp ebx, ecx
mov dword [esp + 0x14], eax
jne 0x10012098
mov esi, dword [esp + 0x18]
mov eax, ecx
shl eax, 4
mov dword [esp + 0x1c], eax
xor eax, eax
nop dword [eax + eax]
sub edx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 8], edx
push eax
push ecx
push edi
push dword [esp + 0x3c]
mov ebx, ecx
call dword [esp + 0x24]
movss xmm7, dword [0x100d6808]
movss xmm6, dword [0x100d6804]
add esp, 0x10
movss xmm5, dword [0x100d680c]
xor eax, eax
mov ecx, ebx
nop word cs:[eax + eax]
mov ebx, dword [edi + eax]
movaps xmm4, xmm5
mov edx, ebx
shr edx, 0x18
xorps xmm0, xmm0
cvtsi2ss xmm0, edx
movzx edx, bl
movss xmm1, dword [esp + edx*4 + 0x46c]
movzx edx, bh
shr ebx, 0xe
divss xmm0, dword [0x100d6800]
and ebx, 0x3fc
movss xmm3, dword [esp + edx*4 + 0x46c]
movss xmm2, dword [esp + ebx + 0x46c]
mulss xmm1, xmm6
shufps xmm0, xmm0, 0
unpcklps xmm4, xmm1
mulss xmm2, xmm7
unpcklps xmm3, xmm2
movlhps xmm4, xmm3
mulps xmm0, xmm4
movups xmmword [esi + eax*4], xmm0
add eax, 4
dec ecx
jne 0x10011ec0
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 8]
add esi, dword [esp + 0x1c]
inc eax
cmp edx, ecx
jae 0x10011e80
jmp 0x10012029
movss xmm5, dword [0x100d6800]
movss xmm2, dword [0x100d6804]
movss xmm0, dword [0x100d6808]
mov esi, dword [esp + 0x18]
mov ecx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
shl ecx, 4
mov dword [esp + 0x48], ecx
xor ecx, ecx
nop word cs:[eax + eax]
nop dword [eax]
cmp ecx, eax
je 0x1001204b
mov eax, dword [esp + 0x30]
sub edx, ebx
mov dword [esp + 8], edx
mov edi, dword [eax + ecx*4]
inc ecx
xor eax, eax
mov dword [esp + 0x20], ecx
nop dword [eax]
mov edx, dword [edi + eax]
movaps xmm1, xmm5
movss xmm3, dword [0x100d680c]
mov ecx, edx
shr ecx, 0x18
xorps xmm4, xmm4
cvtsi2ss xmm4, ecx
movzx ecx, dl
divss xmm4, xmm1
movss xmm5, dword [esp + ecx*4 + 0x46c]
movzx ecx, dh
shr edx, 0xe
and edx, 0x3fc
movss xmm7, dword [esp + ecx*4 + 0x46c]
movss xmm6, dword [esp + edx + 0x46c]
mulss xmm5, xmm2
unpcklps xmm3, xmm5
movaps xmm5, xmm1
mulss xmm6, xmm0
unpcklps xmm7, xmm6
movlhps xmm3, xmm7
shufps xmm4, xmm4, 0
mulps xmm4, xmm3
movups xmmword [esi + eax*4], xmm4
add eax, 4
dec ebx
jne 0x10011fa0
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 8]
add esi, dword [esp + 0x48]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
cmp edx, ebx
jae 0x10011f80
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
mov eax, 0x6b
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, esi
jmp 0x1001203f
push 0x100d6af4
push eax
push eax
call fcn.100b0f30
add esp, 0xc
ud2
mov dword [esp + 0x6c], 0x100d6954
mov dword [esp + 0x70], 1
mov dword [esp + 0x7c], 0
mov dword [esp + 0x74], 0x100d6938
mov dword [esp + 0x78], 0
push 0x100d6b14
lea eax, [esp + 0x70]
push eax
call fcn.100b0d70
add esp, 8
ud2
push 0
push ecx
push edi
push dword [esp + 0x3c]
mov esi, ecx
call dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], esi
mov dword [esp + 0x6c], 0
lea eax, [esp + 0x60]
lea ecx, [esp + 0x5c]
push 0x100d6b04
lea edx, [esp + 0x70]
push edx
push eax
push ecx
push 0
call fcn.10010780
add esp, 0x14
ud2