Function at 0x429e00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x490
push ebx
movsd xmm0, qword [0x4969a8]
mov eax, 0xffffb18e
mov dword [ebp - 0x2c], 0x1a591b62
mov word [ebp - 4], ax
mov eax, 0xac0
mov word [ebp - 0x24], ax
mov eax, 0xffffc1ea
movsd qword [ebp - 0x58], xmm0
movsd xmm0, qword [0x49d778]
mov dword [ebp - 0xc], 0x9fc6263c
mov dword [ebp - 0x3c], 0xcee581e3
movsd qword [ebp - 0x50], xmm0
movsd xmm0, qword [0x49b5a0]
movsd qword [ebp - 0x68], xmm0
movsd xmm0, qword [0x49c580]
movsd qword [ebp - 0x60], xmm0
movsd xmm0, qword [0x4982c8]
mov word [ebp - 0x28], ax
mov eax, 0x7123
mov dword [ebp - 0x48], 0xfc4110ee
mov word [ebp - 0x1c], ax
mov eax, 0xffffc171
mov dword [ebp - 0x20], 0xdac74938
mov word [ebp - 0x18], ax
mov eax, 0x452
mov dword [ebp - 8], 0x1c4a25f7
mov dword [ebp - 0x14], 0xcdefd2f0
mov dword [ebp - 0x10], 0xfde83345
mov dword [ebp - 0x40], 0xce83460d
mov dword [ebp - 0x44], 0xce7aebe0
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov word [ebp - 0x10], ax
mov dword [ebp - 0x30], 0x4ea86347
movsd qword [ebp - 0x38], xmm0
call fcn.00418670
cmp eax, 0x8000
jbe 0x42ae0d
mov eax, dword [0x4a528c]
mov ecx, 0x3de345be
movsd xmm2, qword [0x495120]
sub ecx, eax
movsx eax, word [ebp - 0x10]
cmp eax, ecx
je 0x429f33
movsd xmm1, qword [ebp - 0x38]
movsd xmm0, qword [0x4a5428]
subsd xmm0, qword [0x49bea8]
addsd xmm0, qword [0x497560]
subsd xmm1, xmm0
movsd qword [ebp - 0x38], xmm1
movsd xmm0, qword [0x4a5428]
addsd xmm0, xmm2
jmp 0x429f4e
movsx eax, word [0x4a5454]
movsd xmm0, qword [0x4a5428]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm0, xmm1
movsd qword [0x4a5428], xmm0
mov ecx, 0x65a3866d
mov eax, dword [ebp - 0xc]
movsd xmm0, qword [0x4a53d8]
addsd xmm0, qword [0x496108]
push esi
movd xmm1, eax
cvtdq2pd xmm1, xmm1
push edi
subsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [ebp - 0xc], eax
movsd xmm0, qword [0x4a53d8]
addsd xmm0, xmm2
movsd qword [0x4a53d8], xmm0
movsd xmm1, qword [0x4a5340]
movsx eax, word [0x4a53e0]
sub ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movsd qword [0x4a5340], xmm1
mov eax, dword [ebp - 0xc]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [0x4a5118]
cvttsd2si eax, xmm0
mov dword [ebp - 0xc], eax
movsd xmm0, qword [0x4a5118]
addsd xmm0, xmm2
movsd qword [0x4a5118], xmm0
movss xmm1, dword [0x4a50f4]
movss xmm0, dword [ebp - 0x44]
addss xmm1, dword [0x49a98c]
addss xmm0, xmm1
movss dword [ebp - 0x44], xmm0
movsd xmm0, qword [0x4a52a8]
subsd xmm0, xmm2
movsd qword [0x4a52a8], xmm0
movsd xmm1, qword [0x4a52a8]
movsx eax, word [ebp - 0x28]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movss xmm0, dword [0x4a51c8]
cvtps2pd xmm0, xmm0
addsd xmm1, qword [0x495880]
mulsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [0x4a51c8], xmm0
dec dword [ebp - 0x28]
mov ax, word [0x4a52d4]
cwde
sub dword [ebp - 0x2c], eax
dec word [0x4a52d4]
movsd xmm1, qword [0x4a5298]
mov eax, dword [ebp - 0x48]
movd xmm0, eax
lea eax, [ebp - 0x180]
cvtdq2pd xmm0, xmm0
push eax
subsd xmm1, xmm0
movsd qword [0x4a5298], xmm1
inc dword [ebp - 0x48]
movsd xmm0, qword [0x4a5090]
mulsd xmm0, qword [ebp - 0x68]
movsd qword [ebp - 0x68], xmm0
movsd xmm0, qword [0x4a5090]
subsd xmm0, xmm2
movsd qword [0x4a5090], xmm0
call fcn.0041dcd0
movsx ecx, word [0x4a520c]
add esp, 4
movsd xmm1, qword [ebp - 0x38]
mov esi, eax
movd xmm0, ecx
movsx ecx, word [0x4a51a4]
cvtdq2pd xmm0, xmm0
add ecx, 0x79941e70
addsd xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
ucomisd xmm1, xmm0
lahf
inc word [0x4a520c]
test ah, 0x44
jnp 0x42a10f
mov eax, dword [0x4a506c]
add eax, dword [ebp - 0x2c]
mov dword [0x4a506c], eax
mov eax, dword [0x4a5450]
movsd xmm0, qword [0x4a51d8]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
addsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [0x4a5450], eax
movsd xmm0, qword [0x4a51d8]
addsd xmm0, qword [0x495120]
movsd qword [0x4a51d8], xmm0
mov eax, dword [0x4a52a0]
movsd xmm0, qword [0x4a52d8]
sub eax, 0x52b82bb8
movd xmm1, eax
cvtdq2pd xmm1, xmm1
addsd xmm0, xmm1
movsd qword [0x4a52d8], xmm0
inc dword [0x4a52a0]
inc word [0x4a5038]
movsx eax, word [0x4a5038]
mov ecx, dword [0x4a5220]
add eax, 0xf9aa06c5
add ecx, eax
mov dword [ebp - 0x10], ecx
dec dword [0x4a5220]
call fcn.00427d40
movzx eax, al
and eax, 0x80000003
jns 0x42a1ad
dec eax
or eax, 0xfffffffc
inc eax
add eax, 7
push eax
lea eax, [ebp - 0x180]
add eax, esi
push eax
call fcn.00427950
movzx eax, word [0x4a53a0]
movzx ecx, word [0x4a52e4]
cwde
sub ecx, eax
add ecx, 0x4966e105
mov word [0x4a52e4], cx
inc word [0x4a53a0]
movsx eax, word [ebp - 0x28]
add eax, dword [0x4a5160]
mov dword [0x4a5160], eax
inc dword [0x4a5474]
movzx eax, word [0x4a5188]
mov ecx, dword [0x4a5474]
cwde
add ecx, eax
push 5
mov word [0x4a5188], cx
push 0x27d1
call fcn.00428520
mov edi, eax
lea eax, [ebp - 0x180]
push edi
push eax
call fcn.0047c250
inc dword [ebp - 4]
add esp, 0x18
movzx ecx, word [0x4a518c]
movsx edx, word [ebp - 4]
movsx ecx, cx
sub edx, ecx
cmp edx, 0xe5c4a835
je 0x42a254
mov eax, 0x26d
mov word [0x4a5240], ax
movss xmm0, dword [0x4a5404]
mulss xmm0, dword [0x49b148]
movss dword [0x4a5404], xmm0
movsx ecx, word [0x4a53b8]
movsx eax, word [0x4a545c]
add ecx, 0x41dd2e46
dec word [0x4a53b8]
cmp ecx, eax
je 0x42a29a
movsx eax, word [ebp - 4]
sub eax, 0x1036660f
mov dword [ebp - 0x20], eax
dec dword [ebp - 4]
push 3
push 0x171f
call fcn.00428520
push edi
push 5
mov esi, eax
call fcn.00428f10
lea eax, [ebp - 0x180]
push esi
push eax
call fcn.0047d60c
movzx edx, word [ebp - 0x1c]
mov edi, eax
mov ecx, dword [ebp - 0x2c]
add esp, 0x18
add ecx, 0x5c431a86
add ecx, edx
mov word [ebp - 0x1c], cx
movsx ecx, word [0x4a50e8]
movss xmm0, dword [0x4a507c]
add ecx, 0x492fe43f
movd xmm1, ecx
mov ecx, 0xbffdf044
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
movss dword [0x4a507c], xmm0
movsx eax, word [0x4a50a0]
movsd xmm0, qword [0x4a5270]
sub ecx, eax
addsd xmm0, qword [0x497be8]
dec word [0x4a50a0]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
subsd xmm0, qword [0x49c708]
comisd xmm0, xmm1
jbe 0x42a35e
inc dword [ebp - 0x18]
movsd xmm1, qword [0x4a5258]
movsx eax, word [ebp - 0x18]
add eax, dword [ebp - 0x20]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movsd qword [0x4a5258], xmm1
push esi
push 3
call fcn.00428f10
movsx eax, word [0x4a521c]
add esp, 8
inc word [0x4a521c]
movsd xmm3, qword [0x495120]
cmp eax, 0x3c0e57c9
jl 0x42a398
movsd xmm0, qword [0x497570]
movsd qword [0x4a5340], xmm0
jmp 0x42a3cf
movsd xmm1, qword [0x4a50d8]
subsd xmm1, qword [0x4965c0]
movsd xmm0, qword [ebp - 0x38]
addsd xmm0, xmm1
cvttsd2si eax, xmm0
mov word [0x4a5134], ax
movsd xmm0, qword [0x4a50d8]
addsd xmm0, xmm3
movsd qword [0x4a50d8], xmm0
dec word [0x4a5434]
movsx eax, word [0x4a5434]
movsd xmm1, qword [0x4a50f8]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x38]
addsd xmm0, xmm1
movsd qword [ebp - 0x38], xmm0
test edi, edi
je 0x42addd
movsd xmm0, qword [0x4a52a8]
addsd xmm0, xmm3
movsd qword [0x4a52a8], xmm0
dec dword [ebp - 0x1c]
movsd xmm1, qword [0x4a52a8]
movsx eax, word [ebp - 0x1c]
subsd xmm1, qword [0x49bca8]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
ucomisd xmm1, qword [ebp - 0x38]
lahf
test ah, 0x44
jnp 0x42a45a
inc dword [ebp - 0x1c]
mov ecx, 0xe2ce70d1
movsx eax, word [ebp - 0x1c]
sub ecx, eax
mov dword [ebp - 0xc], ecx
movsx eax, word [0x4a5080]
movd xmm2, eax
mov eax, dword [ebp - 8]
movsd xmm0, qword [0x4a52d8]
dec word [0x4a5080]
cvtdq2pd xmm2, xmm2
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm2, xmm0
comisd xmm2, xmm1
jbe 0x42a4c5
movsd xmm1, qword [ebp - 0x38]
movsx eax, word [0x4a508c]
subsd xmm1, qword [0x496dd8]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cvttsd2si eax, xmm1
mov word [0x4a508c], ax
movsd xmm0, qword [ebp - 0x38]
subsd xmm0, xmm3
movsd qword [ebp - 0x38], xmm0
inc dword [ebp - 0xc]
mov ecx, ebx
movzx eax, word [ebp - 0x24]
imul eax, dword [ebp - 0xc]
push edi
push 1
mov word [ebp - 0x24], ax
movss xmm0, dword [0x4a5380]
addss xmm0, dword [0x49511c]
movss dword [0x4a5380], xmm0
movss xmm0, dword [ebp - 0x14]
addss xmm0, dword [0x49511c]
movss dword [ebp - 0x14], xmm0
inc dword [ebp - 0x18]
movss xmm0, dword [0x4a5380]
movsx eax, word [ebp - 0x18]
movss xmm1, dword [ebp - 0x14]
addss xmm1, xmm0
movd xmm2, eax
movsx eax, word [ebp - 0x18]
cvtdq2ps xmm2, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
subss xmm2, xmm1
cvttss2si eax, xmm2
mov word [ebp - 0x18], ax
call fcn.00418670
push eax
mov ecx, ebx
call fcn.0041b7c0
push eax
call fcn.0047d77a
push edi
call fcn.0047d2e1
movsd xmm1, qword [0x4a52b8]
add esp, 0x14
movsd xmm0, qword [0x4a50f8]
mov ecx, ebx
addsd xmm0, qword [0x496ba0]
subsd xmm1, xmm0
movsd qword [0x4a52b8], xmm1
call fcn.00419240
movsd xmm0, qword [ebp - 0x50]
mov ecx, 0xd0f14892
subsd xmm0, qword [0x495120]
movsd qword [ebp - 0x50], xmm0
movsx eax, word [0x4a52e4]
movsd xmm1, qword [ebp - 0x50]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
subsd xmm1, qword [0x4979c8]
cvtpd2ps xmm0, xmm1
movss dword [ebp - 0x40], xmm0
movsx eax, word [ebp - 0x1c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x3c]
movss dword [ebp - 0x3c], xmm0
movsd xmm1, qword [0x4a5298]
movsx eax, word [0x4a5110]
addsd xmm1, qword [0x496250]
sub ecx, eax
mov eax, dword [0x4a517c]
inc word [0x4a5110]
add eax, ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
comisd xmm1, xmm0
jbe 0x42a65d
movss xmm0, dword [ebp - 0x40]
subss xmm0, dword [0x49a9d0]
mov eax, dword [ebp - 0x20]
subss xmm0, dword [0x49a480]
cvtps2pd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [0x4a5298]
subsd xmm0, qword [0x497928]
comisd xmm0, xmm1
jbe 0x42a65d
mov eax, dword [0x4a5264]
mov eax, dword [0x4a517c]
mov eax, dword [ebp - 8]
dec dword [0x4a517c]
inc dword [ebp - 8]
movss xmm0, dword [ebp - 0x14]
subss xmm0, dword [0x49511c]
mov byte [ebp - 0x184], 0
push 0x104
movss dword [ebp - 0x14], xmm0
dec word [0x4a545c]
mov eax, dword [ebp - 0x20]
movss xmm1, dword [ebp - 0x14]
movd xmm2, eax
movsx eax, word [ebp - 0x24]
cvtdq2ps xmm2, xmm2
movd xmm0, eax
movsx eax, word [0x4a545c]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
subss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [ebp - 0x20], eax
dec dword [ebp - 0x24]
mov eax, dword [0x4a528c]
add eax, dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x30]
movd xmm1, eax
lea eax, [ebp - 0x288]
cvtdq2ps xmm1, xmm1
push eax
push 0
mulss xmm0, xmm1
movss dword [ebp - 0x30], xmm0
inc dword [ebp - 0x10]
call dword [0x4a6b4c]
mov eax, dword [0x4a5220]
mov ecx, 0xa37a2048
movss xmm0, dword [ebp - 0x30]
sub ecx, eax
mov eax, dword [ebp - 0x10]
movss xmm1, dword [0x49b070]
subss xmm1, xmm0
movd xmm2, ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm2, xmm2
addss xmm1, xmm0
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jnp 0x42a7a6
mov eax, dword [0x4a5204]
movsd xmm1, qword [0x4a5278]
add eax, 0x749a74cf
movd xmm2, eax
movsx eax, word [ebp - 4]
cvtdq2pd xmm2, xmm2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
subsd xmm1, qword [0x496608]
ucomisd xmm2, xmm1
lahf
inc dword [ebp - 4]
test ah, 0x44
jp 0x42a771
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
jmp 0x42a7a6
movsd xmm2, qword [0x4a51f8]
movsx eax, word [ebp - 0x24]
movsd xmm1, qword [ebp - 0x60]
movd xmm0, eax
mov eax, dword [ebp - 0xc]
cvtdq2pd xmm0, xmm0
subsd xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm2, xmm0
subsd xmm1, xmm2
movsd qword [ebp - 0x60], xmm1
movss xmm0, dword [0x4a5288]
mulss xmm0, dword [ebp - 0x44]
movss xmm3, dword [0x49511c]
movss dword [0x4a5288], xmm0
movsd xmm2, qword [0x4a5198]
mov eax, dword [0x4a5390]
movss xmm0, dword [0x4a50f4]
subsd xmm2, qword [0x49cf88]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
movss xmm0, dword [0x4a50f4]
addss xmm0, xmm3
addss xmm1, dword [0x499afc]
movss dword [0x4a50f4], xmm0
movsd xmm0, qword [0x4a5198]
addsd xmm0, qword [0x495120]
cvtps2pd xmm1, xmm1
movsd qword [0x4a5198], xmm0
comisd xmm2, xmm1
jbe 0x42a843
movsd xmm1, qword [ebp - 0x68]
movsd xmm0, qword [ebp - 0x58]
addsd xmm0, qword [0x4974c8]
subsd xmm1, xmm0
movsd qword [ebp - 0x68], xmm1
movss xmm0, dword [0x4a514c]
movss xmm1, dword [0x499b8c]
subss xmm1, xmm0
movss xmm0, dword [0x4a5458]
subss xmm0, dword [0x499d44]
ucomiss xmm1, xmm0
movss xmm0, dword [0x4a5458]
subss xmm0, xmm3
lahf
movss dword [0x4a5458], xmm0
test ah, 0x44
jp 0x42a8bd
inc dword [0x4a52f4]
mov ax, word [0x4a5018]
movsd xmm1, qword [0x4a5310]
movsx ecx, ax
mov eax, dword [0x4a52f4]
add eax, ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movsd qword [0x4a5310], xmm1
dec word [0x4a5018]
mov eax, dword [ebp - 0xc]
add eax, 0x590b5294
mov byte [ebp - 0x289], 0
push 0x15
push 0x2d02
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [ebp - 0x60]
movsd qword [ebp - 0x60], xmm0
call fcn.00428520
mov ecx, dword [ebp - 0x10]
mov esi, eax
sub ecx, dword [ebp - 0x2c]
add esp, 8
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [ebp - 0x50]
movsd qword [ebp - 0x50], xmm0
dec dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x14]
subss xmm0, dword [0x49511c]
movss dword [ebp - 0x14], xmm0
mov eax, dword [ebp - 8]
movss xmm0, dword [0x4a5360]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
movss xmm0, dword [ebp - 0x14]
addss xmm0, dword [0x49a894]
subss xmm0, dword [0x49a898]
ucomiss xmm1, xmm0
lahf
dec dword [ebp - 8]
test ah, 0x44
jnp 0x42a971
movzx eax, word [0x4a5104]
movsx ecx, ax
movzx eax, word [ebp - 0x24]
add eax, 0x70492b09
add eax, ecx
mov word [0x4a5104], ax
dec dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x44]
lea eax, [ebp - 0x288]
push dword [0x4a6a40]
mulss xmm0, dword [0x49d994]
push dword [0x4a7724]
push eax
push esi
lea eax, [ebp - 0x490]
movss dword [ebp - 0x44], xmm0
push 0x207
push eax
call fcn.0047d9bb
push esi
push 0x15
call fcn.00428f10
movsd xmm0, qword [0x4a52c8]
subsd xmm0, qword [0x495120]
movsd qword [0x4a52c8], xmm0
mov eax, dword [ebp - 0xc]
movsd xmm0, qword [0x4a52c8]
add eax, 0xc6b791a
movd xmm1, eax
cvtdq2pd xmm1, xmm1
addsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x38]
mulsd xmm0, xmm1
movsd qword [ebp - 0x38], xmm0
movsd xmm0, qword [0x4a5158]
addsd xmm0, qword [0x495ea8]
movsd qword [0x4a5140], xmm0
movsd xmm0, qword [0x4a5158]
addsd xmm0, qword [0x495120]
movsd qword [0x4a5158], xmm0
add dword [ebp - 8], 0xa1b80c66
push dword [0x4a6a40]
call fcn.00430c90
mov eax, 0xffffd7b1
add esp, 0x24
mov word [ebp - 0x1c], ax
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x8c1f36c5
jne 0x42aaf2
movsx eax, word [0x4a5028]
movsd xmm1, qword [0x4a50d8]
movd xmm0, eax
mov eax, dword [ebp - 8]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subsd xmm1, qword [0x49c260]
subss xmm0, dword [0x4a510c]
subss xmm0, dword [0x499ba0]
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
movss xmm0, dword [0x4a510c]
addss xmm0, dword [0x49511c]
lahf
movss dword [0x4a510c], xmm0
inc dword [ebp - 8]
test ah, 0x44
jp 0x42aaf2
movsx eax, word [0x4a5268]
movsd xmm1, qword [0x4a5358]
movss xmm0, dword [ebp - 0x14]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
subss xmm2, xmm0
addss xmm2, dword [0x49a720]
cvtps2pd xmm0, xmm2
subsd xmm1, xmm0
movsd qword [0x4a5358], xmm1
inc word [0x4a5268]
dec word [0x4a512c]
movss xmm1, dword [ebp - 0x30]
movsx eax, word [0x4a512c]
movd xmm0, eax
mov eax, dword [0x4a52a0]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
cvtps2pd xmm2, xmm0
movss xmm0, dword [ebp - 0x3c]
cvtps2pd xmm1, xmm0
addsd xmm1, qword [ebp - 0x38]
movss xmm0, dword [ebp - 0x30]
addss xmm0, dword [0x49511c]
comisd xmm1, xmm2
movss dword [ebp - 0x30], xmm0
jb 0x42ab6f
movsd xmm1, qword [0x4a5480]
mov eax, dword [ebp - 0x10]
add eax, 0xa0df45c
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movsd qword [0x4a5480], xmm1
dec dword [ebp - 0x10]
lea eax, [ebp - 0x490]
push eax
lea eax, [ebp - 0x180]
push eax
call fcn.0041ec00
mov ecx, dword [ebp - 0x20]
add esp, 8
movsx eax, word [0x4a51b4]
add ecx, 0x328d0c54
dec dword [ebp - 0x20]
cmp eax, ecx
jl 0x42abb0
movss xmm1, dword [0x49511c]
mov dword [0x4a5360], 0x4edd7d67
jmp 0x42abf7
mov eax, dword [0x4a51cc]
movss xmm0, dword [ebp - 0x40]
movd xmm1, eax
movsx eax, word [0x4a518c]
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x49511c]
mov word [0x4a518c], ax
movss xmm0, dword [ebp - 0x40]
addss xmm0, xmm1
movss dword [ebp - 0x40], xmm0
inc dword [ebp - 4]
mov ecx, 0xb14900b8
movsx eax, word [ebp - 4]
push 0x208
push 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x3c]
movss dword [ebp - 0x3c], xmm0
mov eax, dword [ebp - 0x48]
sub ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [ebp - 0x58]
movsd qword [ebp - 0x58], xmm0
movss xmm0, dword [0x4a5380]
cvttss2si eax, xmm0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x490]
movss xmm0, dword [0x4a5380]
subss xmm0, xmm1
push eax
movss dword [0x4a5380], xmm0
call fcn.0047c1b0
mov eax, dword [0x4a53fc]
add esp, 0xc
movsd xmm0, qword [ebp - 0x58]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
addsd xmm0, xmm1
movsd qword [ebp - 0x58], xmm0
dec dword [0x4a53fc]
mov ax, word [0x4a5110]
movsx ecx, ax
movsx eax, word [ebp - 0x28]
inc dword [ebp - 0x28]
sub ecx, eax
add ecx, 0x16e70b6c
cmp ecx, 0x5356474a
jg 0x42acb7
movzx eax, word [0x4a520c]
add eax, 0x637898e1
mov word [0x4a520c], ax
movsx eax, word [0x4a50ec]
movd xmm2, eax
mov eax, dword [ebp - 0x2c]
movss xmm0, dword [ebp - 0x14]
sub eax, 0x4a9791ac
cvtdq2ps xmm2, xmm2
movd xmm1, eax
addss xmm0, xmm2
cvtdq2ps xmm1, xmm1
ucomiss xmm1, xmm0
movss xmm0, dword [ebp - 0x14]
subss xmm0, dword [0x49511c]
lahf
movss dword [ebp - 0x14], xmm0
test ah, 0x44
jp 0x42ad10
movsd xmm0, qword [0x4a53a8]
subsd xmm0, qword [0x49b918]
movsd qword [0x4a53a8], xmm0
push 0x105
lea eax, [ebp - 0x288]
push 0
push eax
call fcn.0047c1b0
movzx eax, word [0x4a51a0]
add esp, 0xc
movsx ecx, ax
mov eax, dword [ebp - 0x20]
sub ecx, eax
mov eax, dword [0x4a51cc]
add eax, 0xb086486
add eax, ecx
mov word [0x4a51a0], ax
push 0x15f90
call dword [0x4a6ba8]
inc word [0x4a53c4]
movzx eax, word [0x4a53c4]
movzx ecx, word [ebp - 4]
cwde
sub ecx, eax
movzx eax, word [ebp - 0x18]
sub ecx, eax
lea eax, [ebp - 0x180]
mov word [ebp - 4], cx
inc dword [ebp - 0x18]
push eax
call dword [0x4a6af8]
movsx eax, word [0x4a545c]
movsd xmm0, qword [0x4a5190]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm0, xmm1
movsd qword [0x4a5190], xmm0
dec word [0x4a545c]
dec word [0x4a518c]
movsd xmm1, qword [0x4a52d8]
movsx eax, word [0x4a518c]
subsd xmm1, qword [0x499690]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm1
cvttsd2si eax, xmm0
mov word [ebp - 4], ax
push 0x118
lea eax, [ebp - 0x180]
push 0
push eax
call fcn.0047c1b0
movss xmm0, dword [0x4a5050]
add esp, 0xc
mulss xmm0, dword [0x49d94c]
pop edi
movss dword [0x4a5050], xmm0
pop esi
mov eax, 0x17c3
mov word [0x4a5260], ax
pop ebx
mov esp, ebp
pop ebp
ret