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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a0
mov eax, dword [0x766480]
xor eax, esp
mov dword [esp + 0x19c], eax
movaps xmm0, xmmword [0x711110]
xor eax, eax
push esi
mov esi, ecx
mov dword [esp + 0x170], 0x10004
movups xmmword [esp + 0x10c], xmm0
push edi
movaps xmm0, xmmword [0x711100]
mov edx, dword [esi + 0xc4]
movups xmmword [esp + 0x120], xmm0
mov dword [esp + 0x178], 0x10000
movaps xmm0, xmmword [0x711120]
mov ecx, dword [edx + 0xd0]
imul ecx, dword [edx + 0xcc]
movups xmmword [esp + 0x130], xmm0
mov dword [esp + 0x17c], 0x50004
movaps xmm0, xmmword [0x711130]
movups xmmword [esp + 0x140], xmm0
mov dword [esp + 0x180], 0x30005
mov dword [esp + 0x184], 0x30001
xorps xmm0, xmm0
mov dword [esp + 0x188], 0x70005
mov dword [esp + 0x18c], 0x20007
mov dword [esp + 0x190], 0x20003
mov dword [esp + 0x194], 0x60007
mov dword [esp + 0x198], 6
mov dword [esp + 0x19c], 2
mov dword [esp + 0x1a0], 0x40006
movups xmmword [esp + 0x150], xmm0
movaps xmm0, xmmword [0x711130]
movups xmmword [esp + 0x160], xmm0
test ecx, ecx
jle 0x5ce917
mov edi, dword [edx + 0x20c]
movss xmm1, dword [esi + 0x40]
movss xmm5, dword [0x7069e0]
mov dword [esp + 0x18], edi
lea edx, [edi + 0x54]
mov dword [esp + 0x1c], edx
movss xmm2, dword [edx - 8]
comiss xmm1, xmm2
jb 0x5ce2e3
movaps xmm0, xmm2
addss xmm0, xmm5
comiss xmm0, xmm1
jbe 0x5ce2e3
movss xmm3, dword [edx]
movss xmm4, dword [esi + 0x48]
comiss xmm4, xmm3
jb 0x5ce2e3
movaps xmm0, xmm3
addss xmm0, xmm5
comiss xmm0, xmm4
ja 0x5ce310
inc eax
add edi, 0x1f630
add edx, 0x1f630
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edx
cmp eax, ecx
jl 0x5ce2b3
pop edi
pop esi
mov ecx, dword [esp + 0x19c]
xor ecx, esp
call fcn.006dfb52
mov esp, ebp
pop ebp
ret
subss xmm1, xmm2
movaps xmm0, xmm4
movss xmm2, dword [0x7110e4]
subss xmm0, xmm3
divss xmm1, xmm2
divss xmm0, xmm2
cvttss2si ecx, xmm1
cvttss2si eax, xmm0
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x7c], eax
cmp ecx, 0x40
jne 0x5ce358
mov dword [esp + 0x70], 0xffffffff
lea edx, [ecx + 1]
mov dword [esp + 0x80], 0xffffffff
jmp 0x5ce366
lea edx, [ecx + 1]
mov dword [esp + 0x80], eax
mov dword [esp + 0x70], edx
lea edi, [eax + 1]
cmp eax, 0x40
jne 0x5ce383
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x84], 0xffffffff
jmp 0x5ce38e
mov dword [esp + 0x74], ecx
mov dword [esp + 0x84], edi
cmp ecx, 0x40
je 0x5ce3a5
cmp eax, 0x40
je 0x5ce3a5
mov dword [esp + 0x78], edx
mov dword [esp + 0x88], edi
jmp 0x5ce3b8
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x88], 0xffffffff
xor eax, eax
mov dword [esp + 0x20], eax
nop
mov ecx, dword [esp + eax + 0x6c]
cmp ecx, 0xffffffff
je 0x5ce907
mov edx, dword [esp + eax + 0x7c]
mov edi, edx
mov eax, dword [esp + 0x18]
shl edi, 6
add edi, ecx
add edi, edx
cmp byte [edi + eax + 0x1e114], 0xff
je 0x5ce903
mov eax, dword [eax + 0x1f198]
xorps xmm0, xmm0
movss xmm3, dword [esi + 0x40]
xorps xmm1, xmm1
cvtsi2ss xmm0, ecx
movss xmm4, dword [eax + edi*4]
mov eax, dword [esp + 0x1c]
mulss xmm0, xmm2
cvtsi2ss xmm1, edx
movss dword [esp + 0x14], xmm0
addss xmm0, dword [eax - 8]
mulss xmm1, xmm2
movss xmm2, dword [esi + 0x44]
subss xmm2, xmm4
movss dword [esp + 0xc], xmm4
subss xmm3, xmm0
movss dword [esp + 0x10], xmm1
movaps xmm0, xmm1
movss xmm1, dword [esi + 0x48]
addss xmm0, dword [eax]
mulss xmm2, xmm2
mulss xmm3, xmm3
subss xmm1, xmm0
addss xmm2, xmm3
mulss xmm1, xmm1
addss xmm2, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm2
ucomisd xmm1, xmm0
ja 0x5ce470
sqrtsd xmm0, xmm0
jmp 0x5ce475
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
movss xmm1, dword [0x706bb4]
cvtsd2ss xmm0, xmm0
comiss xmm1, xmm0
jbe 0x5ce48a
mov byte [esi + 0x26], 0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x176]
movss xmm5, dword [esp + 0x14]
xorps xmm4, xmm4
movss xmm6, dword [esp + 0x10]
movss xmm7, dword [esp + 0xc]
movzx eax, byte [edi + eax + 0x1e114]
movaps xmm0, xmm7
and eax, 0x3f
mov dword [esp + 0x10], ecx
addss xmm7, dword [0x706bb4]
addss xmm0, xmm4
mov dword [esp + 0x14], 8
mov eax, dword [eax*4 + 0x130f320]
movss dword [esp + 0xe4], xmm7
movss dword [esp + 0xb4], xmm0
movss xmm1, dword [eax + 0x220]
subss xmm1, dword [eax + 0x22c]
mov eax, dword [esp + 0x1c]
movss dword [esp + 0xc0], xmm0
movss dword [esp + 0xcc], xmm0
movss dword [esp + 0xd8], xmm0
divss xmm1, dword [0x7110e4]
addss xmm5, dword [eax - 8]
addss xmm1, dword [0x7012b0]
addss xmm6, dword [eax]
movss dword [esp + 0xf0], xmm7
movss dword [esp + 0xfc], xmm7
movss dword [esp + 0x108], xmm7
mulss xmm1, dword [0x7012b4]
movaps xmm3, xmm1
xorps xmm3, xmmword [0x701990]
movaps xmm2, xmm3
addss xmm3, xmm6
addss xmm2, xmm5
addss xmm5, xmm1
addss xmm6, xmm1
movss dword [esp + 0xb8], xmm3
movss dword [esp + 0xb0], xmm2
movss dword [esp + 0xbc], xmm5
movss dword [esp + 0xc4], xmm3
movss dword [esp + 0xc8], xmm2
movss dword [esp + 0xd0], xmm6
movss dword [esp + 0xd4], xmm5
movss dword [esp + 0xdc], xmm6
movss dword [esp + 0xe0], xmm2
movss dword [esp + 0xe8], xmm3
movss dword [esp + 0xec], xmm5
movss dword [esp + 0xf4], xmm3
movss dword [esp + 0xf8], xmm2
movss dword [esp + 0x100], xmm6
movss dword [esp + 0x104], xmm5
movss dword [esp + 0x10c], xmm6
movzx eax, word [ecx - 2]
lea edi, [esp + 0x118]
mov dword [esp + 0xc], 8
lea eax, [eax + eax*2]
movq xmm0, qword [esp + eax*4 + 0xb0]
mov eax, dword [esp + eax*4 + 0xb8]
mov dword [esp + 0x94], eax
movzx eax, word [ecx]
movq qword [esp + 0x8c], xmm0
lea eax, [eax + eax*2]
movq xmm0, qword [esp + eax*4 + 0xb0]
mov eax, dword [esp + eax*4 + 0xb8]
mov dword [esp + 0xa0], eax
movzx eax, word [ecx + 2]
movq qword [esp + 0x98], xmm0
lea eax, [eax + eax*2]
movq xmm0, qword [esp + eax*4 + 0xb0]
mov eax, dword [esp + eax*4 + 0xb8]
movq qword [esp + 0xa4], xmm0
mov dword [esp + 0xac], eax
nop dword [eax]
nop dword [eax + eax]
movss xmm1, dword [esi + 0x4c]
lea eax, [esp + 0x24]
movss xmm2, dword [edi - 8]
movss xmm0, dword [edi - 4]
push eax
mulss xmm2, xmm1
lea eax, [esp + 0x90]
push eax
mulss xmm0, xmm1
sub esp, 0xc
mov ecx, esp
sub esp, 0xc
mulss xmm1, dword [edi]
addss xmm0, dword [esi + 0x44]
addss xmm2, dword [esi + 0x40]
addss xmm1, dword [esi + 0x48]
unpcklps xmm2, xmm0
movq xmm0, qword [esi + 0x40]
movq qword [ecx], xmm2
movss dword [esp + 0x88], xmm1
mov eax, dword [esp + 0x88]
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [esi + 0x48]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call fcn.0065dba0
add esp, 0x20
test eax, eax
je 0x5ce8d7
movss xmm1, dword [esp + 0x24]
movaps xmm0, xmm1
movss xmm6, dword [esp + 0xa8]
mulss xmm0, dword [edi - 8]
mov eax, dword [esp + 0x94]
movss xmm3, dword [esp + 0x9c]
movss xmm2, dword [esp + 0xac]
subss xmm6, xmm3
addss xmm0, dword [esi + 0x40]
subss xmm3, dword [esp + 0x90]
movss xmm5, dword [esp + 0xa4]
movss xmm4, dword [esp + 0x98]
movss dword [esp + 0x34], xmm1
subss xmm5, xmm4
movss dword [esp + 0x38], xmm0
movaps xmm0, xmm1
mulss xmm1, dword [edi]
mov dword [esp + 0x58], eax
mulss xmm0, dword [edi - 4]
addss xmm1, dword [esi + 0x48]
subss xmm4, dword [esp + 0x8c]
addss xmm0, dword [esi + 0x44]
movss dword [esp + 0x40], xmm1
movss xmm1, dword [esp + 0xa0]
movss dword [esp + 0x3c], xmm0
subss xmm2, xmm1
subss xmm1, dword [esp + 0x94]
movq xmm0, qword [esp + 0x8c]
movq qword [esp + 0x50], xmm0
movaps xmm0, xmm6
mulss xmm6, xmm4
mulss xmm0, xmm1
movaps xmm7, xmm2
mulss xmm2, xmm4
mulss xmm7, xmm3
subss xmm7, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm1
mulss xmm5, xmm3
subss xmm0, xmm2
movss dword [esp + 0x30], xmm7
subss xmm6, xmm5
movaps xmm1, xmm0
movss dword [esp + 0x2c], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm7
movss dword [esp + 0x28], xmm6
addss xmm1, xmm0
movaps xmm0, xmm6
mulss xmm0, xmm6
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x5ce830
sqrtsd xmm0, xmm0
jmp 0x5ce835
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [0x701968]
comiss xmm0, xmm1
jb 0x5ce854
xorps xmm1, xmm1
xorps xmm2, xmm2
xorps xmm3, xmm3
jmp 0x5ce87e
movss xmm0, dword [0x70196c]
divss xmm0, xmm1
movss xmm1, dword [esp + 0x28]
movss xmm2, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x30]
mulss xmm1, xmm0
mulss xmm2, xmm0
mulss xmm3, xmm0
mov eax, dword [esi + 0x2c]
lea ecx, [esi + 0x28]
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x4c], xmm1
mov dword [esp + 0x5c], 1
cmp eax, dword [ecx + 8]
je 0x5ce8cc
movups xmm0, xmmword [esp + 0x34]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x44]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0x54]
movq qword [eax + 0x20], xmm0
mov dword [eax + 0x28], 1
add dword [ecx + 4], 0x2c
jmp 0x5ce8d7
lea edx, [esp + 0x34]
push edx
push eax
call fcn.005c7040
add edi, 0xc
sub dword [esp + 0xc], 1
jne 0x5ce690
mov ecx, dword [esp + 0x10]
add ecx, 6
sub dword [esp + 0x14], 1
mov dword [esp + 0x10], ecx
jne 0x5ce601
movss xmm2, dword [0x7110e4]
mov eax, dword [esp + 0x20]
add eax, 4
mov dword [esp + 0x20], eax
cmp eax, 0x10
jl 0x5ce3c0
mov ecx, dword [esp + 0x1a4]
pop edi
pop esi
xor ecx, esp
call fcn.006dfb52
mov esp, ebp
pop ebp
ret