Function at 0x41719a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
movzx eax, word [ebp + 0xc]
xorps xmm0, xmm0
push ebx
push esi
movsx esi, ax
xor ebx, ebx
xor eax, eax
movss dword [ebp - 0x24], xmm0
inc eax
movss dword [ebp - 0x20], xmm0
push edi
mov edi, dword [ebp + 8]
movss dword [ebp - 0x18], xmm0
movss dword [ebp - 0x14], xmm0
cmp word [0x4ed254], ax
jle 0x41724f
mov eax, esi
shl eax, 9
push ecx
push ecx
movss xmm0, dword [eax + edi + 0x5c]
movss xmm2, dword [eax + edi + 0x64]
movss xmm1, dword [eax + edi + 0x60]
subss xmm2, xmm0
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [eax + edi + 0x68]
subss xmm0, xmm1
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x18], xmm2
movaps xmm1, xmm0
movss dword [ebp - 0x14], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.0043f630
movss xmm0, dword [ebp - 0x18]
fstp dword [ebp - 0x1c]
divss xmm0, dword [ebp - 0x1c]
pop ecx
pop ecx
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x14]
divss xmm0, dword [ebp - 0x1c]
movss dword [ebp - 0x14], xmm0
push 0x47e360
push esi
push 0x46c8ac
push 0x47dc60
push str._s_s_i_0_2__s
push 0x47da60
call fcn.00401381
push 0x47da60
call fcn.00402994
push 0x4694e0
push 0x47da60
call fcn.0043ed2e
mov ecx, eax
add esp, 0x24
mov eax, esi
mov dword [0x5ff13c], ecx
shl eax, 9
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x417597
xor eax, eax
push ecx
inc eax
push eax
lea eax, [ebp - 8]
push 2
push eax
call fcn.0043efcb
mov eax, dword [ebp - 0x10]
xor edx, edx
inc edx
add esp, 0x10
xor ebx, ebx
mov ecx, edx
mov dword [ebp - 0x30], ecx
cmp dx, word [eax + edi + 0x1d6]
jg 0x417581
mov eax, esi
shl eax, 8
mov dword [ebp - 0x3c], eax
movsx edx, cx
add eax, edx
mov dword [ebp - 0x38], edx
xor edx, edx
inc edx
movzx eax, word [edi + eax*2 + 0x2a]
cmp dx, ax
jg 0x417569
mov dword [ebp - 0x2c], eax
jmp 0x4172f9
xor edx, edx
inc edx
mov dword [ebp - 0x28], 4
jmp 0x417305
xor edx, edx
inc edx
push dword [0x5ff13c]
lea eax, [ebp - 0x44]
push edx
push 8
push eax
call fcn.0043efcb
push dword [0x5ff13c]
xor eax, eax
inc eax
push eax
lea eax, [ebp - 0x4c]
push 8
push eax
call fcn.0043efcb
push dword [0x5ff13c]
xor eax, eax
inc eax
push eax
lea eax, [ebp - 0x54]
push 8
push eax
call fcn.0043efcb
mov eax, 0x1770
add esp, 0x30
cmp bx, ax
jge 0x417552
inc ebx
movsx ecx, bx
push ecx
push ecx
mov dword [ebp - 0xc], ecx
mov eax, dword [ecx*4 + 0x55fd80]
and dword [eax + 0x3c], 0
mov eax, dword [ecx*4 + 0x55fd80]
and dword [eax + 0x38], 0
movsd xmm0, qword [ebp - 0x4c]
mov eax, dword [ecx*4 + 0x55fd80]
cvtpd2ps xmm0, xmm0
movss dword [eax + 0xc], xmm0
movsd xmm0, qword [ebp - 0x54]
movsd qword [esp], xmm0
call fcn.0043f57f
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
fstp dword [ebp - 0x34]
movss xmm0, dword [ebp - 0x34]
mov eax, dword [ecx*4 + 0x55fd80]
movss dword [eax + 8], xmm0
movsd xmm0, qword [ebp - 0x44]
mov eax, dword [ecx*4 + 0x55fd80]
cvtpd2ps xmm0, xmm0
movss dword [eax], xmm0
mov eax, dword [ecx*4 + 0x55fd80]
xor ecx, ecx
inc ecx
and dword [eax + 4], 0
cmp word [0x4ed254], cx
je 0x417455
movss xmm1, dword [ebp - 0x14]
lea eax, [ebp - 4]
movss xmm0, dword [ebp - 0x20]
cvtps2pd xmm1, xmm1
push eax
sub esp, 0x10
lea eax, [ebp - 0x1c]
cvtps2pd xmm0, xmm0
mulsd xmm1, qword [ebp - 0x44]
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss xmm1, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
movsd qword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x24]
mulsd xmm1, qword [ebp - 0x44]
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push eax
call fcn.00416566
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
inc ecx
add esp, 0x18
cmp word [ebp - 4], cx
cmove eax, ecx
mov dword [ebp - 0x1c], eax
cmp ax, cx
jl 0x417455
cmp ax, word [0x4ed254]
jle 0x41745a
mov eax, ecx
mov dword [ebp - 0x1c], eax
movsd xmm2, qword [0x46a8a0]
cwde
imul edx, eax, 0x5c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x38]
mov eax, dword [eax*4 + 0x55fd80]
movss xmm0, dword [edx + 0x5fcb40]
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm2
cvtpd2ps xmm0, xmm0
movss dword [eax + 0x5c], xmm0
mov eax, esi
shl eax, 7
add ecx, eax
mov eax, dword [ebp - 0xc]
movss xmm0, dword [edi + ecx*4 + 0xd0]
addss xmm0, dword [edx + 0x5fcb40]
mov eax, dword [eax*4 + 0x55fd80]
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm2
cvtpd2ps xmm0, xmm0
movss dword [eax + 0x1c], xmm0
mov eax, dword [ebp - 0xc]
cvtps2pd xmm1, xmm0
mov eax, dword [eax*4 + 0x55fd80]
movaps xmm0, xmm1
subsd xmm0, qword [0x5febf0]
cvtpd2ps xmm0, xmm0
movss dword [eax + 0x58], xmm0
subsd xmm1, qword [0x5febe8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x55fd80]
cvtpd2ps xmm0, xmm1
movss dword [eax + 0x60], xmm0
movss xmm0, dword [edx + 0x5fcb40]
mov eax, dword [ebp - 0xc]
cvtps2pd xmm0, xmm0
mov eax, dword [eax*4 + 0x55fd80]
mulsd xmm0, qword [0x46a7c8]
movss xmm1, dword [eax + 0x60]
cvtps2pd xmm1, xmm1
mulsd xmm0, xmm2
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax + 0x64], xmm0
movss xmm0, dword [edi + ecx*4 + 0x124]
mov eax, dword [ebp - 0xc]
cvtps2pd xmm0, xmm0
mov eax, dword [eax*4 + 0x55fd80]
mulsd xmm0, xmm2
cvtpd2ps xmm0, xmm0
movss dword [eax + 0x14], xmm0
sub dword [ebp - 0x28], 1
jne 0x417302
sub dword [ebp - 0x2c], 1
jne 0x4172f6
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x30], ecx
cmp cx, word [eax + edi + 0x1d6]
mov eax, dword [ebp - 0x3c]
jle 0x4172d8
push dword [0x5ff13c]
call fcn.0043e7de
movzx eax, word [ebp + 0xc]
cwde
pop ecx
mov dword [ebp - 0x18], eax
jmp 0x41759d
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esi
push 0x47e360
push esi
push str.BMQMIN
push 0x47dc60
push str._s_s_i_s
push 0x47da60
call fcn.00401381
push 0x47e360
push esi
push 0x46c8ac
push 0x47dc60
push str._s_s_i_0_1__s
push 0x47da60
call fcn.00401381
push 0x47da60
call fcn.00402994
push 0x4694e0
push 0x47da60
call fcn.0043ed2e
add esp, 0x3c
mov dword [0x5ff13c], eax
test eax, eax
je 0x417740
push eax
xor eax, eax
xor ebx, ebx
inc eax
push eax
lea eax, [ebp - 8]
push 2
push eax
call fcn.0043efcb
mov eax, dword [ebp - 0x10]
xor edx, edx
inc edx
add esp, 0x10
mov ecx, edx
mov dword [ebp - 0x28], ecx
cmp dx, word [eax + edi + 0x1d6]
jg 0x417734
mov edx, dword [ebp - 0x18]
xor esi, esi
shl edx, 8
inc esi
mov dword [ebp - 0x18], edx
movsx eax, cx
add eax, edx
movzx eax, word [edi + eax*2 + 0x2a]
cmp si, ax
jg 0x41771b
xor edi, edi
mov dword [ebp - 0x2c], eax
inc edi
push 4
pop esi
mov dword [ebp - 0x30], esi
push dword [0x5ff13c]
lea eax, [ebp - 0x44]
push edi
push 8
push eax
call fcn.0043efcb
push dword [0x5ff13c]
lea eax, [ebp - 0x4c]
push edi
push 8
push eax
call fcn.0043efcb
push dword [0x5ff13c]
lea eax, [ebp - 0x54]
push edi
push 8
push eax
call fcn.0043efcb
mov eax, 0x1770
add esp, 0x30
cmp bx, ax
jge 0x4176f9
movsd xmm0, qword [ebp - 0x4c]
inc ebx
movsx esi, bx
cvtpd2ps xmm0, xmm0
push ecx
push ecx
mov eax, dword [esi*4 + 0x55fd80]
movss dword [eax + 0x24], xmm0
movsd xmm0, qword [ebp - 0x54]
movsd qword [esp], xmm0
call fcn.0043f57f
mov eax, dword [esi*4 + 0x55fd80]
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
pop ecx
movss dword [eax + 0x20], xmm0
mov eax, dword [esi*4 + 0x55fd80]
pop ecx
and dword [eax + 0x44], 0
mov eax, dword [esi*4 + 0x55fd80]
mov esi, dword [ebp - 0x30]
and dword [eax + 0x40], 0
sub esi, 1
mov dword [ebp - 0x30], esi
jne 0x41765d
sub dword [ebp - 0x2c], 1
jne 0x417657
mov edi, dword [ebp + 8]
xor esi, esi
mov ecx, dword [ebp - 0x28]
inc esi
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x28], ecx
cmp cx, word [eax + edi + 0x1d6]
jle 0x41763e
movsx esi, word [ebp + 0xc]
push dword [0x5ff13c]
call fcn.0043e7de
pop ecx
mov eax, dword [ebp + 0x10]
mov edi, 0x47da60
push 0x47e360
push str.BLAGER0
push 0x47dc60
push str._s_s_s
push edi
mov word [eax], bx
call fcn.00401381
push 0x4694e0
push edi
call fcn.0043ed2e
add esp, 0x1c
mov dword [0x5ff13c], eax
test eax, eax
je 0x4177ba
imul ecx, esi, 0x23c
mov edi, 0x23c
push 0
sub ecx, edi
push ecx
push eax
call fcn.0043ff30
push dword [0x5ff13c]
xor ebx, ebx
inc ebx
push ebx
push edi
push dword [ebp + 0x14]
call fcn.0043efcb
push dword [0x5ff13c]
call fcn.0043e7de
add esp, 0x20
mov edi, 0x47da60
jmp 0x4177bd
xor ebx, ebx
inc ebx
push 0x47e360
push str.BEAML
push 0x47dc60
push str._s_s_s
push edi
call fcn.00401381
push 0x4694e0
push edi
call fcn.0043ed2e
add esp, 0x1c
mov dword [0x5ff13c], eax
test eax, eax
je 0x41781f
shl esi, 7
mov edi, 0x80
push 0
sub esi, edi
push esi
push eax
call fcn.0043ff30
push dword [0x5ff13c]
push ebx
push edi
push dword [ebp + 0x18]
call fcn.0043efcb
push dword [0x5ff13c]
call fcn.0043e7de
add esp, 0x20
pop edi
pop esi
pop ebx
leave
ret