Function at 0x41ad20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [0x4a7368]
add eax, 0x613f25a6
mov word [0x4a7368], ax
movsx eax, word [0x4a7268]
add eax, 0x174088a1
cmp dword [str.__bK], eax
jl 0x41ad61
mov eax, dword [0x4a7458]
mov ecx, 0xe9967807
sub ecx, eax
add dword [0x4a7184], ecx
inc dword [0x4a7458]
cmp dword [0x4a89a0], 0
movss xmm2, dword [0x499d94]
jne 0x41adfe
movss xmm0, dword [0x4a71fc]
addss xmm0, dword [0x49c694]
subss xmm0, dword [0x49bca8]
cvtps2pd xmm1, xmm0
movsd xmm0, qword [0x4a7398]
mulsd xmm0, xmm1
movsd qword [0x4a7398], xmm0
movss xmm0, dword [0x4a71fc]
addss xmm0, xmm2
movss dword [0x4a71fc], xmm0
call fcn.00432860
movsd xmm1, qword [0x4a7050]
movss xmm0, dword [0x4a7580]
movss xmm2, dword [0x499d94]
cvtps2pd xmm0, xmm0
mov dword [0x4a89a0], eax
subsd xmm1, xmm0
movsd qword [0x4a70d8], xmm1
movss xmm0, dword [0x4a7580]
addss xmm0, xmm2
movss dword [0x4a7580], xmm0
mov eax, dword [0x4a7190]
movss xmm0, dword [0x4a7564]
push esi
push edi
movd xmm1, eax
cvtdq2ps xmm1, xmm1
push 3
push 0x10da
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [0x4a7190], eax
movss xmm0, dword [0x4a7564]
subss xmm0, xmm2
movss dword [0x4a7564], xmm0
call fcn.00441870
movss xmm0, dword [0x4a7174]
mov esi, eax
subss xmm0, dword [0x49bd28]
push esi
push dword [ebp + 8]
cvttss2si ecx, xmm0
mov word [0x4a706c], cx
call fcn.00454f6e
push esi
push 3
mov edi, eax
call fcn.00445430
mov ecx, dword [0x4a744c]
add esp, 0x18
movss xmm0, dword [0x4a7234]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [0x4a744c], eax
test edi, edi
jne 0x41af69
movss xmm1, dword [0x4a7308]
movsx eax, word [0x4a7200]
subss xmm1, dword [0x49c3c0]
push 0x3e8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov word [0x4a7200], ax
call dword [0x4a80d8]
movss xmm0, dword [0x4a7160]
addss xmm0, dword [0x49c360]
push 3
push 0x10da
movss dword [0x4a7160], xmm0
call fcn.00441870
movsd xmm2, qword [0x4a7258]
mov esi, eax
movsd xmm0, qword [0x4a7538]
movsd xmm1, qword [0x49bb90]
subsd xmm1, xmm0
push esi
push dword [ebp + 8]
subsd xmm2, xmm1
movsd qword [0x4a7258], xmm2
call fcn.00454f6e
movss xmm1, dword [0x4a72cc]
mov edi, eax
mov eax, dword [0x4a7190]
add eax, 0x6eea0fff
push esi
push 3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [0x4a72cc], xmm1
call fcn.00445430
mov eax, 0x12b0
add esp, 0x18
mov word [0x4a7254], ax
movsx eax, word [0x4a7548]
sub eax, 0x46f9bbc7
cmp eax, 0xd2f7daf1
je 0x41afa4
cmp dword [0x4a74f0], 0x37737efb
movss xmm1, dword [0x499d94]
jne 0x41afe9
movzx eax, word [0x4a72f8]
sub eax, 0x3c0187fc
mov word [0x4a72f8], ax
jmp 0x41afe9
movss xmm1, dword [0x4a7454]
mov eax, dword [0x4a7518]
subss xmm1, dword [0x49bd18]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movss xmm1, dword [0x499d94]
cvttss2si eax, xmm0
mov dword [0x4a7518], eax
movss xmm0, dword [0x4a7454]
addss xmm0, xmm1
movss dword [0x4a7454], xmm0
test edi, edi
je 0x41b0bc
movss xmm0, dword [0x4a7008]
addss xmm0, xmm1
push edi
push 1
push 4
push 0x4a89a0
movss dword [0x4a7008], xmm0
movss xmm0, dword [0x4a7008]
subss xmm0, dword [0x49c334]
subss xmm0, dword [0x49c6e4]
movss dword [0x4a72cc], xmm0
call fcn.0045529a
movsx eax, word [0x4a7230]
mov ecx, 0x2f2d698
movsd xmm0, qword [0x4a73d0]
sub ecx, eax
push edi
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
mulsd xmm0, xmm1
movsd qword [0x4a73d0], xmm0
inc word [0x4a7230]
call fcn.0045497f
add esp, 0x14
cmp dword [0x4a7430], 0xf8410e6b
jle 0x41b0a4
movss xmm2, dword [0x4a7064]
movss xmm0, dword [0x4a7080]
movss xmm1, dword [0x49d794]
subss xmm1, xmm0
subss xmm2, xmm1
movss dword [0x4a7064], xmm2
jmp 0x41b0bc
movsd xmm0, qword [0x4a7428]
mulsd xmm0, qword [0x49d0d8]
movsd qword [0x4a7428], xmm0
inc word [0x4a7348]
mov ax, word [0x4a7348]
movsx ecx, word [0x4a7134]
cwde
sub ecx, eax
pop edi
pop esi
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movsd qword [0x4a72b8], xmm0
pop ebp
ret