Function at 0x42a400
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movsd xmm0, qword [0x499e20]
mov eax, 0xffff9184
movsd qword [ebp - 0x34], xmm0
mov ecx, 0x5225f28f
mov dword [ebp - 0x10], 0x7335b924
mov word [ebp - 8], ax
mov eax, 0xffffd569
mov dword [ebp - 0x24], 0x4e88e59f
movsd xmm0, qword [0x49d340]
mov dword [ebp - 0x20], 0x4ecebb8a
mov dword [ebp - 0x1c], 0x64cf3f85
mov word [ebp - 0x14], ax
mov eax, 0xffff8f84
mov word [ebp - 4], ax
mov dword [ebp - 0x18], 0x4d9f0896
mov dword [ebp - 4], 0x8a439134
movsd qword [ebp - 0x3c], xmm0
movsd xmm0, qword [0x49dce0]
mov dword [ebp - 0xc], 0x146f8a9a
movsd qword [ebp - 0x2c], xmm0
movss xmm0, dword [0x4a6080]
movsd xmm1, qword [ebp - 0x34]
cvtps2pd xmm0, xmm0
movss xmm2, dword [0x495ab4]
addsd xmm1, xmm0
movsd xmm0, qword [0x4a6250]
addsd xmm1, xmm0
movsd xmm0, qword [0x4a6598]
mulsd xmm0, xmm1
movsd qword [0x4a6598], xmm0
movsd xmm0, qword [0x4a6250]
subsd xmm0, qword [0x495ab8]
movsd qword [0x4a6250], xmm0
movss xmm0, dword [0x4a6080]
addss xmm0, xmm2
movss dword [0x4a6080], xmm0
mov eax, dword [ebp - 0x1c]
sub eax, 0x5f222eab
mov word [0x4a605c], ax
mov eax, dword [ebp - 0xc]
sub ecx, eax
add ecx, dword [ebp - 0xc]
mov dword [ebp - 0xc], ecx
inc dword [ebp - 0xc]
dec dword [ebp - 8]
movzx ecx, word [ebp - 8]
movzx eax, word [ebp - 8]
sub ecx, eax
add ecx, 0x5ee2f3de
cmp dword [0x4a89fc], 0
mov word [ebp - 8], cx
jne 0x42a591
call fcn.004273d0
movsd xmm1, qword [ebp - 0x34]
subsd xmm1, qword [0x4994f8]
mov dword [0x4a89fc], eax
mov eax, dword [ebp - 4]
movss xmm2, dword [0x495ab4]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [ebp - 4], eax
inc dword [ebp - 4]
movsx eax, word [ebp - 8]
sub eax, 0x3b8d1a76
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [ebp - 0x3c]
movsd qword [ebp - 0x3c], xmm0
movzx eax, word [0x4a6274]
sub eax, 0x2ccb2bb1
mov word [0x4a6274], ax
imul eax, dword [ebp - 0x10], 0x7b734eb6
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov ecx, 0xc2630e9b
inc dword [ebp - 4]
sub ecx, eax
cmp ecx, 0x27008b0d
jl 0x42a5eb
movss xmm1, dword [0x4a6184]
mov eax, dword [0x4a6090]
movd xmm0, eax
mov eax, dword [0x4a6020]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [0x4a6020], eax
movss xmm0, dword [0x4a6184]
subss xmm0, xmm2
movss dword [0x4a6184], xmm0
mov dword [0x4a6570], 0xcde1f436
movss xmm0, dword [ebp - 0x18]
subss xmm0, dword [0x49b6fc]
push esi
push edi
push 3
push 0x1a92
addss xmm0, dword [0x4a6358]
movss dword [0x4a6358], xmm0
movss xmm0, dword [ebp - 0x18]
addss xmm0, xmm2
movss dword [ebp - 0x18], xmm0
call fcn.00428f10
mov esi, eax
push esi
push dword [ebp + 8]
call fcn.0047e36c
movss xmm0, dword [0x4a6504]
mov edi, eax
subss xmm0, dword [0x495ab4]
push esi
push 3
movss dword [0x4a6504], xmm0
mov ecx, dword [0x4a6334]
movss xmm0, dword [0x4a6504]
addss xmm0, dword [0x49bf24]
movd xmm1, ecx
mov ecx, 0x178d4551
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [0x4a6334], eax
movsx eax, word [0x4a6400]
sub ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movsd qword [0x4a6588], xmm0
inc word [0x4a6400]
movss xmm0, dword [0x4a601c]
mulss xmm0, dword [0x49b994]
movss dword [0x4a601c], xmm0
call fcn.004299e0
imul eax, dword [0x4a6334], 0x488244c2
add esp, 0x18
mov dword [0x4a6334], eax
movsx eax, word [ebp - 0x14]
sub eax, 0x718fe122
mov dword [0x4a64f4], eax
dec dword [ebp - 0x14]
test edi, edi
jne 0x42a8d9
movss xmm0, dword [0x4a618c]
subss xmm0, dword [0x49ec34]
subss xmm0, dword [0x49b3f4]
comiss xmm0, dword [0x49b530]
jb 0x42a728
movss xmm0, dword [0x4a6248]
mulss xmm0, dword [0x49e668]
movss dword [0x4a6248], xmm0
jmp 0x42a747
mov eax, dword [ebp - 0x10]
sub eax, 0x23659a63
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [0x4a6398]
cvttsd2si eax, xmm0
mov dword [ebp - 0x1c], eax
push 0x3e8
call dword [0x4a881c]
movss xmm0, dword [ebp - 0x20]
subss xmm0, dword [0x49e7c8]
push 3
push 0x1a92
movss dword [ebp - 0x20], xmm0
call fcn.00428f10
inc dword [ebp - 0xc]
mov esi, eax
mov ecx, dword [ebp - 0xc]
movsd xmm0, qword [0x4a6540]
push esi
push dword [ebp + 8]
movd xmm1, ecx
mov ecx, dword [0x4a646c]
cvtdq2pd xmm1, xmm1
addsd xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
cvttsd2si eax, xmm1
movsd xmm1, qword [0x495f98]
mov word [ebp - 0x14], ax
movsd xmm0, qword [0x4a6540]
addsd xmm0, qword [0x495ab8]
movsd qword [0x4a6540], xmm0
movsd xmm0, qword [ebp - 0x2c]
movsx eax, word [0x4a6194]
subsd xmm1, xmm0
movd xmm0, eax
subsd xmm1, qword [0x49d000]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cvttsd2si eax, xmm1
mov word [0x4a6194], ax
movsd xmm0, qword [ebp - 0x2c]
subsd xmm0, qword [0x495ab8]
movsd qword [ebp - 0x2c], xmm0
call fcn.0047e36c
movss xmm0, dword [0x4a6418]
mov edi, eax
addss xmm0, dword [0x495ab4]
mov ecx, 0x65a4a1e4
push esi
push 3
movss dword [0x4a6418], xmm0
mov eax, dword [ebp - 0x10]
movss xmm0, dword [0x4a6418]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
movss xmm0, dword [0x4a63cc]
mulss xmm0, xmm1
movss dword [0x4a63cc], xmm0
mov eax, dword [0x4a63e8]
sub ecx, eax
mov eax, dword [ebp - 0x1c]
imul eax, ecx
mov dword [ebp - 0x1c], eax
movsx eax, word [0x4a6388]
movsd xmm1, qword [ebp - 0x34]
add eax, 0x45af706f
movss xmm0, dword [ebp - 0x20]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
subss xmm2, xmm0
cvtps2pd xmm0, xmm2
subsd xmm1, xmm0
movsd qword [ebp - 0x34], xmm1
movss xmm0, dword [ebp - 0x20]
addss xmm0, dword [0x495ab4]
movss dword [ebp - 0x20], xmm0
movss xmm1, dword [0x4a6514]
movsx eax, word [ebp - 0x14]
subss xmm1, dword [0x49f024]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov word [ebp - 0x14], ax
call fcn.004299e0
add esp, 0x18
movsd xmm0, qword [ebp - 0x2c]
addsd xmm0, qword [0x495ab8]
movsd qword [ebp - 0x2c], xmm0
movss xmm0, dword [0x4a63d8]
cvtps2pd xmm1, xmm0
movsd xmm0, qword [ebp - 0x2c]
addsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
movss dword [0x4a63d8], xmm0
test edi, edi
je 0x42aa61
movss xmm0, dword [ebp - 0x18]
mov ecx, 0x34af97e2
subss xmm0, dword [0x495ab4]
push edi
push 1
push 4
push 0x4a89fc
movss dword [ebp - 0x18], xmm0
movss xmm1, dword [ebp - 0x18]
movsx eax, word [ebp - 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
cvttss2si eax, xmm1
mov word [ebp - 8], ax
mov eax, dword [0x4a6368]
sub ecx, eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add eax, ecx
add edx, eax
mov dword [ebp - 0x10], edx
call fcn.0047e4da
movss xmm0, dword [ebp - 0x24]
subss xmm0, dword [0x49a70c]
push edi
cvttss2si eax, xmm0
mov word [ebp - 8], ax
movss xmm0, dword [ebp - 0x24]
subss xmm0, dword [0x495ab4]
movss dword [ebp - 0x24], xmm0
mov eax, dword [0x4a6258]
movsd xmm2, qword [0x4a6108]
movsd xmm1, qword [0x4a6428]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm2, xmm0
movsd xmm0, qword [ebp - 0x2c]
subsd xmm2, xmm0
subsd xmm1, xmm2
movsd qword [0x4a6428], xmm1
movsd xmm0, qword [ebp - 0x2c]
subsd xmm0, qword [0x495ab8]
movsd qword [ebp - 0x2c], xmm0
inc dword [0x4a6258]
call fcn.0047e041
mov eax, dword [ebp - 0x1c]
mov ecx, 0xa85b4eff
movss xmm0, dword [0x4a64cc]
add esp, 0x14
subss xmm0, dword [0x49e9c0]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm0, dword [0x49b83c]
subss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x24], xmm0
dec dword [ebp - 4]
mov eax, dword [0x4a61e8]
sub ecx, eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
add eax, ecx
add edx, eax
mov dword [ebp - 0x10], edx
inc dword [0x4a61e8]
movsx eax, word [ebp - 0x14]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x4a6504]
cvttss2si eax, xmm0
mov dword [0x4a63a4], eax
movsd xmm0, qword [ebp - 0x2c]
mov ecx, 0x1eb9b0bc
cvtpd2ps xmm0, xmm0
pop edi
pop esi
movss dword [0x4a62ec], xmm0
movsd xmm1, qword [0x4a6048]
mov eax, dword [0x4a6534]
sub ecx, eax
addsd xmm1, qword [0x4994a8]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jp 0x42aab4
movzx eax, word [0x4a6400]
sub eax, 0x4e5b81cd
mov word [0x4a6400], ax
movzx eax, word [0x4a60a8]
add eax, 0x6edd995f
mov word [0x4a60a8], ax
mov esp, ebp
pop ebp
ret