Function at 0x401820
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x406adf
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x410024]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
push 0
push dword [esp + 0x3c]
call dword [0x4085d0]
push 0x68
mov dword [esp + 0x34], 0
mov dword [edi], vtable.MainWindow.0
mov dword [edi + 8], vtable.MainWindow.1.0
call fcn.00405f0c
add esp, 4
mov dword [edi + 0x18], eax
lea ecx, [edi + 0x28]
call dword [0x4081ec]
mov ecx, dword [edi + 0x18]
push edi
mov byte [esp + 0x34], 1
mov dword [edi + 0x2c], 0
call fcn.00404300
mov ecx, dword [edi + 0x18]
mov esi, dword [0x4085f8]
push 1
mov ecx, dword [ecx + 0x30]
call esi
mov ecx, dword [edi + 0x18]
push 0
mov ecx, dword [ecx + 0x34]
call esi
mov ecx, dword [edi + 0x18]
push 0
mov ecx, dword [ecx + 0x3c]
call esi
mov ecx, dword [edi + 0x18]
push 0
mov ecx, dword [ecx + 0x48]
call esi
push 0xc
call fcn.00405f0c
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
mov byte [esp + 0x30], 2
test esi, esi
je 0x4018f0
push edi
mov ecx, esi
call dword [0x4082a0]
mov dword [esi], vtable.QSerialPort.0
jmp 0x4018f2
xor esi, esi
push 0x18
mov byte [esp + 0x34], 1
mov dword [edi + 0x1c], esi
call fcn.00405f0c
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
mov byte [esp + 0x30], 3
test esi, esi
je 0x401924
push edi
mov ecx, esi
call dword [0x4081a0]
mov dword [esi], vtable.QTimer.0
jmp 0x401926
xor esi, esi
mov ebp, dword [0x4081ac]
lea eax, [esp + 0x38]
push 0
push str.1initSerialPort__
push edi
push str.2timeout__
push esi
push eax
mov byte [esp + 0x48], 1
mov dword [edi + 0x20], esi
call ebp
add esp, 0x18
lea ecx, [esp + 0x38]
call dword [0x408208]
mov ecx, dword [edi + 0x20]
push 0x3e8
call dword [0x408198]
push 0x18
call fcn.00405f0c
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
mov byte [esp + 0x30], 4
test esi, esi
je 0x40198e
push edi
mov ecx, esi
call dword [0x4081a0]
mov dword [esi], vtable.QTimer.0
jmp 0x401990
xor esi, esi
push 0
push str.1realTimeShow__
push edi
push str.2timeout__
lea eax, [esp + 0x48]
mov byte [esp + 0x40], 1
push esi
push eax
mov dword [edi + 0x24], esi
call ebp
mov esi, dword [0x408208]
lea ecx, [esp + 0x50]
add esp, 0x18
call esi
mov ecx, dword [edi + 0x24]
push 0x3e8
call dword [0x408198]
mov eax, dword [edi + 0x18]
push 0
push str.1com_comboBox_currentIndexChanged_int_
push edi
push str.2currentIndexChanged_int_
push dword [eax + 0x1c]
lea eax, [esp + 0x4c]
push eax
call ebp
add esp, 0x18
lea ecx, [esp + 0x38]
call esi
push 0
push str.1serialRead__
push edi
push str.2readyRead__
push dword [edi + 0x1c]
lea eax, [esp + 0x4c]
push eax
call ebp
add esp, 0x18
lea ecx, [esp + 0x38]
call esi
cmp dword [edi + 0x2c], 0
jne 0x401a23
push 0x400000
call fcn.00405efc
add esp, 4
mov dword [edi + 0x2c], eax
lea eax, [esp + 0x38]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x24]
call dword [0x408218]
mov ecx, eax
call dword [0x408214]
push dword [0x408178]
mov ecx, eax
mov byte [esp + 0x34], 5
push str.Initialization_complete
call dword [0x408170]
mov ecx, eax
call dword [0x408168]
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 1
call dword [0x408174]
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret 4