Function at 0x41a7f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
movsd xmm0, qword [0x4ac2c8]
mov ecx, 0x41651fc2
movsd xmm3, qword [0x49de18]
addsd xmm0, xmm3
movsd qword [0x4ac2c8], xmm0
movsd xmm2, qword [0x4ac568]
addsd xmm2, qword [0x4ac318]
mov eax, dword [0x4ac35c]
sub ecx, eax
movsd xmm0, qword [0x4ac2c8]
dec dword [0x4ac35c]
subsd xmm2, qword [0x4a0f28]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
subsd xmm1, xmm0
comisd xmm1, xmm2
jbe 0x41a87a
movss xmm0, dword [0x4ac1d8]
subss xmm0, dword [0x4a02f8]
cvtps2pd xmm1, xmm0
movsd xmm0, qword [0x4ac0a8]
mulsd xmm0, xmm1
movsd qword [0x4ac0a8], xmm0
movsd xmm1, qword [0x4ac440]
movss xmm0, dword [0x4ac0b4]
cmp dword [0x4adb6c], 0
subss xmm0, dword [0x4a07a4]
subss xmm0, dword [0x4a05d8]
cvtps2pd xmm0, xmm0
subsd xmm1, xmm0
movsd qword [0x4ac440], xmm1
jne 0x41a97d
mov eax, dword [0x4ac1e8]
mov ecx, 0xcc958034
sub ecx, eax
movsx eax, word [0x4ac070]
dec word [0x4ac070]
cmp ecx, eax
je 0x41a951
inc word [0x4ac5b8]
mov ax, word [0x4ac5b8]
movsx ecx, word [0x4ac390]
movss xmm0, dword [0x4ac0c4]
cwde
sub ecx, eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
cvtps2pd xmm1, xmm0
movsd xmm0, qword [0x4ac150]
addsd xmm0, qword [0x49e190]
subsd xmm0, qword [0x4a1b38]
ucomisd xmm1, xmm0
movsd xmm0, qword [0x4ac150]
subsd xmm0, xmm3
lahf
movsd qword [0x4ac150], xmm0
inc word [0x4ac390]
test ah, 0x44
jnp 0x41a95b
mov eax, dword [0x4ac24c]
mov ax, word [0x4ac4b8]
inc dword [0x4ac24c]
jmp 0x41a95b
mov dword [0x4ac36c], 0xce6457c6
call fcn.00435620
movss xmm0, dword [0x4ac1d8]
addss xmm0, dword [0x4a07cc]
mov dword [0x4adb6c], eax
movss dword [0x4ac1d8], xmm0
movzx eax, word [0x4ac410]
push esi
push edi
add eax, 0x7901d1eb
push 3
push 0xfd9
mov word [0x4ac410], ax
call fcn.004280a0
add dword [0x4ac598], 0x79c039fa
mov esi, eax
push esi
push dword [ebp + 8]
call fcn.00459612
mov ecx, dword [0x4ac4f4]
mov edx, 0xf6ba43b7
sub edx, ecx
mov edi, eax
push esi
push 3
movd xmm0, edx
cvtdq2pd xmm0, xmm0
movsd qword [0x4ac2d8], xmm0
inc dword [0x4ac4f4]
call fcn.00448990
add esp, 0x18
mov dword [0x4ac1ac], 0x650738d8
test edi, edi
jne 0x41aacb
movsd xmm0, qword [0x4ac3f8]
subsd xmm0, qword [0x4ac328]
push 0x3e8
movsd qword [0x4ac3f8], xmm0
movsd xmm0, qword [0x4ac328]
subsd xmm0, qword [0x49de18]
movsd qword [0x4ac328], xmm0
call dword [0x4ad2ac]
mov eax, dword [0x4ac3cc]
mov ecx, 0x7e0b402b
sub ecx, eax
mov eax, dword [0x4ac1e8]
add eax, ecx
cmp eax, 0x74aa332a
jg 0x41aa61
movsd xmm0, qword [0x4ac528]
mulsd xmm0, qword [0x4a19b0]
movsd qword [0x4ac528], xmm0
push 3
push 0xfd9
call fcn.004280a0
movzx ecx, word [0x4ac088]
mov esi, eax
imul ecx, ecx, 0xdc5a0813
push esi
push dword [ebp + 8]
mov word [0x4ac088], cx
call fcn.00459612
imul ecx, dword [0x4ac41c], 0xa04b4f95
mov edi, eax
push esi
push 3
mov dword [0x4ac41c], ecx
call fcn.00448990
movsx eax, word [0x4ac340]
add esp, 0x18
mov ecx, dword [0x4ac4f4]
add eax, 0x4294cfc6
imul ecx, eax
mov dword [0x4ac4f4], ecx
dec word [0x4ac340]
mov eax, dword [0x4ac07c]
add eax, 0x304f132b
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [0x4ac0f8], xmm0
inc dword [0x4ac07c]
test edi, edi
je 0x41abf3
movsd xmm1, qword [0x4ac150]
mov eax, dword [0x4ac41c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
subsd xmm1, qword [0x49df68]
ucomisd xmm1, qword [0x49fad8]
lahf
test ah, 0x44
jp 0x41ab32
mov eax, dword [0x4ac4f0]
sub eax, 0x17bf899e
mov word [0x4ac5b8], ax
push edi
push 1
push 4
push 0x4adb6c
call fcn.0045993e
inc dword [0x4ac238]
mov eax, dword [0x4ac238]
movss xmm0, dword [0x4ac148]
push edi
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [0x4ac3a0], xmm0
movss xmm0, dword [0x4ac148]
addss xmm0, dword [0x49de14]
movss dword [0x4ac148], xmm0
call fcn.00459023
movsx eax, word [0x4ac390]
add esp, 0x14
sub eax, 0x1a747962
cmp eax, 0xc048a18b
jl 0x41abe9
movsd xmm0, qword [0x4ac110]
addsd xmm0, qword [0x49de18]
movsd xmm1, qword [0x49eb80]
movsd qword [0x4ac110], xmm0
movsd xmm0, qword [0x4ac110]
movsx eax, word [0x4ac53c]
subsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm1
cvttsd2si eax, xmm0
mov word [0x4ac53c], ax
jmp 0x41abf3
add dword [0x4ac4f8], 0x4eb13f8e
movss xmm0, dword [0x4ac37c]
mov eax, dword [0x4ac26c]
movss xmm1, dword [0x4a2088]
subss xmm1, xmm0
pop edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
pop esi
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [0x4ac26c], eax
movss xmm0, dword [0x4ac37c]
subss xmm0, dword [0x49de14]
movss dword [0x4ac37c], xmm0
pop ebp
ret