Function at 0x43a890
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4ad2b8]
dec dword [0x4ad2b8]
cmp eax, 0x79885e05
jle 0x43a8c6
movsx eax, word [0x4ad018]
mov ecx, dword [0x4ad5f4]
add eax, 0x9729bdc2
add ecx, eax
mov word [0x4ad018], cx
inc dword [0x4ad5f4]
mov ax, word [0x4ad1f8]
movsx ecx, ax
mov eax, dword [0x4ad584]
add eax, 0x5872bd22
add eax, ecx
cmp eax, 0x280d1ef3
jge 0x43a921
movsd xmm1, qword [0x4ad110]
movsx eax, word [0x4ad2cc]
movd xmm0, eax
mov eax, dword [0x4ad0c4]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, qword [0x49f838]
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [0x4ad0c4], eax
jmp 0x43a939
mov ax, word [0x4ad4c8]
movzx ecx, word [0x4ad30c]
cwde
imul ecx, eax
mov word [0x4ad30c], cx
cmp dword [0x4aec3c], 0
jne 0x43aa04
dec word [0x4ad054]
movsd xmm1, qword [0x4ad400]
movsd xmm0, qword [0x4ad608]
movsx eax, word [0x4ad054]
subsd xmm1, xmm0
sub eax, 0x715a3fed
movd xmm0, eax
cvtdq2pd xmm0, xmm0
comisd xmm0, xmm1
jb 0x43a9b3
movsd xmm1, qword [0x4ad030]
mov eax, dword [0x4ad1e0]
movd xmm0, eax
movsx eax, word [0x4ad48c]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov word [0x4ad48c], ax
jmp 0x43a9d8
movss xmm1, dword [0x4ad5f8]
mov eax, dword [0x4ad584]
sub eax, 0x113ddc81
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [0x4ad5f8], xmm1
call fcn.00423050
mov dword [0x4aec3c], eax
mov eax, dword [0x4ad388]
movsd xmm0, qword [0x4ad4f0]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
addsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [0x4ad388], eax
push esi
push edi
push 3
push 0x28f3
mov dword [0x4ad084], 0x930c0d55
call fcn.0040feb0
movzx ecx, word [0x4ad080]
mov esi, eax
movzx edx, word [0x4ad1d0]
movsx ecx, cx
add edx, ecx
push esi
push dword [ebp + 8]
mov word [0x4ad1d0], dx
dec word [0x4ad080]
call fcn.0045a822
movzx ecx, word [0x4ad30c]
mov edi, eax
sub ecx, 0x2ae14d3f
push esi
push 3
mov word [0x4ad30c], cx
call fcn.0040ab20
add dword [0x4ad5ac], 0x75b84d5c
add esp, 0x18
test edi, edi
jne 0x43ac00
mov eax, dword [0x4ad084]
mov ecx, 0xa20ec8d0
sub ecx, eax
mov eax, dword [0x4ad388]
imul eax, ecx
push 0x3e8
mov dword [0x4ad388], eax
call dword [0x4ae37c]
movsd xmm0, qword [0x4ad690]
addsd xmm0, qword [0x49ea58]
push 3
push 0x28f3
movsd qword [0x4ad690], xmm0
movsd xmm0, qword [0x4ad690]
addsd xmm0, qword [0x4a0940]
movsd qword [0x4ad068], xmm0
call fcn.0040feb0
mov ecx, dword [0x4ad388]
mov esi, eax
movss xmm0, dword [0x4ad220]
movsd xmm1, qword [0x4ad548]
cvtps2pd xmm0, xmm0
push esi
movd xmm2, ecx
addsd xmm1, xmm0
cvtdq2pd xmm2, xmm2
addsd xmm1, qword [0x49f6a8]
push dword [ebp + 8]
subsd xmm2, xmm1
cvttsd2si eax, xmm2
mov dword [0x4ad388], eax
movss xmm0, dword [0x4ad220]
subss xmm0, dword [0x49ea54]
movss dword [0x4ad220], xmm0
movsd xmm0, qword [0x4ad548]
addsd xmm0, qword [0x49ea58]
movsd qword [0x4ad548], xmm0
call fcn.0045a822
movss xmm0, dword [0x4ad130]
mov edi, eax
addss xmm0, dword [0x49ea54]
add esp, 0x10
movss dword [0x4ad130], xmm0
movsd xmm2, qword [0x4ad348]
mov eax, dword [0x4ad0c0]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm2, xmm0
movss xmm0, dword [0x4ad130]
movsd xmm1, qword [0x4ad528]
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, qword [0x4ad528]
addsd xmm0, qword [0x49ea58]
ucomisd xmm2, xmm1
movsd qword [0x4ad528], xmm0
lahf
dec dword [0x4ad0c0]
test ah, 0x44
jnp 0x43abdd
movss xmm0, dword [0x4ad360]
addss xmm0, dword [0x4ad2fc]
movss dword [0x4ad2fc], xmm0
push esi
push 3
call fcn.0040ab20
movsd xmm0, qword [0x4ad538]
add esp, 8
subsd xmm0, qword [0x49eae0]
movsd qword [0x4ad538], xmm0
movsd xmm1, qword [0x4ad1d8]
movsx eax, word [0x4ad530]
subsd xmm1, qword [0x4a0738]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov word [0x4ad530], ax
test edi, edi
je 0x43ac9a
dec dword [0x4ad3fc]
mov eax, dword [0x4ad3fc]
movss xmm0, dword [0x4ad200]
push edi
push 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
push 4
push 0x4aec3c
addss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [0x4ad030], xmm0
call fcn.0045ab4e
movsd xmm0, qword [0x49efe8]
push edi
movsd qword [0x4ad4f8], xmm0
call fcn.0045a233
movsd xmm0, qword [0x4ad188]
add esp, 0x14
mulsd xmm0, qword [0x4a24c0]
movsd qword [0x4ad188], xmm0
movss xmm0, dword [0x4ad61c]
movsx eax, word [0x4ad208]
movss xmm1, dword [0x4a27fc]
subss xmm1, xmm0
pop edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
pop esi
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov word [0x4ad208], ax
pop ebp
ret