Function at 0x408fa0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push str.________________________oben____________unten_________oben________unten
push section..data
push str._s_s_n
push dword [0x63cda0]
xorps xmm0, xmm0
movsd qword [ebp - 0x54], xmm0
call fcn.004070c0
add esp, 0x10
cmp byte [0x63c822], 0
je 0x408ffb
cmp byte [ebp + 0x10], 0
je 0x408fe4
push 0x497220
jmp 0x409006
cmp byte [ebp + 0x14], 0
je 0x408ff1
push str.K_LF__x______y______m_xi____m_eta___m_xi____m_eta___as_r_as_t___as_r_as_t
jmp 0x40905b
push str.Pkt.__x______y______m_xi____m_eta___m_xi____m_eta___as_r_as_t___as_r_as_t
jmp 0x4090e9
cmp byte [ebp + 0x10], 0
je 0x40904c
push 0x497310
push section..data
push str._s_s_n
push dword [0x63cda0]
call fcn.004070c0
add esp, 0x10
push section..data
push 0x495774
push dword [0x63cda0]
call fcn.004070c0
mov cl, byte [ebp + 0x14]
add esp, 0xc
xor edi, edi
mov esi, 1
mov dword [ebp - 0x10], esi
test cl, cl
jne 0x409092
jmp 0x409123
cmp byte [ebp + 0x14], 0
je 0x4090e4
push str.K_LF__x______y______m_xi____m_eta___m_xi____m_eta___as_x_as_y___as_x_as_y___d__m_
push section..data
push str._s_s_n
push dword [0x63cda0]
call fcn.004070c0
push section..data
push 0x495774
push dword [0x63cda0]
call fcn.004070c0
mov esi, 1
add esp, 0x1c
mov dword [ebp - 0x10], esi
xor edi, edi
push 0x4b6200
push str.PSPANB
push 0x4b5c00
push str._s_s_s
push 0x4b5a00
call fcn.00401540
push 0x4b5a00
call fcn.004026a0
push 0x495470
push 0x4b5a00
call fcn.00457e2c
mov ebx, eax
lea eax, [ebp - 8]
push ebx
push 1
push 2
push eax
mov dword [ebp - 0x14], ebx
call fcn.004580de
mov cl, byte [ebp + 0x14]
add esp, 0x30
jmp 0x409129
push str.Pkt.__x______y______m_xi____m_eta___m_xi____m_eta___as_x_as_y___as_x_as_y___d__m_
push section..data
push str._s_s_n
push dword [0x63cda0]
call fcn.004070c0
push section..data
push 0x495774
push dword [0x63cda0]
call fcn.004070c0
mov cl, byte [ebp + 0x14]
mov esi, 1
add esp, 0x1c
mov dword [ebp - 0x10], esi
xor edi, edi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 8]
test dx, dx
je 0x40985f
mov eax, dword [ebp + 0xc]
cmp dx, ax
jg 0x40985f
movsx ebx, dx
sub eax, edx
shl ebx, 2
inc eax
movzx eax, ax
mov dword [ebp + 8], eax
jmp 0x409155
mov cl, byte [ebp + 0x14]
mov ax, word [0x58e732]
inc edi
inc ax
mov word [0x58e732], ax
movzx edx, ax
mov eax, dword [ebx + 0x59da00]
cmp byte [eax + 0x71], 0
jne case.default.0x409208
cmp byte [ebp + 0x10], 0
je 0x4091f3
movsx eax, di
dec eax
cmp eax, 3
ja case.default.0x409208
jmp dword [eax*4 + 0x409894]
push 0x49741c
movsx eax, si
push eax
push section..data
push str._s_2d_s
push dword [0x63cda0]
call fcn.004070c0
add esp, 0x14
jmp case.default.0x409208
push str.___O
push section..data
push 0x4964e8
jmp 0x409294
push str.___S
push section..data
push 0x4964e8
jmp 0x409294
push str.___W
push section..data
push 0x4964e8
jmp 0x409294
test cl, cl
je 0x409286
movsx eax, di
dec eax
cmp eax, 3
ja case.default.0x409208
jmp dword [eax*4 + 0x4098a4]
push dword [ebp - 0x14]
lea eax, [ebp - 4]
push 1
push 2
push eax
call fcn.004580de
movsx eax, word [ebp - 4]
push 0x49741c
push eax
push section..data
push str._s_2d_s
push dword [0x63cda0]
call fcn.004070c0
add esp, 0x24
jmp case.default.0x409208
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
push esi
push 1
push 2
push eax
call fcn.004580de
push esi
push 1
lea eax, [ebp - 8]
push 2
push eax
call fcn.004580de
movsx eax, word [ebp - 0xc]
push 0x497440
push eax
push section..data
push str._s_2d_s
push dword [0x63cda0]
call fcn.004070c0
add esp, 0x34
jmp case.default.0x409208
movsx eax, dx
push eax
push section..data
push str._s_3d
push dword [0x63cda0]
call fcn.004070c0
add esp, 0x10
mov eax, dword [ebx + 0x59da00]
cmp byte [eax + 0x71], 0
jne 0x4094c1
movss xmm0, dword [eax + 0x38]
sub esp, 8
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
movss xmm0, dword [eax + 0x10]
push 0x49717c
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
movss xmm0, dword [eax + 0xc]
push 0x20
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
movss xmm0, dword [eax + 0x4c]
push 0x20
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
movss xmm0, dword [eax + 0x48]
push 0x20
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
movss xmm0, dword [eax + 4]
push 0x20
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
movss xmm0, dword [eax]
push 0x20
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push str._6.2lf_c_6.2lf_c_7.1lf_c_7.1lf_c_7.1lf_c_7.1lf_s_4.1lf
push dword [0x63cda0]
call fcn.004070c0
mov esi, dword [ebx + 0x59da00]
add esp, 0x58
cmp byte [esi + 0x70], 0
je 0x4093a0
movss xmm0, dword [esi + 0x6c]
sub esp, 0x10
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esi + 0x44]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
movss xmm0, dword [esi + 0x3c]
push 0x20
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
movss xmm0, dword [esi + 0x40]
push 0x49717c
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push 0x20
push str._c_4.1lf_s_4.1lf_c_4.1lf___4.2lf_n
jmp 0x4094b3
mov eax, dword [ebx + 0x588960]
xorps xmm2, xmm2
movss xmm1, dword [eax + 0x14]
comiss xmm1, xmm2
jbe 0x409467
movsd xmm3, qword [0x4966b8]
cvtps2pd xmm0, xmm1
comisd xmm3, xmm0
jbe 0x409467
comiss xmm2, dword [eax + 0x38]
jbe 0x409467
cmp word [0x63c8ae], 1
jne 0x409467
push ecx
movss dword [esp], xmm1
call fcn.00413bd0
movss xmm1, dword [esi + 0x6c]
mov ecx, eax
mov eax, dword [ebx + 0x588960]
add esp, 4
movss xmm2, dword [esi + 0x44]
sub esp, 8
movss xmm3, dword [esi + 0x3c]
movss xmm4, dword [esi + 0x40]
movss xmm0, dword [eax + 0x38]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
movsd qword [esp], xmm0
push ecx
sub esp, 0x10
cvtps2pd xmm2, xmm2
movsd qword [esp + 8], xmm1
movsd qword [esp], xmm2
push 0x20
sub esp, 8
cvtps2pd xmm3, xmm3
cvtps2pd xmm4, xmm4
movsd qword [esp], xmm3
push 0x49717c
sub esp, 8
movsd qword [esp], xmm4
push 0x20
push str._c_4.1lf_s_4.1lf_c_4.1lf____4.2lf__2i___4.2f_n
push dword [0x63cda0]
call fcn.004070c0
add esp, 0x40
jmp 0x4094c1
movss xmm0, dword [esi + 0x6c]
sub esp, 0x10
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esi + 0x44]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
movss xmm0, dword [esi + 0x3c]
push 0x20
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
movss xmm0, dword [esi + 0x40]
push 0x49717c
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push 0x20
push str._c_4.1lf_s_4.1lf_c_4.1lf____4.2lf_n
push dword [0x63cda0]
call fcn.004070c0
add esp, 0x34
cmp di, 4
jne 0x4094f0
cmp byte [ebp + 0x10], 0
jne 0x4094d3
cmp byte [ebp + 0x14], 0
je 0x4094f0
push section..data
push 0x495774
push dword [0x63cda0]
call fcn.004070c0
add esp, 0xc
xor edi, edi
inc dword [ebp - 0x10]
mov eax, dword [ebx + 0x59da00]
lea ecx, [eax + 0x38]
push dword [0x63cd9c]
movss xmm0, dword [eax]
cvtps2pd xmm0, xmm0
push 1
push 4
push ecx
movsd qword [ebp - 0x4c], xmm0
movss xmm0, dword [eax + 4]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x44], xmm0
movss xmm0, dword [ecx]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x3c], xmm0
movss xmm0, dword [eax + 0x40]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x34], xmm0
movss xmm0, dword [eax + 0x3c]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x2c], xmm0
movss xmm0, dword [eax + 0x44]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x24], xmm0
call fcn.004587f5
push dword [0x63cd9c]
mov eax, dword [ebx + 0x59da00]
push 1
add eax, 0x3c
push 4
push eax
call fcn.004587f5
push dword [0x63cd9c]
mov eax, dword [ebx + 0x59da00]
push 1
add eax, 0x40
push 4
push eax
call fcn.004587f5
push dword [0x63cd9c]
mov eax, dword [ebx + 0x59da00]
push 1
add eax, 0x44
push 4
push eax
call fcn.004587f5
mov eax, dword [ebx + 0x59da00]
add esp, 0x40
add eax, 0x48
push dword [0x63cd98]
push 1
push 4
push eax
call fcn.004587f5
push dword [0x63cd98]
mov eax, dword [ebx + 0x59da00]
push 1
add eax, 0xc
push 4
push eax
call fcn.004587f5
push dword [0x63cd98]
mov eax, dword [ebx + 0x59da00]
push 1
add eax, 0x4c
push 4
push eax
call fcn.004587f5
push dword [0x63cd98]
mov eax, dword [ebx + 0x59da00]
push 1
add eax, 0x10
push 4
push eax
call fcn.004587f5
add esp, 0x40
cmp byte [0x63c824], 0
je 0x40971d
push dword [0x63cd90]
lea eax, [ebp - 0x4c]
push 1
push 8
push eax
call fcn.004587f5
push dword [0x63cd90]
lea eax, [ebp - 0x44]
push 1
push 8
push eax
call fcn.004587f5
push dword [0x63cd90]
lea eax, [ebp - 0x3c]
push 1
push 8
push eax
call fcn.004587f5
push dword [0x63cd90]
lea eax, [ebp - 0x34]
push 1
push 8
push eax
call fcn.004587f5
add esp, 0x40
lea eax, [ebp - 0x2c]
push dword [0x63cd90]
push 1
push 8
push eax
call fcn.004587f5
push dword [0x63cd90]
lea eax, [ebp - 0x24]
push 1
push 8
push eax
call fcn.004587f5
push dword [0x63cd90]
lea eax, [ebp - 0x54]
push 1
push 8
push eax
call fcn.004587f5
movsx eax, word [ebp + 0x18]
push dword [0x63cd90]
push 1
lea esi, [eax + eax*8]
shl esi, 3
lea eax, [ebp - 0x1c]
push 8
push eax
movss xmm0, dword [esi + 0x4ff390]
cvtps2pd xmm0, xmm0
divsd xmm0, qword [0x61d840]
mulsd xmm0, qword [0x498970]
movsd qword [ebp - 0x1c], xmm0
call fcn.004587f5
movss xmm0, dword [esi + 0x4ff394]
lea eax, [ebp - 0x1c]
cvtps2pd xmm0, xmm0
add esp, 0x40
push dword [0x63cd90]
divsd xmm0, qword [0x61d840]
push 1
push 8
push eax
mulsd xmm0, qword [0x498970]
movsd qword [ebp - 0x1c], xmm0
call fcn.004587f5
add esp, 0x10
inc dword [0x4b3ec4]
jmp 0x409727
movsx eax, word [ebp + 0x18]
lea esi, [eax + eax*8]
shl esi, 3
cmp byte [0x63c823], 0
je 0x4097d8
push dword [0x63cd8c]
lea eax, [ebp - 0x4c]
push 1
push 8
push eax
call fcn.004587f5
push dword [0x63cd8c]
lea eax, [ebp - 0x44]
push 1
push 8
push eax
call fcn.004587f5
push dword [0x63cd8c]
lea eax, [ebp - 0x3c]
push 1
push 8
push eax
call fcn.004587f5
push dword [0x63cd8c]
lea eax, [ebp - 0x34]
push 1
push 8
push eax
call fcn.004587f5
add esp, 0x40
lea eax, [ebp - 0x2c]
push dword [0x63cd8c]
push 1
push 8
push eax
call fcn.004587f5
push dword [0x63cd8c]
lea eax, [ebp - 0x24]
push 1
push 8
push eax
call fcn.004587f5
push dword [0x63cd8c]
lea eax, [esi + 0x4ff390]
push 1
push 8
push eax
call fcn.004587f5
push dword [0x63cd8c]
lea eax, [esi + 0x4ff394]
push 1
push 8
push eax
call fcn.004587f5
add esp, 0x40
cmp byte [0x63c820], 0
je 0x40984f
movsd xmm1, qword [ebp - 0x54]
sub esp, 0x48
movsd xmm0, qword [ebp - 0x24]
movsd qword [esp + 0x40], xmm1
movsd qword [esp + 0x38], xmm0
movsd xmm0, qword [ebp - 0x2c]
movsd qword [esp + 0x30], xmm0
movsd xmm0, qword [ebp - 0x34]
movsd qword [esp + 0x28], xmm1
movsd qword [esp + 0x20], xmm0
movsd xmm0, qword [ebp - 0x3c]
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [ebp - 0x44]
movsd qword [esp + 0x10], xmm1
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0x4c]
movsd qword [esp], xmm0
push str.QB______8.3f_8.3f_8.3f_8.3f_8.3f_8.3f_8.3f_8.3f_8.3f_n
push dword [0x63cd88]
call fcn.004070c0
add esp, 0x50
mov esi, dword [ebp - 0x10]
add ebx, 4
sub dword [ebp + 8], 1
jne 0x409152
cmp byte [ebp + 0x14], 0
pop edi
pop esi
pop ebx
je 0x409878
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x409878
push eax
call fcn.00457b3e
add esp, 4
push section..data
push 0x495774
push dword [0x63cda0]
call fcn.004070c0
add esp, 0xc
mov esp, ebp
pop ebp
ret