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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x168
mov eax, dword [0x5c1334]
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 0x41ba81
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.0040a5a0
mov eax, dword [esp + 0x2c]
xorps xmm3, xmm3
mov esi, dword [edi + 8]
movss xmm4, dword [0x5a0f20]
movss xmm5, dword [0x5a1040]
cmp dword [eax + 0x18], 0x50
jne 0x41c18d
xor eax, eax
mov dword [esp + 0x14], eax
test esi, esi
jle 0x41bfb3
movss xmm1, dword [0x5a1000]
xor esi, esi
movss xmm2, dword [0x5a0fb4]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
jmp 0x41baf4
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 0x41bb63
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 0x41bb90
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 [0x5a1100]
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x1c]
cvtsd2ss xmm0, xmm0
push 0x403d20
push 0x4096b0
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 [0x5a0f20]
add esi, dword [esp + 0x28]
mulss xmm2, dword [0x5a0f20]
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.005297cc
xor edi, edi
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x54]
call fcn.0040a380
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 0x41bcf5
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 [0x5a1040]
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 [0x5a0f20]
movss dword [esi + 0x18], xmm1
movss xmm0, dword [esi]
comiss xmm0, xmm3
jb 0x41be3d
movaps xmm1, xmm2
jmp 0x41be40
movaps xmm1, xmm4
addss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [esi + 4]
comiss xmm0, xmm3
jb 0x41be57
movaps xmm5, xmm2
jmp 0x41be5a
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 0x41be88
movaps xmm1, xmm2
jmp 0x41be8b
movaps xmm1, xmm4
addss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [esi + 0xc]
comiss xmm0, xmm3
jb 0x41bea2
movaps xmm5, xmm2
jmp 0x41bea5
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 0x41bed4
movaps xmm1, xmm2
jmp 0x41bed7
movaps xmm1, xmm4
addss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [esi + 0x1c]
comiss xmm0, xmm3
jb 0x41beee
movaps xmm5, xmm2
jmp 0x41bef1
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 0x41bf20
movaps xmm1, xmm2
jmp 0x41bf23
movaps xmm1, xmm4
addss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [esi + 0x14]
comiss xmm0, xmm3
jb 0x41bf38
movaps xmm4, xmm2
addss xmm0, xmm4
movd xmm1, eax
push 0x403d20
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.00528966
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 [0x5a1000]
movss xmm2, dword [0x5a0fb4]
mov dword [esp + 0x14], eax
cmp eax, esi
jl 0x41baf0
movss xmm4, dword [0x5a0f20]
xorps xmm3, xmm3
movss xmm5, dword [0x5a1040]
xor ecx, ecx
test esi, esi
jle 0x41bfe3
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 0x41bfc0
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 0x41c096
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 0x41c000
mov dword [esp + 0x14], 0
test esi, esi
jle 0x41c878
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 0x41c0c8
movaps xmm1, xmm4
jmp 0x41c0cb
movaps xmm1, xmm5
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [esp + 0x30], eax
movss xmm0, dword [ecx + 4]
comiss xmm0, xmm3
jb 0x41c0e6
movaps xmm1, xmm4
jmp 0x41c0e9
movaps xmm1, xmm5
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [esp + 0x34], eax
movss xmm0, dword [ecx + 8]
comiss xmm0, xmm3
jb 0x41c104
movaps xmm1, xmm4
jmp 0x41c107
movaps xmm1, xmm5
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [esp + 0x38], eax
movss xmm0, dword [ecx + 0xc]
comiss xmm0, xmm3
jb 0x41c120
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.004060c0
mov ecx, dword [esp + 0x30]
add esp, 0x1c
mov eax, dword [esp + 0x18]
inc ecx
movss xmm4, dword [0x5a0f20]
add eax, 0x20
movss xmm5, dword [0x5a1040]
add esi, 0x10
xorps xmm3, xmm3
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp ecx, dword [edi + 8]
jl 0x41c0b0
jmp 0x41c878
xor eax, eax
mov dword [esp + 0x14], eax
test esi, esi
jle 0x41c69f
movss xmm1, dword [0x5a1000]
xor esi, esi
movss xmm2, dword [0x5a0fb4]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
jmp 0x41c1c4
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 0x41c233
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 0x41c263
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 [0x5a1100]
mov ecx, dword [esp + 0x1c]
cvtsd2ss xmm0, xmm0
push 0x403d20
push 0x4096b0
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 [0x5a0f20]
add esi, dword [esp + 0x28]
mulss xmm2, dword [0x5a0f20]
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.005297cc
xor edi, edi
lea eax, [esp + 0x120]
nop word [eax + eax]
push eax
lea ecx, [esp + 0x54]
call fcn.0040a380
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 0x41c3e0
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 [0x5a1040]
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 [0x5a0f20]
jb 0x41c529
movaps xmm0, xmm2
jmp 0x41c52c
movaps xmm0, xmm4
movss xmm5, dword [esi + 4]
addss xmm0, xmm1
comiss xmm5, xmm3
cvttss2si eax, xmm0
jb 0x41c543
movaps xmm0, xmm2
jmp 0x41c546
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 0x41c574
movaps xmm0, xmm2
jmp 0x41c577
movaps xmm0, xmm4
movss xmm5, dword [esi + 0xc]
addss xmm0, xmm1
comiss xmm5, xmm3
cvttss2si eax, xmm0
jb 0x41c58e
movaps xmm0, xmm2
jmp 0x41c591
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 0x41c5c0
movaps xmm0, xmm2
jmp 0x41c5c3
movaps xmm0, xmm4
movss xmm5, dword [esi + 0x1c]
addss xmm0, xmm1
comiss xmm5, xmm3
cvttss2si eax, xmm0
jb 0x41c5da
movaps xmm0, xmm2
jmp 0x41c5dd
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 0x41c60c
movaps xmm0, xmm2
jmp 0x41c60f
movaps xmm0, xmm4
addss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [esi + 0x14]
comiss xmm0, xmm3
jb 0x41c624
movaps xmm4, xmm2
addss xmm4, xmm0
movd xmm1, eax
push 0x403d20
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.00528966
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 [0x5a1000]
movss xmm2, dword [0x5a0fb4]
mov dword [esp + 0x14], eax
cmp eax, esi
jl 0x41c1c0
movss xmm4, dword [0x5a0f20]
xorps xmm3, xmm3
movss xmm5, dword [0x5a1040]
xor ecx, ecx
test esi, esi
jle 0x41c6d3
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 0x41c6b0
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 0x41c786
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 0x41c6f0
mov dword [esp + 0x24], 0
test esi, esi
jle 0x41c878
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 0x41c7b8
movaps xmm1, xmm4
jmp 0x41c7bb
movaps xmm1, xmm5
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [esp + 0x30], eax
movss xmm0, dword [ecx + 4]
comiss xmm0, xmm3
jb 0x41c7d6
movaps xmm1, xmm4
jmp 0x41c7d9
movaps xmm1, xmm5
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [esp + 0x34], eax
movss xmm0, dword [ecx + 8]
comiss xmm0, xmm3
jb 0x41c7f4
movaps xmm1, xmm4
jmp 0x41c7f7
movaps xmm1, xmm5
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [esp + 0x38], eax
movss xmm0, dword [ecx + 0xc]
comiss xmm0, xmm3
jb 0x41c810
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.004060c0
mov ecx, dword [esp + 0x40]
add esp, 0x1c
mov eax, dword [esp + 0x14]
inc ecx
movss xmm4, dword [0x5a0f20]
add eax, 0x20
movss xmm5, dword [0x5a1040]
add esi, 0x10
xorps xmm3, xmm3
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], eax
cmp ecx, dword [edi + 8]
jl 0x41c7a0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x28]
cmp eax, dword [edi + 4]
jne 0x41c88b
mov dword [ecx + 0x2c], 1
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
xor ecx, esp
call fcn.00528802
mov esp, ebp
pop ebp
ret 4