Function at 0x497880
Capabilities:
Get process heap flags
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b0c2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
mov dword [edi], 0x4beb1c
lea ecx, [esp + 0x18]
mov dword [esp + 0x5c], 0xe
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 0xf
call sub.MFC42.DLL_CString::CString_4
xor esi, esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], esi
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 0x12
call fcn.0043b390
mov dword [esp + 0x40], esi
push ecx
mov ecx, dword [edi + 0x38]
mov eax, esp
mov byte [esp + 0x60], 0x13
mov dword [esp + 0x14], esp
mov dword [eax], ecx
lea ecx, [esp + 0x1c]
call fcn.0043b410
and eax, 0xff
mov dword [esp + 0x10], eax
jne 0x497961
lea ecx, [esp + 0x48]
mov byte [esp + 0x5c], 0x16
call fcn.0043b2e0
mov eax, dword [esp + 0x44]
mov byte [esp + 0x5c], 0x15
cmp eax, esi
mov ebx, eax
je 0x497957
cmp dword [eax], esi
je 0x49794a
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, esi
je 0x497946
push 1
call fcn.0043b320
mov eax, dword [esp + 0x44]
cmp dword [ebx], esi
jne 0x497932
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x44], esi
mov byte [esp + 0x5c], 0x14
jmp 0x497ad2
push ecx
lea ecx, [esp + 0x1c]
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [eax], str.FreqRange
call fcn.0043b9c0
test al, al
je 0x497995
push esi
push ecx
lea eax, [edi + 0x18]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0041cfc0
lea ecx, [esp + 0x20]
call fcn.0043b2c0
push ecx
lea ecx, [esp + 0x1c]
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [eax], str.Signal
call fcn.0043b9c0
test al, al
je 0x4979c1
mov eax, dword [edi + 0x24]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.0043e4d0
push ecx
lea ecx, [esp + 0x1c]
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [eax], str.ComPort
call fcn.0043b9c0
test al, al
je 0x4979ed
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x28]
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.0043e4d0
push ecx
mov ecx, dword [edi + 0x38]
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [eax], ecx
lea ecx, [esp + 0x1c]
call fcn.0043b6c0
mov eax, dword [esp + 0x4c]
xor ebx, ebx
dec eax
mov byte [esp + 0x5c], 0x18
sar eax, 0x10
inc eax
test eax, eax
jle 0x497a34
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + ebx*4]
push eax
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x50]
add esp, 4
inc ebx
dec edx
sar edx, 0x10
inc edx
cmp ebx, edx
jl 0x497a16
mov eax, dword [esp + 0x48]
cmp eax, esi
je 0x497a45
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x44]
cmp eax, esi
mov ecx, eax
je 0x497acd
cmp dword [eax], esi
je 0x497ac0
mov ebp, dword [ecx]
add ecx, 4
cmp ebp, esi
mov dword [esp + 0x10], ecx
je 0x497abc
cmp dword [ebp], esi
je 0x497aab
mov eax, dword [ebp + 4]
xor ebx, ebx
cmp eax, esi
jle 0x497a9f
mov eax, dword [ebp]
mov eax, dword [eax + ebx*4]
cmp eax, esi
je 0x497a97
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.00452500
push ecx
push 0xc
push eax
call fcn.0049f238
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor esi, esi
mov eax, dword [ebp + 4]
inc ebx
cmp ebx, eax
jl 0x497a6e
mov eax, dword [ebp]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push ebp
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
add esp, 4
cmp dword [ecx], esi
jne 0x497a53
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x44], esi
mov byte [esp + 0x5c], 0x17
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x9c]
mov byte [esp + 0x5c], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x98]
mov byte [esp + 0x5c], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x78]
mov byte [esp + 0x5c], 0xb
call fcn.0049f172
lea ecx, [edi + 0x5c]
mov byte [esp + 0x5c], 0xa
call fcn.0049f172
lea ecx, [edi + 0x40]
mov byte [esp + 0x5c], 9
call fcn.0049f172
lea ecx, [edi + 0x3c]
mov byte [esp + 0x5c], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x38]
mov byte [esp + 0x5c], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x34]
mov byte [esp + 0x5c], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x30]
mov byte [esp + 0x5c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x2c]
mov byte [esp + 0x5c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x28]
mov byte [esp + 0x5c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x1c]
mov byte [esp + 0x5c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x18]
mov byte [esp + 0x5c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x14]
mov byte [esp + 0x5c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x10]
mov dword [esp + 0x5c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret