Function at 0x413900
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
movss xmm0, dword [str._JZN]
subss xmm0, dword [0x49e2d8]
movss dword [str._JZN], xmm0
movsd xmm0, qword [0x4aa420]
subsd xmm0, qword [0x49bec0]
movsd qword [0x4aa420], xmm0
movsd xmm1, qword [0x4aa420]
movss xmm0, dword [0x4aa1bc]
cmp dword [0x4ab6f8], 0
subsd xmm1, qword [0x49c2d8]
cvtps2pd xmm0, xmm0
addsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
movss dword [0x4aa1bc], xmm0
jne 0x4139a3
movsd xmm0, qword [0x4aa368]
subsd xmm0, qword [0x49c138]
cvttsd2si eax, xmm0
mov word [0x4aa284], ax
call fcn.0043d1c0
movss xmm0, dword [0x4aa070]
addss xmm0, dword [0x49ec44]
mov dword [0x4ab6f8], eax
movss dword [0x4aa070], xmm0
movss xmm0, dword [0x4aa0f8]
addss xmm0, dword [0x49e7c0]
push esi
push edi
push 3
push 0x1cec
movss dword [0x4aa0f8], xmm0
call fcn.0041b2d0
imul ecx, dword [0x4aa3e4], 0x7b0c3642
mov esi, eax
push esi
push dword [ebp + 8]
mov dword [0x4aa3e4], ecx
call fcn.004563ae
movsd xmm1, qword [0x4aa218]
mov edi, eax
movsx ecx, word [0x4aa374]
addsd xmm1, qword [0x49caf8]
push esi
push 3
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm1
cvttsd2si ecx, xmm0
mov word [0x4aa374], cx
call fcn.004435b0
mov ax, word [0x4aa1c0]
add esp, 0x18
mov ecx, dword [0x4aa3dc]
cwde
add ecx, eax
mov word [0x4aa1c0], cx
test edi, edi
jne 0x413b9c
mov eax, dword [0x4aa300]
mov ecx, 0x404217e1
sub ecx, eax
movsx eax, word [0x4aa3f0]
cmp ecx, eax
jle 0x413a73
movss xmm0, dword [0x4aa15c]
cvtps2pd xmm1, xmm0
movsd xmm0, qword [0x4aa2c0]
mulsd xmm0, xmm1
movsd qword [0x4aa2c0], xmm0
push 0x3e8
call dword [0x4aafa8]
movsd xmm1, qword [0x4aa078]
movss xmm0, dword [0x4aa224]
subsd xmm1, qword [0x49f5a0]
cvtps2pd xmm0, xmm0
push 3
push 0x1cec
mulsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
movss dword [0x4aa224], xmm0
call fcn.0041b2d0
movss xmm0, dword [0x4aa180]
mov esi, eax
movss xmm2, dword [0x4aa180]
movsx ecx, word [0x4aa458]
movss xmm1, dword [0x49eb9c]
subss xmm1, xmm0
push esi
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
push dword [ebp + 8]
addss xmm2, xmm1
addss xmm0, xmm2
cvttss2si eax, xmm0
mov word [0x4aa458], ax
movss xmm0, dword [0x4aa180]
addss xmm0, dword [0x49bebc]
movss dword [0x4aa180], xmm0
call fcn.004563ae
movsd xmm2, qword [0x4aa160]
add esp, 0x10
movsd xmm0, qword [0x4aa150]
mov edi, eax
movss xmm1, dword [0x49ff10]
addsd xmm2, xmm0
movss xmm0, dword [0x4aa394]
subss xmm1, xmm0
movsd xmm0, qword [0x4aa150]
subsd xmm0, qword [0x49bec0]
cvtps2pd xmm1, xmm1
movsd qword [0x4aa150], xmm0
comisd xmm2, xmm1
jb 0x413b80
movsd xmm0, qword [0x4aa368]
movsd xmm1, qword [0x49c9e0]
subsd xmm1, xmm0
cvttsd2si eax, xmm1
mov word [0x4aa0f0], ax
push esi
push 3
call fcn.004435b0
add esp, 8
dec dword [0x4aa3c4]
mov eax, dword [0x4aa3c4]
mov word [0x4aa20c], ax
inc dword [0x4aa3a8]
mov eax, dword [0x4aa3a8]
mov ecx, dword [0x4aa114]
add eax, 0x87cf1811
imul ecx, eax
mov dword [0x4aa114], ecx
test edi, edi
je 0x413d21
mov ax, word [0x4aa12c]
movsd xmm1, qword [0x4aa008]
movsx ecx, ax
movsx eax, word [0x4aa1c0]
add eax, 0xee0e4e9
add eax, ecx
push edi
push 1
push 4
movd xmm0, eax
cvtdq2pd xmm0, xmm0
push 0x4ab6f8
subsd xmm1, xmm0
movsd qword [0x4aa008], xmm1
call fcn.004566da
movss xmm0, dword [0x4aa238]
movss xmm1, dword [0x4a016c]
subss xmm1, xmm0
push edi
cvtps2pd xmm0, xmm1
movsd qword [0x4aa188], xmm0
call fcn.00455dbf
movss xmm0, dword [0x4aa2d4]
add esp, 0x14
subss xmm0, dword [0x49bebc]
movss dword [0x4aa2d4], xmm0
movss xmm1, dword [0x4aa2d4]
addss xmm1, dword [0x4aa214]
movsx eax, word [0x4aa434]
dec word [0x4aa434]
add eax, 0x5fe6e916
addss xmm1, dword [0x49e5d4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x413c99
movss xmm0, dword [0x4aa0f8]
subss xmm0, dword [0x49eef8]
movss dword [0x4aa0f8], xmm0
jmp 0x413d21
dec dword [0x4aa094]
mov eax, dword [0x4aa110]
mov ecx, dword [0x4aa40c]
sub ecx, eax
cmp ecx, dword [0x4aa094]
jge 0x413ce4
inc word [0x4aa128]
movss xmm1, dword [0x4aa178]
movsx eax, word [0x4aa128]
sub eax, 0x1542549f
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [0x4aa178], xmm1
jmp 0x413d21
movsx eax, word [0x4aa41c]
movsd xmm0, qword [0x4aa010]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
addsd xmm0, xmm1
cvttsd2si eax, xmm0
mov word [0x4aa41c], ax
movsd xmm0, qword [0x4aa010]
addsd xmm0, qword [0x49bec0]
movsd qword [0x4aa010], xmm0
mov ax, word [0x4aa3a4]
movss xmm1, dword [0x4aa0c8]
movsx ecx, ax
mov eax, dword [0x4aa198]
add eax, 0x7e866f67
add eax, ecx
pop edi
pop esi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [0x4aa0c8], xmm1
dec word [0x4aa3a4]
pop ebp
ret