Function at 0x402750
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x2b4
mov eax, dword [0x5627bc]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
push esi
xor esi, esi
cmp dword [0x565c24], 1
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x54], esi
je 0x402f3a
mov ecx, dword [0x562e90]
cmp ecx, esi
jle 0x4027c3
mov eax, 0x568278
mov edx, ecx
cmp dword [eax - 0x18], 0
je 0x4027a9
add esi, 1
mov ecx, dword [eax]
cmp ecx, dword [esp + 0x48]
jbe 0x4027b5
mov dword [esp + 0x48], ecx
add eax, 0xb8
sub edx, 1
jne 0x4027a0
mov dword [esp + 0x4c], esi
cmp dword [0x5665f0], 0
je 0x402f3a
test esi, esi
je 0x402f3a
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x10], 0x12c
jne 0x402811
mov ebx, dword [sym.imp.MSVCR80.dll_sprintf]
lea ecx, [esp + 0x238]
push str._tmp_osc.tmp
push ecx
call ebx
lea edx, [esp + 0x240]
push 0x525c24
push edx
call dword [sym.imp.MSVCR80.dll_fopen]
add esp, 0x10
jmp 0x402826
push 0x525c24
push edi
call dword [sym.imp.MSVCR80.dll_fopen]
mov ebx, dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 8
mov esi, eax
test esi, esi
je 0x402f3a
mov eax, dword [str.OscSav]
mov cx, word [0x525c20]
mov dl, byte [0x525c22]
mov dword [esp + 0x13c], eax
lea eax, [esp + 0x13c]
push eax
mov word [esp + 0x144], cx
mov byte [esp + 0x146], dl
call fcn.0041daa0
mov edi, dword [sym.imp.MSVCR80.dll_fprintf]
push str.Generali
push str._n__s__n
push esi
call edi
mov ecx, dword [esp + 0x5c]
push ecx
lea edx, [esp + 0x184]
push 0x525c04
push edx
call ebx
lea eax, [esp + 0x18c]
push eax
push str.numcanali
push 0x525bf0
push esi
call edi
mov ecx, dword [esp + 0x74]
push ecx
lea edx, [esp + 0x1a0]
push 0x525c04
push edx
call ebx
lea eax, [esp + 0x1a8]
push eax
push str.numcamp
push 0x525bf0
push esi
call edi
fld dword [0x568a34]
add esp, 0x48
call fcn.00523cf0
push eax
lea ecx, [esp + 0x174]
push 0x525c04
push ecx
call ebx
lea edx, [esp + 0x17c]
push edx
push str.basetempi
push 0x525bf0
push esi
call edi
fld dword [0x568a30]
fadd qword [0x5259f0]
call fcn.00523cf0
push eax
lea eax, [esp + 0x190]
push 0x525c04
push eax
call ebx
lea ecx, [esp + 0x198]
push ecx
push str.tcamp
push 0x525bf0
push esi
call edi
add esp, 0x38
xor eax, eax
jmp 0x402940
mov cl, byte [eax + 0x566608]
mov byte [esp + eax + 0x170], cl
add eax, 1
test cl, cl
jne 0x402940
mov eax, 0x566608
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402960
sub eax, edx
cmp eax, 0xc8
jle 0x402979
mov eax, 0xc8
jmp 0x402983
cmp eax, 1
jge 0x402983
mov eax, 1
lea edx, [esp + 0x170]
push edx
push str.commento
push 0x525bf0
push esi
mov byte [esp + eax + 0x17f], 0
call edi
add esp, 0x10
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x40], 0
jle 0x402be1
mov ebx, 0x56826c
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0x58], 0
mov byte [esp + 0x59], 0
call fcn.0041dbd0
lea edx, [esp + 0x58]
push edx
push str._n_Canale_s__n
push esi
call edi
mov eax, dword [ebx - 8]
push eax
push str.numint
push str._s_d_n
push esi
call edi
mov ecx, dword [ebx - 4]
push ecx
push str.grandX
push str._s_d_n
push esi
call edi
mov edx, dword [ebx]
push edx
push 0x525b98
push str._s_d_n
push esi
call edi
mov eax, dword [esp + 0x84]
add esp, 0x44
push eax
lea ecx, [esp + 0x174]
push 0x525a30
push ecx
call dword [sym.imp.MSVCR80.dll_sprintf]
fld qword [0x525b90]
mov eax, dword [0x568248]
fstp qword [esp + 4]
add esp, 4
lea edx, [esp + 0x178]
push edx
push eax
call sub.HCLXT.dll_Ordinal_149_1
add esp, 8
push eax
call fcn.00409cb0
call fcn.00523cf0
fld dword [eax*4 + 0x5417e0]
call fcn.00523cf0
push eax
push str.ampl
push str._s_d_n
push esi
call edi
mov edx, dword [ebx - 8]
mov eax, dword [0x565f7c]
lea ecx, [esp + 0x60]
push ecx
mov dword [esp + 0x64], 0
mov ecx, dword [eax + edx*4]
push str.FONTLIST_DEFAULT_TAG_STRING
push ecx
call fcn.0046d2c0
mov edx, dword [esp + 0x6c]
push edx
push str.nomeAsse
push 0x525bf0
push esi
call edi
add esp, 0x38
cmp dword [ebx], 0x1a
jne 0x402af2
push 0x63
lea eax, [esp + 0x6d]
push 0
push eax
mov byte [esp + 0x74], 0
call sub.MSVCR80.dll_memset
mov edx, dword [esp + 0x4c]
push 0
lea ecx, [esp + 0x78]
push ecx
push edx
call fcn.00401ed0
lea eax, [esp + 0x80]
push eax
push str.debug
push 0x525bf0
push esi
call edi
add esp, 0x28
cmp dword [ebx], 0x18
jne 0x402b6a
push 0x63
lea ecx, [esp + 0x6d]
push 0
push ecx
mov byte [esp + 0x74], 0
call sub.MSVCR80.dll_memset
push 0x63
lea edx, [esp + 0xe1]
push 0
push edx
mov byte [esp + 0xe8], 0
call sub.MSVCR80.dll_memset
mov edx, dword [esp + 0x58]
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0x84]
push ecx
push edx
call fcn.00402040
lea eax, [esp + 0x8c]
push eax
push str.sigExc
push 0x525bf0
push esi
call edi
lea ecx, [esp + 0x104]
push ecx
push str.sigExcType
push 0x525bf0
push esi
call edi
add esp, 0x44
cmp dword [ebx], 0x1b
jl 0x402bb2
push 0x63
lea edx, [esp + 0xd5]
push 0
push edx
mov byte [esp + 0xdc], 0
call sub.MSVCR80.dll_memset
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0xdc]
push eax
push ecx
call fcn.00402240
lea edx, [esp + 0xe4]
push edx
push str.debFile
push 0x525bf0
push esi
call edi
add esp, 0x24
cmp dword [ebx], 0x10
mov eax, dword [esp + 0x40]
mov byte [esp + eax + 0x60], 0
jne 0x402bca
add dword [esp + 0x54], 1
mov byte [esp + eax + 0x60], 1
add eax, 1
add ebx, 0xb8
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x40], eax
jl 0x4029bb
push str.Dati
push str._n__s__n
push esi
call edi
mov eax, dword [0x566140]
fld dword [eax]
xor ebx, ebx
add esp, 0xc
fstp dword [esp + 0x58]
cmp dword [esp + 0x48], ebx
mov dword [esp + 0x50], ebx
jle 0x402cf9
mov ecx, dword [0x566140]
fld dword [ecx + ebx*4]
push 0x525aac
fsub dword [esp + 0x5c]
sub esp, 8
fstp qword [esp]
push str._.4f_s
push esi
call edi
add esp, 0x14
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x40], 0
jle 0x402ce8
mov ebx, 0x568270
mov ecx, dword [ebx]
test ecx, ecx
je 0x402cc9
mov edx, dword [ebx - 0xc]
mov eax, dword [0x568c34]
movsx eax, word [eax + edx*2]
lea edx, [eax + eax*2]
movsx eax, word [0x569f68]
add edx, eax
mov eax, dword [ebx - 4]
imul edx, edx, 0xb
movsx eax, word [eax*8 + 0x5416ba]
add edx, eax
mov eax, dword [esp + 0x4c]
add eax, 0xffffffff
cmp dword [esp + 0x40], eax
fld qword [edx*8 + 0x5414a8]
mov edx, dword [esp + 0x50]
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fmul dword [ecx + edx*4]
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
jne 0x402cb3
sub esp, 8
fstp qword [esp]
push 0x525b44
push esi
call edi
add esp, 0x10
jmp 0x402cc9
push 0x525aac
sub esp, 8
fstp qword [esp]
push str._f_s
push esi
call edi
add esp, 0x14
mov eax, dword [esp + 0x40]
add eax, 1
add ebx, 0xb8
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x40], eax
jl 0x402c47
mov ebx, dword [esp + 0x50]
add ebx, 1
cmp ebx, dword [esp + 0x48]
mov dword [esp + 0x50], ebx
jl 0x402c0c
cmp dword [esp + 0x54], 0
jle 0x402e8e
push str.IdxPassoEse
push str._n__s__n
push esi
call edi
xor ebx, ebx
add esp, 0xc
cmp dword [esp + 0x48], ebx
jle 0x402db9
mov ecx, dword [0x566140]
fld dword [ecx + ebx*4]
push 0x525aac
fsub dword [esp + 0x5c]
sub esp, 8
fstp qword [esp]
push str._.4f_s
push esi
call edi
xor ecx, ecx
add esp, 0x14
cmp dword [esp + 0x4c], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], ecx
jle 0x402dac
cmp byte [esp + ecx + 0x60], 1
jne 0x402d9f
mov eax, dword [ecx*4 + 0x568ae0]
test eax, eax
je 0x402d9f
mov ecx, dword [esp + 0x44]
add ecx, 1
cmp ecx, dword [esp + 0x54]
mov dword [esp + 0x44], ecx
jne 0x402d87
mov edx, dword [eax + ebx*4]
push edx
push 0x525b2c
push esi
call edi
add esp, 0xc
jmp 0x402d9b
mov eax, dword [eax + ebx*4]
push 0x525aac
push eax
push 0x525b24
push esi
call edi
add esp, 0x10
mov ecx, dword [esp + 0x40]
add ecx, 1
cmp ecx, dword [esp + 0x4c]
mov dword [esp + 0x40], ecx
jl 0x402d53
add ebx, 1
cmp ebx, dword [esp + 0x48]
jl 0x402d20
push str.PassoEse
push str._n__s__n
push esi
call edi
xor eax, eax
add esp, 0xc
cmp dword [esp + 0x4c], eax
mov dword [esp + 0x40], eax
jle 0x402e8e
mov dword [esp + 0x48], 0x5682e4
mov dword [esp + 0x44], 0x565c60
lea esp, [esp]
cmp byte [esp + eax + 0x60], 1
jne 0x402e70
push eax
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0x58], 0
mov byte [esp + 0x59], 0
call fcn.0041dbd0
lea edx, [esp + 0x58]
push edx
push str._n_Canale_s__n
push esi
call edi
push str.NumPassiISO
push 0x525a90
push esi
call edi
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
push ecx
push 0x525b2c
push esi
call edi
mov edx, dword [esp + 0x74]
xor ebx, ebx
add esp, 0x2c
cmp dword [edx], ebx
jl 0x402e6c
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
add ecx, dword [esp + 0x54]
push ecx
push 0x525b14
push esi
call edi
mov edx, dword [esp + 0x54]
add dword [esp + 0x60], 0x64
add ebx, 1
add esp, 0xc
cmp ebx, dword [edx]
jle 0x402e46
mov eax, dword [esp + 0x40]
add dword [esp + 0x44], 4
add dword [esp + 0x48], 0xb8
add eax, 1
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x40], eax
jl 0x402df0
push esi
call dword [sym.imp.MSVCR80.dll_fclose]
mov eax, dword [ebp + 0xc]
add esp, 4
cmp dword [eax + 0x10], 0x12c
jne 0x402f35
push str.gnutar__zcPf__tmp_osc.tgz__tmp_osc.tmp
call dword [sym.imp.MSVCR80.dll_system]
push eax
push str.Ritorno_dalla_system:__d_n
call dword [sym.imp.XLIB.dll_Ordinal_719]
lea ecx, [esp + 0x244]
push str._tmp_osc.tgz
push ecx
call dword [sym.imp.MSVCR80.dll_sprintf]
mov edx, dword [esp + 0x70]
mov eax, edx
add esp, 0x14
add eax, 0xffffffff
mov edi, edi
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x402ee0
mov ecx, dword [str..tgz]
push 0
push 0
push 0
push edx
push 0
push 0xffffffffffffffff
push 0x12c
lea edx, [esp + 0x254]
push edx
push 0
push 0xffffffffffffffff
mov dword [eax], ecx
mov cl, byte [0x525abc]
push 0x64
push str._tmp_
mov byte [eax + 4], cl
mov eax, dword [0x568248]
mov ecx, dword [0x565cd0]
push 1
push eax
push ecx
call fcn.0041f530
add esp, 0x3c
call fcn.0041dbb0
mov ecx, dword [esp + 0x2bc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00523ce0
mov esp, ebp
pop ebp
ret