Function at 0x1053e70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xdd4
mov eax, dword [0x1082334]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi]
mov dword [ebp - 0xdd4], edx
movzx edx, word [edi + 0x6e]
mov dword [ebp - 0xdc0], eax
mov eax, dword [edi + 0x100]
mov dword [ebp - 0xda8], eax
mov dword [ebp - 0xd9c], edx
cdq
idiv dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x2c]
mov dword [ebp - 0xdd0], ecx
mov ecx, dword [edi + 0x154]
mov ebx, dword [ecx]
xor ecx, ecx
mov dword [ebp - 0xdb8], esi
mov dword [ebp - 0xda4], ebx
mov dword [ebp - 0xd98], ecx
cmp eax, 1
jbe 0x1053ef3
inc ecx
mov edx, eax
shr edx, cl
cmp edx, 1
ja 0x1053ee3
mov dword [ebp - 0xd98], ecx
xor eax, eax
cmp dword [esi + 0x10954], eax
sete al
mov dword [ebp - 0xdbc], eax
mov eax, ebx
cmp ebx, 0x1c
jl 0x1053f10
mov eax, 0x1c
lea ecx, [eax*4]
push ecx
lea edx, [ebp - 0xe4]
push 0
push edx
call sub.MSVCR100.dll_memset
mov edx, dword [edi + 0x158]
mov ecx, dword [ebp - 0xd9c]
mov ebx, dword [esi + 0x7804]
movss xmm6, dword [0x1002fd4]
xorps xmm4, xmm4
lea ecx, [ecx + ecx - 0x20]
mov edi, 1
shl edi, cl
mov ecx, dword [ebp - 0xda8]
imul ecx, dword [ebp + 0x1c]
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2ss xmm1, ecx
mulss xmm1, dword [0x1007788]
add esp, 0xc
cmp dword [ebp - 0xd98], 0
lea eax, [esi + 0x78ec]
cvtsi2ss xmm0, edi
mulss xmm0, xmm1
movaps xmm3, xmm6
mov dword [ebp - 0xdc8], eax
mov dword [ebp - 0xdc4], ebx
divss xmm3, xmm0
jle 0x1054236
cmp dword [ebp - 0xdbc], 0
mov ebx, dword [ebp + 0x18]
mov ecx, dword [ebp - 0xd98]
movss xmm0, dword [ebx]
mov edi, dword [esi + ecx*4 + 0xf958]
mov dword [ebp - 0xdcc], ebx
mov dword [ebp - 0xdb0], 0
mulss xmm0, xmm0
je 0x10540b8
cmp dword [ebp - 0xda8], 0
jle 0x1054449
lea eax, [ebp - 0xe4]
add edx, 4
mov dword [ebp - 0xdb4], eax
mov dword [ebp - 0xda0], edx
mov ecx, dword [ebp - 0xda0]
mov edi, dword [ecx]
mov ecx, dword [ebp - 0xd98]
mov edx, edi
sar edx, cl
xor esi, esi
movaps xmm1, xmm4
mov eax, edx
sub eax, dword [ebp - 0xdb0]
mov dword [ebp - 0xdb0], edx
cmp eax, 4
jl 0x1054069
lea edx, [eax - 4]
shr edx, 2
inc edx
lea ecx, [ebx + 8]
lea esi, [edx*4]
lea ecx, [ecx]
movss xmm0, dword [ecx - 8]
movss xmm2, dword [ecx - 4]
mulss xmm0, xmm0
addss xmm0, xmm1
movss xmm1, dword [ecx]
mulss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [ecx + 4]
mulss xmm1, xmm1
add ecx, 0x10
dec edx
addss xmm1, xmm2
mulss xmm0, xmm0
addss xmm1, xmm0
jne 0x1054030
cmp esi, eax
jge 0x1054082
lea ecx, [ecx]
movss xmm0, dword [ebx + esi*4]
inc esi
mulss xmm0, xmm0
addss xmm1, xmm0
cmp esi, eax
jl 0x1054070
add dword [ebp - 0xda0], 4
lea ebx, [ebx + eax*4]
mov eax, dword [ebp - 0xdb4]
addss xmm1, xmm0
mulss xmm1, xmm3
movss dword [eax], xmm1
add eax, 4
mov dword [ebp - 0xdb4], eax
cmp edi, dword [ebp - 0xda8]
jl 0x1053ff2
jmp 0x1054449
cmp dword [ebp - 0xda8], 0
jle 0x1054449
lea ecx, [ebp - 0xe4]
add edx, 4
sub eax, ecx
mov dword [ebp - 0xd9c], ecx
mov dword [ebp - 0xdac], edx
mov dword [ebp - 0xdb4], eax
mov eax, dword [edx]
mov ecx, dword [ebp - 0xd98]
mov dword [ebp - 0xdc8], eax
sar eax, cl
movaps xmm1, xmm4
mov esi, eax
sub esi, dword [ebp - 0xdb0]
mov dword [ebp - 0xdb0], eax
xor eax, eax
mov dword [ebp - 0xda0], eax
cmp esi, 4
jl 0x105419f
lea ecx, [ebx + 0xc]
sub ebx, edi
lea edx, [esi - 4]
shr edx, 2
mov dword [ebp - 0xdc4], ebx
inc edx
lea ebx, [edx*4]
mov dword [ebp - 0xda0], ebx
mov ebx, dword [ebp - 0xdc4]
lea eax, [edi + 4]
lea esp, [esp]
movss xmm0, dword [ecx - 0xc]
movss xmm2, dword [ecx - 4]
mulss xmm0, xmm0
mulss xmm0, dword [eax - 4]
addss xmm0, xmm1
movss xmm1, dword [ebx + eax]
mulss xmm1, xmm1
mulss xmm1, dword [eax]
addss xmm1, xmm0
movss xmm0, dword [ecx]
mulss xmm2, xmm2
mulss xmm2, dword [eax + 4]
addss xmm2, xmm1
movss xmm1, dword [eax + 8]
mulss xmm0, xmm0
add eax, 0x10
add ecx, 0x10
dec edx
mulss xmm1, xmm0
addss xmm1, xmm2
jne 0x1054140
mov eax, dword [ebp - 0xda0]
mov ebx, dword [ebp - 0xdcc]
cmp eax, esi
jge 0x10541d0
mov edx, ebx
mov ecx, esi
sub edx, edi
sub ecx, dword [ebp - 0xda0]
lea eax, [edi + eax*4]
movss xmm0, dword [eax + edx]
movss xmm2, dword [eax]
mulss xmm0, xmm0
mulss xmm2, xmm0
add eax, 4
dec ecx
addss xmm2, xmm1
movaps xmm1, xmm2
jne 0x10541b2
mov eax, dword [ebp - 0xd9c]
mov edx, dword [ebp - 0xdb4]
add esi, esi
add esi, esi
movss xmm2, dword [edi + esi]
add edi, esi
mulss xmm2, xmm0
addss xmm2, xmm1
mulss xmm2, xmm3
addss xmm2, dword [edx + eax]
mov edx, dword [ebp - 0xdac]
movss dword [eax], xmm2
add eax, 4
mov dword [ebp - 0xd9c], eax
mov eax, dword [ebp - 0xdc8]
add ebx, esi
add edx, 4
add edi, 4
mov dword [ebp - 0xdcc], ebx
mov dword [ebp - 0xdac], edx
cmp eax, dword [ebp - 0xda8]
jl 0x10540e2
jmp 0x1054449
xor eax, eax
cmp dword [ebp - 0xdbc], eax
je 0x105430b
xor ebx, ebx
cmp dword [ebp - 0xda4], eax
jle 0x1054449
mov edi, dword [ebp + 0x18]
add edx, 4
mov dword [ebp - 0xda0], edx
mov edi, edi
mov ecx, dword [ebp - 0xda0]
mov esi, dword [ecx]
movaps xmm1, xmm4
cmp eax, esi
jge 0x10542e5
mov edx, esi
sub edx, eax
cmp edx, 4
jl 0x10542c9
mov ecx, esi
sub ecx, eax
sub ecx, 4
shr ecx, 2
inc ecx
lea edx, [edi + eax*4 + 8]
lea eax, [eax + ecx*4]
mov edi, edi
movss xmm0, dword [edx - 8]
mulss xmm0, xmm0
addss xmm0, xmm1
movss xmm1, dword [edx - 4]
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edx]
mulss xmm0, xmm0
addss xmm0, xmm1
movss xmm1, dword [edx + 4]
add edx, 0x10
dec ecx
mulss xmm1, xmm1
addss xmm1, xmm0
jne 0x1054290
cmp eax, esi
jge 0x10542e5
lea ecx, [ecx]
movss xmm0, dword [edi + eax*4]
inc eax
mulss xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp eax, esi
jl 0x10542d0
add dword [ebp - 0xda0], 4
mulss xmm1, xmm3
movss dword [ebp + ebx*4 - 0xe4], xmm1
inc ebx
cmp ebx, dword [ebp - 0xda4]
jl 0x1054260
jmp 0x1054449
mov dword [ebp - 0xd9c], eax
cmp dword [ebp - 0xda4], eax
jle 0x1054449
mov ecx, dword [ebp - 0xdc8]
add edx, 4
mov dword [ebp - 0xda0], edx
lea edx, [ebp - 0xe4]
sub ecx, edx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0xdb4], ecx
lea ecx, [ecx]
mov ecx, dword [ebp - 0xda0]
mov edi, dword [ecx]
movaps xmm1, xmm4
cmp eax, edi
jge 0x105440a
mov ecx, edi
sub ecx, eax
cmp ecx, 4
jl 0x10543d8
lea ecx, [edx + eax*4 + 4]
lea esi, [ebx + eax*4 + 0xc]
sub ebx, edx
mov edx, edi
sub edx, eax
sub edx, 4
shr edx, 2
inc edx
lea eax, [eax + edx*4]
jmp 0x1054380
movss xmm0, dword [ecx - 4]
mulss xmm0, dword [esi - 0xc]
mulss xmm0, xmm0
addss xmm0, xmm1
movss xmm1, dword [ebx + ecx]
mulss xmm1, dword [ecx]
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [ecx + 4]
mulss xmm0, dword [esi - 4]
mulss xmm0, xmm0
addss xmm0, xmm1
movss xmm1, dword [ecx + 8]
mulss xmm1, dword [esi]
add ecx, 0x10
add esi, 0x10
dec edx
mulss xmm1, xmm1
addss xmm1, xmm0
jne 0x1054380
mov ebx, dword [ebp - 0xdc4]
mov edx, dword [ebp + 0x18]
cmp eax, edi
jge 0x105440a
mov esi, ebx
sub edi, eax
lea ecx, [edx + eax*4]
sub esi, edx
add eax, edi
jmp 0x10543f0
movss xmm0, dword [ecx + esi]
mulss xmm0, dword [ecx]
mulss xmm0, xmm0
add ecx, 4
dec edi
addss xmm0, xmm1
movaps xmm1, xmm0
jne 0x10543f0
mov ecx, dword [ebp - 0xd9c]
mov esi, dword [ebp - 0xdb4]
add dword [ebp - 0xda0], 4
lea esi, [esi + ecx*4]
mulss xmm1, xmm3
addss xmm1, dword [ebp + esi - 0xe4]
movss dword [ebp + ecx*4 - 0xe4], xmm1
inc ecx
mov dword [ebp - 0xd9c], ecx
cmp ecx, dword [ebp - 0xda4]
jl 0x1054340
cmp dword [ebp + 0x28], 0
jne 0x1054486
mov edx, dword [ebp - 0xda4]
lea eax, [edx*4]
mov edx, dword [ebp - 0xdd0]
push eax
lea ecx, [ebp - 0xe4]
push ecx
push edx
call sub.MSVCR100.dll_memcpy
xorps xmm4, xmm4
movss xmm6, dword [0x1002fd4]
mov ebx, dword [ebp - 0xda4]
add esp, 0xc
jmp 0x10544c8
mov ebx, dword [ebp - 0xda4]
xor eax, eax
test ebx, ebx
jle 0x10544c8
mov ecx, dword [ebp - 0xdd0]
lea edx, [ebp - 0xe4]
sub ecx, edx
movss xmm1, dword [ebp + eax*4 - 0xe4]
lea edx, [ecx + eax*4]
movss xmm0, dword [ebp + edx - 0xe4]
comiss xmm1, xmm0
jbe 0x10544c3
movss dword [ebp + eax*4 - 0xe4], xmm0
inc eax
cmp eax, ebx
jl 0x10544a0
xor eax, eax
cmp ebx, 4
jl 0x1054671
lea esi, [ebx - 3]
movss xmm0, dword [ebp + eax*4 - 0xe4]
movss dword [ebp - 0xd98], xmm0
mov ecx, dword [ebp - 0xd98]
mov edx, ecx
and ecx, 0x7fffff
add ecx, 0x400
shr ecx, 0xb
shr edx, 0x17
and edx, 0xff
movss xmm0, dword [edx*4 + 0x10acf80]
mulss xmm0, dword [ecx*4 + 0x10a8f78]
movss dword [ebp + eax*4 - 0x154], xmm0
movss xmm0, dword [edx*4 + 0x10ad380]
mulss xmm0, dword [ecx*4 + 0x10a4f70]
movss dword [ebp + eax*4 - 0x74], xmm0
movss xmm0, dword [ebp + eax*4 - 0xe0]
movss dword [ebp - 0xd98], xmm0
mov ecx, dword [ebp - 0xd98]
mov edx, ecx
and ecx, 0x7fffff
add ecx, 0x400
shr edx, 0x17
shr ecx, 0xb
and edx, 0xff
movss xmm0, dword [edx*4 + 0x10acf80]
mulss xmm0, dword [ecx*4 + 0x10a8f78]
movss dword [ebp + eax*4 - 0x150], xmm0
movss xmm0, dword [edx*4 + 0x10ad380]
mulss xmm0, dword [ecx*4 + 0x10a4f70]
movss dword [ebp + eax*4 - 0x70], xmm0
movss xmm0, dword [ebp + eax*4 - 0xdc]
movss dword [ebp - 0xd98], xmm0
mov ecx, dword [ebp - 0xd98]
mov edx, ecx
and ecx, 0x7fffff
shr edx, 0x17
add ecx, 0x400
and edx, 0xff
movss xmm0, dword [edx*4 + 0x10acf80]
shr ecx, 0xb
mulss xmm0, dword [ecx*4 + 0x10a8f78]
movss dword [ebp + eax*4 - 0x14c], xmm0
movss xmm0, dword [edx*4 + 0x10ad380]
mulss xmm0, dword [ecx*4 + 0x10a4f70]
movss dword [ebp + eax*4 - 0x6c], xmm0
movss xmm0, dword [ebp + eax*4 - 0xd8]
movss dword [ebp - 0xd98], xmm0
mov ecx, dword [ebp - 0xd98]
mov edx, ecx
and ecx, 0x7fffff
shr edx, 0x17
and edx, 0xff
movss xmm0, dword [edx*4 + 0x10acf80]
add ecx, 0x400
shr ecx, 0xb
mulss xmm0, dword [ecx*4 + 0x10a8f78]
movss dword [ebp + eax*4 - 0x148], xmm0
movss xmm0, dword [edx*4 + 0x10ad380]
mulss xmm0, dword [ecx*4 + 0x10a4f70]
movss dword [ebp + eax*4 - 0x68], xmm0
add eax, 4
cmp eax, esi
jb 0x10544d6
cmp eax, ebx
jae 0x10546e9
lea esp, [esp]
movss xmm0, dword [ebp + eax*4 - 0xe4]
movss dword [ebp - 0xd98], xmm0
mov ecx, dword [ebp - 0xd98]
mov edx, ecx
and ecx, 0x7fffff
shr edx, 0x17
and edx, 0xff
movss xmm0, dword [edx*4 + 0x10acf80]
add ecx, 0x400
shr ecx, 0xb
mulss xmm0, dword [ecx*4 + 0x10a8f78]
movss dword [ebp + eax*4 - 0x154], xmm0
movss xmm0, dword [edx*4 + 0x10ad380]
mulss xmm0, dword [ecx*4 + 0x10a4f70]
movss dword [ebp + eax*4 - 0x74], xmm0
inc eax
cmp eax, ebx
jb 0x1054680
cmp dword [ebp - 0xdbc], 0
movss xmm5, dword [0x1007790]
jne 0x10549c0
xor edx, edx
test ebx, ebx
jle 0x1054746
lea esi, [ebp - 0xd94]
lea ebx, [ebx]
lea ecx, [edx + 0xe]
cmp ecx, ebx
jl 0x1054719
mov ecx, ebx
movss xmm1, dword [ebp + edx*4 - 0x74]
movss xmm0, dword [ebp + edx*4 - 0x154]
cmp edx, ecx
jge 0x105473e
mov eax, esi
sub ecx, edx
movss dword [eax], xmm0
add eax, 0x70
dec ecx
mulss xmm0, xmm1
jne 0x1054730
inc edx
add esi, 0x74
cmp edx, ebx
jl 0x1054710
xor edi, edi
cmp ebx, edi
jle 0x1054987
mov eax, dword [ebp - 0xdb8]
add eax, 0xfa08
mov dword [ebp - 0xdb0], edi
mov dword [ebp - 0xdac], eax
lea ecx, [edi + 6]
xor edx, edx
lea eax, [ecx - 0x13]
test eax, eax
setle dl
dec edx
and eax, edx
mov edx, dword [ebp - 0xda4]
cmp ecx, edx
jge 0x105478b
mov ebx, ecx
mov dword [ebp - 0xd9c], ebx
jmp 0x1054793
mov ebx, edx
mov dword [ebp - 0xd9c], edx
movaps xmm0, xmm4
movss dword [ebp - 0xda8], xmm0
cmp eax, edi
jg 0x1054880
mov edx, edi
sub edx, eax
inc edx
cmp edx, 4
jl 0x1054830
mov edx, dword [ebp - 0xdb0]
mov ebx, dword [ebp - 0xdb8]
sub ecx, eax
sub ecx, 9
add edx, eax
shr ecx, 2
inc ecx
lea esi, [ebp + edx*4 - 0xd90]
lea edx, [ebx + edx*4 + 0xfaec]
lea eax, [eax + ecx*4]
lea esp, [esp]
movss xmm1, dword [edx - 4]
mulss xmm1, dword [esi - 4]
addss xmm1, xmm0
movss xmm0, dword [edx]
mulss xmm0, dword [esi]
addss xmm1, xmm0
movss xmm0, dword [edx + 4]
mulss xmm0, dword [esi + 4]
addss xmm1, xmm0
movss xmm0, dword [edx + 8]
mulss xmm0, dword [esi + 8]
add edx, 0x10
add esi, 0x10
dec ecx
addss xmm1, xmm0
movaps xmm0, xmm1
jne 0x10547e0
mov ebx, dword [ebp - 0xd9c]
movss dword [ebp - 0xda8], xmm0
cmp eax, edi
jg 0x1054880
mov ecx, dword [ebp - 0xdb0]
mov edx, dword [ebp - 0xdb8]
add ecx, eax
lea esi, [ebp + ecx*4 - 0xd94]
lea edx, [edx + ecx*4 + 0xfae8]
mov ecx, edi
sub ecx, eax
inc ecx
add eax, ecx
jmp 0x1054860
movss xmm1, dword [edx]
mulss xmm1, dword [esi]
add edx, 4
add esi, 4
dec ecx
addss xmm1, xmm0
movaps xmm0, xmm1
jne 0x1054860
movss dword [ebp - 0xda8], xmm0
cmp eax, ebx
jge 0x1054945
mov ecx, ebx
sub ecx, eax
cmp ecx, 4
jl 0x105490c
mov esi, dword [ebp - 0xdb8]
mov ecx, eax
sub ecx, edi
lea edx, [ebx - 3]
lea ecx, [esi + ecx*4 + 0xfa7c]
lea esp, [esp]
movss xmm1, dword [ebp + eax*4 - 0x154]
mulss xmm1, dword [ecx - 4]
addss xmm1, xmm0
movss xmm0, dword [ebp + eax*4 - 0x150]
mulss xmm0, dword [ecx]
addss xmm1, xmm0
movss xmm0, dword [ebp + eax*4 - 0x14c]
mulss xmm0, dword [ecx + 4]
addss xmm1, xmm0
movss xmm0, dword [ebp + eax*4 - 0x148]
mulss xmm0, dword [ecx + 8]
add eax, 4
add ecx, 0x10
addss xmm1, xmm0
movaps xmm0, xmm1
cmp eax, edx
jl 0x10548b0
movss dword [ebp - 0xda8], xmm0
cmp eax, ebx
jge 0x1054945
mov ecx, dword [ebp - 0xdb8]
mov edx, eax
sub edx, edi
lea ecx, [ecx + edx*4 + 0xfa78]
movss xmm1, dword [ebp + eax*4 - 0x154]
mulss xmm1, dword [ecx]
inc eax
add ecx, 4
addss xmm1, xmm0
movaps xmm0, xmm1
cmp eax, ebx
jl 0x1054921
movss dword [ebp - 0xda8], xmm0
fld dword [ebp - 0xda8]
mov eax, dword [ebp - 0xdac]
fld st(0)
add dword [ebp - 0xdb0], 0x1c
fsqrt
inc edi
add eax, 4
mov dword [ebp - 0xdac], eax
fld st(1)
fmulp st(2)
fxch st(1)
fmul dword [eax - 4]
fmulp st(1)
fstp dword [ebp + edi*4 - 0x78]
cmp edi, dword [ebp - 0xda4]
jl 0x1054767
mov ebx, dword [ebp - 0xda4]
xor eax, eax
test ebx, ebx
jle 0x1054bb2
jmp 0x10549a0
movss xmm0, dword [ebp + eax*4 - 0xe4]
comiss xmm0, dword [ebp + eax*4 - 0x74]
jb 0x10549b6
movss dword [ebp + eax*4 - 0x74], xmm0
inc eax
cmp eax, ebx
jl 0x10549a0
jmp 0x1054bb2
movss xmm0, dword [ebp - 0xe4]
lea edx, [ebx*4]
push edx
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x74]
push ecx
movss dword [ebp - 0xdac], xmm5
movss dword [ebp - 0xd9c], xmm0
call sub.MSVCR100.dll_memcpy
movss xmm4, dword [0x100778c]
movss xmm3, dword [0x1007118]
movss xmm2, dword [ebp - 0xd9c]
movss xmm0, dword [ebp - 0xdac]
movss xmm5, dword [0x1007790]
add esp, 0xc
xor eax, eax
cmp ebx, 4
jl 0x1054b58
lea edx, [ebx - 1]
lea esi, [ebx - 3]
lea ecx, [eax + 2]
nop
cmp eax, edx
jge 0x1054a43
movss xmm1, dword [ebp + eax*4 - 0xe0]
mulss xmm1, xmm4
jmp 0x1054a46
movaps xmm1, xmm5
comiss xmm2, xmm0
jbe 0x1054a4e
movaps xmm0, xmm2
mulss xmm0, xmm3
comiss xmm0, dword [ebp + eax*4 - 0x74]
jbe 0x1054a5f
movss dword [ebp + eax*4 - 0x74], xmm0
comiss xmm1, dword [ebp + eax*4 - 0x74]
jbe 0x1054a6c
movss dword [ebp + eax*4 - 0x74], xmm1
movss xmm2, dword [ebp + eax*4 - 0xe4]
lea edi, [ecx - 1]
cmp edi, edx
jge 0x1054a8b
movss xmm1, dword [ebp + eax*4 - 0xdc]
mulss xmm1, xmm4
jmp 0x1054a8e
movaps xmm1, xmm5
comiss xmm2, xmm0
jbe 0x1054a96
movaps xmm0, xmm2
mulss xmm0, xmm3
comiss xmm0, dword [ebp + eax*4 - 0x70]
jbe 0x1054aa7
movss dword [ebp + eax*4 - 0x70], xmm0
comiss xmm1, dword [ebp + eax*4 - 0x70]
jbe 0x1054ab4
movss dword [ebp + eax*4 - 0x70], xmm1
movss xmm2, dword [ebp + eax*4 - 0xe0]
cmp ecx, edx
jge 0x1054ad0
movss xmm1, dword [ebp + eax*4 - 0xd8]
mulss xmm1, xmm4
jmp 0x1054ad3
movaps xmm1, xmm5
comiss xmm2, xmm0
jbe 0x1054adb
movaps xmm0, xmm2
mulss xmm0, xmm3
comiss xmm0, dword [ebp + eax*4 - 0x6c]
jbe 0x1054aec
movss dword [ebp + eax*4 - 0x6c], xmm0
comiss xmm1, dword [ebp + eax*4 - 0x6c]
jbe 0x1054af9
movss dword [ebp + eax*4 - 0x6c], xmm1
movss xmm2, dword [ebp + eax*4 - 0xdc]
lea edi, [ecx + 1]
cmp edi, edx
jge 0x1054b18
movss xmm1, dword [ebp + eax*4 - 0xd4]
mulss xmm1, xmm4
jmp 0x1054b1b
movaps xmm1, xmm5
comiss xmm2, xmm0
jbe 0x1054b23
movaps xmm0, xmm2
mulss xmm0, xmm3
comiss xmm0, dword [ebp + eax*4 - 0x68]
jbe 0x1054b34
movss dword [ebp + eax*4 - 0x68], xmm0
comiss xmm1, dword [ebp + eax*4 - 0x68]
jbe 0x1054b41
movss dword [ebp + eax*4 - 0x68], xmm1
movss xmm2, dword [ebp + eax*4 - 0xd8]
add eax, 4
add ecx, 4
cmp eax, esi
jl 0x1054a30
cmp eax, ebx
jge 0x1054baa
lea ecx, [ebx - 1]
nop
cmp eax, ecx
jge 0x1054b73
movss xmm1, dword [ebp + eax*4 - 0xe0]
mulss xmm1, xmm4
jmp 0x1054b76
movaps xmm1, xmm5
comiss xmm2, xmm0
jbe 0x1054b7e
movaps xmm0, xmm2
mulss xmm0, xmm3
comiss xmm0, dword [ebp + eax*4 - 0x74]
jbe 0x1054b8f
movss dword [ebp + eax*4 - 0x74], xmm0
comiss xmm1, dword [ebp + eax*4 - 0x74]
jbe 0x1054b9c
movss dword [ebp + eax*4 - 0x74], xmm1
movss xmm2, dword [ebp + eax*4 - 0xe4]
inc eax
cmp eax, ebx
jl 0x1054b60
movss xmm6, dword [0x1002fd4]
cmp dword [ebp + 0x24], 0
mov edi, dword [ebp - 0xdc0]
je 0x1054d96
mov ecx, dword [ebp + 0xc]
xor edx, edx
cmp ebx, 4
jl 0x1054d35
mov ebx, dword [ebp + 0x24]
sub ebx, ecx
mov dword [ebp - 0xdc8], ebx
mov ebx, edi
sub ebx, ecx
mov dword [ebp - 0xd9c], ebx
lea ebx, [ebp - 0x74]
sub ebx, ecx
mov dword [ebp - 0xdc4], ebx
lea ebx, [ebp - 0x70]
sub ebx, ecx
mov dword [ebp - 0xdcc], ebx
lea ebx, [ebp - 0x6c]
sub ebx, ecx
mov dword [ebp - 0xdb4], ebx
mov ebx, dword [ebp + 0x24]
sub ebx, edi
mov dword [ebp - 0xdac], ebx
mov ebx, dword [ebp + 0x24]
lea esi, [edi + 8]
lea edi, [ebp - 0x74]
lea eax, [ecx + 4]
sub ebx, edi
nop
movss xmm1, dword [ebp + edx*4 - 0x74]
movss xmm3, dword [eax - 4]
lea edi, [ebx + edx*4]
mulss xmm3, dword [ebp + edi - 0x74]
lea edi, [ebp + edi - 0x74]
movaps xmm0, xmm6
subss xmm0, dword [edi]
mulss xmm0, xmm1
addss xmm0, xmm3
comiss xmm0, xmm1
mov dword [ebp - 0xdbc], edi
ja 0x1054c55
movaps xmm0, xmm1
mov edi, dword [ebp - 0xdc8]
movss dword [esi - 8], xmm0
movss xmm2, dword [edi + eax]
mov edi, dword [ebp - 0xdc4]
movss xmm1, dword [edi + eax]
movss xmm3, dword [eax]
movaps xmm0, xmm6
subss xmm0, xmm2
mulss xmm0, xmm1
mulss xmm3, xmm2
addss xmm0, xmm3
comiss xmm0, xmm1
ja 0x1054c8f
movaps xmm0, xmm1
mov edi, dword [ebp - 0xd9c]
movss dword [edi + eax], xmm0
mov edi, dword [ebp - 0xdac]
movss xmm2, dword [edi + esi]
mov edi, dword [ebp - 0xdcc]
movss xmm1, dword [edi + eax]
movss xmm3, dword [eax + 4]
movaps xmm0, xmm6
subss xmm0, xmm2
mulss xmm0, xmm1
mulss xmm3, xmm2
addss xmm0, xmm3
comiss xmm0, xmm1
ja 0x1054cd0
movaps xmm0, xmm1
mov edi, dword [ebp - 0xdbc]
movss dword [esi], xmm0
movss xmm2, dword [edi + 0xc]
mov edi, dword [ebp - 0xdb4]
movss xmm1, dword [edi + eax]
movss xmm3, dword [eax + 8]
movaps xmm0, xmm6
subss xmm0, xmm2
mulss xmm0, xmm1
mulss xmm3, xmm2
addss xmm0, xmm3
comiss xmm0, xmm1
ja 0x1054d0a
movaps xmm0, xmm1
mov edi, dword [ebp - 0xda4]
movss dword [esi + 4], xmm0
add edx, 4
add edi, 0xfffffffd
add eax, 0x10
add esi, 0x10
cmp edx, edi
jl 0x1054c20
mov edi, dword [ebp - 0xdc0]
mov ebx, dword [ebp - 0xda4]
cmp edx, ebx
jge 0x1054db3
mov esi, dword [ebp + 0x24]
lea eax, [ebp - 0x74]
sub esi, ecx
sub ecx, eax
sub edi, eax
jmp 0x1054d50
movss xmm1, dword [ebp + edx*4 - 0x74]
lea eax, [ecx + edx*4]
movss xmm3, dword [ebp + eax - 0x74]
lea eax, [ebp + eax - 0x74]
mulss xmm3, dword [esi + eax]
movaps xmm0, xmm6
subss xmm0, dword [esi + eax]
mulss xmm0, xmm1
addss xmm0, xmm3
comiss xmm0, xmm1
ja 0x1054d80
movaps xmm0, xmm1
lea eax, [edi + edx*4]
inc edx
movss dword [ebp + eax - 0x74], xmm0
cmp edx, ebx
jl 0x1054d50
mov edi, dword [ebp - 0xdc0]
jmp 0x1054db3
lea ecx, [ebx*4]
push ecx
lea edx, [ebp - 0x74]
push edx
push edi
call sub.MSVCR100.dll_memcpy
movss xmm5, dword [0x1007790]
add esp, 0xc
xor eax, eax
test ebx, ebx
jle 0x1054dd0
lea esp, [esp]
comiss xmm5, dword [edi + eax*4]
jbe 0x1054dcb
movss dword [edi + eax*4], xmm5
inc eax
cmp eax, ebx
jl 0x1054dc0
cmp dword [ebp + 0x28], 0
pop edi
pop esi
pop ebx
jne 0x1054df7
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0xdd4]
mov edx, dword [ebp - 0xdd0]
push eax
mov eax, dword [ebp - 0xdb8]
push ecx
push edx
push eax
call fcn.01053db0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.010225fd
mov esp, ebp
pop ebp
ret 0x2c