Function at 0x41ba20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x168
mov eax, dword [0x5bc324]
xor eax, esp
mov dword [esp + 0x164], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0xb0], 0
mov ecx, dword [ebp + 8]
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xb4], 0
cmp dword [ecx + 0x20], 0
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0x28]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], edx
mov dword [esp + 0x20], esi
je 0x41ba91
mov eax, dword [edi + 4]
sub eax, esi
mov dword [esp + 0x20], eax
mov eax, edx
imul eax, dword [esp + 0x28]
shl eax, 2
push eax
push 0
push dword [ecx + 0x14]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [esp + 0x50]
call fcn.0040a5c0
mov eax, dword [esp + 0x2c]
xorps xmm3, xmm3
mov esi, dword [edi + 8]
movss xmm4, dword [0x59cb40]
movss xmm5, dword [0x59cc60]
cmp dword [eax + 0x18], 0x50
jne 0x41c19d
xor eax, eax
mov dword [esp + 0x14], eax
test esi, esi
jle 0x41bfc3
movss xmm1, dword [0x59cc20]
xor esi, esi
movss xmm2, dword [0x59cbd4]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
jmp 0x41bb04
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x8c], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x54], xmm0
movlpd qword [esp + 0x5c], xmm0
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x74], xmm0
movlpd qword [esp + 0x7c], xmm0
movlpd qword [esp + 0x84], xmm0
xorps xmm0, xmm0
mov dword [esp + 0x64], 0x3f800000
test al, 1
je 0x41bb73
cvtsi2ss xmm0, dword [esp + 0x20]
divss xmm0, xmm1
mulss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x30], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x30]
jmp 0x41bba0
mov eax, dword [esp + 0x20]
neg eax
cvtsi2ss xmm0, eax
divss xmm0, xmm1
mulss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x30], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x30]
movss dword [esp + 0x78], xmm1
movss dword [esp + 0x50], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm4, dword [0x59cd20]
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x1c]
cvtsd2ss xmm0, xmm0
push 0x403d40
push 0x4096d0
push 4
push 8
mov dword [esp + 0xf8], 0
xorps xmm0, xmm4
mov dword [esp + 0xfc], 0x3f800000
movss dword [esp + 0x68], xmm0
xorps xmm0, xmm4
movss dword [esp + 0x80], xmm0
movss xmm1, dword [eax + esi]
addss xmm1, dword [eax + esi + 8]
movss xmm2, dword [eax + esi + 0xc]
addss xmm2, dword [eax + esi + 4]
movups xmm0, xmmword [eax + ecx]
mov esi, dword [edi + 0x18]
lea eax, [esp + 0xd0]
mulss xmm1, dword [0x59cb40]
add esi, dword [esp + 0x28]
mulss xmm2, dword [0x59cb40]
push eax
movaps xmm3, xmm1
movss dword [esp + 0x58], xmm1
xorps xmm3, xmm4
movaps xmmword [esp + 0x44], xmm0
movss dword [esp + 0x5c], xmm2
movaps xmm1, xmm3
addss xmm3, dword [esp + 0x4c]
addss xmm1, xmm0
mov dword [esp + 0x10c], 0
xorps xmm2, xmm4
mov dword [esp + 0x110], 0x3f800000
movaps xmm0, xmm2
mov dword [esp + 0x11c], 0
addss xmm0, dword [esp + 0x48]
addss xmm2, dword [esp + 0x50]
movss dword [esp + 0xf4], xmm1
movss dword [esp + 0x104], xmm3
movss dword [esp + 0x114], xmm1
movss dword [esp + 0xf8], xmm0
movss dword [esp + 0x108], xmm0
movss dword [esp + 0x118], xmm2
mov dword [esp + 0x120], 0x3f800000
movss dword [esp + 0x124], xmm3
movss dword [esp + 0x128], xmm2
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0x3f800000
call fcn.00524972
xor edi, edi
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x54]
call fcn.0040a3a0
movss xmm0, dword [eax + 8]
xorps xmm2, xmm2
subss xmm2, dword [esp + 0x98]
subss xmm0, dword [esp + 0x98]
movss xmm1, dword [eax + 4]
xorps xmm3, xmm3
subss xmm1, dword [esp + 0x94]
divss xmm2, xmm0
mulss xmm1, xmm2
addss xmm1, dword [esp + 0x94]
movss dword [esp + edi*8 + 0xc4], xmm1
movss xmm1, dword [eax]
add eax, 0x10
subss xmm1, dword [esp + 0x90]
mulss xmm1, xmm2
addss xmm1, dword [esp + 0x90]
movss dword [esp + edi*8 + 0xc0], xmm1
inc edi
cmp edi, 4
jl 0x41bd05
movups xmm0, xmmword [esp + 0xc0]
movss xmm1, dword [esp + 0x44]
movups xmmword [esi], xmm0
movss xmm0, dword [esp + 0xd0]
movss dword [esi + 0x18], xmm0
movss xmm0, dword [esp + 0xd4]
movss dword [esi + 0x1c], xmm0
movss xmm0, dword [esp + 0xd8]
movss xmm2, dword [esp + 0x48]
movss dword [esi + 0x10], xmm0
movss xmm0, dword [esp + 0xdc]
movss dword [esi + 0x14], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esi]
movss xmm4, dword [0x59cc60]
movss dword [esi], xmm0
movaps xmm0, xmm2
addss xmm0, dword [esi + 4]
movss dword [esi + 4], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esi + 8]
movss dword [esi + 8], xmm0
movaps xmm0, xmm2
addss xmm0, dword [esi + 0xc]
movss dword [esi + 0xc], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esi + 0x10]
movss dword [esi + 0x10], xmm0
movaps xmm0, xmm2
addss xmm0, dword [esi + 0x14]
movss dword [esi + 0x14], xmm0
addss xmm2, dword [esi + 0x1c]
addss xmm1, dword [esi + 0x18]
movss dword [esi + 0x1c], xmm2
movss xmm2, dword [0x59cb40]
movss dword [esi + 0x18], xmm1
movss xmm0, dword [esi]
comiss xmm0, xmm3
jb 0x41be4d
movaps xmm1, xmm2
jmp 0x41be50
movaps xmm1, xmm4
addss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [esi + 4]
comiss xmm0, xmm3
jb 0x41be67
movaps xmm5, xmm2
jmp 0x41be6a
movaps xmm5, xmm4
addss xmm0, xmm5
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movss dword [esi], xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 4], xmm0
movss xmm0, dword [esi + 8]
comiss xmm0, xmm3
jb 0x41be98
movaps xmm1, xmm2
jmp 0x41be9b
movaps xmm1, xmm4
addss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [esi + 0xc]
comiss xmm0, xmm3
jb 0x41beb2
movaps xmm5, xmm2
jmp 0x41beb5
movaps xmm5, xmm4
addss xmm0, xmm5
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movss dword [esi + 8], xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0xc], xmm0
movss xmm0, dword [esi + 0x18]
comiss xmm0, xmm3
jb 0x41bee4
movaps xmm1, xmm2
jmp 0x41bee7
movaps xmm1, xmm4
addss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [esi + 0x1c]
comiss xmm0, xmm3
jb 0x41befe
movaps xmm5, xmm2
jmp 0x41bf01
movaps xmm5, xmm4
addss xmm0, xmm5
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movss dword [esi + 0x18], xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x1c], xmm0
movss xmm0, dword [esi + 0x10]
comiss xmm0, xmm3
jb 0x41bf30
movaps xmm1, xmm2
jmp 0x41bf33
movaps xmm1, xmm4
addss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [esi + 0x14]
comiss xmm0, xmm3
jb 0x41bf48
movaps xmm4, xmm2
addss xmm0, xmm4
movd xmm1, eax
push 0x403d40
cvtdq2ps xmm1, xmm1
push 4
push 8
cvttss2si eax, xmm0
movss dword [esi + 0x10], xmm1
movd xmm0, eax
lea eax, [esp + 0xcc]
cvtdq2ps xmm0, xmm0
push eax
movss dword [esi + 0x14], xmm0
call fcn.00523bc6
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
add dword [esp + 0x18], 0x20
inc eax
add dword [esp + 0x1c], 0x10
mov esi, dword [edi + 8]
movss xmm1, dword [0x59cc20]
movss xmm2, dword [0x59cbd4]
mov dword [esp + 0x14], eax
cmp eax, esi
jl 0x41bb00
movss xmm4, dword [0x59cb40]
xorps xmm3, xmm3
movss xmm5, dword [0x59cc60]
xor ecx, ecx
test esi, esi
jle 0x41bff3
mov eax, dword [edi + 0x18]
add eax, 0x18
nop
movss xmm1, dword [eax - 8]
subss xmm1, dword [eax]
movd xmm0, ecx
add eax, 0x20
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
cvttss2si ecx, xmm1
sub esi, 1
jne 0x41bfd0
mov esi, dword [edi + 8]
mov eax, dword [esp + 0x28]
sub eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
test esi, esi
jle 0x41c0a6
mov ecx, dword [edi + 0x18]
add ecx, 0x14
nop
movd xmm2, eax
inc edx
cvtdq2ps xmm2, xmm2
movaps xmm1, xmm2
subss xmm1, dword [ecx + 4]
movaps xmm0, xmm1
addss xmm0, dword [ecx - 0x14]
movss dword [ecx - 0x14], xmm0
movss xmm0, dword [ecx - 0x10]
addss xmm0, xmm3
movss dword [ecx - 0x10], xmm0
movaps xmm0, xmm1
addss xmm0, dword [ecx - 0xc]
movss dword [ecx - 0xc], xmm0
movss xmm0, dword [ecx - 8]
addss xmm0, xmm3
movss dword [ecx - 8], xmm0
movaps xmm0, xmm1
addss xmm0, dword [ecx - 4]
movss dword [ecx - 4], xmm0
movss xmm0, dword [ecx]
addss xmm0, xmm3
movss dword [ecx], xmm0
movss xmm0, dword [ecx + 8]
addss xmm1, dword [ecx + 4]
addss xmm0, xmm3
movss dword [ecx + 4], xmm1
movss dword [ecx + 8], xmm0
movss xmm0, dword [ecx - 4]
add ecx, 0x20
mov esi, dword [edi + 8]
subss xmm0, xmm1
addss xmm0, xmm2
cvttss2si eax, xmm0
cmp edx, esi
jl 0x41c010
mov dword [esp + 0x14], 0
test esi, esi
jle 0x41c888
xor esi, esi
xor eax, eax
mov dword [esp + 0x18], eax
nop
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x18]
add ecx, esi
add edx, eax
movss xmm0, dword [ecx]
comiss xmm0, xmm3
jb 0x41c0d8
movaps xmm1, xmm4
jmp 0x41c0db
movaps xmm1, xmm5
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [esp + 0x30], eax
movss xmm0, dword [ecx + 4]
comiss xmm0, xmm3
jb 0x41c0f6
movaps xmm1, xmm4
jmp 0x41c0f9
movaps xmm1, xmm5
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [esp + 0x34], eax
movss xmm0, dword [ecx + 8]
comiss xmm0, xmm3
jb 0x41c114
movaps xmm1, xmm4
jmp 0x41c117
movaps xmm1, xmm5
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [esp + 0x38], eax
movss xmm0, dword [ecx + 0xc]
comiss xmm0, xmm3
jb 0x41c130
movaps xmm5, xmm4
addss xmm0, xmm5
push 0
push 0
lea ecx, [esp + 0xb8]
cvttss2si eax, xmm0
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x14]
push ecx
push edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x44]
push ecx
push ecx
mov ecx, dword [eax + 0x24]
call fcn.004060e0
mov ecx, dword [esp + 0x30]
add esp, 0x1c
mov eax, dword [esp + 0x18]
inc ecx
movss xmm4, dword [0x59cb40]
add eax, 0x20
movss xmm5, dword [0x59cc60]
add esi, 0x10
xorps xmm3, xmm3
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp ecx, dword [edi + 8]
jl 0x41c0c0
jmp 0x41c888
xor eax, eax
mov dword [esp + 0x14], eax
test esi, esi
jle 0x41c6af
movss xmm1, dword [0x59cc20]
xor esi, esi
movss xmm2, dword [0x59cbd4]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
jmp 0x41c1d4
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x70], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x54], xmm0
movlpd qword [esp + 0x5c], xmm0
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x78], xmm0
movlpd qword [esp + 0x80], xmm0
movlpd qword [esp + 0x88], xmm0
mov dword [esp + 0x50], 0x3f800000
test al, 1
je 0x41c243
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [esp + 0x20]
divss xmm0, xmm1
mulss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x48], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x48]
jmp 0x41c273
mov eax, dword [esp + 0x20]
neg eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
mulss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x48], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x48]
movss dword [esp + 0x78], xmm1
movss dword [esp + 0x64], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
mov eax, dword [edi + 0xc]
movss xmm3, dword [0x59cd20]
mov ecx, dword [esp + 0x1c]
cvtsd2ss xmm0, xmm0
push 0x403d40
push 0x4096d0
push 4
push 8
mov dword [esp + 0x138], 0
movss dword [esp + 0x78], xmm0
xorps xmm0, xmm3
movss dword [esp + 0x84], xmm0
movss xmm1, dword [esi + eax]
addss xmm1, dword [esi + eax + 8]
movss xmm2, dword [esi + eax + 0xc]
addss xmm2, dword [esi + eax + 4]
movups xmm4, xmmword [ecx + eax]
mov esi, dword [edi + 0x18]
lea eax, [esp + 0xf0]
mulss xmm1, dword [0x59cb40]
add esi, dword [esp + 0x28]
mulss xmm2, dword [0x59cb40]
push eax
movaps xmm0, xmm1
movss dword [esp + 0x5c], xmm1
xorps xmm0, xmm3
movaps xmmword [esp + 0xd4], xmm4
movaps xmm1, xmm2
movss dword [esp + 0x58], xmm2
movss xmm2, dword [esp + 0xd8]
addss xmm4, xmm0
xorps xmm1, xmm3
mov dword [esp + 0x140], 0x3f800000
movss xmm3, dword [esp + 0xdc]
addss xmm2, xmm1
addss xmm3, xmm0
mov dword [esp + 0x14c], 0
movss xmm0, dword [esp + 0xe0]
addss xmm0, xmm1
movss dword [esp + 0x134], xmm4
mov dword [esp + 0x150], 0x3f800000
movss dword [esp + 0x138], xmm2
movss dword [esp + 0x144], xmm3
movss dword [esp + 0x148], xmm2
movss dword [esp + 0x154], xmm4
movss dword [esp + 0x158], xmm0
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0x3f800000
movss dword [esp + 0x164], xmm3
movss dword [esp + 0x168], xmm0
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], 0x3f800000
call fcn.00524972
xor edi, edi
lea eax, [esp + 0x120]
nop word [eax + eax]
push eax
lea ecx, [esp + 0x54]
call fcn.0040a3a0
movss xmm0, dword [eax + 8]
xorps xmm2, xmm2
subss xmm2, dword [esp + 0x98]
subss xmm0, dword [esp + 0x98]
movss xmm1, dword [eax + 4]
xorps xmm3, xmm3
subss xmm1, dword [esp + 0x94]
divss xmm2, xmm0
mulss xmm1, xmm2
addss xmm1, dword [esp + 0x94]
movss dword [esp + edi*8 + 0xe4], xmm1
movss xmm1, dword [eax]
add eax, 0x10
subss xmm1, dword [esp + 0x90]
mulss xmm1, xmm2
addss xmm1, dword [esp + 0x90]
movss dword [esp + edi*8 + 0xe0], xmm1
inc edi
cmp edi, 4
jl 0x41c3f0
movups xmm0, xmmword [esp + 0xe0]
movss xmm1, dword [esp + 0x48]
movups xmmword [esi], xmm0
movss xmm0, dword [esp + 0xf0]
movss dword [esi + 0x18], xmm0
movss xmm0, dword [esp + 0xf4]
movss dword [esi + 0x1c], xmm0
movss xmm0, dword [esp + 0xf8]
movss xmm2, dword [esp + 0x44]
movss dword [esi + 0x10], xmm0
movss xmm0, dword [esp + 0xfc]
movss dword [esi + 0x14], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esi]
movss xmm4, dword [0x59cc60]
movss dword [esi], xmm0
movaps xmm0, xmm2
addss xmm0, dword [esi + 4]
movss dword [esi + 4], xmm0
movss xmm0, dword [esi + 8]
addss xmm0, xmm1
movss dword [esi + 8], xmm0
movaps xmm0, xmm2
addss xmm0, dword [esi + 0xc]
movss dword [esi + 0xc], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esi + 0x10]
movss dword [esi + 0x10], xmm0
movaps xmm0, xmm2
addss xmm0, dword [esi + 0x14]
movss dword [esi + 0x14], xmm0
addss xmm1, dword [esi + 0x18]
addss xmm2, dword [esi + 0x1c]
movss dword [esi + 0x18], xmm1
movss dword [esi + 0x1c], xmm2
movss xmm1, dword [esi]
comiss xmm1, xmm3
movss xmm2, dword [0x59cb40]
jb 0x41c539
movaps xmm0, xmm2
jmp 0x41c53c
movaps xmm0, xmm4
movss xmm5, dword [esi + 4]
addss xmm0, xmm1
comiss xmm5, xmm3
cvttss2si eax, xmm0
jb 0x41c553
movaps xmm0, xmm2
jmp 0x41c556
movaps xmm0, xmm4
addss xmm0, xmm5
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movss dword [esi], xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 4], xmm0
movss xmm1, dword [esi + 8]
comiss xmm1, xmm3
jb 0x41c584
movaps xmm0, xmm2
jmp 0x41c587
movaps xmm0, xmm4
movss xmm5, dword [esi + 0xc]
addss xmm0, xmm1
comiss xmm5, xmm3
cvttss2si eax, xmm0
jb 0x41c59e
movaps xmm0, xmm2
jmp 0x41c5a1
movaps xmm0, xmm4
addss xmm0, xmm5
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movss dword [esi + 8], xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0xc], xmm0
movss xmm1, dword [esi + 0x18]
comiss xmm1, xmm3
jb 0x41c5d0
movaps xmm0, xmm2
jmp 0x41c5d3
movaps xmm0, xmm4
movss xmm5, dword [esi + 0x1c]
addss xmm0, xmm1
comiss xmm5, xmm3
cvttss2si eax, xmm0
jb 0x41c5ea
movaps xmm0, xmm2
jmp 0x41c5ed
movaps xmm0, xmm4
addss xmm0, xmm5
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movss dword [esi + 0x18], xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x1c], xmm0
movss xmm1, dword [esi + 0x10]
comiss xmm1, xmm3
jb 0x41c61c
movaps xmm0, xmm2
jmp 0x41c61f
movaps xmm0, xmm4
addss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [esi + 0x14]
comiss xmm0, xmm3
jb 0x41c634
movaps xmm4, xmm2
addss xmm4, xmm0
movd xmm1, eax
push 0x403d40
cvtdq2ps xmm1, xmm1
push 4
push 8
cvttss2si eax, xmm4
movss dword [esi + 0x10], xmm1
movd xmm0, eax
lea eax, [esp + 0xec]
cvtdq2ps xmm0, xmm0
push eax
movss dword [esi + 0x14], xmm0
call fcn.00523bc6
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
add dword [esp + 0x18], 0x20
inc eax
add dword [esp + 0x1c], 0x10
mov esi, dword [edi + 8]
movss xmm1, dword [0x59cc20]
movss xmm2, dword [0x59cbd4]
mov dword [esp + 0x14], eax
cmp eax, esi
jl 0x41c1d0
movss xmm4, dword [0x59cb40]
xorps xmm3, xmm3
movss xmm5, dword [0x59cc60]
xor ecx, ecx
test esi, esi
jle 0x41c6e3
mov eax, dword [edi + 0x18]
add eax, 0xc
nop dword [eax + eax]
movss xmm1, dword [eax + 8]
subss xmm1, dword [eax]
movd xmm0, ecx
add eax, 0x20
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
cvttss2si ecx, xmm1
sub esi, 1
jne 0x41c6c0
mov esi, dword [edi + 8]
mov eax, dword [esp + 0x30]
sub eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
test esi, esi
jle 0x41c796
mov ecx, dword [edi + 0x18]
add ecx, 0x14
nop
movss xmm0, dword [ecx - 0x14]
inc edx
addss xmm0, xmm3
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movaps xmm1, xmm2
subss xmm1, dword [ecx - 0x10]
movss dword [ecx - 0x14], xmm0
movaps xmm0, xmm1
addss xmm0, dword [ecx - 0x10]
movss dword [ecx - 0x10], xmm0
movss xmm0, dword [ecx - 0xc]
addss xmm0, xmm3
movss dword [ecx - 0xc], xmm0
movaps xmm0, xmm1
addss xmm0, dword [ecx - 8]
movss dword [ecx - 8], xmm0
movss xmm0, dword [ecx - 4]
addss xmm0, xmm3
movss dword [ecx - 4], xmm0
movaps xmm0, xmm1
addss xmm0, dword [ecx]
movss dword [ecx], xmm0
movss xmm0, dword [ecx + 4]
addss xmm1, dword [ecx + 8]
addss xmm0, xmm3
movss dword [ecx + 8], xmm1
movss dword [ecx + 4], xmm0
movss xmm0, dword [ecx]
subss xmm0, dword [ecx - 8]
mov esi, dword [edi + 8]
add ecx, 0x20
addss xmm0, xmm2
cvttss2si eax, xmm0
cmp edx, esi
jl 0x41c700
mov dword [esp + 0x24], 0
test esi, esi
jle 0x41c888
xor esi, esi
xor eax, eax
mov dword [esp + 0x14], eax
nop
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x18]
add ecx, esi
add edx, eax
movss xmm0, dword [ecx]
comiss xmm0, xmm3
jb 0x41c7c8
movaps xmm1, xmm4
jmp 0x41c7cb
movaps xmm1, xmm5
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [esp + 0x30], eax
movss xmm0, dword [ecx + 4]
comiss xmm0, xmm3
jb 0x41c7e6
movaps xmm1, xmm4
jmp 0x41c7e9
movaps xmm1, xmm5
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [esp + 0x34], eax
movss xmm0, dword [ecx + 8]
comiss xmm0, xmm3
jb 0x41c804
movaps xmm1, xmm4
jmp 0x41c807
movaps xmm1, xmm5
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [esp + 0x38], eax
movss xmm0, dword [ecx + 0xc]
comiss xmm0, xmm3
jb 0x41c820
movaps xmm5, xmm4
addss xmm0, xmm5
push 0
push 0
lea ecx, [esp + 0xb8]
cvttss2si eax, xmm0
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x14]
push ecx
push edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x44]
push ecx
push ecx
mov ecx, dword [eax + 0x24]
call fcn.004060e0
mov ecx, dword [esp + 0x40]
add esp, 0x1c
mov eax, dword [esp + 0x14]
inc ecx
movss xmm4, dword [0x59cb40]
add eax, 0x20
movss xmm5, dword [0x59cc60]
add esi, 0x10
xorps xmm3, xmm3
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], eax
cmp ecx, dword [edi + 8]
jl 0x41c7b0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x28]
cmp eax, dword [edi + 4]
jne 0x41c89b
mov dword [ecx + 0x2c], 1
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
xor ecx, esp
call fcn.00523a6a
mov esp, ebp
pop ebp
ret 4