Function at 0x416790
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x5c8eb0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
mov dword [esi + 0x794], eax
mov dword [esi + 0x642], eax
mov word [esi + 0x798], ax
mov word [esi + 0x826], ax
mov word [esi + 0x8a0], ax
mov word [esi + 0x908], ax
mov eax, 0x17
push 0xff
mov word [esi + 0x8d8], ax
lea eax, [ebp - 0x114]
push eax
push 0x5a87b8
push str.Language
push str.Tera_Term
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x124], esi
call edi
lea eax, [ebp - 0x114]
push str.Japanese
push eax
call fcn.0054cbb4
add esp, 8
mov edx, 2
test eax, eax
jne 0x416838
mov word [esi + 0x75c], dx
jmp 0x41689e
lea eax, [ebp - 0x114]
push str.Russian
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
jne 0x416857
mov eax, 3
jmp 0x416897
lea eax, [ebp - 0x114]
push str.English
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
jne 0x416876
mov eax, 1
jmp 0x416897
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
and eax, 0x3ff
cmp eax, 0x11
je 0x416892
cmp eax, 0x19
je 0x416850
mov eax, 1
jmp 0x416897
mov eax, 2
mov word [esi + 0x75c], ax
push ebx
push 0xff
lea eax, [ebp - 0x114]
push eax
push 0x5a87b8
push str.Port
push str.Tera_Term
call edi
lea eax, [ebp - 0x114]
push str.tcpip
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
je 0x4168f1
lea eax, [ebp - 0x114]
push str.serial
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
mov eax, 2
je 0x4168f6
mov eax, 1
push ebx
push 0xff
mov word [esi + 0x8d2], ax
lea eax, [ebp - 0x114]
push eax
push str._32768__32768
push str.VTPos
push str.Tera_Term
call edi
lea ebx, [esi + 0x554]
mov edx, 1
push ebx
lea ecx, [ebp - 0x114]
call fcn.00415a80
lea edi, [esi + 0x558]
mov edx, 2
push edi
lea ecx, [ebp - 0x114]
call fcn.00415a80
mov ecx, dword [ebx]
add esp, 8
cmp ecx, 0xffffffec
jl 0x416970
mov eax, dword [edi]
cmp eax, 0xffffffec
jl 0x416970
test ecx, ecx
jns 0x416964
mov dword [ebx], 0
test eax, eax
jns 0x41697c
mov dword [edi], 0
jmp 0x41697c
mov dword [ebx], SysReAllocString
mov dword [edi], SysReAllocString
push dword [ebp - 0x11c]
lea eax, [ebp - 0x114]
push 0xff
push eax
push str._32768__32768
push str.TEKPos
push str.Tera_Term
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ebx, [esi + 0x7a0]
mov edx, 1
push ebx
lea ecx, [ebp - 0x114]
call fcn.00415a80
lea edi, [esi + 0x7a4]
mov edx, 2
push edi
lea ecx, [ebp - 0x114]
call fcn.00415a80
mov ecx, dword [ebx]
add esp, 8
cmp ecx, 0xffffffec
jl 0x4169f8
mov eax, dword [edi]
cmp eax, 0xffffffec
jl 0x4169f8
test ecx, ecx
jns 0x4169ec
mov dword [ebx], 0
test eax, eax
jns 0x416a04
mov dword [edi], 0
jmp 0x416a04
mov dword [ebx], SysReAllocString
mov dword [edi], SysReAllocString
push dword [ebp - 0x11c]
lea eax, [ebp - 0x114]
push 0xff
push eax
push str.80_24
push str.TerminalSize
push str.Tera_Term
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ebx, [esi + 0x7d8]
mov edx, 1
push ebx
lea ecx, [ebp - 0x114]
call fcn.00415a80
lea edi, [esi + 0x7dc]
mov edx, 2
push edi
lea ecx, [ebp - 0x114]
call fcn.00415a80
add esp, 8
cmp dword [ebx], 0
jge 0x416a67
mov dword [ebx], 1
cmp dword [edi], 0
jge 0x416a72
mov dword [edi], 1
mov ebx, dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
push 4
push eax
push 0x5a87b8
push str.TermIsWin
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
push ebx
push 4
mov word [esi + 0x7e0], ax
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.AutoWinResize
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
push ebx
push 0xff
mov word [esi + 0x7e2], ax
lea eax, [ebp - 0x114]
push eax
push 0x5a87b8
push str.CRReceive
push str.Tera_Term
call edi
lea eax, [ebp - 0x114]
push str.CRLF
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
mov eax, 2
je 0x416b34
mov eax, 1
push ebx
push 0xff
mov word [esi + 0x7e6], ax
lea eax, [ebp - 0x114]
push eax
push 0x5a87b8
push str.CRSend
push str.Tera_Term
call edi
lea eax, [ebp - 0x114]
push str.CRLF
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
mov eax, 2
je 0x416b7b
mov eax, 1
push ebx
push 4
mov word [esi + 0x7e4], ax
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.LocalEcho
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
push ebx
push 0xff
mov word [esi + 0x7e8], ax
lea eax, [ebp - 0x114]
push eax
push 0x5a87b8
push str.Answerback
push str.Tera_Term
call edi
lea edx, [esi + 0x7ea]
push 0x20
lea ecx, [ebp - 0x114]
call fcn.004158b0
add esp, 4
mov dword [esi + 0x80c], eax
lea eax, [ebp - 0x114]
push ebx
push 0xff
push eax
push 0x5a87b8
push str.KanjiReceive
push str.Tera_Term
call edi
lea eax, [ebp - 0x114]
push 0x5a9acc
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
jne 0x416c34
mov eax, 2
jmp 0x416c56
lea eax, [ebp - 0x114]
push 0x5a9ad0
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
mov eax, 3
je 0x416c56
mov eax, 1
push ebx
push 0xff
mov word [esi + 0x810], ax
lea eax, [ebp - 0x114]
push eax
push 0x5a87b8
push str.KatakanaReceive
push str.Tera_Term
call edi
lea eax, [ebp - 0x114]
push 0x5a9c34
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
jne 0x416c9a
mov eax, 1
jmp 0x416c9c
xor eax, eax
push ebx
push 0xff
mov word [esi + 0x814], ax
lea eax, [ebp - 0x114]
push eax
push 0x5a87b8
push str.KanjiSend
push str.Tera_Term
call edi
lea eax, [ebp - 0x114]
push 0x5a9acc
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
jne 0x416ce0
mov eax, 2
jmp 0x416d02
lea eax, [ebp - 0x114]
push 0x5a9ad0
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
mov eax, 3
je 0x416d02
mov eax, 1
push ebx
push 0xff
mov word [esi + 0x812], ax
lea eax, [ebp - 0x114]
push eax
push 0x5a87b8
push str.KatakanaSend
push str.Tera_Term
call edi
lea eax, [ebp - 0x114]
push 0x5a9c34
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
jne 0x416d46
mov eax, 1
jmp 0x416d48
xor eax, eax
push ebx
push 0xff
mov word [esi + 0x816], ax
lea eax, [ebp - 0x114]
push eax
push 0x5a87b8
push str.KanjiIn
push str.Tera_Term
call edi
lea eax, [ebp - 0x114]
push 0x5a9c5c
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
mov eax, 1
je 0x416d8f
mov eax, 2
push ebx
push 0xff
mov word [esi + 0x818], ax
lea eax, [ebp - 0x114]
push eax
push 0x5a87b8
push str.KanjiOut
push str.Tera_Term
call edi
lea eax, [ebp - 0x114]
push 0x5a91a4
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
jne 0x416dd3
mov eax, 1
jmp 0x416df5
lea eax, [ebp - 0x114]
push 0x5a9c6c
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
mov eax, 3
je 0x416df5
mov eax, 2
push ebx
push 4
mov word [esi + 0x81a], ax
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.AutoWinSwitch
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
push ebx
push 0xff
mov word [esi + 0x822], ax
lea eax, [ebp - 0x114]
push eax
push 0x5a87b8
push str.TerminalID
push str.Tera_Term
call edi
xor edi, edi
cmp dword [str.VT100], edi
je 0x416e8e
mov eax, 0x5ca340
lea ecx, [ebp - 0x114]
push ecx
push dword [eax]
call fcn.0054cbb4
add esp, 8
test eax, eax
je 0x416e8e
inc edi
movzx eax, di
cmp dword [eax*4 + 0x5ca340], 0
lea eax, [eax*4 + 0x5ca340]
jne 0x416e64
movzx eax, di
cmp dword [eax*4 + 0x5ca340], 0
jne 0x416ea2
mov edi, 1
jmp 0x416ea3
inc edi
push ebx
push 0xff
lea eax, [ebp - 0x114]
mov word [esi + 0x824], di
push eax
push 0x5a87b8
push str.RussHost
push str.Tera_Term
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor edi, edi
cmp dword [str.Windows], edi
je 0x416f0a
mov eax, 0x5ca2f0
jmp 0x416ee0
lea ecx, [ebp - 0x114]
push ecx
push dword [eax]
call fcn.0054cbb4
add esp, 8
test eax, eax
je 0x416f0a
inc edi
movzx eax, di
cmp dword [eax*4 + 0x5ca2f0], 0
lea eax, [eax*4 + 0x5ca2f0]
jne 0x416ee0
movzx eax, di
cmp dword [eax*4 + 0x5ca2f0], 0
jne 0x416f1e
mov edi, 2
jmp 0x416f1f
inc edi
push ebx
push 0xff
lea eax, [ebp - 0x114]
mov word [esi + 0x81c], di
push eax
push 0x5a87b8
push str.RussClient
push str.Tera_Term
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor edi, edi
cmp dword [str.Windows], edi
je 0x416f81
mov eax, 0x5ca2f0
lea ecx, [ebp - 0x114]
push ecx
push dword [eax]
call fcn.0054cbb4
add esp, 8
test eax, eax
je 0x416f81
inc edi
movzx eax, di
cmp dword [eax*4 + 0x5ca2f0], 0
lea eax, [eax*4 + 0x5ca2f0]
jne 0x416f57
movzx eax, di
cmp dword [eax*4 + 0x5ca2f0], 0
jne 0x416f95
mov edi, 1
jmp 0x416f96
inc edi
push ebx
push 0x32
lea eax, [esi + 0x854]
mov word [esi + 0x81e], di
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push str.Tera_Term
push str.Title
push str.Tera_Term
call edi
push ebx
push 0xff
lea eax, [ebp - 0x114]
push eax
push 0x5a87b8
push str.CursorShape
push str.Tera_Term
call edi
lea eax, [ebp - 0x114]
push str.vertical
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
jne 0x416ffb
mov eax, 2
jmp 0x41701d
lea eax, [ebp - 0x114]
push str.horizontal
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
mov eax, 3
je 0x41701d
mov eax, 1
push ebx
push 4
mov word [esi + 0x88c], ax
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.HideTitle
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
push ebx
push 4
mov word [esi + 0x89c], ax
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.PopupMenu
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
push ebx
push 4
mov word [esi + 0x89e], ax
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.FullColor
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
or word [esi + 0x8a0], ax
lea eax, [ebp - 0x118]
push ebx
push 4
push eax
push 0x5a87b8
push str.EnableScrollBuff
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a4c
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
neg eax
push ebx
push 0x64
push str.ScrollBuffSize
push str.Tera_Term
mov word [esi + 0x890], ax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebx
push 0xff
mov dword [esi + 0x894], eax
lea eax, [ebp - 0x114]
push eax
push str.0_0_0_255_255_255
push str.VTColor
push str.Tera_Term
call edi
lea eax, [esi + 0x830]
mov dword [ebp - 0x120], 6
mov ebx, 1
mov esi, eax
nop
mov edx, 1
lea edi, [ebp - 0x114]
xor ecx, ecx
lea ecx, [ecx]
mov al, byte [edi]
cmp al, 0x2c
jne 0x417177
inc edx
inc edi
cmp edx, ebx
jne 0x41718c
cmp al, 0x2c
je 0x41718a
cmp ecx, 0xe
jge 0x41718a
mov byte [ebp + ecx - 0x14], al
inc ecx
cmp edx, ebx
jg 0x417192
test al, al
jne 0x417170
push esi
lea eax, [ebp - 0x14]
mov byte [ebp + ecx - 0x14], 0
push 0x5aa57c
push eax
call fcn.0054cc90
add esp, 0xc
cmp eax, 1
je 0x4171b4
mov dword [esi], 0
add esi, 2
inc ebx
dec dword [ebp - 0x120]
jne 0x417160
mov esi, dword [ebp - 0x124]
push dword [ebp - 0x11c]
lea edx, [esi + 0x8a4]
push 0xff
movzx ecx, byte [esi + 0x834]
movzx eax, byte [esi + 0x832]
shl ecx, 8
or ecx, eax
mov dword [ebp - 0x118], edx
movzx eax, byte [esi + 0x830]
shl ecx, 8
or ecx, eax
mov dword [edx], ecx
movzx ecx, byte [esi + 0x83a]
movzx eax, byte [esi + 0x838]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x836]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x114]
push eax
push str.0_0_255_255_255_255
push str.VTBoldColor
push str.Tera_Term
mov dword [esi + 0x8a8], ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebx, 1
mov dword [ebp - 0x120], 6
add esi, 0x830
jmp 0x417260
mov edx, 1
lea edi, [ebp - 0x114]
xor ecx, ecx
lea ecx, [ecx]
mov al, byte [edi]
cmp al, 0x2c
jne 0x417277
inc edx
inc edi
cmp edx, ebx
jne 0x41728c
cmp al, 0x2c
je 0x41728a
cmp ecx, 0xe
jge 0x41728a
mov byte [ebp + ecx - 0x14], al
inc ecx
cmp edx, ebx
jg 0x417292
test al, al
jne 0x417270
push esi
lea eax, [ebp - 0x14]
mov byte [ebp + ecx - 0x14], 0
push 0x5aa57c
push eax
call fcn.0054cc90
add esp, 0xc
cmp eax, 1
je 0x4172b4
mov dword [esi], 0
add esi, 2
inc ebx
dec dword [ebp - 0x120]
jne 0x417260
mov esi, dword [ebp - 0x124]
push dword [ebp - 0x11c]
lea edx, [esi + 0x8b4]
push 0xff
movzx ecx, byte [esi + 0x834]
movzx eax, byte [esi + 0x832]
shl ecx, 8
or ecx, eax
mov dword [ebp - 0x12c], edx
movzx eax, byte [esi + 0x830]
shl ecx, 8
or ecx, eax
mov dword [edx], ecx
movzx ecx, byte [esi + 0x83a]
movzx eax, byte [esi + 0x838]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x836]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x114]
push eax
push str.255_0_0_255_255_255
push str.VTBlinkColor
push str.Tera_Term
mov dword [esi + 0x8b8], ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebx, 1
mov dword [ebp - 0x120], 6
add esi, 0x830
jmp 0x417360
mov edx, 1
lea edi, [ebp - 0x114]
xor ecx, ecx
lea ecx, [ecx]
mov al, byte [edi]
cmp al, 0x2c
jne 0x417377
inc edx
inc edi
cmp edx, ebx
jne 0x41738c
cmp al, 0x2c
je 0x41738a
cmp ecx, 0xe
jge 0x41738a
mov byte [ebp + ecx - 0x14], al
inc ecx
cmp edx, ebx
jg 0x417392
test al, al
jne 0x417370
push esi
lea eax, [ebp - 0x14]
mov byte [ebp + ecx - 0x14], 0
push 0x5aa57c
push eax
call fcn.0054cc90
add esp, 0xc
cmp eax, 1
je 0x4173b4
mov dword [esi], 0
add esi, 2
inc ebx
dec dword [ebp - 0x120]
jne 0x417360
mov esi, dword [ebp - 0x124]
push dword [ebp - 0x11c]
lea edx, [esi + 0x8bc]
push 0xff
movzx ecx, byte [esi + 0x834]
movzx eax, byte [esi + 0x832]
shl ecx, 8
or ecx, eax
mov dword [ebp - 0x120], edx
movzx eax, byte [esi + 0x830]
shl ecx, 8
or ecx, eax
mov dword [edx], ecx
movzx ecx, byte [esi + 0x83a]
movzx eax, byte [esi + 0x838]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x836]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x114]
push eax
push str.0_0_0_255_255_255
push str.TEKColor
push str.Tera_Term
mov dword [esi + 0x8c0], ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebx, 1
mov dword [ebp - 0x128], 6
add esi, 0x830
jmp 0x417460
mov edx, 1
lea edi, [ebp - 0x114]
xor ecx, ecx
lea ecx, [ecx]
mov al, byte [edi]
cmp al, 0x2c
jne 0x417477
inc edx
inc edi
cmp edx, ebx
jne 0x41748c
cmp al, 0x2c
je 0x41748a
cmp ecx, 0xe
jge 0x41748a
mov byte [ebp + ecx - 0x14], al
inc ecx
cmp edx, ebx
jg 0x417492
test al, al
jne 0x417470
push esi
lea eax, [ebp - 0x14]
mov byte [ebp + ecx - 0x14], 0
push 0x5aa57c
push eax
call fcn.0054cc90
add esp, 0xc
cmp eax, 1
je 0x4174b4
mov dword [esi], 0
add esi, 2
inc ebx
dec dword [ebp - 0x128]
jne 0x417460
mov esi, dword [ebp - 0x124]
lea ebx, [esi + 0x8ac]
push 0
mov dword [ebp - 0x128], ebx
movzx ecx, byte [esi + 0x834]
movzx eax, byte [esi + 0x832]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x830]
shl ecx, 8
or ecx, eax
mov dword [ebx], ecx
movzx ecx, byte [esi + 0x83a]
movzx eax, byte [esi + 0x838]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x836]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x8b0], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
lea ecx, [esi + 0x8a4]
mov ebx, 2
lea ecx, [ecx]
push dword [ecx]
push edi
call dword [sym.imp.GDI32.dll_GetNearestColor]
mov ecx, dword [ebp - 0x118]
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0x118], ecx
dec ebx
jne 0x417530
mov ecx, dword [ebp - 0x12c]
lea esi, [ebx + 2]
push dword [ecx]
push edi
call dword [sym.imp.GDI32.dll_GetNearestColor]
mov ecx, dword [ebp - 0x12c]
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0x12c], ecx
dec esi
jne 0x417556
mov ecx, dword [ebp - 0x120]
lea ebx, [esi + 2]
lea esp, [esp]
push dword [ecx]
push edi
call dword [sym.imp.GDI32.dll_GetNearestColor]
mov ecx, dword [ebp - 0x120]
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0x120], ecx
dec ebx
jne 0x417580
lea esi, [ebx + 2]
mov ebx, dword [ebp - 0x128]
push dword [ebx]
push edi
call dword [sym.imp.GDI32.dll_GetNearestColor]
mov dword [ebx], eax
lea ebx, [ebx + 4]
dec esi
jne 0x4175a6
push edi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ebx, dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
push 4
push eax
push 0x5a87b8
push str.TEKColorEmulation
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
mov esi, dword [ebp - 0x124]
add esp, 8
neg eax
sbb eax, eax
push ebx
inc eax
push 0xff
mov word [esi + 0x8a2], ax
lea eax, [ebp - 0x114]
push eax
push str.Terminal_0__13_1
push str.VTFont
push str.Tera_Term
call edi
mov edx, 1
lea edi, [ebp - 0x114]
xor ecx, ecx
mov al, byte [edi]
cmp al, 0x2c
jne 0x41763e
inc edx
inc edi
cmp edx, 1
jne 0x417657
cmp al, 0x2c
je 0x417659
cmp ecx, 0x1f
jge 0x417659
mov byte [esi + ecx + 0x55c], al
inc ecx
jmp 0x417659
jg 0x41765d
test al, al
jne 0x417637
mov byte [esi + ecx + 0x55c], 0
lea ebx, [esi + 0x57c]
mov edx, 1
lea edi, [ebp - 0x114]
xor ecx, ecx
mov al, byte [edi]
cmp al, 0x2c
jne 0x41767f
inc edx
inc edi
cmp edx, 2
jne 0x417695
cmp al, 0x2c
je 0x417697
cmp ecx, 0xe
jge 0x417697
mov byte [ebp + ecx - 0x14], al
inc ecx
jmp 0x417697
jg 0x41769b
test al, al
jne 0x417678
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp + ecx - 0x14], 0
push 0x5aa57c
push eax
call fcn.0054cc90
add esp, 0xc
cmp eax, 1
je 0x4176bd
mov dword [ebx], 0
lea ebx, [esi + 0x580]
mov edx, 1
xor ecx, ecx
lea edi, [ebp - 0x114]
mov al, byte [edi]
cmp al, 0x2c
jne 0x4176d7
inc edx
inc edi
cmp edx, 3
jne 0x4176ed
cmp al, 0x2c
je 0x4176ef
cmp ecx, 0xe
jge 0x4176ef
mov byte [ebp + ecx - 0x14], al
inc ecx
jmp 0x4176ef
jg 0x4176f3
test al, al
jne 0x4176d0
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp + ecx - 0x14], 0
push 0x5aa57c
push eax
call fcn.0054cc90
add esp, 0xc
cmp eax, 1
je 0x417715
mov dword [ebx], 0
lea ebx, [esi + 0x584]
mov edx, 1
xor ecx, ecx
lea edi, [ebp - 0x114]
mov al, byte [edi]
cmp al, 0x2c
jne 0x41772f
inc edx
inc edi
cmp edx, 4
jne 0x417745
cmp al, 0x2c
je 0x417747
cmp ecx, 0xe
jge 0x417747
mov byte [ebp + ecx - 0x14], al
inc ecx
jmp 0x417747
jg 0x41774b
test al, al
jne 0x417728
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp + ecx - 0x14], 0
push 0x5aa57c
push eax
call fcn.0054cc90
add esp, 0xc
cmp eax, 1
je 0x41776d
mov dword [ebx], 0
mov ebx, dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
push 4
push eax
push 0x5a87b8
push str.EnableBold
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
push ebx
push 0xff
mov word [esi + 0x638], ax
lea eax, [ebp - 0x114]
push eax
push 0x5a87b8
push str.RussFont
push str.Tera_Term
call edi
xor edi, edi
cmp dword [str.Windows], edi
je 0x41780b
mov eax, 0x5ca2f0
lea ecx, [ebp - 0x114]
push ecx
push dword [eax]
call fcn.0054cbb4
add esp, 8
test eax, eax
je 0x41780b
inc edi
movzx eax, di
cmp dword [eax*4 + 0x5ca2f0], 0
lea eax, [eax*4 + 0x5ca2f0]
jne 0x4177e1
movzx eax, di
cmp dword [eax*4 + 0x5ca2f0], 0
jne 0x41781f
mov edi, 1
jmp 0x417820
inc edi
push ebx
push 0xff
lea eax, [ebp - 0x114]
mov word [esi + 0x63a], di
push eax
push str.Courier_0__13_0
push str.TEKFont
push str.Tera_Term
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, 1
lea edi, [ebp - 0x114]
xor ecx, ecx
mov al, byte [edi]
cmp al, 0x2c
jne 0x41785d
inc edx
inc edi
cmp edx, 1
jne 0x417876
cmp al, 0x2c
je 0x417878
cmp ecx, 0x1f
jge 0x417878
mov byte [ecx + esi + 0x7a8], al
inc ecx
jmp 0x417878
jg 0x41787c
test al, al
jne 0x417856
mov byte [ecx + esi + 0x7a8], 0
lea ebx, [esi + 0x7c8]
mov edx, 1
lea edi, [ebp - 0x114]
xor ecx, ecx
mov al, byte [edi]
cmp al, 0x2c
jne 0x41789e
inc edx
inc edi
cmp edx, 2
jne 0x4178b4
cmp al, 0x2c
je 0x4178b6
cmp ecx, 0xe
jge 0x4178b6
mov byte [ebp + ecx - 0x14], al
inc ecx
jmp 0x4178b6
jg 0x4178ba
test al, al
jne 0x417897
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp + ecx - 0x14], 0
push 0x5aa57c
push eax
call fcn.0054cc90
add esp, 0xc
cmp eax, 1
je 0x4178dc
mov dword [ebx], 0
lea ebx, [esi + 0x7cc]
mov edx, 1
xor ecx, ecx
lea edi, [ebp - 0x114]
nop
mov al, byte [edi]
cmp al, 0x2c
jne 0x4178f7
inc edx
inc edi
cmp edx, 3
jne 0x41790d
cmp al, 0x2c
je 0x41790f
cmp ecx, 0xe
jge 0x41790f
mov byte [ebp + ecx - 0x14], al
inc ecx
jmp 0x41790f
jg 0x417913
test al, al
jne 0x4178f0
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp + ecx - 0x14], 0
push 0x5aa57c
push eax
call fcn.0054cc90
add esp, 0xc
cmp eax, 1
je 0x417935
mov dword [ebx], 0
lea ebx, [esi + 0x7d0]
mov edx, 1
xor ecx, ecx
lea edi, [ebp - 0x114]
mov al, byte [edi]
cmp al, 0x2c
jne 0x41794f
inc edx
inc edi
cmp edx, 4
jne 0x417965
cmp al, 0x2c
je 0x417967
cmp ecx, 0xe
jge 0x417967
mov byte [ebp + ecx - 0x14], al
inc ecx
jmp 0x417967
jg 0x41796b
test al, al
jne 0x417948
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp + ecx - 0x14], 0
push 0x5aa57c
push eax
call fcn.0054cc90
add esp, 0xc
cmp eax, 1
je 0x41798d
mov dword [ebx], 0
mov ebx, dword [ebp - 0x11c]
lea eax, [ebp - 0x114]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
push 0xff
push eax
push 0x5a87b8
push str.BSKey
push str.Tera_Term
call edi
lea eax, [ebp - 0x114]
push 0x5a9dec
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
mov eax, 2
je 0x4179d9
mov eax, 1
push ebx
push 4
mov word [esi + 0x8c6], ax
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.DeleteKey
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
push ebx
push 4
mov word [esi + 0x8c8], ax
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.MetaKey
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
push ebx
push 0xff
mov word [esi + 0x8ce], ax
lea eax, [ebp - 0x114]
push eax
push 0x5a87b8
push str.RussKeyb
push str.Tera_Term
call edi
xor edi, edi
cmp dword [str.Windows], edi
je 0x417aad
mov eax, 0x5ca2e0
lea ecx, [ebp - 0x114]
push ecx
push dword [eax]
call fcn.0054cbb4
add esp, 8
test eax, eax
je 0x417aad
inc edi
movzx eax, di
cmp dword [eax*4 + 0x5ca2e0], 0
lea eax, [eax*4 + 0x5ca2e0]
jne 0x417a83
movzx eax, di
cmp dword [eax*4 + 0x5ca2e0], 0
jne 0x417ac1
mov edi, 1
jmp 0x417ac2
inc edi
push ebx
push 1
push str.ComPort
push str.Tera_Term
mov word [esi + 0x8d0], di
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebx
push 0xff
mov word [esi + 0x910], ax
lea eax, [ebp - 0x114]
push eax
push str.9600
push str.BaudRate
push str.Tera_Term
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor edi, edi
cmp dword [0x5ca310], edi
je 0x417b3e
mov eax, 0x5ca310
lea ecx, [ebp - 0x114]
push ecx
push dword [eax]
call fcn.0054cbb4
add esp, 8
test eax, eax
je 0x417b3e
inc edi
movzx eax, di
cmp dword [eax*4 + 0x5ca310], 0
lea eax, [eax*4 + 0x5ca310]
jne 0x417b14
movzx eax, di
cmp dword [eax*4 + 0x5ca310], 0
jne 0x417b52
mov edi, 7
jmp 0x417b53
inc edi
push ebx
push 0xff
lea eax, [ebp - 0x114]
mov word [esi + 0x912], di
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x5a87b8
push str.Parity
push str.Tera_Term
call edi
lea eax, [ebp - 0x114]
push str.even
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
jne 0x417b9d
mov eax, 1
jmp 0x417bbf
lea eax, [ebp - 0x114]
push 0x5a9e34
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
mov eax, 2
je 0x417bbf
mov eax, 3
push ebx
push 0xff
mov word [esi + 0x914], ax
lea eax, [ebp - 0x114]
push eax
push 0x5a87b8
push str.DataBit
push str.Tera_Term
call edi
lea eax, [ebp - 0x114]
push 0x5a9c34
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
mov eax, 1
je 0x417c06
mov eax, 2
push ebx
push 0xff
mov word [esi + 0x916], ax
lea eax, [ebp - 0x114]
push eax
push 0x5a87b8
push str.StopBit
push str.Tera_Term
call edi
lea eax, [ebp - 0x114]
push 0x5a9e48
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
mov eax, 2
je 0x417c4d
mov eax, 1
push ebx
push 0xff
mov word [esi + 0x918], ax
lea eax, [ebp - 0x114]
push eax
push 0x5a87b8
push str.FlowCtrl
push str.Tera_Term
call edi
lea eax, [ebp - 0x114]
push 0x5a9e58
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
jne 0x417c91
mov eax, 1
jmp 0x417cb3
lea eax, [ebp - 0x114]
push str.hard
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
mov eax, 2
je 0x417cb3
mov eax, 3
push ebx
push 0
push str.DelayPerChar
push str.Tera_Term
mov word [esi + 0x91a], ax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebx
push 0
push str.DelayPerLine
push str.Tera_Term
mov word [esi + 0x91c], ax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebx
push 4
mov word [esi + 0x91e], ax
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.Telnet
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a4c
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
neg eax
push ebx
push 0x28
mov word [esi + 0x8d6], ax
lea eax, [esi + 0x8de]
push eax
push str.vt100
push str.TermType
push str.Tera_Term
call edi
movzx eax, word [esi + 0x8d8]
push ebx
push eax
push str.TCPPort
push str.Tera_Term
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebx
push 4
mov word [esi + 0x8d4], ax
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.AutoWinClose
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a4c
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
neg eax
push ebx
push 4
mov word [esi + 0x906], ax
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.HistoryList
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
push ebx
mov word [esi + 0x90e], ax
push 4
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.TransBin
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
push ebx
push 4
mov word [esi + 0x646], ax
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.LogAppend
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
push ebx
push 0xff
mov word [esi + 0x648], ax
lea eax, [ebp - 0x114]
push eax
push 0x5a87b8
push str.XmodemOpt
push str.Tera_Term
call edi
lea eax, [ebp - 0x114]
push 0x5a9ee8
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
jne 0x417e8f
mov eax, 2
jmp 0x417eb1
lea eax, [ebp - 0x114]
push 0x5a9eec
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
mov eax, 3
je 0x417eb1
mov eax, 1
push ebx
push 4
mov word [esi + 0x64a], ax
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.XmodemBin
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a4c
push eax
call fcn.0054cbb4
add esp, 8
lea edi, [esi + 0x65c]
neg eax
sbb eax, eax
push ebx
push 0xff
push edi
push 0x5a87b8
push str.FileDir
neg eax
push str.Tera_Term
mov word [esi + 0x64c], ax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, edi
lea edx, [ecx + 1]
jmp 0x417f20
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417f20
sub ecx, edx
jne 0x417f41
mov ecx, esi
lea ecx, [ecx]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + 0x65b], al
test al, al
jne 0x417f30
jmp 0x417f7f
lea eax, [ebp - 0x114]
push 0xff
push eax
call fcn.0054ce3d
push edi
call fcn.0054c934
add esp, 0xc
test eax, eax
je 0x417f70
mov ecx, esi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + 0x65b], al
test al, al
jne 0x417f61
lea eax, [ebp - 0x114]
push eax
call fcn.0054c934
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x118]
push ebx
push 4
push eax
push 0x5a87b8
push str.Accept8bitCtrl
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a4c
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
neg eax
push ebx
shl eax, 5
or word [esi + 0x826], ax
lea eax, [ebp - 0x118]
push 4
push eax
push 0x5a87b8
push str.AllowWrongSequence
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
shl eax, 4
or word [esi + 0x826], ax
test byte [esi + 0x826], 0x10
jne 0x418021
cmp word [esi + 0x81a], 3
jne 0x418021
mov eax, 2
mov word [esi + 0x81a], ax
push ebx
push 4
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.AutoFileRename
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
push ebx
shl eax, 4
or word [esi + 0x644], ax
lea eax, [ebp - 0x118]
push 4
push eax
push 0x5a87b8
push str.AutoInvoke
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
push ebx
add eax, eax
or word [esi + 0x826], ax
lea eax, [ebp - 0x118]
push 4
push eax
push 0x5a87b8
push str.AutoTextCopy
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a4c
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
neg eax
push ebx
push 4
mov word [esi + 0x79c], ax
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.BackWrap
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
push ebx
shl eax, 7
or word [esi + 0x826], ax
lea eax, [ebp - 0x118]
push 4
push eax
push 0x5a87b8
push str.Beep
push str.Tera_Term
call edi
push 0x5a9a4c
lea eax, [ebp - 0x118]
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
neg eax
push ebx
push 4
mov word [esi + 0x8c4], ax
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.BeepOnConnect
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
push ebx
add eax, eax
or word [esi + 0x908], ax
lea eax, [ebp - 0x118]
push 4
push eax
push 0x5a87b8
push str.BPAuto
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
shl eax, 3
or word [esi + 0x644], ax
test byte [esi + 0x644], 8
je 0x4181f8
mov eax, dword [0x5a9f80]
mov dword [esi + 0x7ea], eax
mov ax, word [0x5a9f84]
mov word [esi + 0x7ee], ax
mov dword [esi + 0x80c], 5
push ebx
push 4
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.BPEscCtl
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
push ebx
shl eax, 2
or word [esi + 0x644], ax
lea eax, [ebp - 0x118]
push 4
push eax
push 0x5a87b8
push str.BPLog
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
push ebx
shl eax, 4
or word [esi + 0x642], ax
lea eax, [ebp - 0x118]
push 4
push eax
push 0x5a87b8
push str.ConfirmDisconnect
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a4c
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
neg eax
or word [esi + 0x908], ax
lea eax, [ebp - 0x118]
push ebx
push 4
push eax
push 0x5a87b8
push str.CtrlInKanji
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a4c
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
neg eax
push ebx
shl eax, 3
or word [esi + 0x826], ax
lea eax, [ebp - 0x118]
push 4
push eax
push 0x5a87b8
push str.Debug
push str.Tera_Term
call edi
push 0x5a9a50
lea eax, [ebp - 0x118]
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
push ebx
push 0xff
mov word [esi + 0x640], ax
lea eax, [ebp - 0x114]
push eax
push str._20___24_____._:________
push str.DelimList
push str.Tera_Term
call edi
push 0x34
lea edx, [esi + 0x75e]
lea ecx, [ebp - 0x114]
call fcn.004158b0
add esp, 4
lea eax, [ebp - 0x118]
push ebx
push 4
push eax
push 0x5a87b8
push str.DelimDBCS
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a4c
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
neg eax
push ebx
push 4
mov word [esi + 0x792], ax
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.EnablePopupMenu
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a4c
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
jne 0x4183d5
or word [esi + 0x798], 2
push ebx
push 4
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.EnableShowMenu
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a4c
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
jne 0x418410
or word [esi + 0x798], 1
push ebx
push 4
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.EnableStatusLine
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a4c
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
neg eax
push ebx
shl eax, 6
or word [esi + 0x826], ax
lea eax, [ebp - 0x118]
push 4
push eax
push 0x5a87b8
push str.FixedJIS
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
or word [esi + 0x826], ax
lea eax, [ebp - 0x118]
push ebx
push 4
push eax
push 0x5a87b8
push 0x5aa044
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a4c
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
neg eax
push ebx
push 4
mov word [esi + 0x8ca], ax
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.IMEInline
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a4c
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
neg eax
push ebx
push 4
mov word [esi + 0x8cc], ax
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.KmtLog
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
push ebx
add eax, eax
or word [esi + 0x642], ax
lea eax, [ebp - 0x118]
push 4
push eax
push 0x5a87b8
push str.LanguageSelection
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a4c
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
jne 0x41857a
or word [esi + 0x798], 4
push ebx
push 0x2710
push str.MaxBuffSize
push str.Tera_Term
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [esi + 0x898], eax
cmp eax, 0x18
jge 0x4185a5
mov dword [esi + 0x898], 0x2710
push ebx
push 4
push str.MaxComPort
push str.Tera_Term
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [esi + 0x920], ax
cmp ax, 4
jae 0x4185d1
mov eax, 4
mov word [esi + 0x920], ax
cmp word [esi + 0x920], 0x10
jbe 0x4185e7
mov eax, 0x10
mov word [esi + 0x920], ax
movzx eax, word [esi + 0x910]
cmp eax, 1
jb 0x4185fc
cmp ax, word [esi + 0x920]
jbe 0x418608
mov eax, 1
mov word [esi + 0x910], ax
push ebx
push 4
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.NonblinkingCursor
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
push ebx
push 3
push str.PassThruDelay
push str.Tera_Term
mov word [esi + 0x88e], ax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebx
push 0x50
mov word [esi + 0x634], ax
lea eax, [esi + 0x5e4]
push eax
push 0x5a87b8
push str.PassThruPort
push str.Tera_Term
call edi
push ebx
push 0xff
lea eax, [ebp - 0x114]
push eax
push 0x5a87b8
push str.PrnFont
push str.Tera_Term
call edi
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4186a0
sub ecx, edx
jne 0x4186c8
mov byte [esi + 0x598], cl
mov dword [esi + 0x5b8], ecx
mov dword [esi + 0x5bc], ecx
mov dword [esi + 0x5c0], ecx
jmp 0x418819
mov edx, 1
lea edi, [ebp - 0x114]
xor ecx, ecx
mov al, byte [edi]
cmp al, 0x2c
jne 0x4186dc
inc edx
inc edi
cmp edx, 1
jne 0x4186f5
cmp al, 0x2c
je 0x4186f7
cmp ecx, 0x1f
jge 0x4186f7
mov byte [ecx + esi + 0x598], al
inc ecx
jmp 0x4186f7
jg 0x4186fb
test al, al
jne 0x4186d5
mov byte [ecx + esi + 0x598], 0
lea ebx, [esi + 0x5b8]
mov edx, 1
lea edi, [ebp - 0x114]
xor ecx, ecx
mov al, byte [edi]
cmp al, 0x2c
jne 0x41871d
inc edx
inc edi
cmp edx, 2
jne 0x418733
cmp al, 0x2c
je 0x418735
cmp ecx, 0xe
jge 0x418735
mov byte [ebp + ecx - 0x14], al
inc ecx
jmp 0x418735
jg 0x418739
test al, al
jne 0x418716
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp + ecx - 0x14], 0
push 0x5aa57c
push eax
call fcn.0054cc90
add esp, 0xc
cmp eax, 1
je 0x41875b
mov dword [ebx], 0
lea ebx, [esi + 0x5bc]
mov edx, 1
xor ecx, ecx
lea edi, [ebp - 0x114]
mov edi, edi
mov al, byte [edi]
cmp al, 0x2c
jne 0x418777
inc edx
inc edi
cmp edx, 3
jne 0x41878d
cmp al, 0x2c
je 0x41878f
cmp ecx, 0xe
jge 0x41878f
mov byte [ebp + ecx - 0x14], al
inc ecx
jmp 0x41878f
jg 0x418793
test al, al
jne 0x418770
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp + ecx - 0x14], 0
push 0x5aa57c
push eax
call fcn.0054cc90
add esp, 0xc
cmp eax, 1
je 0x4187b5
mov dword [ebx], 0
lea ebx, [esi + 0x5c0]
mov edx, 1
xor ecx, ecx
lea edi, [ebp - 0x114]
mov al, byte [edi]
cmp al, 0x2c
jne 0x4187cf
inc edx
inc edi
cmp edx, 4
jne 0x4187e5
cmp al, 0x2c
je 0x4187e7
jg 0x4187eb
push ebx
push 0xff
lea eax, [ebp - 0x114]
push eax
push str.50_50_50_50
push str.PrnMargin
push str.Tera_Term
call edi
lea eax, [esi + 0x5d4]
mov dword [ebp - 0x118], 4
mov ebx, 1
mov esi, eax
mov edi, edi
mov edx, 1
lea edi, [ebp - 0x114]
xor ecx, ecx
lea ecx, [ecx]
mov al, byte [edi]
cmp al, 0x2c
jne 0x418867
inc edx
inc edi
cmp edx, ebx
jne 0x41887c
cmp al, 0x2c
je 0x41887a
cmp ecx, 0xe
jge 0x41887a
mov byte [ebp + ecx - 0x14], al
inc ecx
cmp edx, ebx
jg 0x418882
test al, al
jne 0x418860
push esi
lea eax, [ebp - 0x14]
mov byte [ebp + ecx - 0x14], 0
push 0x5aa57c
push eax
call fcn.0054cc90
add esp, 0xc
cmp eax, 1
je 0x4188a4
mov dword [esi], 0
add esi, 4
inc ebx
dec dword [ebp - 0x118]
jne 0x418850
mov ebx, dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
push 4
push eax
push 0x5a87b8
push str.QVLog
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
mov esi, dword [ebp - 0x124]
add esp, 8
neg eax
sbb eax, eax
push ebx
push 8
inc eax
push str.QVWinSize
shl eax, 5
or word [esi + 0x642], ax
push str.Tera_Term
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebx
push 0xff
mov dword [esi + 0x658], eax
lea eax, [ebp - 0x114]
push eax
push 0x5a87b8
push str.RussPrint
push str.Tera_Term
call edi
xor edi, edi
cmp dword [str.Windows], edi
je 0x418970
mov eax, 0x5ca2f0
lea ecx, [ebp - 0x114]
push ecx
push dword [eax]
call fcn.0054cbb4
add esp, 8
test eax, eax
je 0x418970
inc edi
movzx eax, di
cmp dword [eax*4 + 0x5ca2f0], 0
lea eax, [eax*4 + 0x5ca2f0]
jne 0x418946
movzx eax, di
cmp dword [eax*4 + 0x5ca2f0], 0
jne 0x418984
mov edi, 1
jmp 0x418985
inc edi
push ebx
push 0xc
push str.ScrollThreshold
push str.Tera_Term
mov word [esi + 0x820], di
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
push 4
mov dword [esi + 0x63c], eax
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.SelectOnActivate
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a4c
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
neg eax
push ebx
push 0xff
mov word [esi + 0x79a], ax
lea eax, [esi + 0x3fc]
push eax
push 0x5a87b8
push str.StartupMacro
push str.Tera_Term
call edi
push ebx
push 0x20
push str.TEKGINMouseCode
push str.Tera_Term
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebx
push 4
mov dword [esi + 0x7d4], eax
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.TelBin
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
push ebx
push 4
mov word [esi + 0x8da], ax
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.TelEcho
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
push ebx
push 4
mov word [esi + 0x8dc], ax
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.TelLog
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
or word [esi + 0x642], ax
push ebx
push 0x17
push str.TelPort
push str.Tera_Term
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebx
push 4
mov word [esi + 0x8d8], ax
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.TCPLocalEcho
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
push ebx
push 0xff
mov word [esi + 0x90c], ax
lea eax, [ebp - 0x114]
push eax
push 0x5a87b8
push str.TCPCRSend
push str.Tera_Term
call edi
lea eax, [ebp - 0x114]
push 0x5aa17c
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
jne 0x418b61
mov eax, 1
jmp 0x418b82
lea eax, [ebp - 0x114]
push str.CRLF
push eax
call fcn.0054cbb4
add esp, 8
test eax, eax
jne 0x418b80
mov eax, 2
jmp 0x418b82
xor eax, eax
push ebx
push 4
mov word [esi + 0x90a], ax
lea eax, [ebp - 0x118]
push eax
push 0x5a87b8
push str.UseTextColor
push str.Tera_Term
call edi
lea eax, [ebp - 0x118]
push 0x5a9a50
push eax
call fcn.0054cbb4
add esp, 8
neg eax
sbb eax, eax
inc eax
push ebx
push 5
push str.TitleFormat
add eax, eax
or word [esi + 0x8a0], ax
push str.Tera_Term
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebx
push 0xff
mov word [esi + 0x886], ax
lea eax, [ebp - 0x114]
push eax
push str.0_0_0_0
push str.VTFontSpace
push str.Tera_Term
call edi
lea ebx, [esi + 0x590]
mov edx, 1
xor ecx, ecx
lea edi, [ebp - 0x114]
mov al, byte [edi]
cmp al, 0x2c
jne 0x418c18
inc edx
inc edi
cmp edx, 1
jne 0x418c2e
cmp al, 0x2c
je 0x418c30
cmp ecx, 0xe
jge 0x418c30
jg 0x418c34
test al, al
jne 0x418c11
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp + ecx - 0x14], 0
push 0x5aa57c
push eax
call fcn.0054cc90
add esp, 0xc
cmp eax, 1
je 0x418c56