Function at 0x432320
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
movss xmm0, dword [0x4a2730]
mov eax, 0xffffe764
mov word [0x4ae224], ax
movss xmm1, dword [0x4ae170]
comiss xmm0, xmm1
jbe 0x43235b
movsd xmm0, qword [0x4ae4a0]
addsd xmm0, qword [0x4a18f8]
movsd qword [0x4ae4a0], xmm0
cmp dword [0x4afa9c], 0
jne 0x432416
movss xmm0, dword [0x4ae1e8]
movsx eax, word [0x4ae35c]
movss xmm2, dword [0x4a2b08]
dec word [0x4ae35c]
subss xmm2, xmm0
movss xmm0, dword [0x4a2e0c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm2
comiss xmm0, xmm1
jb 0x4323ba
movsd xmm0, qword [0x4ae2f8]
addsd xmm0, qword [0x4ae210]
movsd qword [0x4ae210], xmm0
call fcn.00405040
mov dword [0x4afa9c], eax
dec word [0x4ae024]
movsx eax, word [0x4ae024]
movsd xmm0, qword [0x4ae038]
sub eax, 0x33d567fc
subsd xmm0, qword [0x4a0638]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
jb 0x432416
mov eax, dword [0x4ae2b4]
movss xmm0, dword [0x4ae340]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [0x4ae2b4], eax
movsd xmm2, qword [0x4ae010]
movsd xmm1, qword [0x4ae148]
movsx eax, word [0x4ae3f0]
subsd xmm2, qword [0x4a3690]
dec word [0x4ae3f0]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm2, xmm0
movsd xmm0, qword [0x4ae010]
addsd xmm0, qword [0x4a0128]
comisd xmm2, xmm1
movsd qword [0x4ae010], xmm0
jbe 0x432471
mov eax, 0xffff8d7d
mov word [0x4ae4d0], ax
push esi
push edi
push 3
push 0x20d
call fcn.0044a880
mov edx, dword [0x4ae0c8]
add esp, 8
movsx ecx, word [0x4ae4f4]
add edx, 0x6f99b2f1
mov esi, eax
cmp edx, ecx
jl 0x4324e2
mov ecx, dword [0x4ae254]
movsd xmm0, qword [0x4ae1e0]
movsd xmm1, qword [0x4a06c8]
subsd xmm1, xmm0
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
subsd xmm2, xmm1
cvttsd2si eax, xmm2
mov dword [0x4ae254], eax
movsd xmm0, qword [0x4ae1e0]
subsd xmm0, qword [0x4a0128]
movsd qword [0x4ae1e0], xmm0
push esi
push dword [ebp + 8]
call fcn.0045bae2
mov ecx, dword [0x4ae360]
mov edx, 0x21f6376b
movsd xmm0, qword [0x4ae4b8]
sub edx, ecx
mov edi, eax
add esp, 8
movsx eax, word [0x4ae33c]
add eax, 0x18b3517
movd xmm1, edx
cvtdq2pd xmm1, xmm1
subsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
ucomisd xmm1, xmm0
lahf
dec word [0x4ae33c]
movsd xmm0, qword [0x4ae4b8]
addsd xmm0, qword [0x4a0128]
movsd qword [0x4ae4b8], xmm0
test ah, 0x44
jp 0x43257f
movsd xmm0, qword [0x4ae040]
comisd xmm0, xmmword [0x4a0358]
jbe 0x43257f
mov eax, dword [0x4ae254]
mov ecx, dword [0x4ae270]
add eax, 0xb62f910b
imul ecx, eax
mov dword [0x4ae270], ecx
inc dword [0x4ae254]
push esi
push 3
call fcn.00441fb0
movss xmm0, dword [0x4ae084]
add esp, 8
movss xmm4, dword [0x4a0124]
movsd xmm3, qword [0x4a0128]
addss xmm0, xmm4
movss dword [0x4ae084], xmm0
movsd xmm0, qword [0x4ae448]
subsd xmm0, xmm3
movsd qword [0x4ae448], xmm0
mov eax, dword [0x4ae450]
movss xmm1, dword [0x4ae46c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss xmm0, dword [0x4ae084]
subss xmm0, dword [0x4a3d00]
subss xmm1, dword [0x4a2d48]
cvtps2pd xmm0, xmm0
cvtps2pd xmm2, xmm1
movsd xmm1, qword [0x4ae448]
addsd xmm1, xmm0
movss xmm0, dword [0x4ae46c]
subss xmm0, xmm4
comisd xmm1, xmm2
movss dword [0x4ae46c], xmm0
jb 0x432638
movss xmm0, dword [0x4ae1a8]
mulss xmm0, dword [0x4a2ca0]
movss dword [0x4ae1a8], xmm0
jmp 0x432642
add dword [0x4ae1a0], 0x8bd6c2f
test edi, edi
jne 0x4327b3
movsd xmm0, qword [0x4ae0a8]
addsd xmm0, xmm3
push 0x3e8
movsd qword [0x4ae0a8], xmm0
movsd xmm1, qword [0x4ae098]
movsd xmm0, qword [0x4ae0a8]
mov eax, dword [0x4ae360]
subsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
movss dword [0x4ae428], xmm0
dec dword [0x4ae360]
movsd xmm0, qword [0x4ae098]
subsd xmm0, xmm3
movsd qword [0x4ae098], xmm0
call dword [0x4af1dc]
movss xmm0, dword [0x4ae264]
addss xmm0, dword [0x4a0124]
push 3
push 0x20d
movss dword [0x4ae264], xmm0
movss xmm0, dword [0x4ae264]
movsd xmm1, qword [0x4ae488]
mov eax, dword [0x4ae410]
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [0x4ae410], eax
call fcn.0044a880
mov esi, eax
mov dword [0x4ae050], 0xce71bdbe
push esi
push dword [ebp + 8]
call fcn.0045bae2
movss xmm0, dword [0x4ae2f4]
mov edi, eax
cvtps2pd xmm2, xmm0
push esi
push 3
movsd xmm0, qword [0x4ae1f8]
movsd xmm1, qword [0x4ae4b0]
subsd xmm2, xmm0
movsx eax, word [0x4ae124]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm2
subsd xmm1, xmm0
movsd qword [0x4ae4b0], xmm1
movsd xmm0, qword [0x4ae1f8]
addsd xmm0, qword [0x4a0128]
movsd qword [0x4ae1f8], xmm0
call fcn.00441fb0
mov eax, dword [0x4ae42c]
mov ecx, 0xe3cca11e
movsd xmm3, qword [0x4a0128]
sub ecx, eax
movzx eax, word [0x4ae1c0]
add esp, 0x18
movss xmm4, dword [0x4a0124]
imul eax, ecx
mov word [0x4ae1c0], ax
dec dword [0x4ae42c]
movss xmm2, dword [0x4ae49c]
movss xmm1, dword [0x4ae2f0]
movss xmm0, dword [0x4ae2f0]
subss xmm2, dword [0x4a2674]
subss xmm0, xmm4
comiss xmm1, xmm2
movss dword [0x4ae2f0], xmm0
movss xmm0, dword [0x4ae49c]
addss xmm0, xmm4
movss dword [0x4ae49c], xmm0
jb 0x43285d
movsx eax, word [0x4ae004]
movsd xmm0, qword [0x4ae380]
sub eax, 0x6c1c0e3d
movd xmm1, eax
cvtdq2pd xmm1, xmm1
comisd xmm1, xmm0
jbe 0x432833
mov ax, word [0x4ae25c]
movzx ecx, word [0x4ae1c0]
cwde
sub ecx, eax
mov word [0x4ae1c0], cx
jmp 0x43285d
movss xmm0, dword [0x4ae190]
movsd xmm0, qword [0x4ae3b8]
mov ax, word [0x4ae020]
movss xmm0, dword [0x4ae190]
subss xmm0, xmm4
movss dword [0x4ae190], xmm0
test edi, edi
je 0x432913
mov eax, dword [0x4ae12c]
push edi
push 1
push 4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push 0x4afa9c
movss dword [0x4ae430], xmm0
call fcn.0045be0e
movsd xmm0, qword [0x4ae4e0]
movsx eax, word [0x4ae1a4]
movsd xmm1, qword [0x4a3998]
subsd xmm1, xmm0
push edi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov word [0x4ae1a4], ax
call fcn.0045b4f3
movsd xmm1, qword [0x4ae098]
add esp, 0x14
movsx eax, word [0x4ae464]
addsd xmm1, qword [0x4a09b8]
movsd xmm3, qword [0x4a0128]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, qword [0x4a06d0]
addsd xmm0, xmm1
cvttsd2si eax, xmm0
mov word [0x4ae464], ax
movsd xmm0, qword [0x4ae098]
subsd xmm0, xmm3
movsd qword [0x4ae098], xmm0
movsx ecx, word [0x4ae31c]
movsx eax, word [0x4ae074]
add ecx, 0x99eef8a1
inc word [0x4ae074]
pop edi
pop esi
cmp ecx, eax
jne 0x43297b
movsd xmm0, qword [0x4ae478]
subsd xmm0, xmm3
movsd qword [0x4ae478], xmm0
movsd xmm1, qword [0x4ae478]
subsd xmm1, qword [0x4ae280]
movss xmm0, dword [0x4ae120]
cvtps2pd xmm0, xmm0
subsd xmm1, qword [0x4a3108]
mulsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
movss dword [0x4ae120], xmm0
pop ebp
ret