Function at 0x100d75f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x103090f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebx + 8], 5
mov eax, ecx
push esi
push edi
mov dword [ebp - 0x18], eax
jne 0x100d7ae3
mov esi, dword [0x10173080]
test esi, esi
je 0x100d7ae3
mov ecx, dword [0x1030a1fc]
test cl, 1
jne 0x100d7657
or ecx, 1
mov dword [0x1030a1fc], ecx
mov ecx, dword [0x1030a1f4]
mov dword [0x1030a1f8], ecx
jmp 0x100d765d
mov ecx, dword [0x1030a1f8]
cmp dword [ecx + esi], 0
jne 0x100d7ae3
mov ecx, dword [0x1030a204]
test cl, 1
jne 0x100d7689
or ecx, 1
mov dword [0x1030a204], ecx
mov ecx, dword [0x1030a1f0]
mov dword [0x1030a200], ecx
jmp 0x100d768f
mov ecx, dword [0x1030a200]
cmp dword [ecx + esi], 0
jle 0x100d7ae3
cmp byte [0x10304e6c], 0
movss xmm1, dword [0x101466e0]
je 0x100d77e9
movss xmm0, dword [0x10304e8c]
mulss xmm0, xmm1
cvttss2si ecx, xmm0
movss xmm0, dword [0x10304e88]
mulss xmm0, xmm1
cvttss2si edx, xmm0
movss xmm0, dword [0x10304e84]
mulss xmm0, xmm1
cvttss2si edi, xmm0
movss xmm0, dword [0x10304e80]
mulss xmm0, xmm1
mov dword [ebp - 0x10], edi
movd xmm1, dword [0x10304e90]
mov edi, dword [esi + 0x11c5c]
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x10146648]
movss dword [ebp - 0x1c], xmm1
cmp edi, dword [eax]
jle 0x100d77df
movzx eax, cl
movaps xmm2, xmm1
mov ecx, dword [ebp - 0x10]
xorps xmm2, xmmword [0x101467b0]
mov dword [ebp - 0x34], eax
movzx eax, dl
mov dword [ebp - 0x38], eax
movzx eax, cl
cvttss2si ecx, xmm0
mov dword [ebp - 0x10], eax
movss dword [ebp - 0x14], xmm2
movzx eax, cl
mov dword [ebp - 0x3c], eax
lea eax, [edi + edi*4]
shl eax, 2
mov dword [ebp - 0xc], eax
nop word [eax + eax]
mov ecx, dword [0x1030a068]
push ecx
mov dword [esp], 0x40800000
push dword [ebp - 0x34]
mov eax, dword [ecx]
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
push dword [ebp - 0x10]
mov edx, dword [eax + 4]
add ecx, 0xffffffec
push dword [ebp - 0x3c]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x44], 0
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x40], 0
push eax
mov eax, dword [esi + 0x11c50]
add eax, ecx
movss dword [ebp - 0x54], xmm1
mov ecx, dword [0x1030a068]
push eax
movss dword [ebp - 0x50], xmm1
movss dword [ebp - 0x4c], xmm1
movss dword [ebp - 0x2c], xmm2
movss dword [ebp - 0x28], xmm2
movss dword [ebp - 0x24], xmm2
call edx
mov eax, dword [ebp - 0x18]
dec edi
sub dword [ebp - 0xc], 0x14
movss xmm1, dword [ebp - 0x1c]
movss xmm2, dword [ebp - 0x14]
cmp edi, dword [eax]
jg 0x100d7750
mov dword [esi + 0x11c5c], 0
mov ecx, dword [esi + 0x11c5c]
cmp ecx, dword [eax]
je 0x100d77f5
mov dword [eax], ecx
cmp dword [0x10304e94], 0
je 0x100d7ae3
xor esi, esi
lea edi, [eax + 8]
mov dword [ebp - 0x10], esi
nop word [eax + eax]
mov ecx, dword [edi]
mov eax, 0x2aaaaaab
sub ecx, dword [edi - 4]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100d7ad3
mov ecx, dword [0x1030a064]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edx, eax
test edx, edx
je 0x100d7aca
mov eax, dword [0x10173080]
cmp edx, eax
sete byte [ebp - 5]
je 0x100d789f
mov eax, dword [0x1030a408]
test al, 1
jne 0x100d7870
mov ecx, dword [0x1030a400]
or eax, 1
mov dword [0x1030a408], eax
mov dword [0x1030a404], ecx
jmp 0x100d7876
mov ecx, dword [0x1030a404]
mov edx, dword [ecx + edx]
test al, 1
jne 0x100d7891
mov ecx, dword [0x1030a400]
or eax, 1
mov dword [0x1030a408], eax
mov dword [0x1030a404], ecx
mov eax, dword [0x10173080]
cmp edx, dword [ecx + eax]
je 0x100d789f
mov al, 1
jmp 0x100d78a1
xor al, al
cmp byte [ebp - 5], 0
je 0x100d78b0
movups xmm0, xmmword [0x10304ebc]
jmp 0x100d78c4
test al, al
jne 0x100d78bd
movups xmm0, xmmword [0x10304eac]
jmp 0x100d78c4
movups xmm0, xmmword [0x10304e9c]
movss xmm1, dword [0x101466e0]
movups xmmword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 0x24]
mulss xmm0, xmm1
cvttss2si ecx, xmm0
movss xmm0, dword [ebp - 0x28]
mulss xmm0, xmm1
mov dword [ebp - 0x1c], ecx
cvttss2si edx, xmm0
movss xmm0, dword [ebp - 0x2c]
mulss xmm0, xmm1
mov dword [ebp - 0x14], edx
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x30]
mulss xmm0, xmm1
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [0x10304e98]
sub eax, 0
je 0x100d795f
sub eax, 1
jne 0x100d7aca
mov ecx, dword [0x1030a068]
mov edx, dword [edi]
push ecx
mov dword [esp], 0x40400000
push eax
mov eax, dword [ebp - 0x14]
mov esi, dword [ecx]
movzx eax, al
push eax
mov eax, dword [ebp - 0xc]
movzx eax, al
push eax
cvttss2si eax, xmm0
movzx eax, al
push eax
lea eax, [edx - 0xc]
push eax
lea eax, [edx - 0x18]
push eax
call dword [esi + 0x14]
mov esi, dword [ebp - 0x10]
jmp 0x100d7aca
movzx ecx, cl
xorps xmm0, xmm0
movzx eax, dl
shl ecx, 8
or ecx, eax
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0xc]
mov edx, ecx
movzx eax, al
mov dword [ebp - 0x14], ecx
mov ecx, dword [edi]
movups xmmword [ebp - 0xe4], xmm0
shl edx, 8
or edx, eax
mov dword [ebp - 0xb0], 0
mov eax, dword [ecx - 0x10]
mov dword [ebp - 0xcc], eax
mov eax, dword [ecx - 4]
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0xc0], eax
movq xmm0, qword [ecx - 0x18]
mov eax, dword [ebp - 0x1c]
movq qword [ebp - 0xd4], xmm0
movq xmm0, qword [ecx - 0xc]
movzx eax, al
movq qword [ebp - 0xc8], xmm0
mov ecx, dword [0x1030a0a0]
mov dword [ebp - 0xb4], 0xffffffff
movd xmm0, eax
mov eax, dword [ebp - 0x18]
cvtdq2ps xmm0, xmm0
movzx eax, al
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xb8], 0x101552f8
mov dword [ebp - 0xbc], 0xffffffff
mov dword [ebp - 0xa8], 0x40400000
movss dword [ebp - 0x94], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, dl
lea edx, [ebp - 0xe8]
mov dword [ebp - 0x9c], 0x3dcccccd
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x98], 0x3f800000
mov dword [ebp - 0x74], 2
movss dword [ebp - 0x84], xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x14]
cvtdq2ps xmm0, xmm0
movzx eax, al
mov byte [ebp - 0x78], 1
mov dword [ebp - 0x90], 0x3f800000
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
movss dword [ebp - 0x80], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0xa4], 0x40400000
mov dword [ebp - 0xa0], 0x40400000
mov dword [ebp - 0x70], 0x304
push edx
movss dword [ebp - 0x7c], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
test eax, eax
je 0x100d7aca
mov ecx, dword [0x1030a0a0]
push eax
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [edi - 4]
cmp eax, dword [edi]
je 0x100d7ad3
mov dword [edi], eax
inc esi
add edi, 0xc
mov dword [ebp - 0x10], esi
cmp esi, 0x41
jl 0x100d7810
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100e1332
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4