Function at 0x40dcd0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x158
mov eax, dword [0x5627bc]
xor eax, esp
mov dword [esp + 0x154], eax
or eax, 0xffffffff
push ebx
push ebp
mov ebp, dword [esp + 0x164]
xor ebx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push esi
xor eax, eax
cmp ebp, ebx
push edi
mov dword [esp + 0x14], ebx
mov dword [0x5669e4], ebx
jle 0x40dd63
jmp 0x40dd20
mov ecx, dword [0x565cd0]
lea esi, [eax + 1]
lea eax, [esp + 0x10]
push eax
push str.tipoaz
push esi
push str.Linee_
push ecx
call sub.rtdb2sdm.dll_GetGenericData
add esp, 0x14
test eax, eax
jl 0x40dd5d
fld dword [esp + 0x10]
call fcn.00523cf0
test eax, eax
jle 0x40dd5d
mov dword [0x5669e4], 1
mov eax, esi
cmp eax, ebp
jl 0x40dd20
mov eax, dword [0x565cd0]
lea edx, [esp + 0x10]
push edx
push str.numcen
push eax
mov dword [esp + 0x24], ebx
call sub.rtdb2sdm.dll_GetMaccInfo
add esp, 0xc
cmp eax, ebx
jge 0x40dda4
push str.numcen
push str.Macc
push str._n_n
neg eax
push eax
push 0x525c40
call sub.WerrtxDll.dll_Ordinal_12
add esp, 0x14
jmp 0x40ddb8
fld dword [esp + 0x10]
fadd qword [0x5259f0]
call fcn.00523cf0
cmp eax, 1
jle 0x40ddc0
mov dword [esp + 0x18], 1
cmp ebp, ebx
jle 0x40de69
mov esi, 1
lea ebx, [esp + 0x1c]
mov edi, 0x565ee0
sub ebx, esi
jmp 0x40dde0
mov edx, dword [0x565cd0]
lea ecx, [esp + 0x10]
push ecx
push str.tcam
push esi
push str.Linee_
push edx
call sub.rtdb2sdm.dll_GetGenericData
add esp, 0x14
test eax, eax
jge 0x40de25
fld dword [0x525c7c]
push str.T_CAMP_default10_msec_n
push 0x525c40
fstp dword [edi]
push str._s:__s
call dword [sym.imp.XLIB.dll_Ordinal_719]
add esp, 0xc
jmp 0x40de2b
fld dword [esp + 0x10]
fstp dword [edi]
mov ecx, dword [0x565cd0]
lea eax, [esp + 0x10]
push eax
push str.tipo
push esi
push str.Linee_
push ecx
call sub.rtdb2sdm.dll_GetGenericData
add esp, 0x14
test eax, eax
jl 0x40deff
mov byte [ebx + esi], 1
add esi, 1
lea edx, [esi - 1]
add edi, 4
cmp edx, ebp
jl 0x40dde0
xor ebx, ebx
mov edi, 1
cmp ebp, edi
jl 0x40dead
lea ebx, [edi + 0x13]
mov ecx, dword [0x565cd0]
lea eax, [esp + 0x10]
push eax
push str.tipo
push edi
push str.Linee_
push ecx
call sub.rtdb2sdm.dll_GetGenericData
mov esi, eax
add esp, 0x14
test esi, esi
jl 0x40df1f
add edi, 1
cmp edi, ebp
mov dword [0x568254], ebx
jle 0x40de75
xor ebx, ebx
mov edx, dword [0x565cd0]
push 0x52eb94
push edx
call sub.rtdb2sdm.dll_GetGenericItem
add esp, 8
cmp eax, ebx
mov dword [0x566870], eax
jge 0x40df50
push str.Errore_in_lettura_tabella_assi__1__n_r
call fcn.00410cf0
mov eax, dword [0x566870]
push 0x52eb94
push 0x525c44
neg eax
push eax
push 0x525c40
call sub.WerrtxDll.dll_Ordinal_12
add esp, 0x14
push 5
call dword [sym.imp.MSVCR80.dll_exit]
push str.Errore_in_lettura_tabella_linee__1__n_r
call fcn.00410cf0
push str.OSC_Errore_in_lettura_dati_macchina_linee
call dword [sym.imp.XLIB.dll_Ordinal_719]
add esp, 8
push 0x10
call dword [sym.imp.MSVCR80.dll_exit]
push str.Errore_in_lettura_tabella_linee__2__n_r
call fcn.00410cf0
push str.tipo
push str.Linee_
push str._n_n
neg esi
push esi
push 0x525c40
call sub.WerrtxDll.dll_Ordinal_12
add esp, 0x18
push 4
call dword [sym.imp.MSVCR80.dll_exit]
xor esi, esi
cmp eax, ebx
mov dword [0x565f80], ebx
jle 0x40dff3
mov ecx, esi
call fcn.0040cdd0
mov edx, dword [0x565cd0]
lea ecx, [esp + 0x10]
push ecx
push str.linea
add esi, 1
push esi
push 0x52eb94
push edx
call sub.rtdb2sdm.dll_GetGenericData
add esp, 0x14
test eax, eax
jl 0x40e02f
fld dword [esp + 0x10]
call fcn.00523cf0
cmp byte [esp + eax + 0x1c], 1
jne 0x40dfe7
mov ecx, dword [0x565cd0]
lea eax, [esp + 0x10]
push eax
push str.numint
push esi
push 0x52eb94
push ecx
call sub.rtdb2sdm.dll_GetGenericData
add esp, 0x14
test eax, eax
jl 0x40e04f
fld dword [esp + 0x10]
call fcn.00523cf0
mov ecx, dword [0x565f80]
mov dword [ecx*4 + 0x5661c0], eax
add ecx, 1
mov dword [0x565f80], ecx
cmp esi, dword [0x566870]
jl 0x40df60
mov edx, dword [0x565f80]
mov edi, dword [sym.imp.MSVCR80.dll_malloc]
lea eax, [edx + edx]
push eax
call edi
add esp, 4
cmp eax, ebx
mov dword [0x568c34], eax
jne 0x40e056
push str.Memoria_insufficiente_per_numero_assi__1__n_r
call fcn.00410cf0
push ebx
push 0x64
push 0x525c40
call sub.WerrtxDll.dll_Ordinal_12
add esp, 0x10
push 6
jmp 0x40e049
push str.Errore_in_lettura_tabella_assi__2__n_r
call fcn.00410cf0
push str.OSC_Errore_in_lettura_dati_macchina_assi
call dword [sym.imp.XLIB.dll_Ordinal_719]
add esp, 8
push 0x10
call dword [sym.imp.MSVCR80.dll_exit]
push str.Errore_in_lettura_tabella_assi__3__n_r
jmp 0x40e034
mov ecx, dword [0x565f80]
xor esi, esi
cmp ecx, ebx
jle 0x40e0f9
jmp 0x40e075
mov eax, dword [0x568c34]
lea ecx, [esp + 0x60]
push ecx
mov word [eax + esi*2], bx
mov eax, dword [esi*4 + 0x5661c0]
mov edx, dword [0x565cd0]
push str.tipax
push eax
push edx
call sub.rtdb2sdm.dll_GetAxesDataNi
add esp, 0x10
cmp eax, ebx
jge 0x40e0b9
push str.tipax
push esi
push str._c_n
neg eax
push eax
push 0x525c40
call sub.WerrtxDll.dll_Ordinal_12
add esp, 0x14
fldz
fld dword [esp + 0x60]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x40e0e6
fld dword [0x528ad8]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x40e0e8
mov eax, dword [0x568c34]
mov word [eax + esi*2], 1
jmp 0x40e0e8
fstp st(0)
mov ecx, dword [0x565f80]
add esi, 1
cmp esi, ecx
jl 0x40e070
add ecx, ecx
push ecx
call edi
add esp, 4
cmp eax, ebx
mov dword [0x566a50], eax
jne 0x40e12b
push str.Memoria_insufficiente_per_numero_assi__2__n_r
call fcn.00410cf0
push ebx
push 0x64
push 0x525c40
call sub.WerrtxDll.dll_Ordinal_12
add esp, 0x10
push 7
jmp 0x40e049
mov edx, dword [0x565f80]
lea eax, [edx*4]
push eax
call edi
add esp, 4
cmp eax, ebx
mov dword [0x566144], eax
jne 0x40e151
push str.Memoria_insufficiente_per_numero_assi__3__n_r
jmp 0x40e016
mov ecx, dword [0x565f80]
xor esi, esi
cmp ecx, ebx
jle 0x40e201
jmp 0x40e175
mov eax, dword [0x566144]
mov ecx, dword [0x5669e4]
lea edx, [esp + 0x10]
push edx
mov dword [eax + esi*4], ecx
mov eax, dword [esi*4 + 0x5661c0]
push str.tipoaz
push eax
mov eax, dword [0x565cd0]
push eax
call sub.rtdb2sdm.dll_GetAxesDataNi
add esp, 0x10
test eax, eax
jge 0x40e1ac
fild dword [0x5669e4]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
call fcn.00523cf0
test eax, eax
jne 0x40e1c3
fld dword [0x528ad8]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
call fcn.00523cf0
cmp eax, ebx
jle 0x40e1e7
cmp eax, 2
jle 0x40e1da
cmp eax, 0x15
jne 0x40e1e7
mov ecx, dword [0x566144]
mov dword [ecx + esi*4], 1
mov edx, dword [0x566144]
mov dword [edx + esi*4], ebx
mov ecx, dword [0x565f80]
add esi, 1
cmp esi, ecx
jl 0x40e170
push 4
push ecx
call dword [sym.imp.MSVCR80.dll_calloc]
add esp, 8
cmp eax, ebx
mov dword [0x565f7c], eax
jne 0x40e237
push str.Memoria_insufficiente_per_numero_assi__4__n_r
call fcn.00410cf0
push ebx
push 0x64
push 0x525c40
call sub.WerrtxDll.dll_Ordinal_12
add esp, 0x10
push 8
jmp 0x40e049
xor esi, esi
cmp dword [0x565f80], ebx
jle 0x40e390
mov ebp, dword [sym.imp.MSVCR80.dll_sprintf]
jmp 0x40e250
mov eax, dword [esi*4 + 0x5661c0]
mov edx, dword [0x565cd0]
lea ecx, [esp + 0x10]
push ecx
push str.linea
push eax
push edx
call sub.rtdb2sdm.dll_GetAxesDataNi
mov edi, eax
add esp, 0x10
cmp edi, ebx
jl 0x40e3a9
fld dword [esp + 0x10]
call fcn.00523cf0
mov edi, dword [esp + 0x18]
cmp edi, ebx
mov ecx, dword [0x566a50]
mov word [ecx + esi*2], ax
je 0x40e2e8
mov eax, dword [esi*4 + 0x5661c0]
lea edx, [esp + 0x10]
push edx
push str.centro
push eax
mov eax, dword [0x565cd0]
push eax
mov dword [esp + 0x24], ebx
call sub.rtdb2sdm.dll_GetAxesDataNi
add esp, 0x10
cmp eax, ebx
jge 0x40e2db
push str.centro
push esi
push str._c_n
neg eax
push eax
push 0x525c40
call sub.WerrtxDll.dll_Ordinal_12
add esp, 0x14
jmp 0x40e2e8
fld dword [esp + 0x10]
call fcn.00523cf0
mov dword [esp + 0x14], eax
mov eax, dword [esi*4 + 0x5661c0]
mov edx, dword [0x565cd0]
lea ecx, [esp + 0x2c]
push ecx
push str.name
push eax
push edx
call sub.rtdb2sdm.dll_GetAxesDataNi
add esp, 0x10
cmp eax, ebx
jge 0x40e335
push str.name
push esi
push str._c_n
neg eax
push eax
push 0x525c40
call sub.WerrtxDll.dll_Ordinal_12
push esi
lea eax, [esp + 0x44]
push str.AX__d
push eax
call ebp
add esp, 0x20
cmp edi, ebx
je 0x40e357
mov ecx, dword [esp + 0x14]
add ecx, 1
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x68]
push str._s__d_
push eax
call ebp
add esp, 0x10
jmp 0x40e36b
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x64]
push 0x525c9c
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x60]
push eax
call fcn.0046cad0
mov ecx, dword [0x565f7c]
mov dword [ecx + esi*4], eax
add esi, 1
add esp, 4
cmp esi, dword [0x565f80]
jl 0x40e250
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00523ce0
add esp, 0x158
ret
push str.Errata_lettura_tabella_assi__n_r
call fcn.00410cf0
push str.linea
push esi
push str._c_n
neg edi
push edi
push 0x525c40
call sub.WerrtxDll.dll_Ordinal_12
add esp, 0x18
push 9
jmp 0x40e049