Function at 0x43de10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ax, word [0x4a6200]
movzx ecx, word [0x4a6444]
cwde
sub ecx, eax
sub ecx, 0x8269c99
mov word [0x4a6444], cx
inc word [0x4a6200]
movss xmm1, dword [0x4a60ac]
movss xmm0, dword [0x4a6430]
addss xmm0, dword [0x49bcd0]
subss xmm1, xmm0
movss xmm0, dword [0x49cf00]
ucomiss xmm0, xmm1
movss xmm0, dword [0x4a60ac]
addss xmm0, dword [0x4991d8]
lahf
movss dword [0x4a60ac], xmm0
test ah, 0x44
jp 0x43dea6
mov eax, dword [0x4a6144]
movsd xmm0, qword [0x4a6270]
addsd xmm0, qword [0x49a208]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [0x4a6144], eax
cmp dword [0x4a7960], 0
jne 0x43df1f
mov dword [0x4a63c8], 0x79d797dc
call fcn.00444890
mov dword [0x4a7960], eax
mov ecx, 0x78f11661
dec dword [str._CJ]
mov eax, dword [0x4a648c]
movss xmm1, dword [0x4a645c]
sub eax, 0x8dbe7c0
movd xmm0, eax
mov eax, dword [str._CJ]
sub ecx, eax
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x43df1f
movss xmm0, dword [0x4a6028]
movss xmm1, dword [0x49cb9c]
subss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [0x4a6508], eax
movss xmm1, dword [0x4a62b0]
mov eax, dword [0x4a6334]
add eax, 0x753963c9
push esi
push edi
push 3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push 0x327e
subss xmm1, xmm0
movss dword [0x4a62b0], xmm1
call fcn.004378f0
movsd xmm0, qword [0x49c890]
mov esi, eax
push esi
push dword [ebp + 8]
movsd qword [0x4a6040], xmm0
call fcn.004534be
movss xmm0, dword [0x4a63e4]
mov edi, eax
subss xmm0, dword [0x4991d8]
push esi
push 3
movss dword [0x4a63e4], xmm0
movsx ecx, word [0x4a60b4]
movss xmm0, dword [0x4a63e4]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
cvttss2si ecx, xmm0
mov word [0x4a60b4], cx
call fcn.00418b90
movsd xmm1, qword [0x4a6060]
add esp, 0x18
movsd xmm0, qword [0x4a6088]
movsd xmm2, qword [0x4991e0]
addsd xmm1, qword [0x49a508]
addsd xmm0, xmm1
movsd qword [0x4a6088], xmm0
movsd xmm0, qword [0x4a6060]
addsd xmm0, xmm2
movsd qword [0x4a6060], xmm0
test edi, edi
jne 0x43e0dd
dec word [0x4a6418]
mov ecx, 0x951b68a7
movsx eax, word [0x4a64dc]
sub ecx, eax
mov eax, dword [0x4a62d8]
add ecx, eax
movsx eax, word [0x4a6418]
inc word [0x4a64dc]
cmp eax, ecx
jge 0x43e06f
movsd xmm0, qword [0x4a6020]
mov eax, dword [0x4a6108]
movsd xmm1, qword [0x49c098]
subsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [0x4a6108], eax
movsd xmm0, qword [0x4a6020]
subsd xmm0, xmm2
movsd qword [0x4a6020], xmm0
push 0x3e8
call dword [0x4a7098]
mov eax, dword [str.Ck_7]
push 3
push 0x327e
mov word [0x4a6398], ax
call fcn.004378f0
movss xmm0, dword [0x4a622c]
mov esi, eax
mulss xmm0, dword [0x49cf60]
push esi
push dword [ebp + 8]
movss dword [0x4a622c], xmm0
call fcn.004534be
push esi
push 3
mov edi, eax
mov dword [0x4a63a8], 0xcef8176f
call fcn.00418b90
add esp, 0x18
mov dword [str.aeN], 0x4e33c997
test edi, edi
je 0x43e17e
dec dword [str.gf8]
mov eax, dword [str.gf8]
push edi
push 1
sub eax, 0x247ea563
push 4
push 0x4a7960
mov word [0x4a6410], ax
call fcn.004537ea
movsd xmm0, qword [0x4a6288]
subsd xmm0, qword [0x4991e0]
push edi
movsd qword [0x4a6288], xmm0
movsd xmm1, qword [0x4a6288]
addsd xmm1, qword [0x49adc8]
movsd xmm0, qword [0x4a6080]
mulsd xmm0, xmm1
movsd qword [0x4a6080], xmm0
call fcn.00452ecf
movss xmm0, dword [0x4a6224]
add esp, 0x14
cvtps2pd xmm1, xmm0
movsd xmm0, qword [0x4a6478]
addsd xmm0, xmm1
movsd qword [0x4a6478], xmm0
movss xmm0, dword [0x4a6224]
subss xmm0, dword [0x4991d8]
movss dword [0x4a6224], xmm0
movsx eax, word [0x4a62a4]
add eax, 0x4263e242
pop edi
pop esi
cmp eax, 0x66659cb5
jne 0x43e1d8
movsd xmm1, qword [0x4a60d8]
movss xmm0, dword [0x4a62ec]
subsd xmm1, qword [0x4998f8]
cvtps2pd xmm0, xmm0
addsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
movss dword [0x4a64c4], xmm0
movsd xmm0, qword [0x4a60d8]
subsd xmm0, qword [0x4991e0]
movsd qword [0x4a60d8], xmm0
pop ebp
ret
mov eax, dword [0x4a64cc]
movss xmm0, dword [0x4a625c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
cvtps2pd xmm2, xmm0
movss xmm0, dword [0x4a64a0]
cvtps2pd xmm1, xmm0
movsd xmm0, qword [0x4a6318]
dec dword [0x4a64cc]
subsd xmm1, xmm0
subsd xmm1, qword [0x49a4c0]
comisd xmm1, xmm2
jbe 0x43e228
movss xmm0, dword [0x4a626c]
pop ebp
ret
movss xmm0, dword [0x4a61cc]
subss xmm0, dword [0x49b344]
movss dword [0x4a61cc], xmm0
pop ebp
ret