Function at 0x401c10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a10
call fcn.00408240
mov eax, dword [0x465040]
xor eax, ebp
mov dword [ebp - 4], eax
push str.MinMaxAt_Points
call fcn.00407e60
push 0x4eabd8
push str.STRBIB
push 0x4eb3d8
push str._s_s_s
push 0x4ec7d8
call fcn.00401910
push 0x4ec7d8
call fcn.00401950
push 0x4584ac
push 0x4ec7d8
call fcn.0042e9cc
push eax
push 1
push 0x2a8
push 0x4ea930
mov dword [0x465a94], eax
call fcn.0042ec7e
mov eax, dword [0x465a94]
add esp, 0x34
test eax, eax
je 0x401c94
push eax
call fcn.0042e6de
add esp, 4
mov ax, word [0x469800]
test ax, ax
jle 0x40313e
mov ecx, 1
mov edx, ecx
mov dword [ebp - 0x19a8], ecx
cmp dx, ax
jg 0x40313e
push esi
push edi
nop dword [eax + eax]
movsx eax, cx
movzx eax, word [eax*2 + 0x4fcbf0]
mov word [0x469808], ax
cwde
push eax
push 0x4585ec
push 0x4ec3d8
call fcn.00401910
movsx ecx, word [0x469808]
add esp, 0xc
mov eax, ecx
shl eax, 4
add eax, ecx
movzx esi, word [eax*4 + 0x4ea932]
xor eax, eax
mov word [0x4697f4], si
mov word [0x4697e8], ax
test si, si
jle 0x403122
mov dword [ebp - 0x1968], eax
nop dword [eax]
mov di, word [0x4697e4]
mov dx, si
sub dx, ax
movsx ecx, di
dec ecx
movsx eax, dx
mov word [0x4697ec], dx
cmp eax, ecx
jle 0x401d49
lea edx, [edi - 1]
mov word [0x4697ec], dx
mov edi, 1
mov eax, edi
mov dword [ebp - 0x1970], edi
cmp ax, word [0x469804]
jg 0x401f37
movsx esi, di
movsx eax, word [esi*2 + 0x4fcb28]
push eax
push 0x4585ec
push 0x4ebfd8
call fcn.00401910
movsx eax, word [esi*2 + 0x4fcb28]
push 0x4eabd8
push eax
push 0x4ec3d8
push 0x4eb3d8
push str._sS1_s0_d_s
push 0x4ec7d8
call fcn.00401910
push 0x4ec7d8
call fcn.00401950
push 0x4584ac
push 0x4ec7d8
call fcn.0042e9cc
movsx ecx, word [0x4697e8]
push 0
mov dword [0x465a94], eax
lea ecx, [ecx + ecx*8]
shl ecx, 3
push ecx
push eax
call fcn.0042f198
mov dx, word [0x4697ec]
mov eax, 1
add esp, 0x3c
mov word [0x4697f8], ax
cmp ax, dx
jg 0x401efe
lea edi, [esi + esi*2]
nop word [eax + eax]
push dword [0x465a94]
push 1
push 0x48
push 0x5076f8
call fcn.0042ec7e
movss xmm0, dword [esi*4 + 0x466cbc]
add esp, 0x10
movsx ecx, word [0x4697f8]
mov eax, dword [edi*8 + 0x469b34]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x507700]
movsd qword [eax + ecx*8], xmm0
movss xmm0, dword [esi*4 + 0x466cbc]
movsx ecx, word [0x4697f8]
mov eax, dword [edi*8 + 0x469b38]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x507708]
movsd qword [eax + ecx*8], xmm0
movss xmm0, dword [esi*4 + 0x466cbc]
movsx ecx, word [0x4697f8]
mov eax, dword [edi*8 + 0x469b3c]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x507710]
movsd qword [eax + ecx*8], xmm0
movss xmm0, dword [esi*4 + 0x466cbc]
movsx ecx, word [0x4697f8]
mov eax, dword [edi*8 + 0x469b40]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x507718]
movsd qword [eax + ecx*8], xmm0
movss xmm0, dword [esi*4 + 0x466cbc]
movsx ecx, word [0x4697f8]
mov eax, dword [edi*8 + 0x469b44]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x507720]
movsd qword [eax + ecx*8], xmm0
mov ax, word [0x4697f8]
mov dx, word [0x4697ec]
inc ax
mov word [0x4697f8], ax
cmp ax, dx
jle 0x401e00
mov edi, dword [ebp - 0x1970]
mov eax, dword [0x465a94]
test eax, eax
je 0x401f17
push eax
call fcn.0042e6de
mov dx, word [0x4697ec]
add esp, 4
inc edi
mov dword [ebp - 0x1970], edi
cmp di, word [0x469804]
jle 0x401d63
mov si, word [0x4697f4]
mov eax, 1
mov edi, 1
mov dword [ebp - 0x1980], edi
cmp ax, dx
jg 0x402f88
mov eax, dword [ebp - 0x1968]
cwde
mov dword [ebp - 0x1994], eax
nop dword [eax + eax]
movsx edi, di
xor ecx, ecx
mov byte [0x465a90], 0
xorps xmm0, xmm0
mov byte [0x465a92], 0
mov byte [0x465a93], 0
lea esi, [eax + edi]
mov word [0x4697f8], cx
shl esi, 3
mov dword [ebp - 0x1988], esi
movsx eax, cx
mov eax, dword [eax*4 + 0x46a490]
movsd qword [esi + eax], xmm0
movsx eax, word [0x4697f8]
mov eax, dword [eax*4 + 0x46a4a8]
movsd qword [esi + eax], xmm0
mov ax, word [0x4697f8]
inc ax
mov word [0x4697f8], ax
movzx ecx, ax
cmp ax, 5
jle 0x401f90
mov ax, word [0x469804]
mov ecx, 1
mov edx, ecx
cmp dx, ax
jg 0x402182
nop
movsx edx, cx
mov dword [ebp - 0x1974], edx
cmp byte [edx + 0x4662d8], 0x54
je 0x401ffd
inc ecx
cmp cx, ax
jle 0x401fe0
jmp 0x40217d
mov eax, 1
mov ecx, eax
mov word [0x4697f8], ax
lea eax, [edx + edx*2]
mov dword [ebp - 0x1970], ecx
mov edx, eax
mov dword [ebp - 0x1968], eax
add edx, edx
nop dword [eax]
movsx eax, cx
add eax, edx
mov ecx, dword [eax*4 + 0x469b30]
mov eax, dword [ebp - 0x1970]
cwde
movsd xmm0, qword [ecx + edi*8]
mov eax, dword [eax*4 + 0x46a490]
movsd qword [esi + eax], xmm0
movsx ecx, word [0x4697f8]
lea eax, [edx + ecx]
mov ecx, dword [ecx*4 + 0x46a4a8]
mov eax, dword [eax*4 + 0x469b30]
movsd xmm0, qword [eax + edi*8]
movsd qword [esi + ecx], xmm0
mov ax, word [0x4697f8]
inc ax
movzx ecx, ax
mov word [0x4697f8], ax
cmp cx, 5
movzx eax, ax
mov dword [ebp - 0x1968], eax
mov eax, ecx
mov ecx, dword [ebp - 0x1968]
mov dword [ebp - 0x1970], eax
jle 0x402020
mov edx, dword [ebp - 0x1974]
lea eax, [ebp - 0x19d8]
movsd xmm0, qword [0x458648]
push eax
lea eax, [ebp - 0x19e0]
push eax
lea eax, [ebp - 0x19e8]
push eax
lea ecx, [edx + edx*2]
sub esp, 0x20
mov eax, dword [ecx*8 + 0x469b44]
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [eax + edi*8]
mov eax, dword [ecx*8 + 0x469b40]
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [eax + edi*8]
mov eax, dword [ecx*8 + 0x469b3c]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [eax + edi*8]
movsd qword [esp], xmm0
call fcn.004019d0
movsd xmm0, qword [ebp + 8]
lea eax, [ebp - 0x19f0]
movsd qword [esp + 0x24], xmm0
add esp, 0x24
movsd xmm0, qword [ebp - 0x19d8]
push eax
lea eax, [ebp - 0x1a10]
push eax
lea eax, [ebp - 0x1a08]
push eax
sub esp, 0x18
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [ebp - 0x19e0]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0x19e8]
movsd qword [esp], xmm0
call fcn.00407da0
mov eax, dword [0x46a490]
add esp, 0x2c
movsd xmm0, qword [ebp - 0x19f0]
movsd qword [eax + esi], xmm0
mov eax, dword [0x46a4a8]
movsd qword [eax + esi], xmm0
mov ax, word [0x469804]
mov byte [0x465a90], 1
mov edx, 1
mov ecx, 1
mov dword [ebp - 0x1978], ecx
cmp dx, ax
jg 0x402427
nop word [eax + eax]
movsx ecx, cx
cmp byte [ecx + 0x4662d8], 0x54
jne 0x402411
mov eax, 1
mov word [0x4697f8], dx
mov edx, eax
nop
cwde
movsx ecx, dx
sub eax, 1
je 0x40236c
sub eax, 1
je 0x40236c
sub eax, 1
jne 0x4023e6
mov ecx, dword [ebp - 0x1978]
movsd xmm0, qword [0x458648]
movsx eax, cx
lea ecx, [eax + eax*2]
lea eax, [ebp - 0x19d8]
shl ecx, 3
push eax
lea eax, [ebp - 0x19e0]
mov dword [ebp - 0x1970], ecx
push eax
lea eax, [ebp - 0x19e8]
push eax
mov eax, dword [ecx + 0x469b44]
sub esp, 0x20
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [eax + edi*8]
mov eax, dword [ecx + 0x469b40]
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [eax + edi*8]
mov eax, dword [ecx + 0x469b3c]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [eax + edi*8]
movsd qword [esp], xmm0
call fcn.004019d0
movsd xmm0, qword [ebp + 8]
lea eax, [ebp - 0x19f0]
movsd qword [esp + 0x24], xmm0
add esp, 0x24
movsd xmm0, qword [ebp - 0x19d8]
push eax
lea eax, [ebp - 0x1a10]
push eax
lea eax, [ebp - 0x1a08]
push eax
sub esp, 0x18
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [ebp - 0x19e0]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0x19e8]
movsd qword [esp], xmm0
call fcn.00407da0
mov eax, dword [0x46a4a8]
add esp, 0x2c
movsd xmm0, qword [ebp - 0x1a08]
movsd xmm1, qword [ebp - 0x19f0]
mov ecx, dword [ebp - 0x1970]
comisd xmm0, xmmword [eax + esi]
jbe 0x40230e
movsd qword [eax + esi], xmm1
mov eax, dword [ecx + 0x469b3c]
movsd xmm0, qword [eax + edi*8]
mov eax, dword [0x46a4b4]
movsd qword [eax + esi], xmm0
mov eax, dword [ecx + 0x469b40]
movsd xmm0, qword [eax + edi*8]
mov eax, dword [0x46a4b8]
movsd qword [eax + esi], xmm0
mov eax, dword [ecx + 0x469b44]
movsd xmm0, qword [eax + edi*8]
mov eax, dword [0x46a4bc]
movsd qword [eax + esi], xmm0
mov eax, dword [0x46a490]
movsd xmm0, qword [ebp - 0x1a10]
comisd xmm0, xmmword [eax + esi]
jbe 0x4023e6
movsd qword [eax + esi], xmm1
mov eax, dword [ecx + 0x469b3c]
movsd xmm0, qword [eax + edi*8]
mov eax, dword [0x46a49c]
movsd qword [eax + esi], xmm0
mov eax, dword [ecx + 0x469b40]
movsd xmm0, qword [eax + edi*8]
mov eax, dword [0x46a4a0]
movsd qword [eax + esi], xmm0
mov eax, dword [ecx + 0x469b44]
movsd xmm0, qword [eax + edi*8]
mov eax, dword [0x46a4a4]
movsd qword [eax + esi], xmm0
jmp 0x4023e6
mov edx, dword [ebp - 0x1978]
movsd xmm3, qword [0x458660]
movsx eax, dx
lea eax, [eax + eax*2]
lea eax, [ecx + eax*2]
mov eax, dword [eax*4 + 0x469b30]
movsd xmm2, qword [eax + edi*8]
mov eax, dword [ecx*4 + 0x46a4a8]
movaps xmm1, xmm2
movsd qword [0x469678], xmm2
andps xmm1, xmm3
movsd xmm0, qword [eax + esi]
andps xmm0, xmm3
comisd xmm1, xmm0
jbe 0x4023bf
movsd qword [eax + esi], xmm2
movsd xmm2, qword [0x469678]
movsx eax, word [0x4697f8]
movaps xmm1, xmm2
andps xmm1, xmm3
mov eax, dword [eax*4 + 0x46a490]
movsd xmm0, qword [eax + esi]
andps xmm0, xmm3
comisd xmm0, xmm1
jbe 0x4023e6
movsd qword [eax + esi], xmm2
mov ax, word [0x4697f8]
inc ax
movzx ecx, ax
mov word [0x4697f8], ax
mov edx, ecx
movzx eax, ax
cmp cx, 3
jle 0x4021c0
mov ax, word [0x469804]
mov edx, 1
mov ecx, dword [ebp - 0x1978]
inc ecx
mov dword [ebp - 0x1978], ecx
cmp cx, ax
jle 0x4021a0
cmp byte [0x465a90], 0
je 0x402583
mov edx, 1
mov ecx, edx
mov dword [ebp - 0x197c], edx
cmp cx, ax
jg 0x402583
nop word [eax + eax]
movsx edx, dx
mov dword [ebp - 0x1970], edx
cmp byte [edx + 0x4662d8], 0x54
jne 0x40256d
cmp byte [0x465a93], 0
jne 0x4024e4
mov word [0x4697f8], cx
mov eax, 1
lea ecx, [edx + edx*2]
mov dword [ebp - 0x1968], eax
add ecx, ecx
mov edx, eax
mov dword [ebp - 0x1974], ecx
nop
cwde
mov ecx, dword [eax*4 + 0x46a4a8]
movsx eax, dx
add eax, dword [ebp - 0x1974]
movsd xmm0, qword [esi + ecx]
mov eax, dword [eax*4 + 0x469b30]
movsd qword [eax + edi*8], xmm0
mov ax, word [0x4697f8]
inc ax
movzx ecx, ax
mov word [0x4697f8], ax
mov edx, ecx
movzx eax, ax
cmp cx, 5
jle 0x402490
mov edx, dword [ebp - 0x1970]
mov byte [0x465a93], 1
mov byte [edx + 0x4662d8], 0x58
jmp 0x402562
cmp byte [0x465a92], 0
jne 0x40256d
mov word [0x4697f8], cx
mov eax, 1
lea ecx, [edx + edx*2]
mov dword [ebp - 0x1968], eax
add ecx, ecx
mov edx, eax
mov dword [ebp - 0x1974], ecx
cwde
mov ecx, dword [eax*4 + 0x46a490]
movsx eax, dx
add eax, dword [ebp - 0x1974]
movsd xmm0, qword [esi + ecx]
mov eax, dword [eax*4 + 0x469b30]
movsd qword [eax + edi*8], xmm0
mov ax, word [0x4697f8]
inc ax
movzx ecx, ax
mov word [0x4697f8], ax
mov edx, ecx
movzx eax, ax
cmp cx, 5
jle 0x402510
mov edx, dword [ebp - 0x1970]
mov byte [0x465a92], 1
mov byte [edx + 0x4662d8], 0x4d
mov ax, word [0x469804]
mov ecx, 1
mov edx, dword [ebp - 0x197c]
inc edx
mov dword [ebp - 0x197c], edx
cmp dx, ax
jle 0x402450
xor eax, eax
xorps xmm0, xmm0
mov word [0x4697f8], ax
xor ecx, ecx
movsx eax, cx
mov eax, dword [eax*4 + 0x46a490]
movsd qword [esi + eax], xmm0
movsx eax, word [0x4697f8]
mov eax, dword [eax*4 + 0x46a4a8]
movsd qword [esi + eax], xmm0
mov ax, word [0x4697f8]
inc ax
mov word [0x4697f8], ax
movzx ecx, ax
cmp ax, 5
jle 0x402590
xor eax, eax
mov dword [ebp - 0x197c], eax
call fcn.00401000
mov cx, word [0x469804]
mov eax, 1
mov edx, eax
mov dword [ebp - 0x1970], eax
cmp dx, cx
jg 0x402818
nop dword [eax]
nop word [eax + eax]
movsx edx, ax
movzx eax, word [edx*2 + 0x4669d4]
cmp ax, 1
je 0x40261b
cmp ax, 0xc
jne 0x402726
lea ecx, [edx + edx*2]
mov eax, 1
add ecx, ecx
mov word [0x4697f8], ax
mov dword [ebp - 0x1968], ecx
mov ecx, eax
nop dword [eax]
nop word [eax + eax]
movss xmm0, dword [edx*4 + 0x466eb0]
cwde
add eax, dword [ebp - 0x1968]
cmp byte [edx + 0x466656], 0x57
cvtps2pd xmm0, xmm0
movsx ecx, cx
mov eax, dword [eax*4 + 0x469b30]
mulsd xmm0, qword [eax + edi*8]
cvtpd2ps xmm2, xmm0
movss xmm0, dword [edx*4 + 0x467040]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [eax + edi*8]
cvtpd2ps xmm1, xmm0
movaps xmm0, xmm2
minss xmm0, xmm1
maxss xmm2, xmm1
je 0x4026c0
mov eax, dword [ecx*4 + 0x46a490]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [eax + esi]
movsd qword [eax + esi], xmm0
movsx eax, word [0x4697f8]
cvtps2pd xmm0, xmm2
mov eax, dword [eax*4 + 0x46a4a8]
addsd xmm0, qword [eax + esi]
movsd qword [eax + esi], xmm0
jmp 0x4026f3
imul eax, ecx, 0xb
mov dword [ebp - 0x197c], 1
add eax, edx
mov eax, dword [eax*4 + 0x465a98]
movss dword [eax + edi*4], xmm0
movsx eax, word [0x4697f8]
imul eax, eax, 0xb
add eax, edx
mov eax, dword [eax*4 + 0x465bf8]
movss dword [eax + edi*4], xmm2
mov ax, word [0x4697f8]
inc ax
movzx ecx, ax
mov word [0x4697f8], ax
mov esi, ecx
mov dword [ebp - 0x1974], esi
mov esi, dword [ebp - 0x1988]
movzx eax, ax
cmp cx, 5
jle 0x402640
mov cx, word [0x469804]
mov eax, dword [ebp - 0x1970]
inc eax
mov dword [ebp - 0x1970], eax
cmp ax, cx
jle 0x402600
cmp dword [ebp - 0x197c], 1
jne 0x402813
mov esi, dword [ebp - 0x1994]
mov eax, 1
mov edx, eax
mov word [0x4697f8], ax
mov eax, dword [ebp - 0x1980]
mov ecx, edx
movsx edi, ax
add esi, edi
nop dword [eax]
mov ax, word [0x469804]
cwde
push edi
push eax
movsx eax, dx
push eax
movsx eax, cx
push eax
call fcn.00401260
movsx eax, word [0x4697f8]
fstp qword [ebp - 0x19a4]
movsd xmm0, qword [ebp - 0x19a4]
push edi
mov eax, dword [eax*4 + 0x46a490]
addsd xmm0, qword [eax + esi*8]
movsd qword [eax + esi*8], xmm0
movsx eax, word [0x469804]
movsx ecx, word [0x4697f8]
push eax
push ecx
push ecx
call fcn.00401180
movsx eax, word [0x4697f8]
add esp, 0x20
fstp qword [ebp - 0x19a4]
movsd xmm0, qword [ebp - 0x19a4]
mov eax, dword [eax*4 + 0x46a4a8]
addsd xmm0, qword [eax + esi*8]
movsd qword [eax + esi*8], xmm0
mov ax, word [0x4697f8]
inc ax
movzx ecx, ax
mov word [0x4697f8], ax
movzx edx, ax
mov eax, ecx
mov dword [ebp - 0x1968], eax
cmp cx, 5
jg 0x402813
jmp 0x402770
mov edx, 1
mov cx, word [0x4661ac]
cmp dx, cx
jg 0x402dad
mov eax, dword [ebp - 0x1980]
movsx edi, ax
add edi, dword [ebp - 0x1994]
shl edi, 3
movzx eax, cx
mov dword [ebp - 0x19d0], edi
mov dword [ebp - 0x1970], 0x14
mov dword [ebp - 0x1990], 0x466bca
mov dword [ebp - 0x1968], eax
nop dword [eax]
mov word [0x4697f8], dx
mov edx, 1
mov esi, edx
mov eax, edx
movsx ecx, ax
movsx eax, dx
mov eax, dword [eax*4 + 0x46a490]
movsd xmm0, qword [edi + eax]
mov eax, dword [ecx*4 + 0x46a4a8]
movsd qword [ebp + ecx*8 - 0x34], xmm0
movsd xmm0, qword [edi + eax]
lea eax, [esi + 1]
movsd qword [ebp + ecx*8 - 0x64], xmm0
movzx ecx, ax
mov word [0x4697f8], ax
movzx edx, ax
movzx esi, ax
mov eax, ecx
cmp cx, 5
jle 0x402870
mov ecx, dword [ebp - 0x1990]
movzx eax, word [ecx]
mov esi, eax
cmp ax, 1
je 0x402d84
cmp ax, 0xc
je 0x402d84
mov eax, dword [0x46a4a0]
sub esp, 0x18
movsd xmm0, qword [eax + edi]
mov eax, dword [0x46a4a4]
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [eax + edi]
mov eax, dword [0x46a49c]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [eax + edi]
movsd qword [esp], xmm0
call fcn.00407a20
mov eax, dword [0x46a4b8]
fstp qword [ebp - 0x19a4]
movsd xmm0, qword [eax + edi]
mov eax, dword [0x46a4bc]
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [eax + edi]
mov eax, dword [0x46a4b4]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [eax + edi]
movsd qword [esp], xmm0
call fcn.00407a20
mov cx, word [0x469804]
mov eax, 1
add esp, 0x18
fstp qword [ebp - 0x19c8]
cmp ax, cx
jg 0x402d29
movsd xmm0, qword [ebp - 0x19a4]
mov eax, esi
movzx ecx, cx
mov edx, 0x4662d9
mov dword [ebp - 0x19cc], eax
mov esi, 0x469b58
movsd qword [ebp - 0x19a4], xmm0
mov eax, 0x466eb4
movsd xmm0, qword [ebp - 0x19c8]
mov edi, 0x4669d6
mov dword [ebp - 0x1984], 6
mov dword [ebp - 0x1974], ecx
mov ecx, dword [ebp - 0x1984]
mov dword [ebp - 0x197c], edx
mov dword [ebp - 0x1988], esi
mov dword [ebp - 0x1978], eax
mov dword [ebp - 0x1998], edi
movsd qword [ebp - 0x19c8], xmm0
nop
cmp byte [edx + 0x13a8], 1
jne 0x402cf1
movzx esi, word [edi]
mov ecx, 1
mov dl, byte [edx]
mov edi, ecx
mov dword [ebp - 0x19b4], esi
mov esi, ecx
mov byte [ebp - 0x1969], dl
mov edx, ecx
mov word [0x4697f8], cx
mov dword [ebp - 0x19bc], esi
mov dword [ebp - 0x19ac], ecx
jmp 0x402a16
mov eax, dword [ebp - 0x1978]
mov esi, dword [ebp - 0x1990]
movss xmm1, dword [eax]
cvtps2pd xmm1, xmm1
movzx eax, word [esi]
mov esi, dword [ebp - 0x19bc]
cmp word [ebp - 0x19b4], ax
jne 0x402a58
mov edi, dword [ebp - 0x1980]
movsx eax, dx
add eax, dword [ebp - 0x1984]
movsx edx, di
mov eax, dword [eax*4 + 0x469b30]
mulsd xmm1, qword [eax + edx*8]
movzx eax, si
jmp 0x402a94
mov esi, dword [ebp - 0x1980]
movsx eax, di
add eax, dword [ebp - 0x1984]
movsx edx, si
mov eax, dword [eax*4 + 0x469b30]
mulsd xmm1, qword [eax + edx*8]
mov eax, dword [ebp - 0x1978]
movss xmm0, dword [eax + 0x320]
mov eax, dword [ebp - 0x19ac]
cvtps2pd xmm0, xmm0
movzx eax, ax
mulsd xmm1, xmm0
mov dl, byte [ebp - 0x1969]
movsd qword [0x469678], xmm1
cmp dl, 0x4d
je 0x402ac9
cwde
movaps xmm2, xmm1
movsd xmm0, qword [ebp + eax*8 - 0x64]
addsd xmm2, xmm0
comisd xmm2, xmm0
jbe 0x402ac4
movsx eax, cx
movsd qword [ebp + eax*8 - 0x64], xmm2
cmp dl, 0x58
je 0x402ae2
movsx eax, cx
movsd xmm0, qword [ebp + eax*8 - 0x34]
addsd xmm1, xmm0
comisd xmm0, xmm1
jbe 0x402ae2
movsd qword [ebp + eax*8 - 0x34], xmm1
inc cx
movzx eax, cx
mov word [0x4697f8], cx
mov esi, eax
mov dword [ebp - 0x19bc], esi
mov edx, eax
mov dword [ebp - 0x19ac], eax
mov edi, eax
cmp cx, 2
jle 0x402a10
mov ecx, dword [ebp - 0x1978]
mov esi, dword [ebp - 0x1988]
mov edi, dword [ebp - 0x1980]
movsx edx, di
movss xmm2, dword [ecx]
mov eax, dword [esi - 4]
mov edi, dword [ebp - 0x1998]
cvtps2pd xmm2, xmm2
movaps xmm3, xmm2
mulsd xmm3, qword [eax + edx*8]
mov eax, dword [ebp - 0x19cc]
cmp word [edi], ax
mov eax, dword [esi]
movsd qword [ebp - 0x19b0], xmm3
jne 0x402b5e
movaps xmm0, xmm2
mulsd xmm0, qword [eax + edx*8]
mov eax, dword [esi + 4]
mulsd xmm2, qword [eax + edx*8]
jmp 0x402b93
movss xmm1, dword [ecx + 0x320]
cvtps2pd xmm1, xmm1
movaps xmm0, xmm1
mulsd xmm0, xmm3
movaps xmm3, xmm0
movsd qword [ebp - 0x19b0], xmm0
movaps xmm0, xmm2
mulsd xmm0, qword [eax + edx*8]
mov eax, dword [esi + 4]
mulsd xmm2, qword [eax + edx*8]
mulsd xmm0, xmm1
mulsd xmm2, xmm1
movsd xmm4, qword [ebp - 0x44]
sub esp, 0x18
movsd xmm1, qword [ebp - 0x3c]
addsd xmm4, xmm0
movsd qword [ebp - 0x198c], xmm0
addsd xmm1, xmm2
movsd xmm0, qword [ebp - 0x4c]
addsd xmm0, xmm3
movsd qword [ebp - 0x199c], xmm2
movsd qword [esp + 0x10], xmm4
movsd qword [esp + 8], xmm1
movsd qword [ebp - 0x1a00], xmm4
movsd qword [ebp - 0x19f8], xmm1
movsd qword [ebp - 0x19c0], xmm0
movsd qword [esp], xmm0
call fcn.00407a20
fstp qword [ebp - 0x19b8]
movsd xmm0, qword [ebp - 0x19b8]
add esp, 0x18
comisd xmm0, xmmword [ebp - 0x19c8]
jbe 0x402c39
movsd qword [ebp - 0x19c8], xmm0
movsd xmm0, qword [ebp - 0x19c0]
movsd qword [ebp - 0x4c], xmm0
movsd xmm0, qword [ebp - 0x19f8]
movsd qword [ebp - 0x3c], xmm0
movsd xmm0, qword [ebp - 0x1a00]
movsd qword [ebp - 0x44], xmm0
movsd xmm2, qword [ebp - 0x14]
sub esp, 0x18
addsd xmm2, qword [ebp - 0x198c]
movsd xmm1, qword [ebp - 0xc]
addsd xmm1, qword [ebp - 0x199c]
movsd xmm0, qword [ebp - 0x1c]
addsd xmm0, qword [ebp - 0x19b0]
movsd qword [esp + 0x10], xmm2
movsd qword [ebp - 0x198c], xmm2
movsd qword [esp + 8], xmm1
movsd qword [ebp - 0x19f8], xmm1
movsd qword [ebp - 0x1a00], xmm0
movsd qword [esp], xmm0
call fcn.00407a20
movsd xmm1, qword [ebp - 0x19a4]
add esp, 0x18
mov eax, dword [ebp - 0x1978]
mov edx, dword [ebp - 0x197c]
mov ecx, dword [ebp - 0x1984]
fstp qword [ebp - 0x19b8]
movsd xmm0, qword [ebp - 0x19b8]
comisd xmm1, xmm0
jbe 0x402cf1
movsd qword [ebp - 0x19a4], xmm0
movsd xmm0, qword [ebp - 0x1a00]
movsd qword [ebp - 0x1c], xmm0
movsd xmm0, qword [ebp - 0x19f8]
movsd qword [ebp - 0xc], xmm0
movsd xmm0, qword [ebp - 0x198c]
movsd qword [ebp - 0x14], xmm0
inc edx
add ecx, 6
add edi, 2
mov dword [ebp - 0x197c], edx
add eax, 4
mov dword [ebp - 0x1984], ecx
add esi, 0x18
mov dword [ebp - 0x1998], edi
sub dword [ebp - 0x1974], 1
mov dword [ebp - 0x1978], eax
mov dword [ebp - 0x1988], esi
jne 0x4029d0
mov esi, 1
mov edi, esi
mov eax, esi
mov ecx, dword [ebp - 0x1970]
movsx edx, ax
movsx eax, si
add ecx, edx
movsd xmm0, qword [ebp + eax*8 - 0x34]
lea eax, [edi + 1]
movsd qword [ebp + ecx*8 - 0xce4], xmm0
movsd xmm0, qword [ebp + edx*8 - 0x64]
movsd qword [ebp + ecx*8 - 0x1964], xmm0
movzx ecx, ax
mov word [0x4697f8], ax
movzx esi, ax
movzx edi, ax
mov eax, ecx
cmp cx, 5
jle 0x402d32
mov edi, dword [ebp - 0x19d0]
mov ecx, dword [ebp - 0x1990]
add dword [ebp - 0x1970], 0x14
add ecx, 2
sub dword [ebp - 0x1968], 1
mov edx, 1
mov dword [ebp - 0x1990], ecx
jne 0x402860
mov cx, word [0x4661ac]
mov byte [ebp - 0x1969], 0
cmp dx, cx
jg 0x402ee2
mov eax, 0x466bca
movzx ecx, cx
mov esi, 0x14
mov dword [ebp - 0x1988], eax
mov dword [ebp - 0x1998], ecx
nop word [eax + eax]
movzx eax, word [eax]
cmp ax, 1
je 0x402ec1
cmp ax, 0xc
je 0x402ec1
mov eax, 1
mov dword [ebp - 0x1968], 1
mov dword [ebp - 0x1974], 1
mov edi, eax
cmp byte [ebp - 0x1969], 0
movzx ecx, di
movzx eax, ax
jne 0x402e51
movsx ecx, ax
mov eax, dword [ebp - 0x1968]
cwde
add eax, esi
mov byte [ebp - 0x1969], 1
movsd xmm0, qword [ebp + eax*8 - 0xce4]
lea eax, [ecx + esi]
movsd qword [ebp + ecx*8 - 0x34], xmm0
movsd xmm0, qword [ebp + eax*8 - 0x1964]
jmp 0x402e8c
mov eax, dword [ebp - 0x1974]
cwde
add eax, esi
movsx ecx, cx
movsd xmm1, qword [ebp + eax*8 - 0xce4]
movsd xmm0, qword [ebp + ecx*8 - 0x34]
comisd xmm0, xmm1
jbe 0x402e78
movsd qword [ebp + ecx*8 - 0x34], xmm1
lea eax, [ecx + esi]
movsd xmm0, qword [ebp + eax*8 - 0x1964]
comisd xmm0, xmmword [ebp + ecx*8 - 0x64]
jbe 0x402e92
movsd qword [ebp + ecx*8 - 0x64], xmm0
inc dx
movzx eax, dx
movzx ecx, dx
mov edi, eax
mov dword [ebp - 0x1968], edi
mov edi, ecx
mov dword [ebp - 0x1974], eax
mov eax, ecx
cmp cx, 5
jle 0x402e12
mov ecx, dword [ebp - 0x1998]
mov edx, 1
mov eax, dword [ebp - 0x1988]
add esi, 0x14
add eax, 2
sub ecx, 1
mov dword [ebp - 0x1988], eax
mov dword [ebp - 0x1998], ecx
jne 0x402de0
mov edi, dword [ebp - 0x1980]
mov eax, 1
mov word [0x4697f8], dx
mov esi, eax
movsx edx, di
add edx, dword [ebp - 0x1994]
nop
movsx ecx, ax
movsx eax, si
movsd xmm0, qword [ebp + ecx*8 - 0x34]
mov eax, dword [eax*4 + 0x46a490]
movsd qword [eax + edx*8], xmm0
movsx eax, word [0x4697f8]
mov ecx, dword [eax*4 + 0x46a4a8]
movsd xmm0, qword [ebp + eax*8 - 0x64]
movsd qword [ecx + edx*8], xmm0
mov ax, word [0x4697f8]
inc ax
movzx ecx, ax
mov word [0x4697f8], ax
mov esi, ecx
movzx eax, ax
cmp cx, 5
jle 0x402f00
push 0x1a54
push 0x467c00
push 0x4661a8
call fcn.00409700
mov dx, word [0x4697ec]
inc edi
mov eax, dword [ebp - 0x1994]
add esp, 0xc
mov dword [ebp - 0x1980], edi
cmp di, dx
jle 0x401f60
mov si, word [0x4697f4]
add dx, word [0x4697e8]
movzx edi, dx
mov word [0x4697e8], dx
cmp si, di
jle 0x402fbc
push 0x1a54
push 0x467c00
push 0x4661a8
call fcn.00409700
add esp, 0xc
mov eax, edi
jmp 0x401d13
mov eax, dword [ebp - 0x19a8]
cwde
push eax
push 0x4585ec
push 0x4ebbd8
call fcn.00401910
push 0x4eabd8
push 0x4ebbd8
push str.STPTSN
push 0x4eb3d8
push str._s_s_s_s
push 0x4ec7d8
call fcn.00401910
push 0x458500
push 0x4ec7d8
call fcn.0042e9cc
mov esi, eax
add esp, 0x2c
mov dword [0x465a94], esi
test esi, esi
je 0x403122
mov eax, 1
mov word [0x4697f8], ax
mov edi, eax
nop word [eax + eax]
mov dx, word [0x4697f4]
cmp ax, dx
jg 0x403064
movsx eax, di
mov ecx, 0x500bd8
movzx edx, dx
mov eax, dword [eax*4 + 0x46a490]
add eax, 8
movsd xmm0, qword [eax]
lea eax, [eax + 8]
movsd qword [ecx], xmm0
lea ecx, [ecx + 8]
sub edx, 1
jne 0x403051
push esi
push 1
push 0x5dc8
push 0x500bd0
call fcn.0042f561
mov ax, word [0x4697f8]
add esp, 0x10
inc ax
mov word [0x4697f8], ax
movzx edi, ax
cmp ax, 5
jg 0x40309d
mov esi, dword [0x465a94]
mov eax, 1
jmp 0x403030
mov edi, 1
mov word [0x4697f8], di
mov esi, edi
nop dword [eax + eax]
mov dx, word [0x4697f4]
cmp di, dx
jg 0x4030e3
movsx eax, si
mov ecx, 0x500bd8
movzx edx, dx
mov eax, dword [eax*4 + 0x46a4a8]
add eax, 8
movsd xmm0, qword [eax]
lea eax, [eax + 8]
movsd qword [ecx], xmm0
lea ecx, [ecx + 8]
sub edx, edi
jne 0x4030d1
push dword [0x465a94]
push 1
push 0x5dc8
push 0x500bd0
call fcn.0042f561
mov ax, word [0x4697f8]
add esp, 0x10
inc ax
mov word [0x4697f8], ax
movzx esi, ax
cmp ax, 5
jle 0x4030b0
push dword [0x465a94]
call fcn.0042e6de
add esp, 4
mov ecx, dword [ebp - 0x19a8]
inc ecx
mov dword [ebp - 0x19a8], ecx
cmp cx, word [0x469800]
jle 0x401cc0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408228
mov esp, ebp
pop ebp
ret