Function at 0x40dfe0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp byte [0x525388], 0
push esi
push edi
jne 0x40e008
cmp byte [0x52538f], 0
jne 0x40e008
mov ax, word [0x5250e2]
add ax, ax
movzx edi, ax
jmp 0x40e026
mov ax, word [0x5250f6]
add ax, word [0x5250f4]
add ax, ax
movzx edi, ax
mov eax, 0x1068
cmp di, ax
cmovg edi, eax
push 0x4b6200
push str.BVMIMX
push 0x4b5c00
push str._s_s_s
push 0x4b5a00
call fcn.00401540
push 0x4b5a00
call fcn.004026a0
push 0x495470
push 0x4b5a00
call fcn.00457e2c
add esp, 0x20
mov dword [0x63cd9c], eax
mov esi, 0x4c24b4
mov dword [ebp - 0x28], 3
push eax
push 1
push 0x8348
push 0x4c24e0
call fcn.004580de
mov eax, 1
add esp, 0x10
cmp ax, di
jg 0x40e0b8
mov ecx, 8
movzx edx, di
nop dword [eax + eax]
mov eax, dword [esi]
lea ecx, [ecx + 8]
movsd xmm0, qword [ecx + 0x4c24d8]
movsd qword [ecx + eax - 8], xmm0
sub edx, 1
jne 0x40e0a0
add esi, 4
sub dword [ebp - 0x28], 1
je 0x40e0c8
mov eax, dword [0x63cd9c]
jmp 0x40e071
push dword [0x63cd9c]
push 1
push 0x8348
push 0x4c24e0
call fcn.004580de
push dword [0x63cd9c]
push 1
push 0x8348
push 0x4c24e0
call fcn.004580de
push dword [0x63cd9c]
push 1
push 0x8348
push 0x4c24e0
call fcn.004580de
add esp, 0x30
mov dword [ebp - 0x28], 3
mov esi, 0x4c24c4
nop dword [eax]
push dword [0x63cd9c]
push 1
push 0x8348
push 0x4c24e0
call fcn.004580de
mov eax, 1
add esp, 0x10
cmp ax, di
jg 0x40e168
mov ecx, 8
movzx edx, di
nop dword [eax]
mov eax, dword [esi]
lea ecx, [ecx + 8]
movsd xmm0, qword [ecx + 0x4c24d8]
movsd qword [ecx + eax - 8], xmm0
sub edx, 1
jne 0x40e150
add esi, 4
sub dword [ebp - 0x28], 1
jne 0x40e120
mov eax, dword [0x63cd9c]
test eax, eax
je 0x40e183
push eax
call fcn.00457b3e
add esp, 4
call fcn.00404d30
mov eax, 1
mov edi, eax
mov dword [ebp - 0x28], eax
cmp di, word [0x5250e4]
jg 0x40e99c
nop
cwde
mov ecx, 1
imul edx, eax, 0x68
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], edx
movzx edx, word [edx + 0x5f58e4]
cmp di, dx
jg 0x40e988
mov edx, dword [eax*4 + 0x524d80]
movsx edi, cx
mov dword [ebp - 0x10], edi
lea ecx, [edi + edi*8]
shl ecx, 3
mov dword [ebp - 0x38], ecx
cmp byte [edx + ecx + 0x23], 0
jne 0x40e969
movsx eax, word [edx + ecx + 0x2a]
xor esi, esi
mov edi, dword [ebp - 0x24]
imul eax, eax, 0x5c
movss xmm0, dword [eax + 0x61d880]
movzx eax, word [edx + ecx + 0x20]
cvtps2pd xmm0, xmm0
mov dword [ebp - 0x14], eax
movzx eax, word [edi + 0x5f58e4]
mulsd xmm0, qword [0x4966c8]
movsd qword [ebp - 0x40], xmm0
cmp word [ebp - 0x20], ax
jge 0x40e22b
mov ax, word [edx + ecx + 0x1c]
add ax, word [ebp - 0x14]
movzx eax, ax
jmp 0x40e235
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0x5f58e0]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
movzx eax, ax
mov dword [ebp - 0x18], eax
movsx eax, di
mov edi, dword [ebp - 0x10]
mov dword [ebp - 8], eax
movsx eax, word [edx + ecx + 0x1c]
add eax, dword [ebp - 8]
cmp dword [ebp - 8], eax
jg 0x40e4d1
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
movsx edi, word [edx + ecx + 0x1c]
inc esi
add edi, eax
mov dword [ebp - 0xc], esi
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], edi
movzx ecx, ax
mov eax, dword [ebp - 0x2c]
movzx eax, ax
cmove ecx, eax
movzx esi, cx
movsx eax, si
mov dword [ebp - 0x34], eax
imul edx, eax, 0x64
mov eax, dword [ebp - 0xc]
cwde
push esi
mov ecx, dword [eax*4 + 0x59da00]
mov eax, dword [edx + 0x5253f0]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
movsx ecx, ax
mov eax, dword [edx + 0x5253f4]
mov ecx, dword [ecx*4 + 0x59da00]
mov dword [ecx + 4], eax
call fcn.00402720
mov eax, dword [ebp - 0xc]
mov ecx, 8
movsd xmm1, qword [ebp - 0x40]
movsx esi, ax
fstp dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x30]
mov eax, dword [esi*4 + 0x59da00]
movss dword [eax + 0x68], xmm0
movaps xmm0, xmm1
subsd xmm0, qword [0x61d828]
mov eax, dword [esi*4 + 0x59da00]
cvtpd2ps xmm0, xmm0
movss dword [eax + 0x58], xmm0
movaps xmm0, xmm1
subsd xmm0, qword [0x61d820]
mov eax, dword [esi*4 + 0x59da00]
cvtpd2ps xmm0, xmm0
movss dword [eax + 0x5c], xmm0
movaps xmm0, xmm1
subsd xmm0, qword [0x61d868]
mov eax, dword [esi*4 + 0x59da00]
cvtpd2ps xmm0, xmm0
movss dword [eax + 0x60], xmm0
movaps xmm0, xmm1
subsd xmm0, qword [0x61d860]
mov eax, dword [esi*4 + 0x59da00]
cvtpd2ps xmm0, xmm0
movss dword [eax + 0x64], xmm0
mov eax, dword [esi*4 + 0x59da00]
mov dword [eax + 0x3c], 0
mov eax, dword [esi*4 + 0x59da00]
mov dword [eax + 0x44], 0
mov eax, dword [esi*4 + 0x59da00]
mov dword [eax + 0x38], 0
mov eax, dword [esi*4 + 0x59da00]
mov dword [eax + 0x40], 0
xor eax, eax
cmp dword [ebp - 0x1c], edi
cmove eax, ecx
mov ecx, dword [ebp - 0x34]
shl ecx, 4
sub ecx, eax
mov eax, dword [0x4c24b8]
movsd xmm0, qword [ecx + eax]
mov eax, dword [esi*4 + 0x59da00]
cvtpd2ps xmm0, xmm0
movss dword [eax + 0xc], xmm0
mov eax, dword [0x4c24b4]
movsd xmm0, qword [ecx + eax]
mov eax, dword [esi*4 + 0x59da00]
cvtpd2ps xmm0, xmm0
movss dword [eax + 0x10], xmm0
mov eax, dword [0x4c24bc]
movsd xmm0, qword [ecx + eax]
cvtpd2ps xmm0, xmm0
mov eax, dword [esi*4 + 0x59da00]
movss dword [eax + 8], xmm0
mov eax, dword [0x4c24c8]
movsd xmm0, qword [ecx + eax]
mov eax, dword [esi*4 + 0x59da00]
cvtpd2ps xmm0, xmm0
movss dword [eax + 0x24], xmm0
mov eax, dword [0x4c24c4]
movsd xmm0, qword [ecx + eax]
mov eax, dword [esi*4 + 0x59da00]
cvtpd2ps xmm0, xmm0
movss dword [eax + 0x28], xmm0
mov eax, dword [0x4c24cc]
movsd xmm0, qword [ecx + eax]
xor ecx, ecx
mov eax, dword [esi*4 + 0x59da00]
cvtpd2ps xmm0, xmm0
movss dword [eax + 0x20], xmm0
mov eax, dword [esi*4 + 0x59da00]
mov byte [eax + 0x70], 0
mov eax, dword [esi*4 + 0x59da00]
mov byte [eax + 0x71], 0
mov eax, dword [esi*4 + 0x59da00]
mov word [eax + 0x72], cx
mov ecx, dword [esi*4 + 0x59da00]
lea eax, [ecx + 0x18]
push eax
lea eax, [ecx + 0x14]
push eax
lea eax, [ecx + 0x1c]
push eax
lea eax, [ecx + 0x10]
push eax
lea eax, [ecx + 0xc]
push eax
lea eax, [ecx + 8]
push eax
call fcn.004035b0
mov ecx, dword [esi*4 + 0x59da00]
lea eax, [ecx + 0x30]
push eax
lea eax, [ecx + 0x2c]
push eax
lea eax, [ecx + 0x34]
push eax
lea eax, [ecx + 0x28]
push eax
lea eax, [ecx + 0x24]
push eax
lea eax, [ecx + 0x20]
push eax
call fcn.004035b0
mov ecx, dword [ebp - 4]
add esp, 0x34
mov eax, dword [ebp - 0x18]
inc eax
movsx esi, ax
mov edx, dword [ecx*4 + 0x524d80]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
movsx eax, word [edx + ecx + 0x1c]
add eax, dword [ebp - 8]
cmp esi, eax
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
jle 0x40e264
mov edi, dword [ebp - 0x10]
movsd xmm0, qword [0x61d840]
sub esp, 8
mulsd xmm0, qword [0x496628]
movzx eax, si
mov dword [ebp - 0x38], eax
movsd qword [esp], xmm0
xorps xmm0, xmm0
push esi
sub esp, 8
movsd qword [esp], xmm0
call fcn.00402240
movsd xmm0, qword [0x61d850]
add esp, 0x14
push 1
push esi
sub esp, 0x10
movsd qword [esp + 8], xmm0
movsd xmm0, qword [0x61d858]
movsd qword [esp], xmm0
call fcn.004017f0
mov eax, 1
add esp, 0x18
cmp ax, si
jg 0x40e591
movss xmm1, dword [0x4989c0]
mov ecx, 0x59da04
movzx edx, si
mov eax, dword [ecx]
lea ecx, [ecx + 4]
movss xmm0, dword [eax + 0x14]
mulss xmm0, xmm1
movss dword [eax + 0x14], xmm0
mov eax, dword [ecx - 4]
movss xmm0, dword [eax + 0x18]
mulss xmm0, xmm1
movss dword [eax + 0x18], xmm0
mov eax, dword [ecx - 4]
movss xmm0, dword [eax + 0x2c]
mulss xmm0, xmm1
movss dword [eax + 0x2c], xmm0
mov eax, dword [ecx - 4]
movss xmm0, dword [eax + 0x30]
mulss xmm0, xmm1
movss dword [eax + 0x30], xmm0
sub edx, 1
jne 0x40e546
movsd xmm0, qword [0x61d840]
sub esp, 8
mulsd xmm0, qword [0x496628]
movsd qword [esp], xmm0
xorps xmm0, xmm0
push esi
sub esp, 8
movsd qword [esp], xmm0
call fcn.00402240
movsd xmm0, qword [0x61d850]
add esp, 0x14
push 0
push esi
sub esp, 0x10
movsd qword [esp + 8], xmm0
movsd xmm0, qword [0x61d858]
movsd qword [esp], xmm0
call fcn.004017f0
mov eax, 1
add esp, 0x18
cmp ax, si
jg 0x40e713
mov edx, 0x59da04
movzx edi, si
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
mov eax, dword [ecx + 0xc]
mov dword [ecx + 0x48], eax
mov ecx, dword [edx - 4]
mov eax, dword [ecx + 0x10]
mov dword [ecx + 0x4c], eax
mov ecx, dword [edx - 4]
mov eax, dword [ecx + 0x24]
mov dword [ecx + 0x50], eax
mov ecx, dword [edx - 4]
mov eax, dword [ecx + 0x28]
mov dword [ecx + 0x54], eax
sub edi, 1
jne 0x40e600
movss xmm1, dword [0x4989c0]
mov ecx, 0x59da04
mov edi, dword [ebp - 0x10]
movzx edx, si
nop
mov eax, dword [ecx]
lea ecx, [ecx + 4]
movss xmm0, dword [eax + 0x14]
mulss xmm0, xmm1
movss dword [eax + 0x14], xmm0
mov eax, dword [ecx - 4]
movss xmm0, dword [eax + 0x18]
mulss xmm0, xmm1
movss dword [eax + 0x18], xmm0
mov eax, dword [ecx - 4]
movss xmm0, dword [eax + 0x2c]
mulss xmm0, xmm1
movss dword [eax + 0x2c], xmm0
mov eax, dword [ecx - 4]
movss xmm0, dword [eax + 0x30]
mulss xmm0, xmm1
movss dword [eax + 0x30], xmm0
sub edx, 1
jne 0x40e640
movsd xmm0, qword [0x61d840]
sub esp, 8
mulsd xmm0, qword [0x496628]
movsd qword [esp], xmm0
xorps xmm0, xmm0
push dword [ebp - 0x38]
sub esp, 8
movsd qword [esp], xmm0
call fcn.00402240
add esp, 0x14
movzx edx, si
mov eax, 0x59da04
mov ecx, dword [eax]
movss xmm0, dword [ecx + 0x24]
comiss xmm0, dword [ecx + 0xc]
jbe 0x40e6d3
movss dword [ecx + 0xc], xmm0
mov ecx, dword [eax]
movss xmm0, dword [ecx + 0x28]
comiss xmm0, dword [ecx + 0x10]
jbe 0x40e6e5
movss dword [ecx + 0x10], xmm0
mov ecx, dword [eax]
movss xmm0, dword [ecx + 0x50]
comiss xmm0, dword [ecx + 0x48]
jbe 0x40e6f7
movss dword [ecx + 0x48], xmm0
mov ecx, dword [eax]
movss xmm0, dword [ecx + 0x54]
comiss xmm0, dword [ecx + 0x4c]
jbe 0x40e709
movss dword [ecx + 0x4c], xmm0
add eax, 4
sub edx, 1
jne 0x40e6c1
jmp 0x40e73f
movsd xmm0, qword [0x61d840]
sub esp, 8
mulsd xmm0, qword [0x496628]
movsd qword [esp], xmm0
xorps xmm0, xmm0
push esi
sub esp, 8
movsd qword [esp], xmm0
call fcn.00402240
add esp, 0x14
mov eax, dword [ebp - 4]
lea ecx, [edi + edi*8]
mov eax, dword [eax*4 + 0x524d80]
movzx eax, byte [eax + ecx*8 + 0x28]
cmp eax, 0xc
ja case.0x40e75a.9
jmp dword [eax*4 + 0x40f1e0]
mov eax, dword [str.frei]
mov dword [0x4b5900], eax
mov al, byte [0x497cdc]
mov byte [0x4b5904], al
jmp case.0x40e75a.9
mov al, byte [0x497ce8]
movq xmm0, qword [str.Unterzug]
mov byte [0x4b5908], al
jmp 0x40e845
movups xmm0, xmmword [str.gelenkig_gelagert]
mov ax, word [0x497cfc]
mov word [0x4b5910], ax
movups xmmword [0x4b5900], xmm0
jmp case.0x40e75a.9
movq xmm0, qword [str.eingespannt]
mov eax, dword [0x497d08]
jmp 0x40e840
movups xmm0, xmmword [str.Symmetrie_Achse]
movups xmmword [0x4b5900], xmm0
jmp case.0x40e75a.9
mov ax, word [0x497d24]
movq xmm0, qword [str.Drehfeder]
mov word [0x4b5908], ax
jmp 0x40e845
movups xmm0, xmmword [str.Dreh__Senkfeder]
mov al, byte [0x497d38]
mov byte [0x4b5910], al
movups xmmword [0x4b5900], xmm0
jmp case.0x40e75a.9
movups xmm0, xmmword [str.Vertikale_Feder]
movups xmmword [0x4b5900], xmm0
jmp case.0x40e75a.9
mov eax, dword [0x497d54]
movq xmm0, qword [str.Zwischenwand]
mov dword [0x4b5908], eax
mov al, byte [0x497d58]
mov byte [0x4b590c], al
jmp 0x40e845
movq xmm0, qword [str.Trennstelle]
mov eax, dword [0x497d64]
mov dword [0x4b5908], eax
movq qword [0x4b5900], xmm0
push section..data
push 0x495774
push dword [0x63cda0]
call fcn.004070c0
mov eax, dword [ebp - 4]
lea ecx, [edi + edi*8]
add esp, 4
mov eax, dword [eax*4 + 0x524d80]
movsx eax, word [eax + ecx*8 + 0x2a]
imul eax, eax, 0x5c
movss xmm0, dword [eax + 0x61d880]
mulss xmm0, dword [0x496750]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.__h___4.1lf_cm
push 0x4b5800
call fcn.00401540
add esp, 0x10
cmp word [0x5250e4], 1
jne 0x40e8dd
push 0x4b5900
push str._auf_dem_Rand_
push edi
push 2
push str.Seite
push section..data
push str._s_s_d_s_s_n
push dword [0x63cda0]
call fcn.004070c0
add esp, 0x20
jmp 0x40e95a
cmp word [0x525134], 0
push 0x4b5800
push 0x4b5900
push 0x495954
je 0x40e902
mov ax, word [0x525114]
cmp word [ebp - 0x28], ax
jg 0x40e92c
push dword [ebp - 4]
push str._des_Bereichs
push edi
push 2
push str.Seite
push section..data
push 0x497da0
push dword [0x63cda0]
call fcn.004070c0
add esp, 0x2c
jmp 0x40e95a
mov ecx, dword [ebp - 4]
cwde
sub ecx, eax
push ecx
push 1
push 0x497db4
push edi
push 2
push str.Seite
push section..data
push str._s_s_d_s_d_s_s_s_n
push dword [0x63cda0]
call fcn.004070c0
add esp, 0x30
push esi
push dword [ebp - 0x14]
call fcn.00407160
mov eax, dword [ebp - 4]
add esp, 8
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
inc ecx
mov dword [ebp - 0x20], ecx
movzx esi, word [edx + 0x5f58e4]
cmp cx, si
jle 0x40e1c2
mov edi, 1
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp ax, word [0x5250e4]
jle 0x40e1a0
push section..data
push 0x495774
push dword [0x63cda0]
call fcn.004070c0
push 0x4b6200
push str.BV_AS
push 0x4b5c00
push str._s_s_s
push 0x4b5a00
call fcn.00401540
push 0x495578
push 0x4b5a00
call fcn.00457e2c
mov si, word [0x5250e4]
add esp, 0x28
mov dword [0x63cd9c], eax
mov ecx, 1
mov dword [ebp - 8], ecx
cmp di, si
jg 0x40f1c6
nop
movsx edx, cx
mov eax, 1
imul ecx, edx, 0x68
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], ecx
movzx ecx, word [ecx + 0x5f58e4]
cmp di, cx
jg 0x40f1b6
mov ecx, dword [edx*4 + 0x524d80]
cwde
lea esi, [eax + eax*8]
shl esi, 3
mov dword [ebp - 0x24], esi
cmp byte [ecx + esi + 0x23], 0
jne 0x40f18d
movsx eax, word [ecx + esi + 0x2a]
xor edi, edi
movzx edx, word [ecx + esi + 0x20]
imul eax, eax, 0x5c
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x1c]
movss xmm0, dword [eax + 0x61d880]
movzx eax, word [edx + 0x5f58e4]
mov edx, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x4966c8]
movsd qword [ebp - 0x40], xmm0
cmp word [ebp - 0x20], ax
jge 0x40ea8a
mov ax, word [ecx + esi + 0x1c]
add ax, dx
movzx eax, ax
jmp 0x40ea94
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0x5f58e0]
mov dword [ebp - 0x2c], eax
movzx eax, dx
mov dword [ebp - 0x28], eax
movsx eax, word [ecx + esi + 0x1c]
movsx edx, dx
add eax, edx
cmp edx, eax
jg 0x40eec0
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x28]
inc edi
mov dword [ebp - 0x14], edi
movsx edi, word [ecx + esi + 0x1c]
movzx ecx, ax
add edi, edx
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x10], edi
movzx eax, ax
cmove ecx, eax
movzx esi, cx
movsx eax, si
mov dword [ebp - 0x34], eax
imul edx, eax, 0x64
mov eax, dword [ebp - 0x14]
cwde
push esi
mov ecx, dword [eax*4 + 0x59da00]
mov eax, dword [edx + 0x5253f0]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
movsx ecx, ax
mov eax, dword [edx + 0x5253f4]
mov ecx, dword [ecx*4 + 0x59da00]
mov dword [ecx + 4], eax
call fcn.00402720
mov eax, dword [ebp - 0x14]
xor edx, edx
movsd xmm1, qword [ebp - 0x40]
movsx ecx, ax
fstp dword [ebp - 0x38]
movss xmm0, dword [ebp - 0x38]
mov esi, dword [ebp - 0x34]
mov eax, dword [ecx*4 + 0x59da00]
movss dword [eax + 0x68], xmm0
movaps xmm0, xmm1
subsd xmm0, qword [0x61d828]
mov eax, dword [ecx*4 + 0x59da00]
cvtpd2ps xmm0, xmm0
movss dword [eax + 0x58], xmm0
movaps xmm0, xmm1
subsd xmm0, qword [0x61d820]
mov eax, dword [ecx*4 + 0x59da00]
cvtpd2ps xmm0, xmm0
movss dword [eax + 0x5c], xmm0
movaps xmm0, xmm1
subsd xmm0, qword [0x61d868]
mov eax, dword [ecx*4 + 0x59da00]
cvtpd2ps xmm0, xmm0
movss dword [eax + 0x60], xmm0
movaps xmm0, xmm1
subsd xmm0, qword [0x61d860]
mov eax, dword [ecx*4 + 0x59da00]
cvtpd2ps xmm0, xmm0
movss dword [eax + 0x64], xmm0
mov eax, dword [ecx*4 + 0x59da00]
mov dword [eax + 0x3c], 0
mov eax, dword [ecx*4 + 0x59da00]
mov dword [eax + 0x44], 0
mov eax, dword [ecx*4 + 0x59da00]
mov dword [eax + 0x38], 0
mov eax, dword [ecx*4 + 0x59da00]
mov dword [eax + 0x40], 0
mov eax, dword [ecx*4 + 0x59da00]
mov byte [eax + 0x70], 0
mov eax, dword [ecx*4 + 0x59da00]
mov byte [eax + 0x71], 0
mov eax, dword [ecx*4 + 0x59da00]
mov word [eax + 0x72], dx
xor eax, eax
cmp dword [ebp - 0x10], edi
mov edx, 8
cmove eax, edx
shl esi, 4
sub esi, eax
mov eax, dword [0x4c24b4]
movsd xmm6, qword [esi + eax]
mov eax, dword [0x4c24b8]
movsd xmm7, qword [esi + eax]
mov eax, dword [0x4c24bc]
movsd xmm5, qword [esi + eax]
mov edi, dword [ebp - 0xc]
movaps xmm4, xmm5
mov edx, dword [ebp - 0x24]
addsd xmm4, xmm5
mov eax, dword [edi*4 + 0x524d80]
movss xmm3, dword [eax + edx + 0x14]
movss xmm2, dword [eax + edx + 0x10]
cvtps2pd xmm2, xmm2
mov eax, dword [ecx*4 + 0x59da00]
cvtps2pd xmm3, xmm3
movaps xmm1, xmm2
mulsd xmm1, xmm6
movaps xmm0, xmm3
mulsd xmm0, xmm7
mulsd xmm1, xmm2
mulsd xmm0, xmm3
addsd xmm1, xmm0
movaps xmm0, xmm4
mulsd xmm0, xmm2
mulsd xmm0, xmm3
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax + 0xc], xmm0
mov eax, dword [edi*4 + 0x524d80]
movss xmm3, dword [eax + edx + 0x10]
movss xmm1, dword [eax + edx + 0x14]
cvtps2pd xmm1, xmm1
mov eax, dword [ecx*4 + 0x59da00]
cvtps2pd xmm3, xmm3
movaps xmm2, xmm1
movaps xmm0, xmm3
mulsd xmm2, xmm6
mulsd xmm0, xmm7
subsd xmm7, xmm6
mulsd xmm2, xmm1
mulsd xmm0, xmm3
mulsd xmm3, xmm4
addsd xmm2, xmm0
mulsd xmm3, xmm1
addsd xmm2, xmm3
cvtpd2ps xmm0, xmm2
movss dword [eax + 0x10], xmm0
mov eax, dword [edi*4 + 0x524d80]
movss xmm2, dword [eax + edx + 0x10]
movss xmm3, dword [eax + edx + 0x14]
movaps xmm1, xmm2
mulss xmm1, xmm2
movaps xmm0, xmm3
mov eax, dword [ecx*4 + 0x59da00]
mulss xmm0, xmm3
subss xmm1, xmm0
cvtps2pd xmm0, xmm2
cvtps2pd xmm1, xmm1
mulsd xmm7, xmm0
cvtps2pd xmm0, xmm3
mulsd xmm1, xmm5
mulsd xmm7, xmm0
subsd xmm1, xmm7
cvtpd2ps xmm0, xmm1
movss dword [eax + 8], xmm0
mov ecx, dword [ecx*4 + 0x59da00]
lea eax, [ecx + 0x18]
push eax
lea eax, [ecx + 0x14]
push eax
lea eax, [ecx + 0x1c]
push eax
lea eax, [ecx + 0x10]
push eax
lea eax, [ecx + 0xc]
push eax
lea eax, [ecx + 8]
push eax
call fcn.004035b0
mov eax, dword [0x4c24c4]
movsd xmm6, qword [esi + eax]
mov eax, dword [0x4c24c8]
movsd xmm7, qword [esi + eax]
mov eax, dword [0x4c24cc]
movsd xmm5, qword [esi + eax]
mov eax, dword [edi*4 + 0x524d80]
mov esi, dword [ebp - 0x24]
movaps xmm4, xmm5
mov edi, dword [ebp - 0x14]
addsd xmm4, xmm5
mov edx, dword [ebp - 0xc]
movsx ecx, di
movss xmm3, dword [eax + esi + 0x14]
movss xmm2, dword [eax + esi + 0x10]
cvtps2pd xmm2, xmm2
mov eax, dword [ecx*4 + 0x59da00]
cvtps2pd xmm3, xmm3
movaps xmm1, xmm2
mulsd xmm1, xmm6
movaps xmm0, xmm3
mulsd xmm0, xmm7
mulsd xmm1, xmm2
mulsd xmm0, xmm3
addsd xmm1, xmm0
movaps xmm0, xmm4
mulsd xmm0, xmm2
mulsd xmm0, xmm3
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax + 0x24], xmm0
mov eax, dword [edx*4 + 0x524d80]
movss xmm3, dword [eax + esi + 0x10]
movss xmm1, dword [eax + esi + 0x14]
cvtps2pd xmm1, xmm1
mov eax, dword [ecx*4 + 0x59da00]
cvtps2pd xmm3, xmm3
movaps xmm2, xmm1
movaps xmm0, xmm3
mulsd xmm2, xmm6
mulsd xmm0, xmm7
subsd xmm7, xmm6
mulsd xmm2, xmm1
mulsd xmm0, xmm3
mulsd xmm3, xmm4
addsd xmm2, xmm0
mulsd xmm3, xmm1
addsd xmm2, xmm3
cvtpd2ps xmm0, xmm2
movss dword [eax + 0x28], xmm0
mov eax, dword [edx*4 + 0x524d80]
movss xmm2, dword [eax + esi + 0x10]
movss xmm3, dword [eax + esi + 0x14]
movaps xmm1, xmm2
mulss xmm1, xmm2
movaps xmm0, xmm3
mov eax, dword [ecx*4 + 0x59da00]
mulss xmm0, xmm3
subss xmm1, xmm0
cvtps2pd xmm0, xmm2
cvtps2pd xmm1, xmm1
mulsd xmm7, xmm0
cvtps2pd xmm0, xmm3
mulsd xmm1, xmm5
mulsd xmm7, xmm0
subsd xmm1, xmm7
cvtpd2ps xmm0, xmm1
movss dword [eax + 0x20], xmm0
mov ecx, dword [ecx*4 + 0x59da00]
lea eax, [ecx + 0x30]
push eax
lea eax, [ecx + 0x2c]
push eax
lea eax, [ecx + 0x34]
push eax
lea eax, [ecx + 0x28]
push eax
lea eax, [ecx + 0x24]
push eax
lea eax, [ecx + 0x20]
push eax
call fcn.004035b0
mov eax, dword [ebp - 0x28]
add esp, 0x34
mov ecx, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x28], eax
mov ecx, dword [ecx*4 + 0x524d80]
cwde
mov dword [ebp - 0x10], eax
movsx eax, word [ecx + esi + 0x1c]
mov esi, dword [ebp - 0x18]
movsx edx, si
mov esi, dword [ebp - 0x24]
add eax, edx
cmp dword [ebp - 0x10], eax
jle 0x40eab2
movsd xmm0, qword [0x61d840]
sub esp, 8
mulsd xmm0, qword [0x496628]
movzx eax, di
mov dword [ebp - 0x38], eax
movsd qword [esp], xmm0
xorps xmm0, xmm0
push edi
sub esp, 8
movsd qword [esp], xmm0
call fcn.00402240
movsd xmm0, qword [0x61d850]
add esp, 0x14
push 1
push edi
sub esp, 0x10
movsd qword [esp + 8], xmm0
movsd xmm0, qword [0x61d858]
movsd qword [esp], xmm0
call fcn.004017f0
mov esi, 1
add esp, 0x18
cmp si, di
jg 0x40ef7b
movss xmm1, dword [0x496800]
mov ecx, 0x59da04
movzx edx, di
mov eax, dword [ecx]
lea ecx, [ecx + 4]
movss xmm0, dword [eax + 0x14]
xorps xmm0, xmm1
movss dword [eax + 0x14], xmm0
mov eax, dword [ecx - 4]
movss xmm0, dword [eax + 0x18]
xorps xmm0, xmm1
movss dword [eax + 0x18], xmm0
mov eax, dword [ecx - 4]
movss xmm0, dword [eax + 0x2c]
xorps xmm0, xmm1
movss dword [eax + 0x2c], xmm0
mov eax, dword [ecx - 4]
movss xmm0, dword [eax + 0x30]
xorps xmm0, xmm1
movss dword [eax + 0x30], xmm0
sub edx, esi
jne 0x40ef35
movsd xmm0, qword [0x61d840]
sub esp, 8
mulsd xmm0, qword [0x496628]
movsd qword [esp], xmm0
xorps xmm0, xmm0
push edi
sub esp, 8
movsd qword [esp], xmm0
call fcn.00402240
movsd xmm0, qword [0x61d850]
add esp, 0x14
push 0
push edi
sub esp, 0x10
movsd qword [esp + 8], xmm0
movsd xmm0, qword [0x61d858]
movsd qword [esp], xmm0
call fcn.004017f0
add esp, 0x18
cmp si, di
jg 0x40f161
mov edx, 0x59da04
movzx esi, di
mov ecx, dword [edx]
lea edx, [edx + 4]
mov eax, dword [ecx + 0xc]
mov dword [ecx + 0x48], eax
mov ecx, dword [edx - 4]
mov eax, dword [ecx + 0x10]
mov dword [ecx + 0x4c], eax
mov ecx, dword [edx - 4]
mov eax, dword [ecx + 0x24]
mov dword [ecx + 0x50], eax
mov ecx, dword [edx - 4]
mov eax, dword [ecx + 0x28]
mov dword [ecx + 0x54], eax
sub esi, 1
jne 0x40efe1
movss xmm1, dword [0x496800]
mov ecx, 0x59da04
movzx edx, di
nop dword [eax]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
movss xmm0, dword [eax + 0x14]
xorps xmm0, xmm1
movss dword [eax + 0x14], xmm0
mov eax, dword [ecx - 4]
movss xmm0, dword [eax + 0x18]
xorps xmm0, xmm1
movss dword [eax + 0x18], xmm0
mov eax, dword [ecx - 4]
movss xmm0, dword [eax + 0x2c]
xorps xmm0, xmm1
movss dword [eax + 0x2c], xmm0
mov eax, dword [ecx - 4]
movss xmm0, dword [eax + 0x30]
xorps xmm0, xmm1
movss dword [eax + 0x30], xmm0
sub edx, 1
jne 0x40f020
movsd xmm0, qword [0x61d840]
sub esp, 8
mulsd xmm0, qword [0x496628]
movsd qword [esp], xmm0
xorps xmm0, xmm0
push dword [ebp - 0x38]
sub esp, 8
movsd qword [esp], xmm0
call fcn.00402240
add esp, 0x14
movzx edx, di
mov eax, 0x59da04
nop dword [eax]
mov ecx, dword [eax]
movss xmm0, dword [ecx + 0x24]
comiss xmm0, dword [ecx + 0xc]
jbe 0x40f0b2
movss dword [ecx + 0xc], xmm0
mov ecx, dword [eax]
movss xmm0, dword [ecx + 0x28]
comiss xmm0, dword [ecx + 0x10]
jbe 0x40f0c4
movss dword [ecx + 0x10], xmm0
mov ecx, dword [eax]
movss xmm0, dword [ecx + 0x50]
comiss xmm0, dword [ecx + 0x48]
jbe 0x40f0d6
movss dword [ecx + 0x48], xmm0
mov ecx, dword [eax]
movss xmm0, dword [ecx + 0x54]
comiss xmm0, dword [ecx + 0x4c]
jbe 0x40f0e8
movss dword [ecx + 0x4c], xmm0
add eax, 4
sub edx, 1
jne 0x40f0a0
mov esi, 0x59da04
movzx edi, di
nop dword [eax + eax]
push dword [0x63cd9c]
mov eax, dword [esi]
push 1
add eax, 0x38
push 4
push eax
call fcn.004587f5
push dword [0x63cd9c]
mov eax, dword [esi]
push 1
add eax, 0x3c
push 4
push eax
call fcn.004587f5
push dword [0x63cd9c]
mov eax, dword [esi]
push 1
add eax, 0x40
push 4
push eax
call fcn.004587f5
push dword [0x63cd9c]
mov eax, dword [esi]
push 1
add eax, 0x44
push 4
push eax
call fcn.004587f5
add esp, 0x40
lea esi, [esi + 4]
sub edi, 1
jne 0x40f100
jmp 0x40f18d
movsd xmm0, qword [0x61d840]
sub esp, 8
mulsd xmm0, qword [0x496628]
movsd qword [esp], xmm0
xorps xmm0, xmm0
push edi
sub esp, 8
movsd qword [esp], xmm0
call fcn.00402240
add esp, 0x14
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
movzx edx, word [ecx + 0x5f58e4]
cmp ax, dx
mov edx, dword [ebp - 0xc]
jle 0x40ea24
mov si, word [0x5250e4]
mov edi, 1
mov ecx, dword [ebp - 8]
inc ecx
mov dword [ebp - 8], ecx
cmp cx, si
jle 0x40ea00
mov eax, dword [0x63cd9c]
pop edi
pop esi
test eax, eax
je 0x40f1da
push eax
call fcn.00457b3e
add esp, 4
mov esp, ebp
pop ebp
ret