Function at 0x402388
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1ac
mov dword [ebp - 0x174], 0x402f20
mov dword [ebp - 0x170], 0x44484c
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0x18]
mov dword [eax], edx
mov edx, 0x4026d8
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x18c]
mov dword [esp], eax
call fcn.0040eb20
mov dword [esp + 4], 0x447350
mov dword [esp], 0x44be70
mov dword [ebp - 0x188], 0xffffffff
call fcn.00442d34
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], 0x44bf10
call fcn.0042bd7c
cmp dword [ebp - 0x1c], 1
jne 0x402553
mov dword [esp + 4], str.please_input_your_weights
mov dword [esp], 0x44be70
call fcn.00442d34
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [0x44a3e0]
jge 0x402821
mov dword [esp + 4], str._n_Weight_of_blade_number
mov dword [esp], 0x44be70
mov dword [ebp - 0x188], 0xffffffff
call fcn.00442d34
mov edx, eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0042ea4c
mov dword [esp + 4], 0x4473dd
mov dword [esp], eax
call fcn.00442d34
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], 0x44bf10
call fcn.0042b80c
mov dword [esp + 4], str._n_You_entered:
mov dword [esp], 0x44be70
call fcn.00442d34
fld qword [ebp - 0x28]
fstp qword [esp + 4]
mov dword [esp], eax
call fcn.0042e47c
mov dword [esp + 4], str._for_blade:
mov dword [esp], eax
call fcn.00442d34
mov edx, eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0042ea4c
mov dword [esp + 4], str._is_this_correct__1_yes_0__no__n
mov dword [esp], eax
call fcn.00442d34
lea eax, [ebp - 0x2c]
mov dword [esp + 4], eax
mov dword [esp], 0x44bf10
call fcn.0042bd7c
cmp dword [ebp - 0x2c], 1
jne 0x402530
mov edx, dword [ebp - 0x20]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 3
fild dword [ebp - 0x20]
fstp qword [eax + 0x44ab70]
mov edx, dword [ebp - 0x20]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 3
fld qword [ebp - 0x28]
fstp qword [eax + 0x44ab78]
lea eax, [ebp - 0x20]
inc dword [eax]
mov dword [esp], 0x447105
call sub.msvcrt.dll_system
jmp 0x402422
mov dword [esp + 4], str.please_re_enter_correct_value_
mov dword [esp], 0x44be70
mov dword [ebp - 0x188], 0xffffffff
call fcn.00442d34
jmp 0x402422
cmp dword [ebp - 0x1c], 2
jne 0x4027f7
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0x188], 0xffffffff
call fcn.0043229c
lea eax, [ebp - 0x58]
mov dword [esp], eax
mov dword [ebp - 0x188], 3
call fcn.0043229c
mov dword [esp + 4], str.What_is_the_name_of_the_file_with_the_blade_weights_in__n_n
mov dword [esp], 0x44be70
mov dword [ebp - 0x188], 2
call fcn.00442d34
mov dword [esp + 4], str._the_file_should_be_a_text_or_.csv_from_excel_file_with_weights_in_one_column__n_n
mov dword [esp], 0x44be70
call fcn.00442d34
mov dword [esp + 4], str.Please_input_full_file_name_with_.txt_or_.csv_as_well_and_press_enter__n_n_t
mov dword [esp], 0x44be70
call fcn.00442d34
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
mov dword [esp], 0x44bf10
call fcn.004440c0
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.0041559c
mov dword [esp + 8], 8
mov dword [esp + 4], eax
lea eax, [ebp - 0x158]
mov dword [esp], eax
call fcn.0043719c
lea eax, [ebp - 0x158]
mov dword [esp], eax
mov dword [ebp - 0x188], 1
call fcn.004370fc
test al, al
je 0x4026b8
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [0x44a3e0]
jge 0x40269b
lea eax, [ebp - 0x58]
mov dword [esp + 4], eax
lea eax, [ebp - 0x158]
mov dword [esp], eax
mov dword [ebp - 0x188], 1
call fcn.00441b74
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.0040284a
fstp qword [0x44b6c0]
mov edx, dword [ebp - 0x2c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 3
fild dword [ebp - 0x2c]
fstp qword [eax + 0x44ab70]
mov edx, dword [ebp - 0x2c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 3
fld qword [0x44b6c0]
fstp qword [eax + 0x44ab78]
lea eax, [ebp - 0x2c]
inc dword [eax]
jmp 0x40262c
lea eax, [ebp - 0x158]
mov dword [esp], eax
mov dword [ebp - 0x188], 1
call fcn.004370ac
jmp 0x40273b
mov dword [esp + 4], str.Unable_to_open_file
mov dword [esp], 0x44be70
mov dword [ebp - 0x188], 1
call fcn.00442d34
jmp 0x40273b
lea eax, [ebp - 0x158]
mov dword [esp], eax
mov dword [ebp - 0x188], 2
call fcn.0043785c
jmp 0x402784
lea eax, [ebp - 0x58]
mov dword [esp], eax
mov dword [ebp - 0x188], 3
call fcn.0043275c
jmp 0x4027e0
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0x188], 0xffffffff
call fcn.0043275c
jmp 0x402821
mov dword [esp + 4], str.quit_your_jibber_jabber_foo
mov dword [esp], 0x44be70
mov dword [ebp - 0x188], 0xffffffff
call fcn.00442d34
mov dword [ebp - 0x190], 5
jmp 0x40282b
mov dword [ebp - 0x190], 1
lea eax, [ebp - 0x18c]
mov dword [esp], eax
call fcn.0040ec00
mov eax, dword [ebp - 0x190]
add esp, 0x1ac
pop ebx
pop esi
pop edi
pop ebp
ret