Function at 0x40e790
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
xorps xmm0, xmm0
movsd qword [ebp - 0x40], xmm0
xorps xmm0, xmm0
movsd qword [ebp - 0x48], xmm0
push str.MinMaxOf_BodenTR
call fcn.004022d0
add esp, 4
mov eax, 1
mov word [ebp - 4], ax
jmp 0x40e7ca
mov cx, word [ebp - 4]
add cx, 1
mov word [ebp - 4], cx
movsx edx, word [ebp - 4]
movsx eax, word [0x47f638]
cmp edx, eax
jg 0x40e8da
movsx ecx, word [ebp - 4]
movsx edx, word [ecx*2 + 0x47abec]
cmp edx, dword [0x47a158]
jne 0x40e8d5
movsx eax, word [ebp - 4]
movsx ecx, word [eax*2 + 0x47a2f0]
push ecx
push 0x43cbd8
push 0x4ccdd8
call fcn.00401f00
add esp, 0xc
push 0x4ccaf0
push 0x4ccdd8
push 0x43cbdc
push 0x4ccce0
push 0x43cbe0
push 0x4cc900
call fcn.00401f00
add esp, 0x18
push 0x4cc900
call fcn.00402370
add esp, 4
push 0x43cbec
push 0x4cc900
call fcn.0042b546
add esp, 8
mov dword [0x46ac90], eax
mov edx, dword [0x46ac90]
push edx
push 1
push 8
lea eax, [ebp - 0x50]
push eax
call fcn.0042b7c5
add esp, 0x10
movsx ecx, word [ebp - 4]
movsd xmm0, qword [ebp - 0x50]
movsd qword [ecx*8 + 0x47ffc8], xmm0
movsx edx, word [ebp - 4]
movzx eax, byte [edx + 0x448280]
test eax, eax
jne 0x40e8bd
movsx ecx, word [ebp - 4]
movsx edx, word [ebp - 4]
cvtss2sd xmm0, dword [edx*4 + 0x47aed4]
mulsd xmm0, qword [ecx*8 + 0x47ffc8]
movsx eax, word [ebp - 4]
movsd qword [eax*8 + 0x47ffc8], xmm0
cmp dword [0x46ac90], 0
je 0x40e8d5
mov ecx, dword [0x46ac90]
push ecx
call fcn.0042b45f
add esp, 4
jmp 0x40e7be
mov edx, 1
mov word [ebp - 4], dx
jmp 0x40e8f1
mov ax, word [ebp - 4]
add ax, 1
mov word [ebp - 4], ax
movsx ecx, word [ebp - 4]
movsx edx, word [0x47f628]
cmp ecx, edx
jg 0x40ea10
xor eax, eax
mov word [ebp - 0x10], ax
mov ecx, 1
mov word [ebp - 0xc], cx
jmp 0x40e921
mov dx, word [ebp - 0xc]
add dx, 1
mov word [ebp - 0xc], dx
movsx eax, word [ebp - 0xc]
movsx ecx, word [0x47f638]
cmp eax, ecx
jg 0x40ea0b
movsx edx, word [ebp - 0xc]
movsx eax, word [edx*2 + 0x47abec]
cmp eax, dword [0x47a158]
jne 0x40ea06
movsx ecx, word [ebp - 0xc]
movsx edx, byte [ecx + 0x47a4f0]
cmp edx, 0x47
jne 0x40ea06
movsx eax, word [ebp - 0xc]
movsx ecx, word [eax*2 + 0x47a998]
movsx edx, word [ebp - 4]
cmp ecx, edx
jne 0x40ea06
movsx eax, word [ebp - 0x10]
test eax, eax
jne 0x40e9c8
mov cx, word [ebp - 0xc]
mov word [ebp - 0x10], cx
movsx edx, word [ebp - 0xc]
movsx eax, byte [edx + 0x47a3c6]
cmp eax, 0x41
jne 0x40e9b0
movsx ecx, word [ebp - 0xc]
mov byte [ecx + 0x47a4f0], 0x41
movsx edx, word [ebp - 0xc]
mov byte [edx + 0x47a86e], 0x54
jmp 0x40e9bb
movsx eax, word [ebp - 0xc]
mov byte [eax + 0x47a4f0], 0x51
movsx ecx, word [ebp - 0x10]
mov byte [ecx + 0x47b898], 1
jmp 0x40e9d3
movsx edx, word [ebp - 0xc]
mov byte [edx + 0x47b898], 0
movsx eax, word [ebp - 0xc]
movsx ecx, word [ebp - 0x10]
cmp eax, ecx
je 0x40ea06
movsx edx, word [ebp - 0x10]
movsx eax, word [ebp - 0xc]
movsd xmm0, qword [edx*8 + 0x47ffc8]
addsd xmm0, qword [eax*8 + 0x47ffc8]
movsx ecx, word [ebp - 0x10]
movsd qword [ecx*8 + 0x47ffc8], xmm0
jmp 0x40e915
jmp 0x40e8e5
mov byte [0x448278], 0
mov byte [0x448279], 0
mov byte [0x44827a], 0
mov edx, 1
mov word [ebp - 4], dx
jmp 0x40ea3c
mov ax, word [ebp - 4]
add ax, 1
mov word [ebp - 4], ax
movsx ecx, word [ebp - 4]
movsx edx, word [0x47f638]
cmp ecx, edx
jg 0x40eaa6
movsx eax, word [ebp - 4]
movsx ecx, word [eax*2 + 0x47abec]
cmp ecx, dword [0x47a158]
jne 0x40eaa4
movsx edx, word [ebp - 4]
movsx eax, byte [edx + 0x47a86e]
cmp eax, 0x54
jne 0x40eaa4
movsx ecx, word [ebp - 4]
movsd xmm0, qword [ecx*8 + 0x47ffc8]
movsd qword [0x449c50], xmm0
movsx edx, word [ebp - 4]
movsd xmm0, qword [edx*8 + 0x47ffc8]
movsd qword [0x449c58], xmm0
mov byte [0x448278], 1
jmp 0x40eaa6
jmp 0x40ea30
mov eax, 1
mov word [ebp - 4], ax
jmp 0x40eabd
mov cx, word [ebp - 4]
add cx, 1
mov word [ebp - 4], cx
movsx edx, word [ebp - 4]
movsx eax, word [0x47f638]
cmp edx, eax
jg 0x40eb52
movsx ecx, word [ebp - 4]
movsx edx, word [ecx*2 + 0x47abec]
cmp edx, dword [0x47a158]
jne 0x40eb4d
movsx eax, word [ebp - 4]
movsx ecx, byte [eax + 0x47a86e]
cmp ecx, 0x54
jne 0x40eb4d
movsx edx, word [ebp - 4]
movsd xmm0, qword [edx*8 + 0x47ffc8]
movsd qword [0x449c48], xmm0
movsd xmm0, qword [0x449c48]
comisd xmm0, xmmword [0x449c58]
jbe 0x40eb2b
movsd xmm0, qword [0x449c48]
movsd qword [0x449c58], xmm0
movsd xmm0, qword [0x449c50]
comisd xmm0, xmmword [0x449c48]
jbe 0x40eb4d
movsd xmm0, qword [0x449c48]
movsd qword [0x449c50], xmm0
jmp 0x40eab1
movzx eax, byte [0x448278]
test eax, eax
je 0x40ec47
mov ecx, 1
mov word [ebp - 4], cx
jmp 0x40eb78
mov dx, word [ebp - 4]
add dx, 1
mov word [ebp - 4], dx
movsx eax, word [ebp - 4]
movsx ecx, word [0x47f638]
cmp eax, ecx
jg 0x40ec47
movsx edx, word [ebp - 4]
movsx eax, word [edx*2 + 0x47abec]
cmp eax, dword [0x47a158]
jne 0x40ec42
movsx ecx, word [ebp - 4]
movsx edx, byte [ecx + 0x47a4f0]
cmp edx, 0x41
jne 0x40ebf5
movzx eax, byte [0x44827a]
test eax, eax
jne 0x40ebf5
movsx ecx, word [ebp - 4]
movsd xmm0, qword [0x449c58]
movsd qword [ecx*8 + 0x47ffc8], xmm0
mov byte [0x44827a], 1
movsx edx, word [ebp - 4]
mov byte [edx + 0x47a4f0], 0x58
movsx eax, word [ebp - 4]
mov byte [eax + 0x47b898], 1
jmp 0x40eb6c
movsx ecx, word [ebp - 4]
movsx edx, byte [ecx + 0x47a4f0]
cmp edx, 0x41
jne 0x40ec42
movzx eax, byte [0x448279]
test eax, eax
jne 0x40ec42
movsx ecx, word [ebp - 4]
movsd xmm0, qword [0x449c50]
movsd qword [ecx*8 + 0x47ffc8], xmm0
mov byte [0x448279], 1
movsx edx, word [ebp - 4]
mov byte [edx + 0x47a4f0], 0x4d
movsx eax, word [ebp - 4]
mov byte [eax + 0x47b898], 1
jmp 0x40eb6c
movsx ecx, word [0x47f638]
push ecx
call fcn.00402400
add esp, 4
xorps xmm0, xmm0
movsd qword [0x449c50], xmm0
xorps xmm0, xmm0
movsd qword [0x449c58], xmm0
mov dword [ebp - 0x2c], 0
call fcn.00401260
mov edx, 1
mov word [ebp - 4], dx
jmp 0x40ec90
mov ax, word [ebp - 4]
add ax, 1
mov word [ebp - 4], ax
movsx ecx, word [ebp - 4]
movsx edx, word [0x47f638]
cmp ecx, edx
jg 0x40ee51
movsx eax, word [ebp - 4]
movsx ecx, word [eax*2 + 0x47abec]
cmp ecx, dword [0x47a158]
jne 0x40ee4c
movsx edx, word [ebp - 4]
movsx eax, word [edx*2 + 0x47abec]
cmp eax, 1
je 0x40ece1
movsx ecx, word [ebp - 4]
movsx edx, word [ecx*2 + 0x47abec]
cmp edx, 0xc
jne 0x40ee4c
movsx eax, word [ebp - 4]
movsx ecx, word [ebp - 4]
cvtss2sd xmm0, dword [ecx*4 + 0x47b0c8]
mulsd xmm0, qword [eax*8 + 0x47ffc8]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x14], xmm0
movsx edx, word [ebp - 4]
movsx eax, word [ebp - 4]
cvtss2sd xmm0, dword [eax*4 + 0x47b258]
mulsd xmm0, qword [edx*8 + 0x47ffc8]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x18]
comiss xmm0, dword [ebp - 0x14]
jbe 0x40ed3e
movss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x1c], xmm0
jmp 0x40ed48
movss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0x1c]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [ebp - 0x14]
comiss xmm0, dword [ebp - 0x18]
jbe 0x40ed69
movss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x20], xmm0
jmp 0x40ed73
movss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x38], xmm0
movsx ecx, word [ebp - 4]
movsx edx, byte [ecx + 0x47a86e]
cmp edx, 0x57
je 0x40edfb
movss xmm0, dword [ebp - 0x18]
comiss xmm0, dword [ebp - 0x14]
jbe 0x40eda4
movss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x24], xmm0
jmp 0x40edae
movss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x24], xmm0
cvtss2sd xmm0, dword [ebp - 0x24]
addsd xmm0, qword [0x449c50]
movsd qword [0x449c50], xmm0
movss xmm0, dword [ebp - 0x14]
comiss xmm0, dword [ebp - 0x18]
jbe 0x40edda
movss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x28], xmm0
jmp 0x40ede4
movss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x28], xmm0
cvtss2sd xmm0, dword [ebp - 0x28]
addsd xmm0, qword [0x449c58]
movsd qword [0x449c58], xmm0
jmp 0x40ee4c
mov dword [ebp - 0x2c], 1
mov eax, 0x2c
shl eax, 0
movsx ecx, word [ebp - 4]
mov edx, 4
shl edx, 0
mov eax, dword [eax + ecx*4 + 0x46ac98]
movss xmm0, dword [ebp - 0x14]
movss dword [edx + eax], xmm0
mov ecx, 0x2c
shl ecx, 0
movsx edx, word [ebp - 4]
mov eax, 4
shl eax, 0
mov ecx, dword [ecx + edx*4 + 0x46adf8]
movss xmm0, dword [ebp - 0x18]
movss dword [eax + ecx], xmm0
jmp 0x40ec84
cmp dword [ebp - 0x2c], 1
jne 0x40eeb3
push 1
movsx edx, word [0x47f638]
push edx
push 1
push 1
call section..text
add esp, 0x10
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
addsd xmm0, qword [0x449c50]
movsd qword [0x449c50], xmm0
push 1
movsx eax, word [0x47f638]
push eax
push 1
push 1
call fcn.00401130
add esp, 0x10
fstp qword [ebp - 0x60]
movsd xmm0, qword [ebp - 0x60]
addsd xmm0, qword [0x449c58]
movsd qword [0x449c58], xmm0
cmp dword [0x47a158], 1
je 0x40eec5
cmp dword [0x47a158], 0xc
jne 0x40eecf
jmp 0x40f191
mov ecx, 1
mov word [ebp - 8], cx
jmp 0x40eee6
mov dx, word [ebp - 8]
add dx, 1
mov word [ebp - 8], dx
movsx eax, word [ebp - 8]
movsx ecx, word [0x47a3c4]
cmp eax, ecx
jg 0x40f09e
movsd xmm0, qword [0x449c50]
movsd qword [ebp - 0x40], xmm0
movsd xmm0, qword [0x449c58]
movsd qword [ebp - 0x48], xmm0
movsx edx, word [ebp - 8]
movsx eax, word [edx*2 + 0x47ade0]
cmp eax, 1
je 0x40ef35
movsx ecx, word [ebp - 8]
movsx edx, word [ecx*2 + 0x47ade0]
cmp edx, 0xc
jne 0x40ef37
jmp 0x40eeda
mov eax, 1
mov word [ebp - 4], ax
jmp 0x40ef4e
mov cx, word [ebp - 4]
add cx, 1
mov word [ebp - 4], cx
movsx edx, word [ebp - 4]
movsx eax, word [0x47f638]
cmp edx, eax
jg 0x40f075
movsx ecx, word [ebp - 4]
movzx edx, byte [ecx + 0x47b898]
cmp edx, 1
jne 0x40f070
movsx eax, word [ebp - 4]
movsx ecx, word [eax*2 + 0x47abec]
cmp ecx, dword [0x47a158]
jne 0x40f070
movsx edx, word [ebp - 4]
movsx eax, word [edx*2 + 0x47abec]
movsx ecx, word [ebp - 8]
movsx edx, word [ecx*2 + 0x47ade0]
cmp eax, edx
jne 0x40efcd
movsx eax, word [ebp - 4]
movsx ecx, word [ebp - 4]
cvtss2sd xmm0, dword [ecx*4 + 0x47b0c8]
mulsd xmm0, qword [eax*8 + 0x47ffc8]
movsd qword [0x449c48], xmm0
jmp 0x40f000
movsx edx, word [ebp - 4]
movsx eax, word [ebp - 4]
cvtss2sd xmm0, dword [eax*4 + 0x47b0c8]
mulsd xmm0, qword [edx*8 + 0x47ffc8]
movsx ecx, word [ebp - 4]
cvtss2sd xmm1, dword [ecx*4 + 0x47b3e8]
mulsd xmm0, xmm1
movsd qword [0x449c48], xmm0
movsx edx, word [ebp - 4]
movsx eax, byte [edx + 0x47a4f0]
cmp eax, 0x4d
je 0x40f036
movsd xmm0, qword [ebp - 0x48]
addsd xmm0, qword [0x449c48]
comisd xmm0, xmmword [ebp - 0x48]
jbe 0x40f036
movsd xmm0, qword [ebp - 0x48]
addsd xmm0, qword [0x449c48]
movsd qword [ebp - 0x48], xmm0
movsx ecx, word [ebp - 4]
movsx edx, byte [ecx + 0x47a4f0]
cmp edx, 0x58
je 0x40f070
movsd xmm0, qword [ebp - 0x40]
addsd xmm0, qword [0x449c48]
movsd xmm1, qword [ebp - 0x40]
comisd xmm1, xmm0
jbe 0x40f070
movsd xmm0, qword [ebp - 0x40]
addsd xmm0, qword [0x449c48]
movsd qword [ebp - 0x40], xmm0
jmp 0x40ef42
movsx eax, word [ebp - 8]
movsd xmm0, qword [ebp - 0x40]
movsd qword [eax*8 + 0x449c68], xmm0
movsx ecx, word [ebp - 8]
movsd xmm0, qword [ebp - 0x48]
movsd qword [ecx*8 + 0x449d10], xmm0
jmp 0x40eeda
mov dword [ebp - 0x30], 0
mov edx, 1
mov word [ebp - 8], dx
jmp 0x40f0bc
mov ax, word [ebp - 8]
add ax, 1
mov word [ebp - 8], ax
movsx ecx, word [ebp - 8]
movsx edx, word [0x47a3c4]
cmp ecx, edx
jg 0x40f177
movsx eax, word [ebp - 8]
movsx ecx, word [eax*2 + 0x47ade0]
cmp ecx, 1
je 0x40f0f1
movsx edx, word [ebp - 8]
movsx eax, word [edx*2 + 0x47ade0]
cmp eax, 0xc
jne 0x40f0f3
jmp 0x40f0b0
cmp dword [ebp - 0x30], 0
jne 0x40f126
movsx ecx, word [ebp - 8]
movsd xmm0, qword [ecx*8 + 0x449c68]
movsd qword [ebp - 0x40], xmm0
movsx edx, word [ebp - 8]
movsd xmm0, qword [edx*8 + 0x449d10]
movsd qword [ebp - 0x48], xmm0
mov dword [ebp - 0x30], 1
jmp 0x40f0b0
movsx eax, word [ebp - 8]
movsd xmm0, qword [ebp - 0x40]
comisd xmm0, xmmword [eax*8 + 0x449c68]
jbe 0x40f14c
movsx ecx, word [ebp - 8]
movsd xmm0, qword [ecx*8 + 0x449c68]
movsd qword [ebp - 0x40], xmm0
movsx edx, word [ebp - 8]
movsd xmm0, qword [edx*8 + 0x449d10]
comisd xmm0, xmmword [ebp - 0x48]
jbe 0x40f172
movsx eax, word [ebp - 8]
movsd xmm0, qword [eax*8 + 0x449d10]
movsd qword [ebp - 0x48], xmm0
jmp 0x40f0b0
movsd xmm0, qword [ebp - 0x40]
movsd qword [0x449c50], xmm0
movsd xmm0, qword [ebp - 0x48]
movsd qword [0x449c58], xmm0
push 0x4ccaf0
mov ecx, dword [0x47a158]
push ecx
push 0x4ccce0
push str._sKOMBI_COPS__i_12__s
push 0x4cc900
call fcn.00401f00
add esp, 0x14
push 0x43cc08
push 0x4cc900
call fcn.0042b546
add esp, 8
mov dword [0x46ac90], eax
mov edx, dword [0x46ac90]
push edx
push 1
push 8
push 0x449c50
call fcn.0042bee8
add esp, 0x10
mov eax, dword [0x46ac90]
push eax
push 1
push 8
push 0x449c58
call fcn.0042bee8
add esp, 0x10
cmp dword [0x46ac90], 0
je 0x40f212
mov ecx, dword [0x46ac90]
push ecx
call fcn.0042b45f
add esp, 4
mov esp, ebp
pop ebp
ret