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

Disassembly:
sub esp, 0x468
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push esi
push 0
push 0
push 0x147
mov esi, ecx
mov eax, dword [esi]
push 0x74
push eax
call ebx
cmp eax, 0xffffffff
jne 0x42c1c5
mov ecx, dword [esi]
push 0x30
push 0x462268
push 0x46227c
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
xor al, al
pop ebx
add esp, 0x468
ret
push ebp
push edi
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [esi]
push 0x148
push 0x74
push eax
call ebx
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x462298
push 0x4622a0
call edi
mov eax, dword [esi + 8]
push eax
push 0
push 0x4622a4
push 0x4622ac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp dword [esi + 0x10], eax
jl 0x42c2ef
push 4
lea ecx, [esp + 0x18]
push str.DRSI
push ecx
call fcn.0043a790
add esp, 0xc
test eax, eax
jne 0x42c236
inc dword [0x466ca8]
jmp 0x42c2ef
push 6
lea edx, [esp + 0x18]
push str.BayCom
push edx
call fcn.0043a790
add esp, 0xc
test eax, eax
jne 0x42c259
inc dword [0x467954]
jmp 0x42c2ef
push 5
lea eax, [esp + 0x18]
push str.USCC4
push eax
call fcn.0043a790
add esp, 0xc
test eax, eax
jne 0x42c279
inc dword [0x466a08]
jmp 0x42c2ef
push 3
lea ecx, [esp + 0x18]
push 0x4622cc
push ecx
call fcn.0043a790
add esp, 0xc
test eax, eax
jne 0x42c299
inc dword [0x466c74]
jmp 0x42c2ef
push 6
lea edx, [esp + 0x18]
push str.OE5DXL
push edx
call fcn.0043a790
add esp, 0xc
test eax, eax
jne 0x42c2b9
inc dword [0x466cd8]
jmp 0x42c2ef
push 6
lea eax, [esp + 0x18]
push str.PICPAR
push eax
call fcn.0043a790
add esp, 0xc
test eax, eax
je 0x42c2e9
push 5
lea ecx, [esp + 0x18]
push 0x4622e0
push ecx
call fcn.0043a790
add esp, 0xc
test eax, eax
jne 0x42c2ef
inc dword [0x467924]
mov edx, dword [esi]
push 0
push 0
push 0x147
push 0x75
push edx
call ebx
cmp eax, 0xffffffff
jne 0x42c306
xor eax, eax
sub eax, 0
je 0x42c33b
dec eax
je 0x42c326
dec eax
jne 0x42c350
mov eax, dword [esi + 4]
push eax
push str.SMACK
push 0x462324
push 0x462330
jmp 0x42c34e
mov ecx, dword [esi + 4]
push ecx
push str.XKISSTYPE
push 0x46230c
push 0x462318
jmp 0x42c34e
mov edx, dword [esi + 4]
push edx
push 0x4622e8
push 0x4622f0
push 0x4622fc
call edi
mov eax, dword [esi]
push 0
push 0
push 0x147
push 0x79
push eax
call ebx
mov edx, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push eax
push 0x148
push 0x79
push edx
call ebx
mov eax, dword [esi + 4]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x462334
push 0x46233c
call edi
mov edx, dword [esi]
push 0
push 0
push 0x147
push 0x7a
push edx
call ebx
mov edx, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push eax
push 0x148
push 0x7a
push edx
call ebx
mov eax, dword [esi + 4]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x46234c
push 0x462354
call edi
mov eax, dword [esi]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItemTextA]
push 0x14
lea edx, [esp + 0x18]
push edx
push 0x6d
push eax
call ebx
mov ecx, dword [esi + 4]
push ecx
lea edx, [esp + 0x18]
push edx
push str.INITKISS1
push 0x462370
call edi
mov ecx, dword [esi]
push 0x14
lea eax, [esp + 0x18]
push eax
push 0x6e
push ecx
call ebx
mov edx, dword [esi + 4]
push edx
lea eax, [esp + 0x18]
push eax
push str.INITKISS2
push 0x462380
call edi
mov edx, dword [esi]
push 0x14
lea ecx, [esp + 0x18]
push ecx
push 0x6f
push edx
call ebx
mov eax, dword [esi + 4]
push eax
lea ecx, [esp + 0x18]
push ecx
push str.INITKISS3
push 0x462390
call edi
mov edx, dword [esi]
push 0x88
push edx
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x42c454
mov eax, dword [esi + 4]
push eax
push 0x462394
push 0x462398
push 0x4623a4
jmp 0x42c467
mov ecx, dword [esi + 4]
push ecx
push 0x4623a8
push str.EXITKISS
push 0x4623b8
call edi
mov edx, dword [esi]
mov ebp, dword [sym.imp.USER32.dll_GetDlgItemInt]
push 0
push 0
push 0x70
push edx
call ebp
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [esp + 0x18]
push 0x4623bc
push eax
call ebx
mov ecx, dword [esi + 4]
add esp, 0xc
push ecx
lea edx, [esp + 0x18]
push edx
push 0x4623c0
push 0x4623c8
call edi
mov eax, dword [esi]
push 0
push 0
push 0x71
push eax
call ebp
push eax
lea ecx, [esp + 0x18]
push 0x4623cc
push ecx
call ebx
mov edx, dword [esi + 4]
add esp, 0xc
push edx
lea eax, [esp + 0x18]
push eax
push str.KISSIDPORT2
push 0x4623dc
call edi
mov ecx, dword [esi]
push 0
push 0
push 0x72
push ecx
call ebp
push eax
lea edx, [esp + 0x18]
push 0x4623e0
push edx
call ebx
mov eax, dword [esi + 4]
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
push ecx
push str.KISSIDPORT3
push 0x4623f0
call edi
mov edx, dword [esi]
push 0
push 0
push 0x73
push edx
call ebp
push eax
lea eax, [esp + 0x18]
push 0x4623f4
push eax
call ebx
mov ecx, dword [esi + 4]
add esp, 0xc
push ecx
lea edx, [esp + 0x18]
push edx
push str.KISSIDPORT4
push 0x462404
call edi
push 0x1e
lea eax, [esp + 0x18]
mov ecx, dword [esi]
push eax
push 0x69
push ecx
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
mov edx, dword [esi + 4]
push edx
lea eax, [esp + 0x18]
push eax
push 0x462408
push 0x462414
call edi
mov ecx, dword [esi + 4]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
push 0x14
lea edx, [esp + 0x1c]
push edx
push 0x462418
push str.SPEEDA
push 0x462428
call ebp
lea eax, [esp + 0x14]
push eax
call fcn.00439d1c
add esp, 4
cmp eax, 0x12c0
jg 0x42c5ce
je 0x42c5c5
cmp eax, 0x12c
je 0x42c5b7
cmp eax, 0x4b0
je 0x42c5b7
cmp eax, 0x960
jne 0x42c5dc
push 1
push 0x46243c
lea ecx, [esp + 0x1c]
push ecx
jmp 0x42c604
push 0
push 0x462438
lea edx, [esp + 0x1c]
push edx
jmp 0x42c604
push 2
push 0x462440
jmp 0x42c5ff
cmp eax, 0x2580
je 0x42c5f8
cmp eax, 0x4b00
je 0x42c5ea
push 0
push 0x46244c
lea ecx, [esp + 0x1c]
push ecx
jmp 0x42c604
push 4
push 0x462448
lea edx, [esp + 0x1c]
push edx
jmp 0x42c604
push 3
push 0x462444
lea eax, [esp + 0x1c]
push eax
call ebx
mov ecx, dword [esi + 4]
add esp, 0xc
push ecx
lea edx, [esp + 0x18]
push edx
push 0x462450
push 0x462458
call edi
mov eax, dword [esi]
push 0x83
push eax
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x42c652
mov ecx, dword [esi + 4]
push ecx
push 0x46245c
push 0x462460
push 0x46246c
call edi
pop edi
pop ebp
pop esi
mov al, 1
pop ebx
add esp, 0x468
ret
mov edx, dword [esi]
push 0x84
push edx
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x42ca3b
mov eax, dword [esi + 4]
push eax
push 0x462470
push 0x462474
push 0x462480
call edi
mov ecx, dword [esi + 4]
push ecx
push 0x12c
push 0x462484
push 0x462490
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea edx, [esp + 0x374]
push edx
push 0x104
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp dword [esp + 0x10], 0x12c
jne 0x42c712
mov eax, dword [esi + 8]
push eax
push 0
push 0x46249c
push 0x4624a4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
lea ecx, [esp + 0x378]
push ecx
lea edx, [esp + 0x70]
push 0x4624ac
push edx
mov dword [esp + 0x20], eax
call ebx
mov eax, dword [esp + 0x20]
inc eax
push eax
lea ecx, [esp + 0x28]
push 0x4624bc
push ecx
call ebx
mov edx, dword [esi + 8]
add esp, 0x1c
push edx
lea eax, [esp + 0x18]
push eax
push 0x4624c0
push 0x4624c8
call edi
jmp 0x42c72e
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x378]
push edx
lea eax, [esp + 0x70]
push 0x4624d0
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x68]
push ecx
push 0x4624e0
push 0x4624e8
push 0x4624f4
call edi
mov edx, dword [esi]
push 0
push 0
push 0x147
push 0x74
push edx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
cmp eax, 0xffffffff
mov dword [esp + 0x64], eax
jne 0x42c776
mov eax, dword [esi]
push 0x30
push 0x462500
push 0x462514
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [esp + 0x64]
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push edx
push 0x148
push 0x74
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x462530
push 0x462538
call edi
mov eax, dword [esi + 4]
push eax
push 0x14
lea ecx, [esp + 0x1c]
push ecx
push 0x46253c
push 0x462540
push 0x462548
call ebp
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x18]
push eax
push 0x462558
push 0x462560
call edi
mov ecx, dword [esi + 4]
push ecx
push 0x14
lea edx, [esp + 0x1c]
push edx
push 0x462570
push str.SPEEDB
push 0x462580
call ebp
lea eax, [esp + 0x14]
push eax
call fcn.00439d1c
add esp, 4
cmp eax, 0x12c0
jg 0x42c844
je 0x42c83b
cmp eax, 0x12c
je 0x42c82d
cmp eax, 0x4b0
je 0x42c82d
cmp eax, 0x960
jne 0x42c852
push 1
push 0x462594
lea ecx, [esp + 0x1c]
push ecx
jmp 0x42c87a
push 0
push 0x462590
lea edx, [esp + 0x1c]
push edx
jmp 0x42c87a
push 2
push 0x462598
jmp 0x42c875
cmp eax, 0x2580
je 0x42c86e
cmp eax, 0x4b00
je 0x42c860
push 0
push 0x4625a4
lea ecx, [esp + 0x1c]
push ecx
jmp 0x42c87a
push 4
push 0x4625a0
lea edx, [esp + 0x1c]
push edx
jmp 0x42c87a
push 3
push 0x46259c
lea eax, [esp + 0x1c]
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x4625a8
push 0x4625b0
call edi
mov ecx, dword [esi]
push 0x1e
lea eax, [esp + 0x18]
push eax
push 0x6c
push ecx
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x18]
push eax
push 0x4625b4
push 0x4625c0
call edi
mov ecx, dword [esi]
push 0
push 0
push 0x71
push ecx
call dword [sym.imp.USER32.dll_GetDlgItemInt]
push eax
lea edx, [esp + 0x18]
push 0x4625c4
push edx
call ebx
add esp, 0xc
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x4625c8
push 0x4625d0
call edi
lea edx, [esp + 0x68]
push edx
push 0x4625d4
push 0x4625d8
push 0x4625e4
call edi
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push 0x4625e8
push ecx
call ebx
mov edx, dword [esi + 4]
add esp, 0xc
push edx
lea eax, [esp + 0x18]
push eax
push 0x4625ec
push 0x4625f8
call edi
mov ecx, dword [esi + 4]
push ecx
push 0x14
lea edx, [esp + 0x1c]
push edx
push 0x462604
push 0x46260c
push 0x462614
call ebp
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x462618
push 0x462620
call edi
mov edx, dword [esi + 4]
push edx
push 0x14
lea eax, [esp + 0x1c]
push eax
push 0x462624
push 0x462628
push 0x462630
call ebp
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x462640
push 0x462648
call edi
mov eax, dword [esi + 0x10]
push eax
lea ecx, [esp + 0x18]
push 0x462658
push ecx
call ebx
add esp, 0xc
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x18]
push eax
push 0x46265c
push 0x462668
call edi
mov ecx, dword [esi + 4]
push ecx
push 0x14
lea edx, [esp + 0x1c]
push edx
push 0x462674
push 0x46267c
push 0x462688
call ebp
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x46268c
push 0x462698
call edi
mov edx, dword [esi]
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
push 0
push 0x147
push 0x7a
push edx
call ebx
mov edx, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push eax
push 0x148
push 0x7a
push edx
call ebx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x46269c
push 0x4626a4
call edi
pop edi
pop ebp
pop esi
mov al, 1
pop ebx
add esp, 0x468
ret
mov edx, dword [esi]
push 0x85
push edx
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x42d322
mov eax, dword [esi + 4]
push eax
push 0x4626b4
push 0x4626b8
push 0x4626c4
call edi
mov ecx, dword [esi + 4]
push ecx
push 0x12c
push 0x4626c8
push 0x4626d4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea edx, [esp + 0x374]
push edx
push 0x104
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp dword [esp + 0x10], 0x12c
jne 0x42cbbf
mov eax, dword [esi + 8]
push eax
push 0
push 0x4626e0
push 0x4626e8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
lea ecx, [esp + 0x18]
push 0x4626f0
push ecx
mov dword [esp + 0x1c], eax
call ebx
mov edx, dword [esi + 4]
add esp, 0xc
push edx
lea eax, [esp + 0x18]
push eax
push str.SECONDPORT
push 0x462700
call edi
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x378]
push edx
lea eax, [esp + 0x70]
push 0x46270c
push eax
call ebx
mov eax, dword [esp + 0x20]
inc eax
push eax
lea ecx, [esp + 0x28]
push 0x46271c
push ecx
call ebx
mov edx, dword [esi + 4]
add esp, 0x1c
push edx
lea eax, [esp + 0x18]
push eax
push 0x462720
push 0x46272c
call edi
mov eax, dword [esp + 0x10]
inc eax
push eax
lea ecx, [esp + 0x378]
push ecx
lea edx, [esp + 0x278]
push 0x462738
push edx
call ebx
mov eax, dword [esp + 0x20]
add eax, 2
push eax
lea eax, [esp + 0x28]
push 0x462748
push eax
call ebx
mov ecx, dword [esi + 4]
add esp, 0x1c
push ecx
lea edx, [esp + 0x18]
push edx
push 0x46274c
push 0x462758
call edi
mov eax, dword [esp + 0x10]
add eax, 2
push eax
lea eax, [esp + 0x378]
push eax
lea ecx, [esp + 0x174]
push 0x462764
push ecx
call ebx
mov edx, dword [esp + 0x20]
add edx, 3
push edx
push 0x462774
lea eax, [esp + 0x2c]
push eax
call ebx
mov ecx, dword [esi + 8]
add esp, 0x1c
push ecx
lea edx, [esp + 0x18]
push edx
push 0x462778
push 0x462780
call edi
jmp 0x42cc43
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x378]
push ecx
lea edx, [esp + 0x70]
push 0x462788
push edx
call ebx
mov eax, dword [esi + 4]
add esp, 0x10
push eax
push 0x12c
push str.THIRDPORT
push 0x4627a4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
lea ecx, [esp + 0x378]
push ecx
lea edx, [esp + 0x278]
push 0x4627b0
push edx
call ebx
mov eax, dword [esi + 4]
add esp, 0x10
push eax
push 0x12c
push str.FORTHPORT
push 0x4627cc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
lea ecx, [esp + 0x378]
push ecx
lea edx, [esp + 0x174]
push str._sport_d.INI
push edx
call ebx
add esp, 0x10
lea eax, [esp + 0x68]
push eax
push 0x4627e8
push 0x4627f0
push 0x4627fc
call edi
lea ecx, [esp + 0x270]
push ecx
push 0x462808
push 0x462810
push 0x46281c
call edi
lea edx, [esp + 0x16c]
push edx
push str.DISABLE
push str.SERIALPORT
push 0x46283c
call edi
mov eax, dword [esi]
push 0
push 0
push 0x147
push 0x74
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
cmp eax, 0xffffffff
mov dword [esp + 0x64], eax
jne 0x42ccbd
mov ecx, dword [esi]
push 0x30
push 0x462848
push 0x46285c
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x64]
mov ecx, dword [esi]
lea edx, [esp + 0x14]
push edx
push eax
push 0x148
push 0x74
push ecx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x18]
push eax
push 0x462878
push 0x462880
call edi
lea ecx, [esp + 0x270]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x462884
push 0x46288c
call edi
lea eax, [esp + 0x16c]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x462890
push 0x462898
call edi
mov edx, dword [esi + 4]
push edx
push 0x14
lea eax, [esp + 0x1c]
push eax
push 0x46289c
push 0x4628a0
push 0x4628a8
call ebp
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x4628b8
push 0x4628c0
call edi
lea eax, [esp + 0x270]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x4628d0
push 0x4628d8
call edi
lea edx, [esp + 0x16c]
push edx
lea eax, [esp + 0x18]
push eax
push str.COMBASE
push 0x4628f0
call edi
mov ecx, dword [esi + 4]
push ecx
push 0x14
lea edx, [esp + 0x1c]
push edx
push 0x462900
push str.CHAN1
push 0x462910
call ebp
lea eax, [esp + 0x14]
push eax
call fcn.00439d1c
add esp, 4
cmp eax, 0x12c0
jg 0x42cdef
je 0x42cde6
cmp eax, 0x12c
je 0x42cdd8
cmp eax, 0x4b0
je 0x42cdd8
cmp eax, 0x960
jne 0x42cdfd
push 1
push 0x462924
lea ecx, [esp + 0x1c]
push ecx
jmp 0x42ce25
push 0
push 0x462920
lea edx, [esp + 0x1c]
push edx
jmp 0x42ce25
push 2
push 0x462928
jmp 0x42ce20
cmp eax, 0x2580
je 0x42ce19
cmp eax, 0x4b00
je 0x42ce0b
push 0
push 0x462934
lea ecx, [esp + 0x1c]
push ecx
jmp 0x42ce25
push 4
push 0x462930
lea edx, [esp + 0x1c]
push edx
jmp 0x42ce25
push 3
push 0x46292c
lea eax, [esp + 0x1c]
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x462938
push 0x462940
call edi
mov eax, dword [esi + 4]
push eax
push 0x14
lea ecx, [esp + 0x1c]
push ecx
push 0x462944
push str.CHAN2
push 0x462954
call ebp
lea edx, [esp + 0x14]
push edx
call fcn.00439d1c
add esp, 4
cmp eax, 0x12c0
jg 0x42ceac
je 0x42cea3
cmp eax, 0x12c
je 0x42ce95
cmp eax, 0x4b0
je 0x42ce95
cmp eax, 0x960
jne 0x42ceba
push 1
push 0x462968
lea eax, [esp + 0x1c]
push eax
jmp 0x42cee2
push 0
push 0x462964
lea ecx, [esp + 0x1c]
push ecx
jmp 0x42cee2
push 2
push 0x46296c
jmp 0x42cedd
cmp eax, 0x2580
je 0x42ced6
cmp eax, 0x4b00
je 0x42cec8
push 0
push 0x462978
lea eax, [esp + 0x1c]
push eax
jmp 0x42cee2
push 4
push 0x462974
lea ecx, [esp + 0x1c]
push ecx
jmp 0x42cee2
push 3
push 0x462970
lea edx, [esp + 0x1c]
push edx
call ebx
add esp, 0xc
lea eax, [esp + 0x270]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x46297c
push 0x462984
call edi
mov edx, dword [esi + 4]
push edx
push 0x14
lea eax, [esp + 0x1c]
push eax
push str.1200
push str.CHAN3
push 0x462998
call ebp
lea ecx, [esp + 0x14]
push ecx
call fcn.00439d1c
add esp, 4
cmp eax, 0x12c0
jg 0x42cf6c
je 0x42cf63
cmp eax, 0x12c
je 0x42cf55
cmp eax, 0x4b0
je 0x42cf55
cmp eax, 0x960
jne 0x42cf7a
push 1
push 0x4629ac
lea edx, [esp + 0x1c]
push edx
jmp 0x42cfa2
push 0
push 0x4629a8
lea eax, [esp + 0x1c]
push eax
jmp 0x42cfa2
push 2
push 0x4629b0
jmp 0x42cf9d
cmp eax, 0x2580
je 0x42cf96
cmp eax, 0x4b00
je 0x42cf88
push 0
push 0x4629bc
lea edx, [esp + 0x1c]
push edx
jmp 0x42cfa2
push 4
push 0x4629b8
lea eax, [esp + 0x1c]
push eax
jmp 0x42cfa2
push 3
push 0x4629b4
lea ecx, [esp + 0x1c]
push ecx
call ebx
add esp, 0xc
lea edx, [esp + 0x16c]
push edx
lea eax, [esp + 0x18]
push eax
push 0x4629c0
push 0x4629c8
call edi
mov edx, dword [esi]
push 0x1e
lea ecx, [esp + 0x18]
push ecx
push 0x6c
push edx
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x4629cc
push 0x4629d8
call edi
mov eax, dword [esi]
push 0x1e
lea edx, [esp + 0x18]
push edx
push 0x7e
push eax
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea ecx, [esp + 0x270]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x4629dc
push 0x4629e8
call edi
mov ecx, dword [esi]
push 0x1e
lea eax, [esp + 0x18]
push eax
push 0x7f
push ecx
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea edx, [esp + 0x16c]
push edx
lea eax, [esp + 0x18]
push eax
push 0x4629ec
push 0x4629f8
call edi
mov ecx, dword [esi]
push 0
push 0
push 0x71
push ecx
call dword [sym.imp.USER32.dll_GetDlgItemInt]
push eax
lea edx, [esp + 0x18]
push 0x4629fc
push edx
call ebx
add esp, 0xc
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x462a00
push 0x462a08
call edi
mov edx, dword [esi]
push 0
push 0
push 0x72
push edx
call dword [sym.imp.USER32.dll_GetDlgItemInt]
push eax
lea eax, [esp + 0x18]
push 0x462a0c
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x270]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x462a10
push 0x462a18
call edi
mov eax, dword [esi]
push 0
push 0
push 0x73
push eax
call dword [sym.imp.USER32.dll_GetDlgItemInt]
push eax
lea ecx, [esp + 0x18]
push 0x462a1c
push ecx
call ebx
add esp, 0xc
lea edx, [esp + 0x16c]
push edx
lea eax, [esp + 0x18]
push eax
push str.KISSID
push 0x462a28
call edi
lea ecx, [esp + 0x68]
push ecx
push 0x462a2c
push 0x462a30
push 0x462a3c
call edi
lea edx, [esp + 0x270]
push edx
push 0x462a40
push 0x462a44
push 0x462a50
call edi
lea eax, [esp + 0x16c]
push eax
push 0x462a54
push str.MULTIPORT
push 0x462a64
call edi
mov ecx, dword [esi + 4]
push ecx
push 0x14
lea edx, [esp + 0x1c]
push edx
push str.TNC2
push 0x462a70
push 0x462a78
call ebp
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x462a7c
push 0x462a84
call edi
lea edx, [esp + 0x270]
push edx
lea eax, [esp + 0x18]
push eax
push 0x462a88
push 0x462a90
call edi
lea ecx, [esp + 0x16c]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x462a94
push 0x462a9c
call edi
mov eax, dword [esi + 4]
push eax
push 0x14
lea ecx, [esp + 0x1c]
push ecx
push 0x462aa0
push 0x462aa4
push 0x462aac
call ebp
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x18]
push eax
push 0x462abc
push 0x462ac4
call edi
lea ecx, [esp + 0x270]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x462ad4
push 0x462adc
call edi
lea eax, [esp + 0x16c]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x462aec
push 0x462af4
call edi
mov edx, dword [esi + 0x10]
push edx
lea eax, [esp + 0x18]
push 0x462b04
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x462b08
push 0x462b14
call edi
lea eax, [esp + 0x270]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x462b20
push 0x462b2c
call edi
lea edx, [esp + 0x16c]
push edx
lea eax, [esp + 0x18]
push eax
push str.MAINPORT
push str.DUALPORT
call edi
mov ecx, dword [esi + 4]
push ecx
push 0x14
lea edx, [esp + 0x1c]
push edx
push 0x462b50
push 0x462b58
push 0x462b64
call ebp
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x462b68
push 0x462b74
call edi
lea edx, [esp + 0x270]
push edx
lea eax, [esp + 0x18]
push eax
push 0x462b78
push 0x462b84
call edi
lea ecx, [esp + 0x16c]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x462b88
push 0x462b94
call edi
mov eax, dword [esi]
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
push 0
push 0x147
push 0x7a
push eax
call ebx
mov edx, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push eax
push 0x148
push 0x7a
push edx
call ebx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x462b98
push 0x462ba0
call edi
lea edx, [esp + 0x270]
push edx
lea eax, [esp + 0x18]
push eax
push 0x462bb0
push 0x462bb8
call edi
lea ecx, [esp + 0x16c]
push ecx
lea edx, [esp + 0x18]
push edx
push str.BAUD
push 0x462bd0
call edi
pop edi
pop ebp
pop esi
mov al, 1
pop ebx
add esp, 0x468
ret