Function at 0x42d760
Capabilities:
Get common file path
Read .ini file

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x310
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebp
push esi
mov esi, dword [esp + 0x320]
push edi
mov edi, ecx
mov dword [edi], esi
mov ecx, dword [eax]
push 0x467980
push 0xff
mov dword [edi + 4], ecx
mov edx, dword [eax + 4]
push 0x466a30
mov dword [edi + 8], edx
mov ecx, dword [eax + 8]
push 0x4614a8
mov dword [edi + 0x10], ecx
mov edx, dword [eax + 0xc]
push str.GROUPBOX7
push 0x4614c0
mov dword [edi + 0xc], edx
call ebx
mov ebp, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x466a30
push 0x64
push esi
call ebp
push 0x467980
push 0xff
push 0x466a30
push 0x4614cc
push str.GROUPBOX8
push 0x4614f0
call ebx
push 0x466a30
push 0x65
push esi
call ebp
push 0x467980
push 0xff
push 0x466a30
push 0x4614fc
push str.GROUPBOX9
push 0x461518
call ebx
push 0x466a30
push 0x66
push esi
call ebp
push 0x467980
push 0xff
push 0x466a30
push 0x461524
push str.GROUPBOX10
push 0x461540
call ebx
push 0x466a30
push 0x67
push esi
call ebp
push 0x467980
push 0xff
push 0x466a30
push 0x46154c
push 0x461578
push 0x46157c
call ebx
push 0x466a30
push 0x68
push esi
call ebp
push 0x467980
push 0xff
push 0x466a30
push 0x461588
push 0x4615a0
push 0x4615a4
call ebx
push 0x466a30
push 0x76
push esi
call ebp
push 0x467980
push 0xff
push 0x466a30
push 0x4615b0
push 0x4615d0
push 0x4615d4
call ebx
push 0x466a30
push 0x77
push esi
call ebp
push 0x467980
push 0xff
push 0x466a30
push 0x4615e0
push str.GROUPBOX17
push 0x4615f8
call ebx
push 0x466a30
push 0x78
push esi
call ebp
push 0x467980
push 0xff
push 0x466a30
push str.SerialPort_modem_BaudRate
push 0x461620
push 0x461624
call ebx
push 0x466a30
push 0x7b
push esi
call ebp
push 0x467980
push 0xff
push 0x466a30
push 0x461630
push 0x461638
push 0x46163c
call ebx
push 0x466a30
push 0x86
push esi
call ebp
push 0x467980
push 0xff
push 0x466a30
push 0x461648
push 0x461654
push 0x461658
call ebx
push 0x466a30
push 0x83
push esi
call ebp
push 0x467980
push 0xff
push 0x466a30
push 0x461664
push 0x461670
push 0x461674
call ebx
push 0x466a30
push 0x84
push esi
call ebp
push 0x467980
push 0xff
push 0x466a30
push 0x461680
push 0x461690
push 0x461694
call ebx
push 0x466a30
push 0x85
push esi
call ebp
push 0x467980
push 0xff
push 0x466a30
push 0x4616a0
push 0x4616e0
push str.SETUPTNC
call ebx
push 0x466a30
push 0x89
push esi
call ebp
mov ecx, edi
call fcn.0042b420
mov eax, dword [edi + 4]
push eax
push 0x14
lea ecx, [esp + 0x1c]
push ecx
push 0x4616f0
push 0x4616f4
push 0x4616fc
call ebx
lea edx, [esp + 0x14]
push edx
push 0
push 0x158
push 0x74
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
cmp eax, 0xffffffff
je 0x42da45
push 0
push eax
push 0x14e
push 0x74
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 4
lea eax, [esp + 0x18]
push 0x461700
push eax
call fcn.0043a790
add esp, 0xc
test eax, eax
jne 0x42da72
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 6
lea ecx, [esp + 0x18]
push 0x461708
push ecx
call fcn.0043a790
add esp, 0xc
test eax, eax
jne 0x42da9f
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
lea edx, [esp + 0x18]
push str.USCC
push edx
call fcn.0043a790
add esp, 0xc
test eax, eax
jne 0x42dacc
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 3
lea eax, [esp + 0x18]
push 0x461718
push eax
call fcn.0043a790
add esp, 0xc
test eax, eax
jne 0x42daf9
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 6
lea ecx, [esp + 0x18]
push 0x46171c
push ecx
call fcn.0043a790
add esp, 0xc
test eax, eax
jne 0x42db26
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 3
lea edx, [esp + 0x18]
push 0x461724
push edx
call fcn.0043a790
add esp, 0xc
test eax, eax
jne 0x42db53
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 7
lea eax, [esp + 0x18]
push str.OptoSCC
push eax
call fcn.0043a790
add esp, 0xc
test eax, eax
jne 0x42db80
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 3
lea ecx, [esp + 0x18]
push str.PetSCC
push ecx
call fcn.0043a790
add esp, 0xc
test eax, eax
jne 0x42dbad
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 6
lea edx, [esp + 0x18]
push 0x461738
push edx
call fcn.0043a790
add esp, 0xc
test eax, eax
jne 0x42dbda
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
lea eax, [esp + 0x18]
push 0x461740
push eax
call fcn.0043a790
add esp, 0xc
test eax, eax
jne 0x42dc07
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
lea ecx, [esp + 0x18]
push str.G4XYW
push ecx
call fcn.0043a790
add esp, 0xc
test eax, eax
jne 0x42dc34
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 8
lea edx, [esp + 0x18]
push 0x461750
push edx
call fcn.0043a790
add esp, 0xc
test eax, eax
jne 0x42dc61
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi + 4]
push eax
push 0x14
lea ecx, [esp + 0x1c]
push ecx
push str.KISSTYPE
push 0x461768
push 0x461774
call ebx
push 0x461778
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x42dc96
push eax
push 1
jmp 0x42dcb2
push 0x461784
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
push 0
jne 0x42dcb0
push 2
jmp 0x42dcb2
push 0
push 0x14e
push 0x75
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov ecx, dword [edi + 4]
push ecx
push 0x14
lea edx, [esp + 0x1c]
push edx
push str.COM2:
push 0x461794
push 0x46179c
call ebx
lea eax, [esp + 0x14]
push eax
push 0
push 0x158
push 0x79
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
push eax
push 0x14e
push 0x79
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov ecx, dword [edi + 4]
push ecx
push 0x14
lea edx, [esp + 0x1c]
push edx
push 0x4617ac
push 0x4617b4
push 0x4617bc
call ebx
lea eax, [esp + 0x14]
push eax
push 0
push 0x158
push 0x7a
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
push eax
push 0x14e
push 0x7a
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov ecx, dword [edi + 4]
push ecx
push 0x14
lea edx, [esp + 0x1c]
push edx
push 0x4617cc
push 0x4617d0
push 0x4617dc
call ebx
lea eax, [esp + 0x14]
push eax
push 0x6d
push esi
call ebp
mov ecx, dword [edi + 4]
push ecx
push 0x14
lea edx, [esp + 0x1c]
push edx
push 0x4617e0
push 0x4617e4
push 0x4617f0
call ebx
lea eax, [esp + 0x14]
push eax
push 0x6e
push esi
call ebp
mov ecx, dword [edi + 4]
push ecx
push 0x14
lea edx, [esp + 0x1c]
push edx
push 0x4617f4
push 0x4617f8
push 0x461804
call ebx
lea eax, [esp + 0x14]
push eax
push 0x6f
push esi
call ebp
mov ecx, dword [edi + 4]
push ecx
push 1
push 0x461808
push 0x461814
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x42ddd4
push 1
jmp 0x42ddd6
push 0
push 0x88
push esi
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov edx, dword [edi + 4]
push edx
push 0
push 0x461818
push 0x461820
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0
push eax
push 0x70
push esi
call dword [sym.imp.USER32.dll_SetDlgItemInt]
mov eax, dword [edi + 4]
push eax
push 0
push 0x461824
push 0x461830
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0
push eax
push 0x71
push esi
call dword [sym.imp.USER32.dll_SetDlgItemInt]
mov ecx, dword [edi + 4]
push ecx
push 0
push 0x461834
push 0x461840
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0
push eax
push 0x72
push esi
call dword [sym.imp.USER32.dll_SetDlgItemInt]
mov edx, dword [edi + 4]
push edx
push 0
push 0x461844
push 0x461850
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0
push eax
push 0x73
push esi
call dword [sym.imp.USER32.dll_SetDlgItemInt]
mov eax, dword [edi + 4]
push eax
push 0x14
lea ecx, [esp + 0x1c]
push ecx
push str.145.650Mhz_1200baud
push 0x461868
push 0x461874
call ebx
lea edx, [esp + 0x14]
push edx
push 0x69
push esi
call ebp
mov eax, dword [edi + 4]
push eax
push 1
push 0x461878
push 0x461884
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 0x21c]
push ecx
push 0x104
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [esp + 0x10]
dec eax
je 0x42e0ea
dec eax
je 0x42e01c
sub eax, 2
jne 0x42e148
mov edx, dword [edi]
push 0x85
push 0x85
push 0x83
push edx
call dword [sym.imp.USER32.dll_CheckRadioButton]
mov eax, dword [edi + 4]
push eax
push 0
push 0x4618cc
push 0x4618d8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
lea ecx, [esp + 0x220]
push ecx
lea edx, [esp + 0x120]
push 0x4618e4
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0x118]
push eax
push 0x14
lea ecx, [esp + 0x1c]
push ecx
push str.433.650Mhz_1200b
push 0x461908
push 0x461914
call ebx
lea edx, [esp + 0x14]
push edx
push 0x6c
push esi
call ebp
mov eax, dword [edi + 4]
push eax
push 0
push 0x461918
push 0x461924
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
lea ecx, [esp + 0x220]
push ecx
lea edx, [esp + 0x120]
push 0x461930
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0x118]
push eax
push 0x14
lea ecx, [esp + 0x1c]
push ecx
push str.433.675Mhz
push 0x46194c
push 0x461958
call ebx
lea edx, [esp + 0x14]
push edx
push 0x7e
push esi
call ebp
mov eax, dword [edi + 4]
push eax
push 0
push 0x46195c
push 0x461968
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
lea ecx, [esp + 0x220]
push ecx
lea edx, [esp + 0x120]
push 0x461974
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0x118]
push eax
push 0x14
lea ecx, [esp + 0x1c]
push ecx
push str.438.150Mhz_9600b
push 0x461998
push 0x4619a4
call ebx
lea edx, [esp + 0x14]
push edx
push 0x7f
push esi
call ebp
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x310
ret 8
mov eax, dword [edi]
push 0x84
push 0x85
push 0x83
push eax
call dword [sym.imp.USER32.dll_CheckRadioButton]
push 0
push 0x7e
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0x72
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0x7f
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0x73
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [edi + 4]
push ecx
push 0
push 0x461888
push 0x461894
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
lea edx, [esp + 0x220]
push edx
lea eax, [esp + 0x120]
push 0x4618a0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x118]
push ecx
push 0x14
lea edx, [esp + 0x1c]
push edx
push str.433.650Mhz
push 0x4618bc
push 0x4618c8
call ebx
lea eax, [esp + 0x14]
push eax
push 0x6c
push esi
call ebp
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x310
ret 8
push 0x83
push 0x85
push 0x83
push esi
call dword [sym.imp.USER32.dll_CheckRadioButton]
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x6c
push esi
call ebp
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push 0
push 0x71
push esi
call ebp
push eax
call ebx
push 0
push 0x7e
push esi
call ebp
push eax
call ebx
push 0
push 0x72
push esi
call ebp
push eax
call ebx
push 0
push 0x7f
push esi
call ebp
push eax
call ebx
push 0
push 0x73
push esi
call ebp
push eax
call ebx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x310
ret 8