Function at 0x401390
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe6c
and esp, 0xfffffff0
mov eax, 0
add eax, 0xf
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 0xe4c], eax
mov eax, dword [ebp - 0xe4c]
call fcn.0040f570
mov dword [ebp - 0xdf4], 0x402f20
mov dword [ebp - 0xdf0], 0x444834
lea eax, [ebp - 0xdec]
lea edx, [ebp - 0x18]
mov dword [eax], edx
mov edx, 0x401f87
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0xe0c]
mov dword [esp], eax
call fcn.0040eb20
call fcn.0040e650
mov dword [esp], str.Color_07
mov dword [ebp - 0xe08], 0xffffffff
call sub.msvcrt.dll_system
mov dword [esp + 4], str.Welcome_to_WGLIT_blade_balancing_program._n
mov dword [esp], 0x44be70
call fcn.00442d34
mov dword [esp + 4], str.What_is_the_job_number_:_t
mov dword [esp], 0x44be70
call fcn.00442d34
mov dword [esp + 4], 0x44b6c8
mov dword [esp], 0x44bf10
call fcn.00443b10
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.0043229c
mov dword [esp + 4], 0x44b6c8
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0xe08], 0xa
call fcn.004328bc
mov dword [esp + 4], str.Which_disc_is_it___CT_1_or_2_or_PT_1_or_2_:_t_t
mov dword [esp], 0x44be70
call fcn.00442d34
mov dword [esp + 4], 0x44b6d4
mov dword [esp], 0x44bf10
call fcn.00443b10
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.0043229c
mov dword [esp + 4], 0x44b6d4
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [ebp - 0xe08], 9
call fcn.004328bc
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.004288cc
lea eax, [ebp - 0x58]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x447082
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe08], 8
call fcn.00431f3c
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0xe08], 7
call fcn.004329ec
jmp 0x401544
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe08], 8
call fcn.0043275c
jmp 0x401583
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.004288fc
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.004288cc
lea eax, [ebp - 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x44b6d4
lea eax, [ebp - 0x58]
mov dword [esp], eax
mov dword [ebp - 0xe08], 6
call fcn.00431f3c
lea eax, [ebp - 0x58]
mov dword [esp + 4], eax
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0xe08], 5
call fcn.004329ec
jmp 0x40160a
lea eax, [ebp - 0x58]
mov dword [esp], eax
mov dword [ebp - 0xe08], 6
call fcn.0043275c
jmp 0x401649
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.004288fc
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.004288cc
lea eax, [ebp - 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], str..csv
lea eax, [ebp - 0x58]
mov dword [esp], eax
mov dword [ebp - 0xe08], 4
call fcn.00431f3c
lea eax, [ebp - 0x58]
mov dword [esp + 4], eax
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0xe08], 3
call fcn.004329ec
jmp 0x4016d0
lea eax, [ebp - 0x58]
mov dword [esp], eax
mov dword [ebp - 0xe08], 4
call fcn.0043275c
jmp 0x40170f
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.004288fc
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0xe08], 9
call fcn.0041559c
mov dword [ebp - 0x5c], eax
mov dword [esp + 4], str._n_nOutput_file_is_called:_t
mov dword [esp], 0x44be70
call fcn.00442d34
mov edx, eax
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00443494
mov dword [esp + 4], 0x4470a3
mov dword [esp], eax
call fcn.00442d34
mov dword [esp], str.pause
call sub.msvcrt.dll_system
lea eax, [ebp - 0x168]
mov dword [esp], eax
call fcn.00437d3c
mov dword [esp + 4], 0x20
mov dword [esp], 0x10
call fcn.00443704
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x168]
mov dword [esp], eax
mov dword [ebp - 0xe08], 2
call fcn.00437a5c
mov dword [esp + 4], str.Thanks_for_using_the_WGLIT_blade_distribution_program___n_n
lea eax, [ebp - 0x168]
mov dword [esp], eax
call fcn.00442d34
mov dword [esp + 4], str.Job_Number:_
lea eax, [ebp - 0x168]
mov dword [esp], eax
call fcn.00442d34
mov dword [esp + 4], 0x44b6c8
mov dword [esp], eax
call fcn.00442d34
mov dword [esp + 4], str._Disc:_
mov dword [esp], eax
call fcn.00442d34
mov dword [esp + 4], 0x44b6d4
mov dword [esp], eax
call fcn.00442d34
mov dword [esp + 4], 0x4470a3
mov dword [esp], eax
call fcn.00442d34
lea eax, [ebp - 0x268]
mov dword [esp], eax
call fcn.00437d3c
mov dword [esp + 4], 0x20
mov dword [esp], 0x10
call fcn.00443704
mov dword [esp + 8], eax
mov dword [esp + 4], str.Input.csv
lea eax, [ebp - 0x268]
mov dword [esp], eax
mov dword [ebp - 0xe08], 1
call fcn.00437a5c
mov dword [esp], 0x447105
call sub.msvcrt.dll_system
mov dword [esp + 4], str._nHow_many_blades_on_your_disc_:_nnb_program_can_handle_max_of_120_blades_n_t
mov dword [esp], 0x44be70
call fcn.00442d34
mov dword [esp + 4], 0x44a3e0
mov dword [esp], 0x44bf10
call fcn.0042bd7c
mov dword [esp], 0x447105
call sub.msvcrt.dll_system
call fcn.00402388
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.004022a4
sub esp, 4
mov eax, dword [ebp - 0x58]
mov dword [0x44b6e0], eax
mov eax, dword [ebp - 0x54]
mov dword [0x44b6e4], eax
mov eax, dword [ebp - 0x50]
mov dword [0x44b6e8], eax
mov eax, dword [ebp - 0x4c]
mov dword [0x44b6ec], eax
mov dword [esp], 0x447105
call sub.msvcrt.dll_system
mov dword [esp + 4], str.Initial_disc_unbalance:_n_t
mov dword [esp], 0x44be70
call fcn.00442d34
mov dword [esp + 4], 0x44be70
mov dword [esp], 0x44b6e0
call fcn.00412430
mov dword [esp + 4], 0x4470a3
mov dword [esp], 0x44be70
call fcn.00442d34
mov dword [esp], str.pause
call sub.msvcrt.dll_system
mov eax, dword [0x44a3e0]
mov dword [esp], eax
call fcn.00402102
call fcn.00402156
mov dword [ebp - 0x26c], eax
mov dword [esp], 0x447105
call sub.msvcrt.dll_system
mov dword [esp + 4], str.Initial_Assembly_unbalance:_n_t
mov dword [esp], 0x44be70
call fcn.00442d34
mov dword [esp + 4], str.Initial_Disc_Unbalance_is:___
lea eax, [ebp - 0x168]
mov dword [esp], eax
call fcn.00442d34
mov dword [esp + 4], str.Initial_Assembly_unbalance:_n
lea eax, [ebp - 0x168]
mov dword [esp], eax
call fcn.00442d34
mov dword [esp + 4], str.x_y__x_y__n
lea eax, [ebp - 0x168]
mov dword [esp], eax
call fcn.00442d34
lea eax, [ebp - 0x168]
mov dword [esp + 4], eax
mov dword [esp], 0x44b6e0
call fcn.00412430
mov dword [esp + 4], str._grams_
lea eax, [ebp - 0x168]
mov dword [esp], eax
call fcn.00442d34
lea eax, [ebp - 0x168]
mov dword [esp + 4], eax
mov dword [esp], 0x44a3d0
call fcn.00412430
mov dword [esp + 4], str._grams
lea eax, [ebp - 0x168]
mov dword [esp], eax
call fcn.00442d34
mov dword [esp + 4], 0x44be70
mov dword [esp], 0x44a3d0
call fcn.00412430
mov dword [esp + 4], 0x4470a3
mov dword [esp], 0x44be70
call fcn.00442d34
mov dword [esp], str.pause
call sub.msvcrt.dll_system
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x278], 0
mov dword [esp], 0x447105
call sub.msvcrt.dll_system
mov dword [esp + 4], str.how_many_iterations:_t
mov dword [esp], 0x44be70
call fcn.00442d34
mov dword [ebp - 0xdd0], 0
mov dword [ebp - 0xdd4], 0
lea eax, [ebp - 0xdcc]
mov dword [esp + 4], eax
mov dword [esp], 0x44bf10
call fcn.0042bd7c
mov eax, dword [ebp - 0xdd0]
cmp eax, dword [ebp - 0xdcc]
jge 0x401cce
mov eax, dword [ebp - 0x274]
cmp eax, dword [0x44a3e0]
jge 0x401cb7
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x27c], 0
mov eax, dword [ebp - 0x270]
cmp eax, dword [0x44a3e0]
jge 0x401c0c
mov eax, dword [ebp - 0x274]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x270]
mov dword [esp], eax
mov dword [ebp - 0xe08], 1
call fcn.00402242
mov eax, dword [0x44b6e0]
mov dword [0x44a3d0], eax
mov eax, dword [0x44b6e4]
mov dword [0x44a3d4], eax
mov eax, dword [0x44b6e8]
mov dword [0x44a3d8], eax
mov eax, dword [0x44b6ec]
mov dword [0x44a3dc], eax
call fcn.00402156
mov edx, dword [ebp - 0x270]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 3
lea edx, [ebp - 0x18]
add eax, edx
sub eax, 0xdb0
mov dword [ebp - 0xe30], eax
mov eax, dword [0x44b6b0]
mov dword [esp + 4], eax
mov eax, dword [0x44b6b4]
mov dword [esp + 8], eax
mov eax, dword [0x44b6b8]
mov dword [esp + 0xc], eax
mov eax, dword [0x44b6bc]
mov dword [esp + 0x10], eax
mov dword [esp], 0x44a3d0
call fcn.004123f8
mov eax, dword [ebp - 0xe30]
fstp qword [eax]
mov edx, dword [ebp - 0x27c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 3
lea edx, [ebp - 0x18]
add eax, edx
lea ecx, [eax - 0xdb0]
mov edx, dword [ebp - 0x270]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 3
lea edx, [ebp - 0x18]
add eax, edx
sub eax, 0xdb0
fld qword [ecx]
fld qword [eax]
fxch st(1)
fucompp
fnstsw ax
sahf
ja 0x401bd1
jmp 0x401bdd
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x274]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x270]
mov dword [esp], eax
mov dword [ebp - 0xe08], 1
call fcn.00402242
lea eax, [ebp - 0x270]
inc dword [eax]
jmp 0x401ad7
mov eax, dword [ebp - 0x274]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x27c]
mov dword [esp], eax
mov dword [ebp - 0xe08], 1
call fcn.00402242
mov edx, dword [ebp - 0x274]
mov eax, edx
add eax, eax
add eax, edx
lea ecx, [eax*8]
mov edx, dword [ebp - 0x27c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 3
lea edx, [ebp - 0x18]
add eax, edx
sub eax, 0xda8
fld qword [eax]
fstp qword [ecx + 0x44ab80]
mov edx, dword [ebp - 0x27c]
mov eax, edx
add eax, eax
add eax, edx
lea ecx, [eax*8]
mov edx, dword [ebp - 0x27c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 3
lea edx, [ebp - 0x18]
add eax, edx
sub eax, 0xda0
fld qword [eax]
fstp qword [ecx + 0x44ab80]
mov dword [esp + 4], 0x4471f9
mov dword [esp], 0x44be70
call fcn.00442d34
lea eax, [ebp - 0x274]
inc dword [eax]
jmp 0x401ab1
mov dword [ebp - 0x274], 0
lea eax, [ebp - 0xdd0]
inc dword [eax]
jmp 0x401a9f
mov dword [esp + 4], str._n_nFinal_unbalance_with_blades_in_positions_shown_below_is:_n
lea eax, [ebp - 0x168]
mov dword [esp], eax
mov dword [ebp - 0xe08], 1
call fcn.00442d34
lea eax, [ebp - 0x168]
mov dword [esp + 4], eax
mov dword [esp], 0x44a3d0
call fcn.00412430
mov dword [esp + 4], 0x447238
lea eax, [ebp - 0x168]
mov dword [esp], eax
call fcn.00442d34
mov dword [ebp - 0xdd8], 0
mov dword [esp + 4], str._nPosition_No._
lea eax, [ebp - 0x168]
mov dword [esp], eax
call fcn.00442d34
mov dword [esp + 4], str.Blade_of_Weight_
mov dword [esp], eax
call fcn.00442d34
mov dword [esp + 4], str.Material_Code
mov dword [esp], eax
call fcn.00442d34
mov eax, dword [ebp - 0xdd8]
cmp eax, dword [0x44a3e0]
jge 0x401e36
mov dword [esp + 4], 0x447238
lea eax, [ebp - 0x168]
mov dword [esp], eax
mov dword [ebp - 0xe08], 1
call fcn.00442d34
mov ecx, eax
mov edx, dword [ebp - 0xdd8]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 3
fld qword [eax + 0x44ab70]
fstp qword [esp + 4]
mov dword [esp], ecx
call fcn.0042e47c
mov dword [esp + 4], 0x447268
mov dword [esp], eax
call fcn.00442d34
mov ecx, eax
mov edx, dword [ebp - 0xdd8]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 3
fld qword [eax + 0x44ab78]
fstp qword [esp + 4]
mov dword [esp], ecx
call fcn.0042e47c
mov dword [esp + 4], 0x447268
mov dword [esp], eax
call fcn.00442d34
mov edx, dword [ebp - 0xdd8]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 3
fld qword [eax + 0x44ab78]
fstp qword [esp + 4]
lea eax, [ebp - 0x268]
mov dword [esp], eax
call fcn.0042e47c
mov dword [esp + 4], 0x447238
mov dword [esp], eax
call fcn.00442d34
lea eax, [ebp - 0xdd8]
inc dword [eax]
jmp 0x401d5a
mov eax, dword [0x44b6e0]
mov dword [0x44a3d0], eax
mov eax, dword [0x44b6e4]
mov dword [0x44a3d4], eax
mov eax, dword [0x44b6e8]
mov dword [0x44a3d8], eax
mov eax, dword [0x44b6ec]
mov dword [0x44a3dc], eax
mov dword [esp], 0x447105
mov dword [ebp - 0xe08], 1
call sub.msvcrt.dll_system
mov dword [esp], str.Color_E4
call sub.msvcrt.dll_system
call fcn.00402156
mov dword [esp + 4], str._n_n_nAnd_the_final_unbalance_value_is:......_n_n_t_t_t_t
mov dword [esp], 0x44be70
call fcn.00442d34
mov dword [esp + 4], 0x44be70
mov dword [esp], 0x44a3d0
call fcn.00412430
mov dword [esp + 4], 0x447238
mov dword [esp], 0x44be70
call fcn.00442d34
mov dword [esp + 4], str._n_nAs_shown_in_output_file_:_t
mov dword [esp], 0x44be70
call fcn.00442d34
mov edx, eax
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00443494
mov dword [esp + 4], 0x4470a3
mov dword [esp], eax
call fcn.00442d34
mov dword [esp], str.PAUSE
call sub.msvcrt.dll_system
lea eax, [ebp - 0x168]
mov dword [esp], eax
call fcn.00437aac
lea eax, [ebp - 0x268]
mov dword [esp], eax
call fcn.00437aac
lea eax, [ebp - 0x268]
mov dword [esp], eax
mov dword [ebp - 0xe08], 2
call fcn.0043820c
lea eax, [ebp - 0x168]
mov dword [esp], eax
mov dword [ebp - 0xe08], 9
call fcn.0043820c
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [ebp - 0xe08], 0xa
call fcn.0043275c
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0xe08], 0xffffffff
call fcn.0043275c
mov dword [ebp - 0xe10], 0x6f
jmp 0x4020e5
lea eax, [ebp - 0xe0c]
mov dword [esp], eax
call fcn.0040ec00
mov eax, dword [ebp - 0xe10]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret