Function at 0x4044f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
xorps xmm0, xmm0
movsd qword [ebp - 0x38], xmm0
xorps xmm0, xmm0
movsd qword [ebp - 0x40], xmm0
push str.MinMaxOf_Sum
call fcn.004022a0
add esp, 4
mov eax, 1
mov word [ebp - 4], ax
jmp 0x40452a
mov cx, word [ebp - 4]
add cx, 1
mov word [ebp - 4], cx
movsx edx, word [ebp - 4]
movsx eax, word [0x4b1c6c]
cmp edx, eax
jg 0x40462d
movsx ecx, word [ebp - 4]
movsx edx, word [ecx*2 + 0x4ae200]
push edx
push 0x46f57c
push 0x4fefe0
call fcn.00401f10
add esp, 0xc
push 0x4fecf8
push 0x4fefe0
push 0x46f5b8
push 0x4feee8
push str._s_s_s_s
push 0x4feb08
call fcn.00401f10
add esp, 0x18
push 0x4feb08
call fcn.00402340
add esp, 4
push 0x46f52c
push 0x4feb08
call fcn.0044745b
add esp, 8
mov dword [0x49ead0], eax
mov eax, dword [0x49ead0]
push eax
push 1
push 0x10
push 0x4fe7f0
call fcn.0044770d
add esp, 0x10
mov ecx, 4
shl ecx, 0
cvtss2sd xmm0, dword [ecx + 0x4fe7f0]
movsx edx, word [ebp - 4]
movsd qword [edx*8 + 0x4b21d0], xmm0
movsx eax, word [ebp - 4]
movzx ecx, byte [eax + 0x47c330]
test ecx, ecx
jne 0x404610
movsx edx, word [ebp - 4]
movsx eax, word [ebp - 4]
cvtss2sd xmm0, dword [eax*4 + 0x4aef74]
mulsd xmm0, qword [edx*8 + 0x4b21d0]
movsx ecx, word [ebp - 4]
movsd qword [ecx*8 + 0x4b21d0], xmm0
cmp dword [0x49ead0], 0
je 0x404628
mov edx, dword [0x49ead0]
push edx
call fcn.0044716d
add esp, 4
jmp 0x40451e
mov eax, 1
mov word [ebp - 4], ax
jmp 0x404644
mov cx, word [ebp - 4]
add cx, 1
mov word [ebp - 4], cx
movsx edx, word [ebp - 4]
movsx eax, word [0x4b1c5c]
cmp edx, eax
jg 0x40474b
xor ecx, ecx
mov word [ebp - 0x10], cx
mov edx, 1
mov word [ebp - 0xc], dx
jmp 0x404674
mov ax, word [ebp - 0xc]
add ax, 1
mov word [ebp - 0xc], ax
movsx ecx, word [ebp - 0xc]
movsx edx, word [0x4b1c6c]
cmp ecx, edx
jg 0x404746
movsx eax, word [ebp - 0xc]
movsx ecx, byte [eax + 0x4ae590]
cmp ecx, 0x47
jne 0x404741
movsx edx, word [ebp - 0xc]
movsx eax, word [edx*2 + 0x4aea38]
movsx ecx, word [ebp - 4]
cmp eax, ecx
jne 0x404741
movsx edx, word [ebp - 0x10]
test edx, edx
jne 0x404703
mov ax, word [ebp - 0xc]
mov word [ebp - 0x10], ax
movsx ecx, word [ebp - 0xc]
movsx edx, byte [ecx + 0x4ae466]
cmp edx, 0x41
jne 0x4046eb
movsx eax, word [ebp - 0xc]
mov byte [eax + 0x4ae590], 0x41
movsx ecx, word [ebp - 0xc]
mov byte [ecx + 0x4ae90e], 0x54
jmp 0x4046f6
movsx edx, word [ebp - 0xc]
mov byte [edx + 0x4ae590], 0x51
movsx eax, word [ebp - 0x10]
mov byte [eax + 0x4af938], 1
jmp 0x40470e
movsx ecx, word [ebp - 0xc]
mov byte [ecx + 0x4af938], 0
movsx edx, word [ebp - 0xc]
movsx eax, word [ebp - 0x10]
cmp edx, eax
je 0x404741
movsx ecx, word [ebp - 0x10]
movsx edx, word [ebp - 0xc]
movsd xmm0, qword [ecx*8 + 0x4b21d0]
addsd xmm0, qword [edx*8 + 0x4b21d0]
movsx eax, word [ebp - 0x10]
movsd qword [eax*8 + 0x4b21d0], xmm0
jmp 0x404668
jmp 0x404638
mov byte [0x47c328], 0
mov byte [0x47c32a], 0
mov byte [0x47c32b], 0
mov ecx, 1
mov word [ebp - 4], cx
jmp 0x404777
mov dx, word [ebp - 4]
add dx, 1
mov word [ebp - 4], dx
movsx eax, word [ebp - 4]
movsx ecx, word [0x4b1c6c]
cmp eax, ecx
jg 0x4047c4
movsx edx, word [ebp - 4]
movsx eax, byte [edx + 0x4ae90e]
cmp eax, 0x54
jne 0x4047c2
movsx ecx, word [ebp - 4]
movsd xmm0, qword [ecx*8 + 0x4b21d0]
movsd qword [0x47dcf8], xmm0
movsx edx, word [ebp - 4]
movsd xmm0, qword [edx*8 + 0x4b21d0]
movsd qword [0x47dd00], xmm0
jmp 0x4047c4
jmp 0x40476b
mov eax, 1
mov word [ebp - 4], ax
jmp 0x4047db
mov cx, word [ebp - 4]
add cx, 1
mov word [ebp - 4], cx
movsx edx, word [ebp - 4]
movsx eax, word [0x4b1c6c]
cmp edx, eax
jg 0x404846
movsx ecx, word [ebp - 4]
movsx edx, byte [ecx + 0x4ae90e]
cmp edx, 0x54
jne 0x404844
movsx eax, word [ebp - 4]
movsd xmm0, qword [eax*8 + 0x4b21d0]
movsd qword [ebp - 0x30], xmm0
movsd xmm0, qword [ebp - 0x30]
comisd xmm0, xmmword [0x47dd00]
jbe 0x404828
movsd xmm0, qword [ebp - 0x30]
movsd qword [0x47dd00], xmm0
movsd xmm0, qword [0x47dcf8]
comisd xmm0, xmmword [ebp - 0x30]
jbe 0x404844
movsd xmm0, qword [ebp - 0x30]
movsd qword [0x47dcf8], xmm0
jmp 0x4047cf
mov ecx, 1
mov word [ebp - 4], cx
jmp 0x40485d
mov dx, word [ebp - 4]
add dx, 1
mov word [ebp - 4], dx
movsx eax, word [ebp - 4]
movsx ecx, word [0x4b1c6c]
cmp eax, ecx
jg 0x404911
movsx edx, word [ebp - 4]
movsx eax, byte [edx + 0x4ae90e]
cmp eax, 0x54
jne 0x4048bf
movzx ecx, byte [0x47c32b]
test ecx, ecx
jne 0x4048bf
movsx edx, word [ebp - 4]
movsd xmm0, qword [0x47dd00]
movsd qword [edx*8 + 0x4b21d0], xmm0
mov byte [0x47c32b], 1
movsx eax, word [ebp - 4]
mov byte [eax + 0x4ae590], 0x58
movsx ecx, word [ebp - 4]
mov byte [ecx + 0x4af938], 1
jmp 0x404851
movsx edx, word [ebp - 4]
movsx eax, byte [edx + 0x4ae90e]
cmp eax, 0x54
jne 0x40490c
movzx ecx, byte [0x47c32a]
test ecx, ecx
jne 0x40490c
movsx edx, word [ebp - 4]
movsd xmm0, qword [0x47dcf8]
movsd qword [edx*8 + 0x4b21d0], xmm0
mov byte [0x47c32a], 1
movsx eax, word [ebp - 4]
mov byte [eax + 0x4ae590], 0x4d
movsx ecx, word [ebp - 4]
mov byte [ecx + 0x4af938], 1
jmp 0x404851
movsx edx, word [0x4b1c6c]
push edx
call fcn.004023d0
add esp, 4
xorps xmm0, xmm0
movsd qword [0x47dcf8], xmm0
xorps xmm0, xmm0
movsd qword [0x47dd00], xmm0
mov dword [ebp - 0x24], 0
call fcn.00401260
mov eax, 1
mov word [ebp - 4], ax
jmp 0x40495a
mov cx, word [ebp - 4]
add cx, 1
mov word [ebp - 4], cx
movsx edx, word [ebp - 4]
movsx eax, word [0x4b1c6c]
cmp edx, eax
jg 0x404aad
movsx ecx, word [ebp - 4]
movsx edx, word [ecx*2 + 0x4aec8c]
cmp edx, 1
je 0x404993
movsx eax, word [ebp - 4]
movsx ecx, word [eax*2 + 0x4aec8c]
cmp ecx, 0xc
jne 0x404aa8
movsx edx, word [ebp - 4]
movsx eax, word [ebp - 4]
cvtss2sd xmm0, dword [eax*4 + 0x4af168]
mulsd xmm0, qword [edx*8 + 0x4b21d0]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x14], xmm0
movsx ecx, word [ebp - 4]
movsx edx, word [ebp - 4]
cvtss2sd xmm0, dword [edx*4 + 0x4af2f8]
mulsd xmm0, qword [ecx*8 + 0x4b21d0]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x18], xmm0
movsx eax, word [ebp - 4]
movsx ecx, byte [eax + 0x4ae90e]
cmp ecx, 0x57
je 0x404a57
movss xmm0, dword [ebp - 0x18]
comiss xmm0, dword [ebp - 0x14]
jbe 0x404a00
movss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x1c], xmm0
jmp 0x404a0a
movss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x1c], xmm0
cvtss2sd xmm0, dword [ebp - 0x1c]
addsd xmm0, qword [0x47dcf8]
movsd qword [0x47dcf8], xmm0
movss xmm0, dword [ebp - 0x14]
comiss xmm0, dword [ebp - 0x18]
jbe 0x404a36
movss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x20], xmm0
jmp 0x404a40
movss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x20], xmm0
cvtss2sd xmm0, dword [ebp - 0x20]
addsd xmm0, qword [0x47dd00]
movsd qword [0x47dd00], xmm0
jmp 0x404aa8
mov dword [ebp - 0x24], 1
mov edx, 0x2c
shl edx, 0
movsx eax, word [ebp - 4]
mov ecx, 4
shl ecx, 0
mov edx, dword [edx + eax*4 + 0x49ed40]
movss xmm0, dword [ebp - 0x14]
movss dword [ecx + edx], xmm0
mov eax, 0x2c
shl eax, 0
movsx ecx, word [ebp - 4]
mov edx, 4
shl edx, 0
mov eax, dword [eax + ecx*4 + 0x49eea0]
movss xmm0, dword [ebp - 0x18]
movss dword [edx + eax], xmm0
jmp 0x40494e
cmp dword [ebp - 0x24], 1
jne 0x404b0f
push 1
movsx ecx, word [0x4b1c6c]
push ecx
push 1
push 1
call section..text
add esp, 0x10
fstp qword [ebp - 0x48]
movsd xmm0, qword [ebp - 0x48]
addsd xmm0, qword [0x47dcf8]
movsd qword [0x47dcf8], xmm0
push 1
movsx edx, word [0x4b1c6c]
push edx
push 1
push 1
call fcn.00401130
add esp, 0x10
fstp qword [ebp - 0x50]
movsd xmm0, qword [ebp - 0x50]
addsd xmm0, qword [0x47dd00]
movsd qword [0x47dd00], xmm0
mov eax, 1
mov word [ebp - 8], ax
jmp 0x404b26
mov cx, word [ebp - 8]
add cx, 1
mov word [ebp - 8], cx
movsx edx, word [ebp - 8]
movsx eax, word [0x4ae464]
cmp edx, eax
jg 0x404cb4
movsd xmm0, qword [0x47dcf8]
movsd qword [ebp - 0x38], xmm0
movsd xmm0, qword [0x47dd00]
movsd qword [ebp - 0x40], xmm0
movsx ecx, word [ebp - 8]
movsx edx, word [ecx*2 + 0x4aee80]
cmp edx, 1
je 0x404b75
movsx eax, word [ebp - 8]
movsx ecx, word [eax*2 + 0x4aee80]
cmp ecx, 0xc
jne 0x404b77
jmp 0x404b1a
mov edx, 1
mov word [ebp - 4], dx
jmp 0x404b8e
mov ax, word [ebp - 4]
add ax, 1
mov word [ebp - 4], ax
movsx ecx, word [ebp - 4]
movsx edx, word [0x4b1c6c]
cmp ecx, edx
jg 0x404c8b
movsx eax, word [ebp - 4]
movzx ecx, byte [eax + 0x4af938]
cmp ecx, 1
jne 0x404c86
movsx edx, word [ebp - 4]
movsx eax, word [edx*2 + 0x4aec8c]
movsx ecx, word [ebp - 8]
movsx edx, word [ecx*2 + 0x4aee80]
cmp eax, edx
jne 0x404bf2
movsx eax, word [ebp - 4]
movsx ecx, word [ebp - 4]
cvtss2sd xmm0, dword [ecx*4 + 0x4af168]
mulsd xmm0, qword [eax*8 + 0x4b21d0]
movsd qword [ebp - 0x30], xmm0
jmp 0x404c22
movsx edx, word [ebp - 4]
movsx eax, word [ebp - 4]
cvtss2sd xmm0, dword [eax*4 + 0x4af168]
mulsd xmm0, qword [edx*8 + 0x4b21d0]
movsx ecx, word [ebp - 4]
cvtss2sd xmm1, dword [ecx*4 + 0x4af488]
mulsd xmm0, xmm1
movsd qword [ebp - 0x30], xmm0
movsx edx, word [ebp - 4]
movsx eax, byte [edx + 0x4ae590]
cmp eax, 0x4d
je 0x404c52
movsd xmm0, qword [ebp - 0x40]
addsd xmm0, qword [ebp - 0x30]
comisd xmm0, xmmword [ebp - 0x40]
jbe 0x404c52
movsd xmm0, qword [ebp - 0x40]
addsd xmm0, qword [ebp - 0x30]
movsd qword [ebp - 0x40], xmm0
movsx ecx, word [ebp - 4]
movsx edx, byte [ecx + 0x4ae590]
cmp edx, 0x58
je 0x404c86
movsd xmm0, qword [ebp - 0x38]
addsd xmm0, qword [ebp - 0x30]
movsd xmm1, qword [ebp - 0x38]
comisd xmm1, xmm0
jbe 0x404c86
movsd xmm0, qword [ebp - 0x38]
addsd xmm0, qword [ebp - 0x30]
movsd qword [ebp - 0x38], xmm0
jmp 0x404b82
movsx eax, word [ebp - 8]
movsd xmm0, qword [ebp - 0x38]
movsd qword [eax*8 + 0x47dd10], xmm0
movsx ecx, word [ebp - 8]
movsd xmm0, qword [ebp - 0x40]
movsd qword [ecx*8 + 0x47ddb8], xmm0
jmp 0x404b1a
mov dword [ebp - 0x28], 0
mov edx, 1
mov word [ebp - 8], dx
jmp 0x404cd2
mov ax, word [ebp - 8]
add ax, 1
mov word [ebp - 8], ax
movsx ecx, word [ebp - 8]
movsx edx, word [0x4ae464]
cmp ecx, edx
jg 0x404d8d
movsx eax, word [ebp - 8]
movsx ecx, word [eax*2 + 0x4aee80]
cmp ecx, 1
je 0x404d07
movsx edx, word [ebp - 8]
movsx eax, word [edx*2 + 0x4aee80]
cmp eax, 0xc
jne 0x404d09
jmp 0x404cc6
cmp dword [ebp - 0x28], 0
jne 0x404d3c
movsx ecx, word [ebp - 8]
movsd xmm0, qword [ecx*8 + 0x47dd10]
movsd qword [ebp - 0x38], xmm0
movsx edx, word [ebp - 8]
movsd xmm0, qword [edx*8 + 0x47ddb8]
movsd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x28], 1
jmp 0x404cc6
movsx eax, word [ebp - 8]
movsd xmm0, qword [ebp - 0x38]
comisd xmm0, xmmword [eax*8 + 0x47dd10]
jbe 0x404d62
movsx ecx, word [ebp - 8]
movsd xmm0, qword [ecx*8 + 0x47dd10]
movsd qword [ebp - 0x38], xmm0
movsx edx, word [ebp - 8]
movsd xmm0, qword [edx*8 + 0x47ddb8]
comisd xmm0, xmmword [ebp - 0x40]
jbe 0x404d88
movsx eax, word [ebp - 8]
movsd xmm0, qword [eax*8 + 0x47ddb8]
movsd qword [ebp - 0x40], xmm0
jmp 0x404cc6
movsd xmm0, qword [ebp - 0x38]
movsd qword [0x47dcf8], xmm0
movsd xmm0, qword [ebp - 0x40]
movsd qword [0x47dd00], xmm0
push 0x4fecf8
push str.SUMMIMX
push 0x4feee8
push str._s_s_s
push 0x4feb08
call fcn.00401f10
add esp, 0x14
push 0x46f5a4
push 0x4feb08
call fcn.0044745b
add esp, 8
mov dword [0x49ead0], eax
cmp dword [0x49ead0], 0
je 0x404e26
mov ecx, dword [0x49ead0]
push ecx
push 1
push 8
push 0x47dcf8
call fcn.00447ff0
add esp, 0x10
mov edx, dword [0x49ead0]
push edx
push 1
push 8
push 0x47dd00
call fcn.00447ff0
add esp, 0x10
mov eax, dword [0x49ead0]
push eax
call fcn.0044716d
add esp, 4
mov esp, ebp
pop ebp
ret