Function at 0x443790
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
movsd xmm4, qword [0x49eee0]
mov dword [0x4ad308], 0xcd37024a
cmp dword [0x4ad258], 0x3c78a7fa
jge 0x4437ef
movsd xmm0, qword [0x4ad4f8]
subsd xmm0, xmm4
movsd qword [0x4ad4f8], xmm0
mov eax, dword [0x4ad2a8]
movsd xmm0, qword [0x4ad4f8]
subsd xmm0, qword [0x4a09c0]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [0x4ad2a8], eax
cmp dword [0x4aeaa0], 0
movss xmm3, dword [0x49eed8]
jne 0x4438c5
movss xmm0, dword [0x4ad2ac]
subss xmm0, xmm3
movss dword [0x4ad2ac], xmm0
movss xmm0, dword [0x4ad2ac]
cvtps2pd xmm2, xmm0
movsd xmm0, qword [0x4ad3b8]
movsx eax, word [0x4ad1b8]
subsd xmm2, xmm0
inc word [0x4ad1b8]
sub eax, 0x10f70fce
movsd xmm0, qword [0x4ad3b8]
addsd xmm0, xmm4
subsd xmm2, qword [0x4a21a8]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsd qword [0x4ad3b8], xmm0
comisd xmm1, xmm2
jb 0x443899
movss xmm0, dword [0x4ad1d0]
addss xmm0, xmm3
movss dword [0x4ad1d0], xmm0
movss xmm0, dword [0x4ad1d0]
subss xmm0, dword [0x4a0c38]
cvttss2si eax, xmm0
mov dword [0x4ad2a8], eax
call fcn.00412660
movss xmm1, dword [0x4ad150]
mov dword [0x4aeaa0], eax
movsx eax, word [0x4ad344]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [0x4ad150], xmm1
movsx eax, word [0x4ad358]
sub eax, 0x2aa72e6b
cmp eax, 0xf6593583
jg 0x4438f9
movsd xmm1, qword [0x4ad4c8]
mov eax, dword [0x4ad354]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movsd qword [0x4ad4c8], xmm1
push esi
push edi
push 3
push 0x2dd6
call fcn.0043dd00
inc word [0x4ad094]
mov esi, eax
movsx edx, word [0x4ad094]
movss xmm1, dword [0x4ad0d4]
add edx, 0xb12cc9a6
mov ecx, dword [0x4ad334]
add ecx, edx
push esi
push dword [ebp + 8]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [0x4ad0d4], xmm1
dec dword [0x4ad334]
call fcn.00459c82
movsx ecx, word [0x4ad194]
add esp, 0x10
movsd xmm1, qword [0x4ad3a0]
sub ecx, 0x5032a2ae
movsd xmm0, qword [0x4ad3a0]
mov edi, eax
addsd xmm1, qword [0x49fc18]
addsd xmm0, qword [0x49eee0]
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
movsd qword [0x4ad3a0], xmm0
comisd xmm2, xmm1
jb 0x4439d5
mov eax, dword [0x4ad42c]
movsd xmm0, qword [0x4ad1f8]
add eax, 0x277505da
movd xmm1, eax
mov eax, dword [0x4ad3cc]
cvtdq2pd xmm1, xmm1
subsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [0x4ad3cc], eax
inc dword [0x4ad42c]
push esi
push 3
call fcn.0040f590
add esp, 8
mov dword [0x4ad288], 0xa6395ad8
test edi, edi
jne 0x443b34
movss xmm0, dword [0x4ad364]
subss xmm0, dword [0x4a25a8]
push 0x3e8
movss dword [0x4ad364], xmm0
call dword [0x4ae1dc]
movss xmm0, dword [0x4ad028]
subss xmm0, dword [0x4a26a0]
push 3
push 0x2dd6
movss dword [0x4ad028], xmm0
call fcn.0043dd00
movss xmm1, dword [0x4ad028]
mov esi, eax
mov ecx, dword [0x4ad258]
subss xmm1, dword [0x4a2968]
push esi
push dword [ebp + 8]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si ecx, xmm0
mov dword [0x4ad258], ecx
movss xmm0, dword [0x4ad028]
subss xmm0, dword [0x49eed8]
movss dword [0x4ad028], xmm0
call fcn.00459c82
push esi
push 3
mov edi, eax
call fcn.0040f590
mov eax, dword [0x4ad4ac]
mov ecx, 0x6a7826ba
movss xmm1, dword [0x4a2598]
sub ecx, eax
mov eax, dword [0x4ad4ac]
add esp, 0x18
movss xmm0, dword [0x4ad14c]
add eax, ecx
subss xmm1, xmm0
movss xmm0, dword [0x4ad14c]
addss xmm0, dword [0x49eed8]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [0x4ad14c], xmm0
inc dword [0x4ad4ac]
comiss xmm2, xmm1
jbe 0x443b34
mov eax, dword [0x4ad248]
movsd xmm1, qword [0x4ad458]
add eax, 0xb81c485
movd xmm0, eax
mov eax, dword [0x4ad410]
inc dword [0x4ad248]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
comisd xmm0, xmm1
jbe 0x443b34
movsd xmm0, qword [0x4ad250]
subsd xmm0, qword [0x4a1e20]
movsd qword [0x4ad250], xmm0
movsx eax, word [0x4ad100]
mov ecx, 0x5471ec83
movsd xmm0, qword [0x4ad2f8]
sub ecx, eax
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
mulsd xmm0, xmm1
movsd qword [0x4ad2f8], xmm0
inc word [0x4ad100]
test edi, edi
je 0x443c05
movsx eax, word [0x4ad330]
mov ecx, 0x507e5e8d
push edi
sub ecx, eax
mov eax, dword [0x4ad448]
push 1
add eax, ecx
push 4
mov dword [0x4ad464], eax
dec dword [0x4ad448]
push 0x4aeaa0
call fcn.00459fae
movss xmm1, dword [0x4ad328]
movss xmm0, dword [0x4ad35c]
movsx eax, word [0x4ad1e4]
subss xmm1, dword [0x4a0e9c]
push edi
subss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
cvttss2si eax, xmm0
mov word [0x4ad1e4], ax
movss xmm0, dword [0x4ad35c]
subss xmm0, dword [0x49eed8]
movss dword [0x4ad35c], xmm0
call fcn.00459693
movsd xmm0, qword [0x4a1df0]
add esp, 0x14
movsd qword [0x4ad270], xmm0
movsd xmm1, qword [0x4ad278]
movss xmm0, dword [0x4ad200]
subsd xmm1, qword [0x4a0908]
cvtps2pd xmm0, xmm0
pop edi
pop esi
mulsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
movss dword [0x4ad200], xmm0
pop ebp
ret