Function at 0x4065e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
xor eax, eax
push str.MinMaxOf_T
mov word [0x4697e8], ax
call fcn.00407e60
movsd xmm0, qword [ebp - 0x34]
add esp, 4
mov si, word [0x4697e8]
mov bx, word [0x4ea742]
mov dword [0x4661a0], 0x7f9
mov dword [ebp - 0x18], 1
movsd qword [ebp - 0x2c], xmm0
nop word [eax + eax]
mov dx, word [0x4697e4]
sub bx, si
movsx ecx, dx
dec ecx
movsx eax, bx
mov byte [0x465a90], 0
mov byte [0x465a91], 0
mov byte [0x465a92], 0
mov byte [0x465a93], 0
mov word [0x4697ec], bx
cmp eax, ecx
jle 0x406672
lea ebx, [edx - 1]
mov word [0x4697ec], bx
movzx edx, si
mov edi, 1
mov si, word [0x469804]
mov ecx, edi
mov dword [ebp - 4], edx
cmp cx, si
jg 0x406796
nop
movsx esi, di
movsx eax, word [esi*2 + 0x4fcb28]
push eax
push 0x4584d8
push 0x4ebfd8
call fcn.00401910
push 0x4eabd8
push 0x4ebfd8
push 0x4584dc
push 0x4eb3d8
push str._s_s_s_s
push 0x4ec7d8
call fcn.00401910
push 0x4ec7d8
call fcn.00401950
push 0x4584ac
push 0x4ec7d8
call fcn.0042e9cc
movsx ecx, word [0x4697e8]
add ecx, dword [0x4661a0]
push 0
shl ecx, 3
push ecx
push eax
mov dword [0x465a94], eax
call fcn.0042f198
push dword [0x465a94]
movsx eax, word [0x4697ec]
push 1
lea eax, [eax*8 + 8]
push eax
push dword [esi*4 + 0x4699a0]
call fcn.0042ec7e
mov eax, dword [0x465a94]
add esp, 0x4c
test eax, eax
je 0x40673d
push eax
call fcn.0042e6de
add esp, 4
mov bx, word [0x4697ec]
mov edx, 1
mov ecx, edx
cmp cx, bx
jg 0x406782
movss xmm0, dword [esi*4 + 0x466cbc]
mov eax, dword [esi*4 + 0x4699a0]
cvtps2pd xmm0, xmm0
movsx ecx, dx
inc edx
mulsd xmm0, qword [eax + ecx*8]
movsd qword [eax + ecx*8], xmm0
mov bx, word [0x4697ec]
cmp dx, bx
jle 0x406750
mov ecx, 1
mov si, word [0x469804]
inc edi
cmp di, si
jle 0x406690
mov edx, dword [ebp - 4]
mov eax, 1
cmp cx, si
jg 0x406801
movsx ecx, ax
cmp byte [ecx + 0x4662d8], 0x54
je 0x4067b4
inc eax
cmp ax, si
jle 0x4067a0
jmp 0x4067fc
mov eax, 1
cmp ax, bx
jg 0x4067f5
mov ecx, dword [ecx*4 + 0x4699a0]
movsx eax, dx
add ecx, 8
shl eax, 3
movzx edx, bx
movsd xmm0, qword [ecx]
lea ecx, [ecx + 8]
movsd qword [eax + 0x4f4b70], xmm0
lea eax, [eax + 8]
movsd xmm0, qword [ecx - 8]
movsd qword [eax + 0x4f8b30], xmm0
sub edx, 1
jne 0x4067d1
mov byte [0x465a90], 1
mov ecx, 1
mov dx, word [0x469804]
cmp cx, dx
jg 0x406890
movzx eax, dx
mov esi, 0x4662d9
mov edi, 0x4699a4
mov dword [ebp - 8], eax
cmp byte [esi], 0x54
jne 0x40687d
cmp cx, bx
jg 0x40687d
mov eax, dword [ebp - 4]
mov ecx, dword [edi]
cwde
add ecx, 8
shl eax, 3
movzx edx, bx
nop word [eax + eax]
movsd xmm1, qword [ecx]
comisd xmm1, xmmword [eax + 0x4f8b38]
jbe 0x406856
movsd qword [eax + 0x4f8b38], xmm1
movsd xmm0, qword [eax + 0x4f4b70]
comisd xmm0, xmm1
jbe 0x40686c
movsd qword [eax + 0x4f4b70], xmm1
add ecx, 8
add eax, 8
sub edx, 1
jne 0x406840
mov eax, dword [ebp - 8]
lea ecx, [edx + 1]
inc esi
add edi, 4
sub eax, 1
mov dword [ebp - 8], eax
jne 0x406821
mov dx, word [0x469804]
cmp byte [0x465a90], 0
je 0x40699e
mov eax, 1
mov dword [ebp - 8], eax
cmp cx, dx
jg 0x40699e
nop
movsx edi, ax
cmp byte [edi + 0x4662d8], 0x54
jne 0x406991
cmp byte [0x465a93], 0
jne 0x406929
mov esi, 1
cmp cx, bx
jg 0x406919
mov eax, dword [ebp - 4]
cwde
mov dword [ebp - 0x14], eax
nop word [eax + eax]
mov ecx, dword [edi*4 + 0x4699a0]
movsx edx, si
inc esi
add eax, edx
movsd xmm0, qword [eax*8 + 0x4f8b30]
mov eax, dword [ebp - 0x14]
movsd qword [ecx + edx*8], xmm0
mov bx, word [0x4697ec]
cmp si, bx
jle 0x4068e0
mov eax, dword [ebp - 8]
mov ecx, 1
mov dx, word [0x469804]
mov byte [0x465a93], 1
mov byte [edi + 0x4662d8], 0x58
jmp 0x40698a
cmp byte [0x465a92], 0
jne 0x406991
mov esi, 1
cmp cx, bx
jg 0x40697c
mov eax, dword [ebp - 4]
cwde
mov dword [ebp - 0x14], eax
mov ecx, dword [edi*4 + 0x4699a0]
movsx edx, si
inc esi
add eax, edx
movsd xmm0, qword [eax*8 + 0x4f4b68]
mov eax, dword [ebp - 0x14]
movsd qword [ecx + edx*8], xmm0
mov bx, word [0x4697ec]
cmp si, bx
jle 0x406943
mov eax, dword [ebp - 8]
mov ecx, 1
mov dx, word [0x469804]
mov byte [0x465a92], 1
mov byte [edi + 0x4662d8], 0x4d
mov byte [edi + 0x467680], 1
inc eax
mov dword [ebp - 8], eax
cmp ax, dx
jle 0x4068b0
movsx eax, dx
push eax
call fcn.00401b30
mov esi, 1
add esp, 4
cmp si, bx
jg 0x4069e1
mov eax, dword [ebp - 4]
cwde
movzx edx, bx
shl edx, 3
mov ecx, edx
lea esi, [eax*8 + 0x4f4b70]
shr ecx, 2
lea edi, [eax*8 + 0x4f8b38]
xor eax, eax
rep stosd dword es:[edi], eax
shr edx, 2
mov edi, esi
mov ecx, edx
lea esi, [eax + 1]
rep stosd dword es:[edi], eax
xor ebx, ebx
call fcn.00401000
mov dx, word [0x469804]
mov edi, 1
mov dword [ebp - 8], edi
cmp si, dx
jg 0x406b99
movsx edx, di
movzx eax, word [edx*2 + 0x4669d4]
cmp ax, 1
je 0x406a1b
cmp ax, 0xc
jne 0x406af0
mov ax, word [0x4697ec]
mov ecx, 1
mov byte [0x465a91], 1
cmp si, ax
jg 0x406af6
mov edi, dword [ebp - 4]
nop dword [eax]
cmp byte [edx + 0x466656], 0x57
movss xmm0, dword [edx*4 + 0x466eb0]
mov eax, dword [edx*4 + 0x4699a0]
cvtps2pd xmm0, xmm0
movsx esi, cx
mulsd xmm0, qword [eax + esi*8]
cvtpd2ps xmm2, xmm0
movss xmm0, dword [edx*4 + 0x467040]
cvtps2pd xmm0, xmm0
movaps xmm1, xmm2
mulsd xmm0, qword [eax + esi*8]
cvtpd2ps xmm0, xmm0
minss xmm1, xmm0
maxss xmm2, xmm0
je 0x406ab9
cvtps2pd xmm0, xmm1
movsx eax, di
add eax, esi
addsd xmm0, qword [eax*8 + 0x4f4b68]
movsd qword [eax*8 + 0x4f4b68], xmm0
cvtps2pd xmm0, xmm2
addsd xmm0, qword [eax*8 + 0x4f8b30]
movsd qword [eax*8 + 0x4f8b30], xmm0
jmp 0x406ad6
mov eax, dword [edx*4 + 0x465ac4]
mov ebx, 1
movss dword [eax + esi*4], xmm1
mov eax, dword [edx*4 + 0x465c24]
movss dword [eax + esi*4], xmm2
mov ax, word [0x4697ec]
inc ecx
cmp cx, ax
jle 0x406a40
mov edi, dword [ebp - 8]
mov esi, 1
jmp 0x406af6
mov ax, word [0x4697ec]
mov dx, word [0x469804]
inc edi
mov dword [ebp - 8], edi
cmp di, dx
jle 0x406a00
cmp ebx, 1
jne 0x406b99
cmp si, ax
jg 0x406b99
mov eax, dword [ebp - 4]
movsx edi, ax
mov dword [ebp - 0x14], edi
movsx esi, bx
push esi
movsx eax, dx
push eax
push 1
push 1
call fcn.00401260
movsx eax, word [0x469804]
add edi, esi
fstp qword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x24]
push esi
addsd xmm0, qword [edi*8 + 0x4f4b68]
push eax
push 1
push 1
movsd qword [edi*8 + 0x4f4b68], xmm0
call fcn.00401180
mov ax, word [0x4697ec]
inc ebx
mov dx, word [0x469804]
add esp, 0x20
fstp qword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x24]
addsd xmm0, qword [edi*8 + 0x4f8b30]
movsd qword [edi*8 + 0x4f8b30], xmm0
cmp bx, ax
jg 0x406b9f
mov edi, dword [ebp - 0x14]
jmp 0x406b25
mov ax, word [0x4697ec]
mov ecx, 1
cmp cx, ax
jg 0x406dc4
mov eax, dword [ebp - 4]
mov ebx, ecx
movsd xmm2, qword [ebp - 0x34]
movsd xmm3, qword [ebp - 0x2c]
mov si, word [0x4661ac]
movsx edi, ax
movzx eax, word [0x4697ec]
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], eax
lea ecx, [edi*8]
mov dword [ebp - 8], ecx
nop dword [eax]
cmp word [ebp - 0x18], si
jg 0x406d1d
lea eax, [ebx + edi]
xor ecx, ecx
movsd xmm4, qword [eax*8 + 0x4f4b68]
mov edi, 0x466bca
movsd xmm5, qword [eax*8 + 0x4f8b30]
movzx eax, si
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
movzx eax, word [edi]
movaps xmm2, xmm4
movsd qword [ebp - 0x34], xmm2
movaps xmm3, xmm5
movsd qword [ebp - 0x2c], xmm3
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp ax, 1
je 0x406cfa
cmp ax, 0xc
je 0x406cfa
mov eax, 1
cmp ax, dx
jg 0x406cea
mov eax, 0x4662d9
movzx edi, dx
mov esi, 0x4669d6
xor ecx, ecx
nop dword [eax + eax]
cmp byte [eax + 0x13a8], 1
jne 0x406cc7
movss xmm1, dword [ecx + 0x466eb4]
mov edx, dword [ebp - 0x1c]
cmp word [esi], dx
mov edx, dword [ecx + 0x4699a4]
cvtps2pd xmm1, xmm1
mulsd xmm1, qword [edx + ebx*8]
je 0x406c9a
movss xmm0, dword [ecx + 0x4671d4]
cvtps2pd xmm0, xmm0
mulsd xmm1, xmm0
mov dl, byte [eax]
cmp dl, 0x4d
je 0x406cb9
movaps xmm0, xmm3
addsd xmm0, xmm1
maxsd xmm0, xmm3
movaps xmm3, xmm0
movsd qword [ebp - 0x34], xmm3
cmp dl, 0x58
je 0x406cc7
movaps xmm0, xmm2
addsd xmm0, xmm1
minsd xmm0, xmm2
movaps xmm2, xmm0
add esi, 2
add ecx, 4
inc eax
sub edi, 1
jne 0x406c60
mov dx, word [0x469804]
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
movsd qword [ebp - 0x2c], xmm3
movsd qword [ebp - 0x34], xmm2
movsd qword [ecx + 0x469698], xmm2
movsd qword [ecx + 0x469740], xmm3
add edi, 2
add ecx, 8
sub dword [ebp - 0x14], 1
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], ecx
jne 0x406c12
mov ecx, dword [ebp - 8]
mov si, word [0x4661ac]
mov eax, dword [ebp - 4]
mov edx, 1
xor edi, edi
cmp dx, si
jg 0x406d91
mov edx, 0x466bca
movzx esi, si
xor eax, eax
movzx ecx, word [edx]
cmp cx, 1
je 0x406d6f
cmp cx, 0xc
je 0x406d6f
movsd xmm0, qword [eax + 0x469698]
movsd xmm1, qword [eax + 0x469740]
test edi, edi
jne 0x406d61
mov edi, 1
jmp 0x406d69
minsd xmm0, xmm2
maxsd xmm1, xmm3
movaps xmm3, xmm1
movaps xmm2, xmm0
add edx, 2
add eax, 8
sub esi, 1
jne 0x406d37
mov ecx, dword [ebp - 8]
mov si, word [0x4661ac]
mov eax, dword [ebp - 4]
movsd qword [ebp - 0x2c], xmm3
movsd qword [ebp - 0x34], xmm2
mov dx, word [0x469804]
inc ebx
mov edi, dword [ebp - 0x20]
movsd qword [ecx + 0x4f8b38], xmm3
movsd qword [ecx + 0x4f4b70], xmm2
add ecx, 8
sub eax, 1
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
jne 0x406be0
mov ax, word [0x4697ec]
mov si, word [0x4697e8]
mov bx, word [0x4ea742]
add si, ax
mov word [0x4697e8], si
cmp bx, si
jle 0x406dfd
push 0x1a54
push 0x467c00
push 0x4661a8
call fcn.00409700
add esp, 0xc
jmp 0x406630
push 0x4eabd8
push str.UTMIMXN
push 0x4eb3d8
push str._s_s_s
push 0x4ec7d8
call fcn.00401910
push 0x458500
push 0x4ec7d8
call fcn.0042e9cc
add esp, 0x1c
mov dword [0x465a94], eax
pop edi
pop esi
pop ebx
test eax, eax
je 0x406ea5
push eax
push 1
push 0x3fc8
push 0x4ecbd8
call fcn.0042f561
push dword [0x465a94]
push 1
push 0x3fc8
push 0x4f0ba0
call fcn.0042f561
push dword [0x465a94]
push 1
push 0x3fc8
push 0x4f4b68
call fcn.0042f561
push dword [0x465a94]
push 1
push 0x3fc8
push 0x4f8b30
call fcn.0042f561
add esp, 0x40
push dword [0x465a94]
call fcn.0042e6de
add esp, 4
push 0x4eabd8
push str.KOMBI_UT_S
push 0x4eb3d8
push str._s_s_0_1__s
push 0x4ec7d8
call fcn.00401910
push 0x458500
push 0x4ec7d8
call fcn.0042e9cc
add esp, 0x1c
mov dword [0x465a94], eax
test eax, eax
je 0x406f15
push eax
push 1
push 0x3fc8
push 0x4ecbd8
call fcn.0042f561
push dword [0x465a94]
push 1
push 0x3fc8
push 0x4f4b68
call fcn.0042f561
push dword [0x465a94]
call fcn.0042e6de
add esp, 0x24
push 0x4eabd8
push str.KOMBI_UT_S
push 0x4eb3d8
push str._s_s_0_2__s
push 0x4ec7d8
call fcn.00401910
push 0x458500
push 0x4ec7d8
call fcn.0042e9cc
add esp, 0x1c
mov dword [0x465a94], eax
test eax, eax
je 0x406f85
push eax
push 1
push 0x3fc8
push 0x4f0ba0
call fcn.0042f561
push dword [0x465a94]
push 1
push 0x3fc8
push 0x4f8b30
call fcn.0042f561
push dword [0x465a94]
call fcn.0042e6de
add esp, 0x24
mov esp, ebp
pop ebp
ret