Function at 0x4298e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
cmp dword [0x4a78c8], 0
mov eax, 0xffff84fe
movsd xmm0, qword [0x497718]
mov dword [ebp - 0x14], 0xe9a93da9
mov word [ebp - 4], ax
mov eax, 0x942
movsd qword [ebp - 0x30], xmm0
movsd xmm0, qword [0x49d028]
mov word [ebp - 8], ax
mov eax, 0xfffff74a
mov dword [ebp - 0x20], 0xcec5dc23
mov word [ebp - 0xc], ax
mov eax, 0xffffcd69
movsd qword [ebp - 0x28], xmm0
movsd xmm0, qword [0x49c108]
mov dword [ebp - 0x10], 0x8f23f0c0
mov dword [ebp - 0x18], 0x4e0a0841
mov word [ebp - 8], ax
movsd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x1c], 0xcd752b9b
mov dword [ebp - 0x20], 0x5dc01f3a
jne 0x429abd
call fcn.00426d90
movss xmm0, dword [0x4a50f4]
movss xmm1, dword [0x49a378]
subss xmm1, xmm0
movss xmm3, dword [0x49511c]
mov dword [0x4a78c8], eax
subss xmm1, dword [0x49dba8]
cvttss2si eax, xmm1
mov dword [0x4a52b4], eax
movss xmm0, dword [0x4a50f4]
subss xmm0, xmm3
movss dword [0x4a50f4], xmm0
movss xmm1, dword [ebp - 0x18]
movsx eax, word [0x4a5318]
addss xmm1, dword [0x49a560]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, dword [0x499c88]
mulss xmm1, xmm0
cvttss2si eax, xmm1
mov word [0x4a5318], ax
movss xmm0, dword [ebp - 0x18]
subss xmm0, xmm3
movss dword [ebp - 0x18], xmm0
inc dword [ebp - 0xc]
movsx eax, word [ebp - 0xc]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [0x4a5280]
movsd qword [0x4a5280], xmm0
inc dword [ebp - 0xc]
movsx eax, word [0x4a5060]
movd xmm2, eax
movsx eax, word [ebp - 0xc]
cvtdq2ps xmm2, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, dword [ebp - 0x1c]
movsx eax, word [0x4a5240]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
ucomiss xmm2, xmm1
lahf
inc word [0x4a5060]
test ah, 0x44
jnp 0x429a85
movss xmm0, dword [ebp - 0x18]
addss xmm0, xmm3
movss dword [ebp - 0x18], xmm0
movsx eax, word [0x4a5098]
movss xmm0, dword [ebp - 0x18]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
cvttss2si eax, xmm1
mov word [0x4a5098], ax
jmp 0x429abd
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add ecx, 0x79748911
inc dword [ebp - 0x10]
add eax, 0x6b7866b6
cmp ecx, eax
jg 0x429aaa
mov ax, word [0x4a53f8]
movsd xmm0, qword [ebp - 0x28]
jmp 0x429abd
dec dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ax, word [ebp - 0xc]
mov eax, dword [ebp - 0x10]
dec dword [ebp - 0xc]
dec dword [ebp - 0x10]
push esi
push edi
push 3
push 0x171f
call fcn.00428520
movsx ecx, word [ebp - 8]
mov esi, eax
movsd xmm0, qword [0x4a53b0]
subsd xmm0, qword [0x498f80]
push esi
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
push dword [ebp + 8]
subsd xmm1, xmm0
cvttsd2si ecx, xmm1
mov word [ebp - 8], cx
movss xmm1, dword [ebp - 0x1c]
mov eax, dword [0x4a5218]
addss xmm1, dword [0x49a4e4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [0x4a5218], eax
call fcn.0047d60c
push esi
push 3
mov edi, eax
call fcn.00428f10
add esp, 0x18
test edi, edi
jne 0x429cb1
mov eax, dword [ebp - 0x10]
sub eax, 0x2c380864
mov word [ebp - 8], ax
dec dword [ebp - 0x20]
movsd xmm1, qword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
add eax, 0xed3ba99
movd xmm0, eax
cvtdq2pd xmm0, xmm0
comisd xmm1, xmm0
jb 0x429b70
mov eax, dword [0x4a5230]
inc dword [0x4a5230]
jmp 0x429bac
movsx eax, word [0x4a5028]
movss xmm0, dword [ebp - 0x1c]
cvtps2pd xmm0, xmm0
movd xmm1, eax
addsd xmm0, qword [ebp - 0x28]
cvtdq2pd xmm1, xmm1
subsd xmm1, xmm0
cvttsd2si eax, xmm1
mov word [0x4a5028], ax
movsd xmm0, qword [ebp - 0x28]
subsd xmm0, qword [0x495120]
movsd qword [ebp - 0x28], xmm0
push 0x3e8
call dword [0x4a6ba8]
push 3
push 0x171f
call fcn.00428520
inc word [0x4a540c]
mov esi, eax
movzx ecx, word [0x4a540c]
movsx edx, cx
movzx ecx, word [ebp - 0xc]
add ecx, 0x78367f22
add ecx, edx
mov word [ebp - 0xc], cx
mov ecx, dword [0x4a5440]
movsd xmm0, qword [0x4a50d8]
add ecx, 0x5ed19fec
push esi
push dword [ebp + 8]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
mulsd xmm0, xmm1
movsd qword [0x4a50d8], xmm0
movsd xmm1, qword [ebp - 0x28]
movss xmm0, dword [ebp - 0x1c]
cvtps2pd xmm0, xmm0
subsd xmm1, xmm0
movss xmm0, dword [ebp - 0x1c]
movsx eax, word [ebp - 0xc]
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
cvttsd2si eax, xmm1
mov word [ebp - 0xc], ax
mov ax, word [0x4a502c]
mov edx, dword [ebp - 0x14]
movsx ecx, ax
mov eax, dword [ebp - 0x14]
add eax, ecx
add edx, eax
mov word [0x4a502c], dx
dec dword [ebp - 0x14]
call fcn.0047d60c
push esi
push 3
mov edi, eax
call fcn.00428f10
movss xmm0, dword [0x4a5360]
mov eax, 0xfffff7fe
addss xmm0, dword [0x49b09c]
add esp, 0x18
movss dword [0x4a5360], xmm0
mov word [ebp - 8], ax
movsd xmm0, qword [0x4a5170]
mulsd xmm0, qword [ebp - 0x30]
movsd qword [ebp - 0x30], xmm0
test edi, edi
je 0x429d84
movzx eax, word [ebp - 4]
sub eax, 0x6ddb2590
mov word [ebp - 4], ax
movsd xmm1, qword [ebp - 0x30]
movsx eax, word [0x4a5060]
push edi
push 1
push 4
movd xmm0, eax
cvtdq2pd xmm0, xmm0
push 0x4a78c8
subsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x28]
addsd xmm0, xmm1
movsd qword [ebp - 0x28], xmm0
dec word [0x4a5060]
movsx eax, word [0x4a5384]
movss xmm1, dword [ebp - 0x18]
movd xmm0, eax
movsx eax, word [ebp - 4]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x20]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [ebp - 0x20], eax
dec word [0x4a5384]
call fcn.0047d77a
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
push edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x4a5184]
movss dword [0x4a5184], xmm0
dec dword [0x4a51cc]
movzx eax, word [0x4a513c]
movsx ecx, ax
mov eax, dword [0x4a51cc]
add eax, 0x6db2f58b
add eax, ecx
mov word [0x4a513c], ax
call fcn.0047d2e1
add esp, 0x14
movsd xmm0, qword [0x4a5198]
addsd xmm0, qword [0x495120]
pop edi
pop esi
movsd qword [0x4a5198], xmm0
movss xmm0, dword [0x4a5290]
subss xmm0, dword [0x49511c]
movss dword [0x4a5290], xmm0
movsx eax, word [0x4a509c]
movsd xmm1, qword [0x4a5198]
movss xmm0, dword [0x4a5290]
addsd xmm1, qword [0x4989a8]
cvtps2pd xmm0, xmm0
movd xmm2, eax
cvtdq2pd xmm2, xmm2
subsd xmm1, xmm0
subsd xmm2, xmm1
cvttsd2si eax, xmm2
mov word [0x4a509c], ax
mov esp, ebp
pop ebp
ret