Function at 0x42aad0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x488
push edi
movsd xmm0, qword [0x49d3d8]
mov eax, 0xffffb116
mov word [ebp - 0x20], ax
mov eax, 0xffff8c84
mov dword [ebp - 0x30], 0xce699970
mov dword [ebp - 0x50], 0xe8c43749
mov dword [ebp - 0x50], 0xbbed0cd1
mov dword [ebp - 0x44], 0xcef721a6
mov dword [ebp - 0x1c], 0x77f9f28b
mov dword [ebp - 0x18], 0x4cd8307e
mov dword [ebp - 0x58], 0x44d7d4aa
mov word [ebp - 0x14], ax
mov eax, 0x2385
movsd qword [ebp - 0x40], xmm0
movsd xmm0, qword [0x49c410]
mov dword [ebp - 0x18], 0xec783cda
mov word [ebp - 0x10], ax
mov eax, 0x30b1
mov dword [ebp - 0x54], 0x608e1c0
movsd qword [ebp - 0x4c], xmm0
movsd xmm0, qword [0x498e20]
mov word [ebp - 8], ax
mov eax, 0x3417
mov dword [ebp - 0x18], 0x6bf04799
mov dword [ebp - 0x24], 0x5d54e951
movsd qword [ebp - 0x2c], xmm0
movsd xmm0, qword [0x49dbd8]
mov dword [ebp - 4], 0x715f2ed7
movsd qword [ebp - 0x60], xmm0
movsd xmm0, qword [0x49da50]
mov edi, dword [ebp + 8]
mov ecx, edi
mov word [ebp - 0xc], ax
movsd qword [ebp - 0x38], xmm0
call fcn.00419600
cmp eax, 0x8000
jbe 0x42b630
movsx ecx, word [0x4a61ec]
movsx eax, word [ebp - 0x14]
add ecx, 0xc84610ab
cmp ecx, eax
jl 0x42abd7
mov eax, dword [ebp - 4]
add eax, 0x1b5de8eb
mov word [0x4a6424], ax
dec dword [ebp - 4]
dec dword [ebp - 0xc]
mov ecx, 0x9bd108b4
movsd xmm1, qword [ebp - 0x4c]
movsx eax, word [ebp - 0xc]
subsd xmm1, qword [0x496288]
push ebx
push esi
movd xmm0, eax
mov eax, dword [ebp - 0x24]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [ebp - 0x24], eax
movsx eax, word [ebp - 8]
sub ecx, eax
mov dword [ebp - 0x18], ecx
movzx eax, word [ebp - 0x20]
add eax, 0x3758a9bc
mov word [ebp - 0x20], ax
movss xmm1, dword [0x4a6114]
movss xmm0, dword [0x4a6164]
addss xmm0, dword [0x4a60ac]
addss xmm0, dword [0x49b66c]
subss xmm1, xmm0
movss dword [0x4a6114], xmm1
movss xmm0, dword [0x4a6164]
addss xmm0, dword [0x495ab4]
movss dword [0x4a6164], xmm0
movsd xmm1, qword [ebp - 0x2c]
mov eax, dword [ebp - 0x50]
subsd xmm1, qword [0x496ca8]
movd xmm0, eax
lea eax, [ebp - 0x178]
cvtdq2pd xmm0, xmm0
push eax
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [ebp - 0x18], xmm0
movsd xmm0, qword [ebp - 0x2c]
subsd xmm0, qword [0x495ab8]
movsd qword [ebp - 0x2c], xmm0
call fcn.0041e890
movss xmm0, dword [0x4a626c]
mov esi, eax
movsx ecx, word [ebp - 8]
movss xmm1, dword [0x49e66c]
subss xmm1, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
subss xmm1, dword [0x49b270]
mulss xmm0, xmm1
cvttss2si ecx, xmm0
mov word [ebp - 8], cx
movss xmm0, dword [0x4a626c]
subss xmm0, dword [0x495ab4]
movss dword [0x4a626c], xmm0
dec dword [ebp - 8]
movzx eax, word [0x4a61b0]
movsx ecx, ax
movzx eax, word [ebp - 8]
sub ecx, eax
sub ecx, dword [ebp - 4]
sub ecx, 0x10f36045
mov word [0x4a61b0], cx
call fcn.004285e0
movzx eax, al
and eax, 0x80000003
jns 0x42ad35
dec eax
or eax, 0xfffffffc
inc eax
add eax, 7
push eax
lea eax, [ebp - 0x178]
add eax, esi
push eax
call fcn.004280e0
movsd xmm0, qword [ebp - 0x38]
subsd xmm0, qword [0x4980b0]
push 5
push 0x100
movsd qword [ebp - 0x38], xmm0
mov eax, dword [0x4a646c]
movss xmm0, dword [0x4a6498]
sub eax, 0x7c5398f0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movss dword [0x4a6498], xmm0
movsd xmm0, qword [ebp - 0x2c]
addsd xmm0, qword [0x497750]
subsd xmm0, qword [0x49ca70]
mulsd xmm0, qword [0x4a6200]
movsd qword [0x4a6200], xmm0
movsd xmm0, qword [ebp - 0x2c]
addsd xmm0, qword [0x495ab8]
movsd qword [ebp - 0x2c], xmm0
movss xmm1, dword [0x4a64b8]
movsx eax, word [0x4a6240]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [0x4a64b8], xmm1
call fcn.00428f10
dec dword [ebp - 4]
mov esi, eax
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x178]
sub ecx, 0x7e2c01db
push esi
push eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x4a6590]
movss dword [0x4a6590], xmm0
call fcn.0047cfb0
movss xmm0, dword [0x4a60f4]
subss xmm0, dword [0x495ab4]
push 3
push 0x1a92
movss dword [0x4a60f4], xmm0
movss xmm0, dword [0x4a60f4]
movsx eax, word [ebp - 0xc]
movd xmm1, eax
mov eax, dword [ebp - 0x58]
cvtdq2ps xmm1, xmm1
addss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, dword [0x49b800]
mulss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [ebp - 0x58], eax
dec dword [ebp - 0xc]
call fcn.00428f10
dec dword [ebp - 0x1c]
add esp, 0x24
dec word [0x4a638c]
mov ebx, eax
mov cx, word [0x4a638c]
mov edx, dword [0x4a60f8]
movsx ecx, cx
sub edx, ecx
cmp dword [ebp - 0x1c], edx
je 0x42aec1
movsd xmm0, qword [ebp - 0x4c]
subsd xmm0, qword [0x499df0]
comisd xmm0, xmmword [0x495de0]
jb 0x42aec1
movzx eax, word [ebp - 0x10]
sub eax, dword [0x4a6160]
mov word [ebp - 0x10], ax
dec dword [0x4a6160]
movsd xmm0, qword [0x4a6200]
movsd xmm1, qword [0x497c30]
subsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x4c]
push esi
push 5
subsd xmm1, xmm0
mulsd xmm1, qword [ebp - 0x2c]
movsd qword [ebp - 0x2c], xmm1
movss xmm1, dword [ebp - 0x18]
movsx eax, word [ebp - 8]
subss xmm1, dword [0x49acfc]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
cvttss2si eax, xmm1
mov word [ebp - 8], ax
call fcn.004299e0
movss xmm0, dword [ebp - 0x30]
lea eax, [ebp - 0x178]
mulss xmm0, dword [0x49ee80]
push ebx
push eax
movss dword [ebp - 0x30], xmm0
call fcn.0047e36c
movss xmm1, dword [0x4a6568]
mov esi, eax
movsx ecx, word [ebp - 8]
addss xmm1, dword [0x49ac18]
push ebx
push 3
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
cvttss2si ecx, xmm0
mov word [ebp - 8], cx
call fcn.004299e0
movsd xmm2, qword [0x4a64f8]
add esp, 0x18
movss xmm1, dword [ebp - 0x44]
mov eax, dword [ebp - 0x24]
addss xmm1, dword [0x49b11c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
subsd xmm2, xmm0
movsd qword [0x4a64f8], xmm2
movss xmm0, dword [ebp - 0x44]
subss xmm0, dword [0x495ab4]
movss dword [ebp - 0x44], xmm0
test esi, esi
je 0x42b618
movss xmm0, dword [0x4a613c]
subss xmm0, dword [0x49b1c0]
push esi
push 1
movss dword [0x4a613c], xmm0
mov eax, dword [0x4a60e8]
movd xmm2, eax
mov eax, dword [0x4a65a4]
movsd xmm1, qword [ebp - 0x38]
cvtdq2pd xmm2, xmm2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
subsd xmm2, xmm1
cvttsd2si eax, xmm2
mov dword [0x4a60e8], eax
movsd xmm0, qword [ebp - 0x38]
subsd xmm0, qword [0x495ab8]
movsd qword [ebp - 0x38], xmm0
inc dword [0x4a65a4]
mov eax, dword [0x4a6038]
movss xmm0, dword [0x4a62e8]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [0x4a6038], eax
movsx ecx, word [ebp - 0xc]
mov eax, dword [0x4a61f0]
add eax, ecx
movzx ecx, word [ebp - 0xc]
imul ecx, eax
mov word [ebp - 0xc], cx
mov ecx, edi
call fcn.00419600
push eax
mov ecx, edi
call fcn.0041c470
push eax
call fcn.0047e4da
movsd xmm1, qword [ebp - 0x38]
add esp, 0x10
mov eax, dword [0x4a6468]
subsd xmm1, qword [0x4972e0]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, qword [0x498308]
cvttsd2si eax, xmm1
mov dword [0x4a6468], eax
movsd qword [ebp - 0x2c], xmm0
mov eax, dword [0x4a6010]
movsd xmm1, qword [0x4a6070]
add eax, 0x5161504e
movss xmm0, dword [0x4a6440]
subsd xmm1, qword [0x497b70]
cvtps2pd xmm0, xmm0
movd xmm2, eax
cvtdq2pd xmm2, xmm2
addsd xmm0, xmm1
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jnp 0x42b0e2
mov eax, dword [0x4a6010]
add eax, 0x65b3e71a
mov word [ebp - 8], ax
push esi
call fcn.0047e041
movss xmm2, dword [0x4a60c4]
add esp, 4
movsx eax, word [0x4a60f0]
dec word [0x4a60f0]
movss xmm3, dword [0x495ab4]
movss xmm1, dword [0x49a430]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
movss xmm0, dword [0x4a60c4]
subss xmm0, xmm3
comiss xmm1, xmm2
movss dword [0x4a60c4], xmm0
jb 0x42b143
movzx eax, word [ebp - 0x14]
imul eax, eax, 0x25d69148
mov word [ebp - 0x14], ax
movss xmm0, dword [0x4a6358]
mov edx, 0x92d75a29
subss xmm0, dword [0x49e7f0]
movsd xmm1, qword [0x4a6088]
mov ecx, edi
cvtps2pd xmm2, xmm0
movsd xmm0, qword [ebp - 0x60]
subsd xmm2, xmm0
subsd xmm1, xmm2
movsd qword [0x4a6088], xmm1
movss xmm0, dword [0x4a6358]
subss xmm0, xmm3
movss dword [0x4a6358], xmm0
dec dword [ebp - 4]
mov eax, dword [0x4a60c8]
movd xmm1, eax
mov eax, dword [ebp - 4]
sub eax, 0x3c45b541
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [0x4a6078]
subsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [0x4a60c8], eax
mov eax, dword [0x4a64f0]
sub edx, eax
add dword [0x4a6478], edx
call fcn.00419f10
movsd xmm1, qword [ebp - 0x60]
movsd xmm0, qword [ebp - 0x2c]
addsd xmm0, qword [0x499130]
ucomisd xmm1, xmm0
movsd xmm0, qword [ebp - 0x2c]
subsd xmm0, qword [0x495ab8]
lahf
movsd qword [ebp - 0x2c], xmm0
test ah, 0x44
jnp 0x42b235
mov eax, dword [ebp - 0x24]
movsd xmm0, qword [0x4a6220]
add eax, 0x556e5275
subsd xmm0, qword [0x496ce8]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
comisd xmm1, xmm0
jb 0x42b242
mov dword [0x4a6028], 0xf65c7793
jmp 0x42b242
movsd xmm0, qword [0x49d330]
movsd qword [ebp - 0x4c], xmm0
push 0x104
lea eax, [ebp - 0x280]
mov byte [ebp - 0x17c], 0
push eax
push 0
call dword [0x4a87c0]
movss xmm0, dword [ebp - 0x30]
subss xmm0, dword [0x495ab4]
mov byte [ebp - 0x281], 0
push 0x15
push 0x1bc8
movss dword [ebp - 0x30], xmm0
mov eax, dword [0x4a625c]
movss xmm0, dword [ebp - 0x30]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
movss dword [0x4a6378], xmm0
call fcn.00428f10
push dword [0x4a86b4]
mov esi, eax
lea eax, [ebp - 0x280]
push dword [0x4a869c]
push eax
push esi
lea eax, [ebp - 0x488]
push 0x207
push eax
call fcn.0047e71b
push esi
push 0x15
call fcn.004299e0
movsx eax, word [ebp - 0x10]
movss xmm0, dword [0x4a6184]
addss xmm0, dword [0x49a990]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm0, dword [0x49b568]
subss xmm1, xmm0
cvttss2si eax, xmm1
mov word [ebp - 0x10], ax
movsx eax, word [ebp - 0x14]
add eax, 0x3c7a3978
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [0x4a6260]
movsd qword [0x4a6260], xmm0
imul eax, dword [0x4a654c], 0xd7f7301e
mov dword [0x4a654c], eax
movsd xmm0, qword [0x4a65c0]
subsd xmm0, qword [0x495ab8]
movsd qword [0x4a65c0], xmm0
movsd xmm1, qword [ebp - 0x40]
movsd xmm0, qword [0x4a65c0]
addsd xmm0, qword [0x4962d8]
push dword [0x4a86b4]
subsd xmm1, xmm0
movsd qword [ebp - 0x40], xmm1
call fcn.00431880
mov eax, dword [ebp - 0x1c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4a62e0]
movsd qword [0x4a62e0], xmm0
movsd xmm1, qword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
subsd xmm1, qword [0x49c328]
movd xmm0, eax
mov eax, dword [ebp - 4]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [ebp - 4], eax
inc dword [ebp - 0x1c]
movsx eax, word [ebp - 0x20]
sub eax, 0x5047409b
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x4a64b8]
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x178]
push eax
movss dword [0x4a64b8], xmm0
call fcn.0041f1f0
movsd xmm0, qword [0x4a61b8]
add esp, 0x34
movsd xmm2, qword [0x495ab8]
movsd xmm1, qword [0x497ec8]
addsd xmm0, xmm2
movsd qword [0x4a61b8], xmm0
movsd xmm0, qword [0x4a61b8]
subsd xmm1, xmm0
movsd xmm0, qword [0x496268]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jp 0x42b481
movsd xmm1, qword [0x4a6350]
movsd xmm0, qword [0x4a6088]
subsd xmm1, qword [0x498a98]
addsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [ebp - 0x24], eax
movsd xmm0, qword [0x4a6088]
subsd xmm0, xmm2
movsd qword [0x4a6088], xmm0
movsd xmm0, qword [0x4a6350]
addsd xmm0, xmm2
movsd qword [0x4a6350], xmm0
push 0x208
lea eax, [ebp - 0x488]
push 0
push eax
call fcn.0047cf10
add dword [0x4a6214], 0xf373eb8
mov eax, dword [ebp - 0x24]
push 0x105
push 0
movd xmm0, eax
lea eax, [ebp - 0x280]
cvtdq2pd xmm0, xmm0
push eax
addsd xmm0, qword [0x4a6458]
movsd qword [0x4a6458], xmm0
call fcn.0047cf10
movsd xmm0, qword [ebp - 0x40]
add esp, 0x18
subsd xmm0, qword [0x499960]
push 0x15f90
subsd xmm0, qword [0x49ce08]
movsd qword [ebp - 0x2c], xmm0
movsd xmm0, qword [ebp - 0x40]
addsd xmm0, qword [0x495ab8]
movsd qword [ebp - 0x40], xmm0
inc word [0x4a629c]
movsx eax, word [0x4a629c]
add eax, 0xff88d0a8
add dword [ebp - 0x54], eax
call dword [0x4a881c]
movss xmm2, dword [0x495ab4]
mov dword [0x4a6164], 0xcd93c1a2
movss xmm0, dword [ebp - 0x18]
addss xmm0, xmm2
movss dword [ebp - 0x18], xmm0
movss xmm1, dword [ebp - 0x18]
movsx eax, word [ebp - 8]
add eax, 0x6e143596
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x42b5ac
inc dword [ebp - 0xc]
movss xmm0, dword [0x4a61a4]
addss xmm0, xmm2
movss dword [0x4a61a4], xmm0
movss xmm0, dword [0x4a61a4]
movsx eax, word [ebp - 0xc]
movd xmm1, eax
movsx eax, word [0x4a6344]
cvtdq2ps xmm1, xmm1
addss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, dword [0x49b2a0]
mulss xmm1, xmm0
cvttss2si eax, xmm1
mov word [0x4a6344], ax
mov ecx, dword [0x4a61e0]
mov eax, dword [ebp - 0x24]
sub ecx, eax
movsx eax, word [ebp - 0x10]
dec dword [0x4a61e0]
sub eax, 0xce383ee
cmp eax, ecx
jg 0x42b5eb
movsd xmm0, qword [ebp - 0x38]
addsd xmm0, qword [ebp - 0x40]
movsd qword [ebp - 0x38], xmm0
movsd xmm0, qword [ebp - 0x40]
addsd xmm0, qword [0x495ab8]
movsd qword [ebp - 0x40], xmm0
mov eax, dword [str.qJne___F]
movsd xmm0, qword [ebp - 0x4c]
add eax, 0x71d0aec6
movd xmm1, eax
lea eax, [ebp - 0x178]
cvtdq2pd xmm1, xmm1
push eax
addsd xmm0, xmm1
movsd qword [ebp - 0x4c], xmm0
call dword [0x4a876c]
push 0x118
lea eax, [ebp - 0x178]
push 0
push eax
call fcn.0047cf10
add esp, 0xc
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret