Function at 0x44c100
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x468a08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
mov eax, 0x100
push esi
mov esi, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, 0x10000
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 0x200]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x147
push eax
mov dword [esp + 0x5c], 0
call edi
mov ecx, dword [esi + 0x200]
push 0
push eax
push 0x150
push ecx
call edi
lea edx, [esp + 0x10]
mov ebx, eax
push edx
push 0x406
mov ebp, dword [esp + ebx*4 + 0x34]
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
mov eax, dword [esp + 0x10]
push 0
push eax
call dword [sym.imp.MSVCRT.dll_strtod]
fmul qword [0x46b100]
add esp, 8
mov ecx, esi
push 1
push 0
fstp qword [esp + 0x2c]
push 0x407
call sub.MFC42.DLL_CWnd::GetDlgItemInt
push 0x4af
mov ecx, esi
mov dword [esp + 0x20], eax
call sub.MFC42.DLL_CWnd::IsDlgButtonChecked
mov ecx, dword [esi + 0x140]
dec eax
neg eax
sbb eax, eax
push 0
push 0
add eax, 2
push 0x147
push ecx
mov dword [esp + 0x30], eax
call edi
neg eax
sbb eax, eax
and al, 0xf5
add eax, 0xc
cmp ebx, 2
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fstp qword [esp + 0x14]
fild dword [esp + 0x1c]
jge 0x44c21b
fild dword [esp + 0x20]
fmul qword [esp + 0x24]
fdiv qword [esp + 0x14]
fmul qword [0x47cb08]
jmp 0x44c229
fld qword [esp + 0x24]
fdiv qword [esp + 0x14]
fmul qword [0x47cb00]
fdiv st(1)
fadd qword [0x46b0f0]
call sub.MSVCRT.dll__ftol
mov edi, ebp
mov dword [esp + 0x1c], eax
sub edi, eax
test edi, edi
jle 0x44c30f
cmp edi, ebp
jge 0x44c30f
cmp ebx, 2
jge 0x44c289
fild dword [esp + 0x20]
sub esp, 8
lea edx, [esp + 0x18]
fmul qword [esp + 0x2c]
fdiv qword [esp + 0x1c]
fmul qword [0x47cb08]
fidiv dword [esp + 0x24]
fsub st(1)
fabs
fdiv st(1)
fmul qword [0x47c588]
fstp qword [esp]
push str._.2f__
push edx
fstp st(0)
jmp 0x44c2d0
fld qword [esp + 0x24]
fdiv qword [esp + 0x14]
fmul qword [0x47cb00]
fld st(0)
fdiv st(2)
fadd qword [0x46b0f0]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x20], eax
sub esp, 8
fild dword [esp + 0x28]
lea eax, [esp + 0x18]
fdivr st(1)
fsub st(2)
fabs
fdiv st(2)
fmul qword [0x47c588]
fstp qword [esp]
push str._.2f__
push eax
fstp st(0)
fstp st(0)
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
push 0x51c
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
lea ecx, [esp + 0x10]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
push 0
push esi
fstp st(0)
call fcn.0044c380
mov eax, dword [0x4addbc]
add esp, 8
test eax, eax
je 0x44c32c
push 0x4a8fc4
jmp 0x44c331
push str.Cannot_generate_specified_baudrate_by_current_settings__
push esi
call fcn.0044c380
add esp, 8
mov ecx, esi
push 0x4adc80
push 0x51c
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
lea ecx, [esp + 0x10]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret