Function at 0x52dc30
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x660038]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x104], ebx
mov dword [ebp - 0x88], eax
call fcn.0049ccc0
mov dword [ebp - 4], 0
lea eax, [ebx + 0xc]
push eax
mov dword [ebx], vtable.TerminalConfig.0
call fcn.005317e0
mov byte [ebp - 4], 1
lea eax, [ebx + 0x20]
push eax
call fcn.005317e0
mov byte [ebp - 4], 2
lea eax, [ebx + 0x34]
push eax
call fcn.004878d0
mov byte [ebp - 4], 3
lea eax, [ebx + 0x48]
push eax
call fcn.004878d0
mov byte [ebp - 4], 4
lea eax, [ebx + 0x5c]
push eax
call fcn.005315b0
mov byte [ebp - 4], 5
lea eax, [ebx + 0x74]
push eax
call fcn.005317e0
mov byte [ebp - 4], 6
lea eax, [ebx + 0x88]
push eax
call fcn.005317e0
mov byte [ebp - 4], 7
lea eax, [ebx + 0x9c]
push eax
call fcn.005317e0
mov byte [ebp - 4], 8
lea eax, [ebx + 0xb0]
push eax
call fcn.005317e0
mov byte [ebp - 4], 9
lea eax, [ebx + 0xc4]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0xa
lea eax, [ebx + 0xd8]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0xb
lea eax, [ebx + 0xec]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0xc
lea eax, [ebx + 0x100]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0xd
lea eax, [ebx + 0x114]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0xe
lea eax, [ebx + 0x128]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0xf
lea eax, [ebx + 0x13c]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x10
lea eax, [ebx + 0x150]
push eax
call fcn.004878d0
mov byte [ebp - 4], 0x11
lea eax, [ebx + 0x164]
push eax
call fcn.005303e0
mov byte [ebp - 4], 0x12
lea eax, [ebx + 0x1c8]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x13
lea eax, [ebx + 0x1dc]
push eax
call fcn.005315b0
mov byte [ebp - 4], 0x14
lea eax, [ebx + 0x1f4]
push eax
call fcn.005315b0
mov byte [ebp - 4], 0x15
lea eax, [ebx + 0x20c]
push eax
call fcn.005315b0
mov byte [ebp - 4], 0x16
lea eax, [ebx + 0x224]
push eax
call fcn.005315b0
mov byte [ebp - 4], 0x17
lea eax, [ebx + 0x23c]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x18
lea eax, [ebx + 0x250]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x19
lea eax, [ebx + 0x264]
push eax
call fcn.00531890
mov byte [ebp - 4], 0x1a
lea eax, [ebx + 0x27c]
push eax
call fcn.00531890
mov byte [ebp - 4], 0x1b
lea eax, [ebx + 0x294]
push eax
call fcn.004878d0
mov byte [ebp - 4], 0x1c
lea eax, [ebx + 0x2a8]
push eax
call fcn.00530490
mov byte [ebp - 4], 0x1d
lea eax, [ebx + 0x374]
push eax
call fcn.00530490
mov byte [ebp - 4], 0x1e
lea eax, [ebx + 0x440]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x1f
lea eax, [ebx + 0x454]
push eax
call fcn.004878d0
mov byte [ebp - 4], 0x20
lea eax, [ebx + 0x468]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x21
lea eax, [ebx + 0x47c]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x22
lea eax, [ebx + 0x490]
push eax
call fcn.005315b0
mov byte [ebp - 4], 0x23
lea eax, [ebx + 0x4a8]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x24
lea eax, [ebx + 0x4bc]
push eax
call fcn.005315b0
mov byte [ebp - 4], 0x25
lea eax, [ebx + 0x4d4]
push eax
call fcn.005315b0
mov byte [ebp - 4], 0x26
lea eax, [ebx + 0x4ec]
push eax
call fcn.005315b0
mov byte [ebp - 4], 0x27
lea eax, [ebx + 0x504]
push eax
call fcn.005315b0
mov byte [ebp - 4], 0x28
lea eax, [ebx + 0x51c]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x29
lea eax, [ebx + 0x530]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x2a
lea eax, [ebx + 0x544]
push eax
call fcn.004878d0
mov byte [ebp - 4], 0x2b
lea eax, [ebx + 0x558]
push eax
call fcn.004878d0
mov byte [ebp - 4], 0x2c
lea eax, [ebx + 0x56c]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x2d
lea eax, [ebx + 0x580]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x2e
lea eax, [ebx + 0x594]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x2f
lea eax, [ebx + 0x5a8]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x30
lea eax, [ebx + 0x5bc]
push eax
call fcn.005400b0
mov byte [ebp - 4], 0x31
lea eax, [ebx + 0x620]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x32
lea eax, [ebx + 0x634]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x33
lea eax, [ebx + 0x648]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x34
lea eax, [ebx + 0x65c]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x35
lea eax, [ebx + 0x670]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x36
lea eax, [ebx + 0x684]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x37
lea eax, [ebx + 0x698]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x38
lea eax, [ebx + 0x6ac]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x39
lea eax, [ebx + 0x6c0]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x3a
lea eax, [ebx + 0x6d4]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x3b
lea eax, [ebx + 0x6e8]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x3c
lea eax, [ebx + 0x6fc]
push eax
call fcn.004878d0
mov byte [ebp - 4], 0x3d
lea eax, [ebx + 0x710]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x3e
lea eax, [ebx + 0x724]
push eax
call fcn.004878d0
mov byte [ebp - 4], 0x3f
lea eax, [ebx + 0x738]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x40
lea eax, [ebx + 0x74c]
push eax
call fcn.005315b0
mov byte [ebp - 4], 0x41
lea eax, [ebx + 0x764]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x42
lea eax, [ebx + 0x778]
push eax
call fcn.005315b0
mov byte [ebp - 4], 0x43
lea eax, [ebx + 0x790]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x44
lea eax, [ebx + 0x7a4]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x45
lea eax, [ebx + 0x7b8]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x46
lea eax, [ebx + 0x7cc]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x47
lea eax, [ebx + 0x7e0]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x48
lea eax, [ebx + 0x7f4]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x49
lea eax, [ebx + 0x808]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x4a
lea eax, [ebx + 0x81c]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x4b
lea eax, [ebx + 0x830]
push eax
call fcn.005317e0
mov byte [ebp - 4], 0x4c
lea eax, [ebx + 0x844]
push eax
call fcn.00531890
mov byte [ebp - 4], 0x4d
lea eax, [ebx + 0x85c]
push eax
call fcn.00531890
mov byte [ebp - 4], 0x4e
lea eax, [ebx + 0x874]
push eax
call fcn.004878d0
mov byte [ebp - 4], 0x4f
lea eax, [ebx + 0x888]
push eax
mov dword [ebp - 0x94], eax
call fcn.004878d0
mov byte [ebp - 4], 0x50
lea eax, [ebx + 0x89c]
push eax
mov dword [ebp - 0xbc], eax
call fcn.004878d0
mov byte [ebp - 4], 0x51
push 0
or edi, 0xffffffff
mov eax, str.VT100
lea esi, [ebp - 0x8c]
call fcn.00494ae0
mov byte [ebp - 4], 0x52
mov edx, dword [ebp - 0x88]
mov ecx, esi
push ecx
push edx
mov eax, str.Emulation
lea esi, [ebx + 0x34]
call fcn.00487940
mov byte [ebp - 4], 0x51
lea ecx, [ebp - 0x8c]
call fcn.00494b70
test esi, esi
je 0x52e1d5
lea eax, [ebx + 0x40]
jmp 0x52e1d7
xor eax, eax
mov esi, str.SCO_ANSI
call fcn.00495d20
test al, al
je 0x52e213
push 0
or edi, 0xffffffff
mov eax, str.SCOANSI
lea esi, [ebp - 0x8c]
call fcn.00494ae0
mov byte [ebp - 4], 0x53
mov eax, esi
lea ecx, [ebx + 0x34]
call fcn.00407e50
mov byte [ebp - 4], 0x51
mov ecx, esi
call fcn.00494b70
lea edi, [ebx + 0x34]
test edi, edi
je 0x52e21f
lea eax, [ebx + 0x40]
jmp 0x52e221
xor eax, eax
mov esi, str.ANSI
call fcn.00495d20
test al, al
jne 0x52e390
test edi, edi
je 0x52e23c
lea eax, [ebx + 0x40]
jmp 0x52e23e
xor eax, eax
mov esi, str.Linux
call fcn.00495d20
test al, al
jne 0x52e390
test edi, edi
je 0x52e259
lea eax, [ebx + 0x40]
jmp 0x52e25b
xor eax, eax
mov esi, str.SCOANSI
call fcn.00495d20
test al, al
jne 0x52e390
test edi, edi
je 0x52e276
lea eax, [ebx + 0x40]
jmp 0x52e278
xor eax, eax
mov esi, str.VShell
call fcn.00495d20
test al, al
je 0x52e290
cmp byte [ebp + 0x10], 0
jne 0x52e390
test edi, edi
je 0x52e299
lea eax, [ebx + 0x40]
jmp 0x52e29b
xor eax, eax
mov esi, str.WYSE50
call fcn.00495d20
test al, al
jne 0x52e387
test edi, edi
je 0x52e2b6
lea eax, [ebx + 0x40]
jmp 0x52e2b8
xor eax, eax
mov esi, str.WYSE60
call fcn.00495d20
test al, al
jne 0x52e387
test edi, edi
je 0x52e2d3
lea eax, [ebx + 0x40]
jmp 0x52e2d5
xor eax, eax
mov esi, 0x603068
call fcn.00495d20
test al, al
jne 0x52e387
test edi, edi
je 0x52e2f0
lea eax, [ebx + 0x40]
jmp 0x52e2f2
xor eax, eax
mov esi, str.VT102
call fcn.00495d20
test al, al
jne 0x52e387
test edi, edi
je 0x52e30d
lea eax, [ebx + 0x40]
jmp 0x52e30f
xor eax, eax
mov esi, str.Dumb
call fcn.00495d20
test al, al
jne 0x52e387
test edi, edi
je 0x52e326
lea eax, [ebx + 0x40]
jmp 0x52e328
xor eax, eax
mov esi, str.Xterm
call fcn.00495d20
test al, al
jne 0x52e387
push 0
or edi, 0xffffffff
mov eax, str.VT100
lea esi, [ebp - 0x8c]
call fcn.00494ae0
mov byte [ebp - 4], 0x54
mov eax, esi
lea ecx, [ebx + 0x34]
call fcn.00407e50
mov byte [ebp - 4], 0x51
mov ecx, esi
call fcn.00494b70
lea eax, [ebp - 0x81]
push eax
mov edi, dword [ebp - 0x88]
mov eax, str.ANSI_Color
lea esi, [ebx + 0xc]
mov byte [ebp - 0x81], 0
call fcn.00531840
jmp 0x52e3f3
lea ecx, [ebp - 0x81]
push ecx
jmp 0x52e36b
lea esi, [ebx + 0xc]
push esi
mov eax, str.ANSI_Color
call fcn.0049ce40
mov edi, dword [ebp - 0x88]
test edi, edi
je 0x52e3e0
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x8c]
call fcn.00542550
test al, al
je 0x52e3e0
cmp dword [ebp - 0x8c], 0
mov eax, esi
setne dl
xor cl, cl
mov byte [esi + 0xc], dl
call fcn.0049ce50
mov al, byte [esi + 0xc]
mov byte [esi + 0xd], al
jmp 0x52e3f3
mov cl, 1
mov eax, esi
mov byte [esi + 0xc], 1
call fcn.0049ce50
mov cl, byte [esi + 0xc]
mov byte [esi + 0xd], cl
lea esi, [ebx + 0x20]
push esi
mov eax, str.Color_Scheme_Overrides_Ansi_Color
call fcn.0049ce40
test edi, edi
je 0x52e43d
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x8c]
call fcn.00542550
test al, al
je 0x52e43d
cmp dword [ebp - 0x8c], 0
mov eax, esi
setne dl
xor cl, cl
mov byte [esi + 0xc], dl
call fcn.0049ce50
mov al, byte [esi + 0xc]
mov byte [esi + 0xd], al
jmp 0x52e450
mov cl, 1
mov eax, esi
mov byte [esi + 0xc], 0
call fcn.0049ce50
mov cl, byte [esi + 0xc]
mov byte [esi + 0xd], cl
push 0
or edi, 0xffffffff
mov eax, 0x606888
lea esi, [ebp - 0x8c]
call fcn.00494ae0
mov byte [ebp - 4], 0x55
mov edi, dword [ebp - 0x88]
mov edx, esi
push edx
push edi
mov eax, str.Default_SCS
lea esi, [ebx + 0x48]
call fcn.00487940
mov byte [ebp - 4], 0x51
lea ecx, [ebp - 0x8c]
call fcn.00494b70
xor edx, edx
mov eax, 0xfffffffc
mov ecx, eax
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xc4], edx
lea edx, [ebp - 0xec]
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0xec], 0x2c
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xdc], ecx
call fcn.00542480
lea esi, [ebx + 0x164]
push esi
mov eax, str.Window_Placement
call fcn.0049ce40
lea eax, [ebp - 0x1a0]
push eax
push esi
mov ecx, edi
call fcn.00531950
lea eax, [ebx + 0x1c8]
push eax
mov eax, str.Is_Full_Screen
call fcn.0049ce40
test edi, edi
je 0x52e566
lea esi, [ebx + 0x1c8]
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x8c]
call fcn.00542550
test al, al
je 0x52e566
cmp dword [ebp - 0x8c], 0
mov eax, esi
setne cl
mov byte [esi + 0xc], cl
xor cl, cl
call fcn.0049ce50
mov dl, byte [esi + 0xc]
mov byte [esi + 0xd], dl
jmp 0x52e57d
lea eax, [ebx + 0x1c8]
mov cl, 1
mov byte [eax + 0xc], 0
call fcn.0049ce50
mov cl, byte [eax + 0xc]
mov byte [eax + 0xd], cl
lea esi, [ebx + 0x1dc]
push esi
mov eax, str.Rows
call fcn.0049ce40
test edi, edi
je 0x52e5c6
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x8c]
call fcn.00542550
test al, al
je 0x52e5c6
mov edx, dword [ebp - 0x8c]
xor cl, cl
mov eax, esi
mov dword [esi + 0xc], edx
call fcn.0049ce50
mov eax, dword [esi + 0xc]
mov dword [esi + 0x10], eax
jmp 0x52e5dc
mov cl, 1
mov eax, esi
mov dword [esi + 0xc], 0x18
call fcn.0049ce50
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x10], ecx
lea esi, [ebx + 0x1f4]
push esi
mov eax, str.Cols
call fcn.0049ce40
test edi, edi
je 0x52e625
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x8c]
call fcn.00542550
test al, al
je 0x52e625
mov edx, dword [ebp - 0x8c]
xor cl, cl
mov eax, esi
mov dword [esi + 0xc], edx
call fcn.0049ce50
mov eax, dword [esi + 0xc]
mov dword [esi + 0x10], eax
jmp 0x52e63b
mov cl, 1
mov eax, esi
mov dword [esi + 0xc], 0x50
call fcn.0049ce50
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x10], ecx
lea eax, [ebx + 0x1dc]
call fcn.00403c30
mov dword [ebx + 0x8c8], eax
mov eax, esi
call fcn.00403c30
mov dword [ebx + 0x8cc], eax
lea eax, [ebx + 0x20c]
push eax
mov eax, str.Scrollback
call fcn.0049ce40
test edi, edi
je 0x52e6a9
lea eax, [ebx + 0x210]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x8c]
call fcn.00542550
test al, al
je 0x52e6a9
mov edx, dword [ebp - 0x8c]
lea eax, [ebx + 0x20c]
xor cl, cl
mov dword [eax + 0xc], edx
call fcn.0049ce50
mov ecx, dword [eax + 0xc]
mov dword [eax + 0x10], ecx
jmp 0x52e6c3
lea eax, [ebx + 0x20c]
mov cl, 1
mov dword [eax + 0xc], 0x1f4
call fcn.0049ce50
mov edx, dword [eax + 0xc]
mov dword [eax + 0x10], edx
lea eax, [ebp - 0xc0]
push 0xffffffffffffffff
push eax
call sub.ClientConfigUI66U.dll_void___cdecl_GetGlobalConfig_struct_GlobalConfig____int_
mov eax, dword [ebp - 0xc0]
add eax, 0xb54
add esp, 8
mov dword [ebp - 0x8c], eax
call fcn.00403c30
mov dword [ebp - 0x7c], eax
mov eax, esi
call fcn.00403c30
mov ecx, dword [ebp - 0x7c]
cmp eax, ecx
jle 0x52e71a
mov eax, dword [ebp - 0x8c]
lea esi, [ebx + 0x1f4]
mov ecx, esi
call fcn.0049ce00
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [ebp - 0xc0]
add eax, 0xaa0
mov dword [ebp - 0x8c], eax
call fcn.00403c30
mov esi, eax
lea eax, [ebx + 0x20c]
call fcn.00403c30
cmp eax, esi
jle 0x52e760
mov eax, dword [ebp - 0x8c]
lea esi, [ebx + 0x20c]
mov ecx, esi
call fcn.0049ce00
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0xc]
mov dword [esi + 0xc], ecx
lea esi, [ebx + 0x23c]
push esi
mov eax, str.Sync_View_Rows
call fcn.0049ce40
test edi, edi
je 0x52e7a7
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52e7a7
cmp dword [ebp - 0x7c], 0
mov eax, esi
setne dl
xor cl, cl
mov byte [esi + 0xc], dl
call fcn.0049ce50
mov al, byte [esi + 0xc]
mov byte [esi + 0xd], al
jmp 0x52e7ba
mov cl, 1
mov eax, esi
mov byte [esi + 0xc], 1
call fcn.0049ce50
mov cl, byte [esi + 0xc]
mov byte [esi + 0xd], cl
lea esi, [ebx + 0x250]
push esi
mov eax, str.Sync_View_Cols
call fcn.0049ce40
test edi, edi
je 0x52e801
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52e801
cmp dword [ebp - 0x7c], 0
mov eax, esi
setne dl
xor cl, cl
mov byte [esi + 0xc], dl
call fcn.0049ce50
mov al, byte [esi + 0xc]
mov byte [esi + 0xd], al
jmp 0x52e814
mov cl, 1
mov eax, esi
mov byte [esi + 0xc], 1
call fcn.0049ce50
mov cl, byte [esi + 0xc]
mov byte [esi + 0xd], cl
mov dword [ebp - 0x98], 0
test edi, edi
je 0x52e85d
lea edx, [ebp - 0x98]
push edx
push str.Resize_Mode
mov eax, edi
call fcn.004a34c0
test al, al
jne 0x52e85d
lea eax, [ebx + 0x23c]
call fcn.00403c40
test al, al
jne 0x52e85d
mov eax, esi
call fcn.00403c40
test al, al
jne 0x52e85d
mov dword [ebp - 0x98], 2
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x8c], eax
lea esi, [ebx + 0x224]
push esi
mov eax, str.Resize_Mode
call fcn.0049ce40
test edi, edi
je 0x52e8ac
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52e8ac
mov ecx, dword [ebp - 0x7c]
mov dword [esi + 0xc], ecx
xor cl, cl
mov eax, esi
call fcn.0049ce50
mov edx, dword [esi + 0xc]
mov dword [esi + 0x10], edx
jmp 0x52e8c4
mov eax, dword [ebp - 0x8c]
mov dword [esi + 0xc], eax
mov cl, 1
mov eax, esi
call fcn.0049ce50
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x10], ecx
mov eax, esi
call fcn.00403c30
cmp eax, 1
jne 0x52e900
lea eax, [ebp - 0x81]
lea edx, [ebx + 0x23c]
mov byte [ebp - 0x81], 0
call fcn.0040e710
lea eax, [ebp - 0x81]
lea edx, [ebx + 0x250]
mov byte [ebp - 0x81], 0
call fcn.0040e710
lea esi, [ebx + 0x264]
push esi
mov eax, str.Horizontal_Scrollbar
call fcn.0049ce40
test edi, edi
je 0x52e943
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52e943
mov edx, dword [ebp - 0x7c]
xor cl, cl
mov eax, esi
mov dword [esi + 0xc], edx
call fcn.0049ce50
mov eax, dword [esi + 0xc]
mov dword [esi + 0x10], eax
jmp 0x52e959
mov cl, 1
mov eax, esi
mov dword [esi + 0xc], 2
call fcn.0049ce50
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x10], ecx
lea esi, [ebx + 0x27c]
push esi
mov eax, str.Vertical_Scrollbar
call fcn.0049ce40
test edi, edi
je 0x52e99c
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52e99c
mov edx, dword [ebp - 0x7c]
xor cl, cl
mov eax, esi
mov dword [esi + 0xc], edx
call fcn.0049ce50
mov eax, dword [esi + 0xc]
mov dword [esi + 0x10], eax
jmp 0x52e9b2
mov cl, 1
mov eax, esi
mov dword [esi + 0xc], 2
call fcn.0049ce50
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x10], ecx
lea edx, [ebp - 0x100]
push edx
call fcn.004878d0
mov byte [ebp - 4], 0x56
lea eax, [ebp - 0xb8]
push eax
call fcn.005315b0
mov byte [ebp - 4], 0x57
lea eax, [ebx + 0x34]
test eax, eax
je 0x52e9de
lea eax, [ebx + 0x40]
jmp 0x52e9e0
xor eax, eax
mov esi, str.ANSI
call fcn.00495d20
lea esi, [ebx + 0x4d4]
test al, al
push esi
mov eax, str.Foreground
je 0x52ebbf
call fcn.0049ce40
test edi, edi
je 0x52ea35
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52ea35
mov ecx, dword [ebp - 0x7c]
mov dword [esi + 0xc], ecx
xor cl, cl
mov eax, esi
call fcn.0049ce50
mov edx, dword [esi + 0xc]
mov dword [esi + 0x10], edx
jmp 0x52ea4b
mov cl, 1
mov eax, esi
mov dword [esi + 0xc], 0xffffff
call fcn.0049ce50
mov eax, dword [esi + 0xc]
mov dword [esi + 0x10], eax
lea esi, [ebx + 0x4ec]
push esi
mov eax, str.Background
call fcn.0049ce40
test edi, edi
je 0x52ea8e
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52ea8e
mov ecx, dword [ebp - 0x7c]
mov dword [esi + 0xc], ecx
xor cl, cl
mov eax, esi
call fcn.0049ce50
mov edx, dword [esi + 0xc]
mov dword [esi + 0x10], edx
jmp 0x52eaa4
mov cl, 1
mov eax, esi
mov dword [esi + 0xc], 0
call fcn.0049ce50
mov eax, dword [esi + 0xc]
mov dword [esi + 0x10], eax
lea esi, [ebx + 0x504]
push esi
mov eax, str.Bold
call fcn.0049ce40
test edi, edi
je 0x52eae7
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52eae7
mov ecx, dword [ebp - 0x7c]
mov dword [esi + 0xc], ecx
xor cl, cl
mov eax, esi
call fcn.0049ce50
mov edx, dword [esi + 0xc]
mov dword [esi + 0x10], edx
jmp 0x52eafd
mov cl, 1
mov eax, esi
mov dword [esi + 0xc], 0xffffff
call fcn.0049ce50
mov eax, dword [esi + 0xc]
mov dword [esi + 0x10], eax
push 0
or edi, 0xffffffff
mov eax, str.Terminal
lea esi, [ebp - 0x8c]
call fcn.00494ae0
mov byte [ebp - 4], 0x58
mov edi, dword [ebp - 0x88]
mov ecx, esi
push ecx
push edi
mov eax, str.Font_Family
lea esi, [ebp - 0x100]
call fcn.00487940
mov byte [ebp - 4], 0x57
lea ecx, [ebp - 0x8c]
call fcn.00494b70
lea edx, [ebp - 0xb8]
push edx
mov eax, str.Font_Size
call fcn.0049ce40
test edi, edi
je 0x52eb97
lea eax, [ebp - 0xb4]
call fcn.00407eb0
mov ecx, eax
mov eax, edi
push eax
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52eb97
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0xac], ecx
xor cl, cl
lea eax, [ebp - 0xb8]
call fcn.0049ce50
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xa8], edx
jmp 0x52ed9f
mov cl, 1
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xac], 0xc
call fcn.0049ce50
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xa8], eax
jmp 0x52ed9f
call fcn.0049ce40
test edi, edi
je 0x52ebf6
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52ebf6
mov ecx, dword [ebp - 0x7c]
mov dword [esi + 0xc], ecx
xor cl, cl
mov eax, esi
call fcn.0049ce50
mov edx, dword [esi + 0xc]
mov dword [esi + 0x10], edx
jmp 0x52ec0c
mov cl, 1
mov eax, esi
mov dword [esi + 0xc], 0
call fcn.0049ce50
mov eax, dword [esi + 0xc]
mov dword [esi + 0x10], eax
lea esi, [ebx + 0x4ec]
push esi
mov eax, str.Background
call fcn.0049ce40
test edi, edi
je 0x52ec4f
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52ec4f
mov ecx, dword [ebp - 0x7c]
mov dword [esi + 0xc], ecx
xor cl, cl
mov eax, esi
call fcn.0049ce50
mov edx, dword [esi + 0xc]
mov dword [esi + 0x10], edx
jmp 0x52ec65
mov cl, 1
mov eax, esi
mov dword [esi + 0xc], 0xffffff
call fcn.0049ce50
mov eax, dword [esi + 0xc]
mov dword [esi + 0x10], eax
lea esi, [ebx + 0x504]
push esi
mov eax, str.Bold
call fcn.0049ce40
test edi, edi
je 0x52eca8
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52eca8
mov ecx, dword [ebp - 0x7c]
mov dword [esi + 0xc], ecx
xor cl, cl
mov eax, esi
call fcn.0049ce50
mov edx, dword [esi + 0xc]
mov dword [esi + 0x10], edx
jmp 0x52ecbe
mov cl, 1
mov eax, esi
mov dword [esi + 0xc], 0
call fcn.0049ce50
mov eax, dword [esi + 0xc]
mov dword [esi + 0x10], eax
lea ecx, [ebp - 0x90]
push ecx
call fcn.004959b0
mov byte [ebp - 4], 0x59
lea edx, [ebp - 0x80]
push edx
call fcn.00495a90
mov byte [ebp - 4], 0x5a
lea eax, [ebp - 0x7c]
lea edi, [ebp - 0x8c]
call fcn.00494c50
mov byte [ebp - 4], 0x59
lea ecx, [ebp - 0x80]
call fcn.00495b00
mov ecx, dword [ebp - 0x88]
mov eax, edi
push eax
push ecx
mov eax, str.Font_Family
lea esi, [ebp - 0x100]
call fcn.00487940
lea edx, [ebp - 0xb8]
push edx
mov eax, str.Font_Size
call fcn.0049ce40
cmp dword [ebp - 0x88], 0
je 0x52ed6d
lea eax, [ebp - 0xb4]
call fcn.00407eb0
mov ecx, eax
mov eax, dword [ebp - 0x88]
push eax
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52ed6d
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0xac], ecx
xor cl, cl
lea eax, [ebp - 0xb8]
call fcn.0049ce50
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xa8], edx
jmp 0x52ed90
mov cl, 1
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xac], 0xd
call fcn.0049ce50
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 0x57
lea ecx, [ebp - 0x90]
call fcn.00495b00
push 0
or edi, 0xffffffff
mov eax, 0x622a2c
lea esi, [ebp - 0x8c]
call fcn.00494ae0
mov byte [ebp - 4], 0x5b
mov edi, dword [ebp - 0x88]
mov ecx, esi
push ecx
push edi
mov eax, str.Color_Scheme
lea esi, [ebx + 0x294]
call fcn.00487940
mov byte [ebp - 4], 0x57
lea ecx, [ebp - 0x8c]
call fcn.00494b70
lea eax, [ebp - 0xf4]
call fcn.00407eb0
push eax
lea eax, [ebp - 0xb8]
call fcn.00403c30
lea esi, [ebp - 0x74]
call fcn.0049c980
lea esi, [ebx + 0x2a8]
push esi
mov eax, str.Normal_Font_v2
call fcn.0049ce40
lea edx, [ebp - 0x74]
push edx
mov ecx, edi
call fcn.005318f0
lea esi, [ebx + 0x374]
push esi
mov eax, str.Narrow_Font_v2
call fcn.0049ce40
lea eax, [ebp - 0x74]
push eax
mov ecx, edi
call fcn.005318f0
lea eax, [ebx + 0x440]
push eax
mov eax, str.Use_Narrow_Font
call fcn.0049ce40
test edi, edi
je 0x52ee87
lea esi, [ebx + 0x440]
lea eax, [esi + 4]
call fcn.00407eb0
mov edx, edi
mov ecx, eax
push edx
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52ee87
cmp dword [ebp - 0x7c], 0
setne al
mov byte [esi + 0xc], al
xor cl, cl
mov eax, esi
call fcn.0049ce50
mov cl, byte [esi + 0xc]
mov byte [esi + 0xd], cl
jmp 0x52ee9e
lea eax, [ebx + 0x440]
mov cl, 1
mov byte [eax + 0xc], 0
call fcn.0049ce50
mov dl, byte [eax + 0xc]
mov byte [eax + 0xd], dl
push 0
or edi, 0xffffffff
mov eax, 0x5fece0
lea esi, [ebp - 0x8c]
call fcn.00494ae0
mov byte [ebp - 4], 0x5c
mov ecx, dword [ebp - 0x88]
mov eax, esi
push eax
push ecx
mov eax, str.Output_Transformer_Name
lea esi, [ebx + 0x454]
call fcn.00487940
mov byte [ebp - 4], 0x57
lea ecx, [ebp - 0x8c]
call fcn.00494b70
lea eax, [ebx + 0x2a8]
mov byte [ebp - 0x81], 1
test eax, eax
je 0x52eef9
lea esi, [ebx + 0x2b4]
jmp 0x52eefb
xor esi, esi
push 5
lea edx, [ebp - 0x158]
push 0x5ff6fc
mov ecx, 0x17
lea edi, [ebp - 0x174]
push edx
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.MSVCR90.dll_wcsncmp]
add esp, 0xc
test eax, eax
je 0x52ef33
lea eax, [ebp - 0x174]
push eax
call fcn.00531000
test al, al
jne 0x52ef95
lea eax, [ebx + 0x440]
call fcn.00403c40
test al, al
je 0x52ef8e
lea eax, [ebx + 0x374]
test eax, eax
je 0x52ef54
lea esi, [ebx + 0x380]
jmp 0x52ef56
xor esi, esi
mov ecx, 0x17
lea edi, [ebp - 0x174]
push 5
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x158]
push 0x5ff6fc
push ecx
call dword [sym.imp.MSVCR90.dll_wcsncmp]
add esp, 0xc
test eax, eax
je 0x52ef8e
lea edx, [ebp - 0x174]
push edx
call fcn.00531000
test al, al
jne 0x52ef95
mov byte [ebp - 0x81], 0
lea edi, [ebx + 0x468]
push edi
mov eax, str.Use_Unicode_Line_Drawing
call fcn.0049ce40
mov esi, dword [ebp - 0x88]
test esi, esi
je 0x52efe2
lea eax, [edi + 4]
call fcn.00407eb0
mov ecx, eax
push esi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52efe2
cmp dword [ebp - 0x7c], 0
setne al
mov byte [edi + 0xc], al
xor cl, cl
mov eax, edi
call fcn.0049ce50
mov cl, byte [edi + 0xc]
mov byte [edi + 0xd], cl
jmp 0x52effa
mov dl, byte [ebp - 0x81]
mov cl, 1
mov eax, edi
mov byte [edi + 0xc], dl
call fcn.0049ce50
mov al, byte [edi + 0xc]
mov byte [edi + 0xd], al
lea edi, [ebx + 0x47c]
push edi
mov eax, str.Blinking_Cursor
call fcn.0049ce40
test esi, esi
je 0x52f041
lea eax, [edi + 4]
call fcn.00407eb0
mov ecx, eax
push esi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52f041
cmp dword [ebp - 0x7c], 0
mov eax, edi
setne cl
mov byte [edi + 0xc], cl
xor cl, cl
call fcn.0049ce50
mov dl, byte [edi + 0xc]
mov byte [edi + 0xd], dl
jmp 0x52f054
mov cl, 1
mov eax, edi
mov byte [edi + 0xc], 1
call fcn.0049ce50
mov al, byte [edi + 0xc]
mov byte [edi + 0xd], al
lea edi, [ebx + 0x490]
push edi
mov eax, str.Cursor_Style
call fcn.0049ce40
test esi, esi
je 0x52f097
lea eax, [edi + 4]
call fcn.00407eb0
mov ecx, eax
push esi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52f097
mov ecx, dword [ebp - 0x7c]
mov dword [edi + 0xc], ecx
xor cl, cl
mov eax, edi
call fcn.0049ce50
mov edx, dword [edi + 0xc]
mov dword [edi + 0x10], edx
jmp 0x52f0ad
mov cl, 1
mov eax, edi
mov dword [edi + 0xc], 0
call fcn.0049ce50
mov eax, dword [edi + 0xc]
mov dword [edi + 0x10], eax
lea edi, [ebx + 0x4a8]
push edi
mov eax, str.Use_Cursor_Color
call fcn.0049ce40
test esi, esi
je 0x52f0f4
lea eax, [edi + 4]
call fcn.00407eb0
mov ecx, eax
push esi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52f0f4
cmp dword [ebp - 0x7c], 0
mov eax, edi
setne cl
mov byte [edi + 0xc], cl
xor cl, cl
call fcn.0049ce50
mov dl, byte [edi + 0xc]
mov byte [edi + 0xd], dl
jmp 0x52f107
mov cl, 1
mov eax, edi
mov byte [edi + 0xc], 0
call fcn.0049ce50
mov al, byte [edi + 0xc]
mov byte [edi + 0xd], al
lea edi, [ebx + 0x4bc]
push edi
mov eax, str.Cursor_Color
call fcn.0049ce40
test esi, esi
je 0x52f14a
lea eax, [edi + 4]
call fcn.00407eb0
mov ecx, eax
push esi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52f14a
mov ecx, dword [ebp - 0x7c]
mov dword [edi + 0xc], ecx
xor cl, cl
mov eax, edi
call fcn.0049ce50
mov edx, dword [edi + 0xc]
mov dword [edi + 0x10], edx
jmp 0x52f160
mov cl, 1
mov eax, edi
mov dword [edi + 0xc], 0
call fcn.0049ce50
mov eax, dword [edi + 0xc]
mov dword [edi + 0x10], eax
lea edi, [ebx + 0x51c]
push edi
mov eax, str.Map_Delete
call fcn.0049ce40
test esi, esi
je 0x52f1a7
lea eax, [edi + 4]
call fcn.00407eb0
mov ecx, eax
push esi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52f1a7
cmp dword [ebp - 0x7c], 0
mov eax, edi
setne cl
mov byte [edi + 0xc], cl
xor cl, cl
call fcn.0049ce50
mov dl, byte [edi + 0xc]
mov byte [edi + 0xd], dl
jmp 0x52f1ba
mov cl, 1
mov eax, edi
mov byte [edi + 0xc], 0
call fcn.0049ce50
mov al, byte [edi + 0xc]
mov byte [edi + 0xd], al
lea edi, [ebx + 0x530]
push edi
mov eax, str.Map_Backspace
call fcn.0049ce40
test esi, esi
je 0x52f201
lea eax, [edi + 4]
call fcn.00407eb0
mov ecx, eax
push esi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52f201
cmp dword [ebp - 0x7c], 0
mov eax, edi
setne cl
mov byte [edi + 0xc], cl
xor cl, cl
call fcn.0049ce50
mov dl, byte [edi + 0xc]
mov byte [edi + 0xd], dl
jmp 0x52f214
mov cl, 1
mov eax, edi
mov byte [edi + 0xc], 0
call fcn.0049ce50
mov al, byte [edi + 0xc]
mov byte [edi + 0xd], al
lea eax, [ebx + 0x34]
test eax, eax
je 0x52f220
lea eax, [ebx + 0x40]
jmp 0x52f222
xor eax, eax
mov esi, 0x603068
call fcn.00495d20
test al, al
mov eax, esi
jne 0x52f237
mov eax, 0x5fece0
push 0
or edi, 0xffffffff
lea esi, [ebp - 0x8c]
call fcn.00494ae0
mov byte [ebp - 4], 0x5d
mov edx, dword [ebp - 0x88]
mov ecx, esi
push ecx
push edx
mov eax, str.Keymap_Name
lea esi, [ebx + 0x544]
call fcn.00487940
mov byte [ebp - 4], 0x57
lea ecx, [ebp - 0x8c]
call fcn.00494b70
push 0
or edi, edi
mov eax, 0x5f7740
lea esi, [ebp - 0x8c]
call fcn.00494ae0
mov byte [ebp - 4], 0x5e
mov edi, dword [ebp - 0x88]
mov eax, esi
push eax
push edi
mov eax, str.Keymap_Filename
lea esi, [ebx + 0x558]
call fcn.00487940
mov byte [ebp - 4], 0x57
lea ecx, [ebp - 0x8c]
call fcn.00494b70
test edi, edi
je 0x52f2d7
lea ecx, [ebp - 0x98]
push ecx
push str.Use_Alternate_Keyboard
mov eax, edi
call fcn.004a34c0
mov byte [ebp - 0x81], 1
test al, al
jne 0x52f2de
mov byte [ebp - 0x81], 0
lea esi, [ebx + 0x56c]
push esi
mov eax, str.Use_Alternate_Keyboard
call fcn.0049ce40
test edi, edi
je 0x52f325
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52f325
cmp dword [ebp - 0x7c], 0
mov eax, esi
setne dl
xor cl, cl
mov byte [esi + 0xc], dl
call fcn.0049ce50
mov al, byte [esi + 0xc]
mov byte [esi + 0xd], al
jmp 0x52f338
mov cl, 1
mov eax, esi
mov byte [esi + 0xc], 0
call fcn.0049ce50
mov cl, byte [esi + 0xc]
mov byte [esi + 0xd], cl
lea eax, [ebx + 0x550]
push eax
mov edx, str.Custom
call fcn.00495390
test eax, eax
jne 0x52f35b
lea eax, [ebp - 0x75]
mov edx, esi
mov byte [ebp - 0x75], 1
call fcn.0040e710
lea eax, [ebx + 0x544]
neg eax
sbb eax, eax
lea ecx, [ebx + 0x550]
and eax, ecx
mov esi, str.SCO_ANSI
call fcn.00495d20
test al, al
je 0x52f3b2
push 0
or edi, 0xffffffff
mov eax, str.SCOANSI
lea esi, [ebp - 0x8c]
call fcn.00494ae0
mov byte [ebp - 4], 0x5f
mov eax, esi
lea ecx, [ebx + 0x544]
call fcn.00407e50
mov byte [ebp - 4], 0x57
mov ecx, esi
call fcn.00494b70
mov edi, dword [ebp - 0x88]
cmp byte [ebp - 0x81], 0
jne 0x52f3e2
lea eax, [ebx + 0x550]
push eax
mov edx, 0x5fece0
call fcn.00495390
test eax, eax
je 0x52f3e2
lea eax, [ebp - 0x75]
lea edx, [ebx + 0x56c]
mov byte [ebp - 0x75], 1
call fcn.0040e710
lea esi, [ebx + 0x580]
push esi
mov eax, str.Emacs_Mode
call fcn.0049ce40
test edi, edi
je 0x52f429
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52f429
cmp dword [ebp - 0x7c], 0
mov eax, esi
setne dl
xor cl, cl
mov byte [esi + 0xc], dl
call fcn.0049ce50
mov al, byte [esi + 0xc]
mov byte [esi + 0xd], al
jmp 0x52f43c
mov cl, 1
mov eax, esi
mov byte [esi + 0xc], 0
call fcn.0049ce50
mov cl, byte [esi + 0xc]
mov byte [esi + 0xd], cl
lea esi, [ebx + 0x594]
push esi
mov eax, str.Emacs_Mode_8_Bit
call fcn.0049ce40
test edi, edi
je 0x52f483
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52f483
cmp dword [ebp - 0x7c], 0
mov eax, esi
setne dl
xor cl, cl
mov byte [esi + 0xc], dl
call fcn.0049ce50
mov al, byte [esi + 0xc]
mov byte [esi + 0xd], al
jmp 0x52f496
mov cl, 1
mov eax, esi
mov byte [esi + 0xc], 0
call fcn.0049ce50
mov cl, byte [esi + 0xc]
mov byte [esi + 0xd], cl
lea esi, [ebx + 0x5a8]
push esi
mov eax, str.Preserve_Alt_Gr
call fcn.0049ce40
test edi, edi
je 0x52f4dd
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52f4dd
cmp dword [ebp - 0x7c], 0
mov eax, esi
setne dl
xor cl, cl
mov byte [esi + 0xc], dl
call fcn.0049ce50
mov al, byte [esi + 0xc]
mov byte [esi + 0xd], al
jmp 0x52f4f0
mov cl, 1
mov eax, esi
mov byte [esi + 0xc], 0
call fcn.0049ce50
mov cl, byte [esi + 0xc]
mov byte [esi + 0xd], cl
mov eax, 0x7d00
call fcn.005498a0
lea edx, [ebp - 0x118]
mov esi, esp
push edx
mov dword [ebp - 0xa0], 0x7d00
call fcn.0049a1f0
mov byte [ebp - 4], 0x60
test edi, edi
je 0x52f582
lea eax, [ebp - 0x118]
push eax
push str.Keymap_v3
mov eax, edi
call fcn.004a34f0
test al, al
jne 0x52f582
lea ecx, [ebp - 0xa0]
push ecx
push esi
push str.Keymap_v2
mov eax, edi
call fcn.004a34e0
test al, al
jne 0x52f561
lea edx, [ebp - 0xa0]
push edx
push esi
push str.Keymap
mov eax, edi
call fcn.004a34e0
test al, al
je 0x52f582
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebx + 0x5bc]
mov eax, dword [eax + 0x58]
push edx
push esi
lea ecx, [ebx + 0x5bc]
push str.Keymap_v3
push edi
call eax
jmp 0x52f5a0
mov edx, dword [ebx + 0x5bc]
mov edx, dword [edx + 0x5c]
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebx + 0x5bc]
push str.Keymap_v3
push edi
call edx
lea esi, [ebx + 0x620]
push esi
mov eax, str.Jump_Scroll
call fcn.0049ce40
test edi, edi
je 0x52f5e7
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52f5e7
cmp dword [ebp - 0x7c], 0
setne al
mov byte [esi + 0xc], al
xor cl, cl
mov eax, esi
call fcn.0049ce50
mov cl, byte [esi + 0xc]
mov byte [esi + 0xd], cl
jmp 0x52f5fa
mov cl, 1
mov eax, esi
mov byte [esi + 0xc], 1
call fcn.0049ce50
mov dl, byte [esi + 0xc]
mov byte [esi + 0xd], dl
lea esi, [ebx + 0x5c]
push esi
mov eax, str.Keypad_Mode
call fcn.0049ce40
test edi, edi
je 0x52f63a
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52f63a
mov eax, dword [ebp - 0x7c]
mov dword [esi + 0xc], eax
xor cl, cl
mov eax, esi
call fcn.0049ce50
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x10], ecx
jmp 0x52f650
mov cl, 1
mov eax, esi
mov dword [esi + 0xc], 0
call fcn.0049ce50
mov edx, dword [esi + 0xc]
mov dword [esi + 0x10], edx
lea esi, [ebx + 0x74]
push esi
mov eax, str.Line_Wrap
call fcn.0049ce40
test edi, edi
je 0x52f694
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52f694
cmp dword [ebp - 0x7c], 0
setne al
mov byte [esi + 0xc], al
xor cl, cl
mov eax, esi
call fcn.0049ce50
mov cl, byte [esi + 0xc]
mov byte [esi + 0xd], cl
jmp 0x52f6a7
mov cl, 1
mov eax, esi
mov byte [esi + 0xc], 1
call fcn.0049ce50
mov dl, byte [esi + 0xc]
mov byte [esi + 0xd], dl
lea esi, [ebx + 0x88]
push esi
mov eax, str.Cursor_Key_Mode
call fcn.0049ce40
test edi, edi
je 0x52f6ee
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52f6ee
cmp dword [ebp - 0x7c], 0
setne al
mov byte [esi + 0xc], al
xor cl, cl
mov eax, esi
call fcn.0049ce50
mov cl, byte [esi + 0xc]
mov byte [esi + 0xd], cl
jmp 0x52f701
mov cl, 1
mov eax, esi
mov byte [esi + 0xc], 0
call fcn.0049ce50
mov dl, byte [esi + 0xc]
mov byte [esi + 0xd], dl
lea esi, [ebx + 0x9c]
push esi
mov eax, str.Newline_Mode
call fcn.0049ce40
test edi, edi
je 0x52f748
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52f748
cmp dword [ebp - 0x7c], 0
setne al
mov byte [esi + 0xc], al
xor cl, cl
mov eax, esi
call fcn.0049ce50
mov cl, byte [esi + 0xc]
mov byte [esi + 0xd], cl
jmp 0x52f75b
mov cl, 1
mov eax, esi
mov byte [esi + 0xc], 0
call fcn.0049ce50
mov dl, byte [esi + 0xc]
mov byte [esi + 0xd], dl
mov dword [ebp - 0x9c], 1
test edi, edi
je 0x52f793
lea eax, [ebp - 0x9c]
push eax
push 0x622fac
mov eax, edi
call fcn.004a34c0
test al, al
jne 0x52f793
lea ecx, [ebp - 0x9c]
push ecx
push str.Enable_80_132_Column_Switching
mov eax, edi
call fcn.004a34c0
cmp dword [ebp - 0x9c], 0
lea esi, [ebx + 0xb0]
push esi
mov eax, 0x622fac
setne byte [ebp - 0x75]
call fcn.0049ce40
test edi, edi
je 0x52f7e5
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52f7e5
cmp dword [ebp - 0x7c], 0
mov eax, esi
setne dl
xor cl, cl
mov byte [esi + 0xc], dl
call fcn.0049ce50
mov al, byte [esi + 0xc]
mov byte [esi + 0xd], al
jmp 0x52f7fa
mov cl, byte [ebp - 0x75]
mov byte [esi + 0xc], cl
mov cl, 1
mov eax, esi
call fcn.0049ce50
mov dl, byte [esi + 0xc]
mov byte [esi + 0xd], dl
lea esi, [ebx + 0xc4]
push esi
mov eax, str.Enable_Cursor_Key_Mode_Switching
call fcn.0049ce40
test edi, edi
je 0x52f841
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52f841
cmp dword [ebp - 0x7c], 0
setne al
mov byte [esi + 0xc], al
xor cl, cl
mov eax, esi
call fcn.0049ce50
mov cl, byte [esi + 0xc]
mov byte [esi + 0xd], cl
jmp 0x52f854
mov cl, 1
mov eax, esi
mov byte [esi + 0xc], 1
call fcn.0049ce50
mov dl, byte [esi + 0xc]
mov byte [esi + 0xd], dl
lea esi, [ebx + 0xd8]
push esi
mov eax, str.Enable_Keypad_Mode_Switching
call fcn.0049ce40
test edi, edi
je 0x52f89b
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52f89b
cmp dword [ebp - 0x7c], 0
setne al
mov byte [esi + 0xc], al
xor cl, cl
mov eax, esi
call fcn.0049ce50
mov cl, byte [esi + 0xc]
mov byte [esi + 0xd], cl
jmp 0x52f8ae
mov cl, 1
mov eax, esi
mov byte [esi + 0xc], 1
call fcn.0049ce50
mov dl, byte [esi + 0xc]
mov byte [esi + 0xd], dl
lea esi, [ebx + 0xec]
push esi
mov eax, str.Enable_Line_Wrap_Mode_Switching
call fcn.0049ce40
test edi, edi
je 0x52f8f5
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52f8f5
cmp dword [ebp - 0x7c], 0
setne al
mov byte [esi + 0xc], al
xor cl, cl
mov eax, esi
call fcn.0049ce50
mov cl, byte [esi + 0xc]
mov byte [esi + 0xd], cl
jmp 0x52f908
mov cl, 1
mov eax, esi
mov byte [esi + 0xc], 1
call fcn.0049ce50
mov dl, byte [esi + 0xc]
mov byte [esi + 0xd], dl
lea esi, [ebx + 0x100]
push esi
mov eax, str.WaitForStrings_Ignores_Color
call fcn.0049ce40
test edi, edi
je 0x52f94f
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52f94f
cmp dword [ebp - 0x7c], 0
setne al
mov byte [esi + 0xc], al
xor cl, cl
mov eax, esi
call fcn.0049ce50
mov cl, byte [esi + 0xc]
mov byte [esi + 0xd], cl
jmp 0x52f962
mov cl, 1
mov eax, esi
mov byte [esi + 0xc], 0
call fcn.0049ce50
mov dl, byte [esi + 0xc]
mov byte [esi + 0xd], dl
lea esi, [ebx + 0x114]
push esi
mov eax, str.SGR_Zero_Resets_ANSI_Color
call fcn.0049ce40
test edi, edi
je 0x52f9a9
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52f9a9
cmp dword [ebp - 0x7c], 0
setne al
mov byte [esi + 0xc], al
xor cl, cl
mov eax, esi
call fcn.0049ce50
mov cl, byte [esi + 0xc]
mov byte [esi + 0xd], cl
jmp 0x52f9bc
mov cl, 1
mov eax, esi
mov byte [esi + 0xc], 1
call fcn.0049ce50
mov dl, byte [esi + 0xc]
mov byte [esi + 0xd], dl
lea esi, [ebx + 0x128]
push esi
mov eax, str.SCO_Line_Wrap
call fcn.0049ce40
test edi, edi
je 0x52fa03
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52fa03
cmp dword [ebp - 0x7c], 0
setne al
mov byte [esi + 0xc], al
xor cl, cl
mov eax, esi
call fcn.0049ce50
mov cl, byte [esi + 0xc]
mov byte [esi + 0xd], cl
jmp 0x52fa16
mov cl, 1
mov eax, esi
mov byte [esi + 0xc], 0
call fcn.0049ce50
mov dl, byte [esi + 0xc]
mov byte [esi + 0xd], dl
lea esi, [ebx + 0x13c]
push esi
mov eax, str.Display_Tab
call fcn.0049ce40
test edi, edi
je 0x52fa5d
lea eax, [esi + 4]
call fcn.00407eb0
mov ecx, eax
push edi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52fa5d
cmp dword [ebp - 0x7c], 0
setne al
mov byte [esi + 0xc], al
xor cl, cl
mov eax, esi
call fcn.0049ce50
mov cl, byte [esi + 0xc]
mov byte [esi + 0xd], cl
jmp 0x52fa70
mov cl, 1
mov eax, esi
mov byte [esi + 0xc], 0
call fcn.0049ce50
mov dl, byte [esi + 0xc]
mov byte [esi + 0xd], dl
push 0
or edi, 0xffffffff
mov eax, 0x5f7740
lea esi, [ebp - 0x8c]
call fcn.00494ae0
mov byte [ebp - 4], 0x61
mov edi, dword [ebp - 0x88]
mov eax, esi
push eax
push edi
mov eax, str.Display_Tab_String
lea esi, [ebx + 0x150]
call fcn.00487940
mov byte [ebp - 4], 0x60
lea ecx, [ebp - 0x8c]
call fcn.00494b70
lea eax, [ebx + 0x634]
push eax
mov eax, str.Audio_Bell
call fcn.0049ce40
test edi, edi
je 0x52fb05
lea edi, [ebx + 0x634]
lea eax, [edi + 4]
call fcn.00407eb0
mov esi, dword [ebp - 0x88]
mov ecx, eax
push esi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52fb07
cmp dword [ebp - 0x7c], 0
mov eax, edi
setne cl
mov byte [edi + 0xc], cl
xor cl, cl
call fcn.0049ce50
mov dl, byte [edi + 0xc]
mov byte [edi + 0xd], dl
jmp 0x52fb1e
mov esi, edi
lea eax, [ebx + 0x634]
mov cl, 1
mov byte [eax + 0xc], 1
call fcn.0049ce50
mov cl, byte [eax + 0xc]
mov byte [eax + 0xd], cl
lea edi, [ebx + 0x648]
push edi
mov eax, str.Visual_Bell
call fcn.0049ce40
test esi, esi
je 0x52fb65
lea eax, [edi + 4]
call fcn.00407eb0
mov ecx, eax
push esi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52fb65
cmp dword [ebp - 0x7c], 0
mov eax, edi
setne dl
xor cl, cl
mov byte [edi + 0xc], dl
call fcn.0049ce50
mov al, byte [edi + 0xc]
mov byte [edi + 0xd], al
jmp 0x52fb78
mov cl, 1
mov eax, edi
mov byte [edi + 0xc], 0
call fcn.0049ce50
mov cl, byte [edi + 0xc]
mov byte [edi + 0xd], cl
lea edi, [ebx + 0x65c]
push edi
mov eax, str.Scroll_To_Clear
call fcn.0049ce40
test esi, esi
je 0x52fbbf
lea eax, [edi + 4]
call fcn.00407eb0
mov ecx, eax
push esi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52fbbf
cmp dword [ebp - 0x7c], 0
mov eax, edi
setne dl
xor cl, cl
mov byte [edi + 0xc], dl
call fcn.0049ce50
mov al, byte [edi + 0xc]
mov byte [edi + 0xd], al
jmp 0x52fbd2
mov cl, 1
mov eax, edi
mov byte [edi + 0xc], 1
call fcn.0049ce50
mov cl, byte [edi + 0xc]
mov byte [edi + 0xd], cl
lea edi, [ebx + 0x670]
push edi
mov eax, str.Close_On_Disconnect
call fcn.0049ce40
test esi, esi
je 0x52fc19
lea eax, [edi + 4]
call fcn.00407eb0
mov ecx, eax
push esi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52fc19
cmp dword [ebp - 0x7c], 0
mov eax, edi
setne dl
xor cl, cl
mov byte [edi + 0xc], dl
call fcn.0049ce50
mov al, byte [edi + 0xc]
mov byte [edi + 0xd], al
jmp 0x52fc2c
mov cl, 1
mov eax, edi
mov byte [edi + 0xc], 0
call fcn.0049ce50
mov cl, byte [edi + 0xc]
mov byte [edi + 0xd], cl
lea edi, [ebx + 0x684]
push edi
mov eax, str.Clear_On_Disconnect
call fcn.0049ce40
test esi, esi
je 0x52fc73
lea eax, [edi + 4]
call fcn.00407eb0
mov ecx, eax
push esi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52fc73
cmp dword [ebp - 0x7c], 0
mov eax, edi
setne dl
xor cl, cl
mov byte [edi + 0xc], dl
call fcn.0049ce50
mov al, byte [edi + 0xc]
mov byte [edi + 0xd], al
jmp 0x52fc86
mov cl, 1
mov eax, edi
mov byte [edi + 0xc], 0
call fcn.0049ce50
mov cl, byte [edi + 0xc]
mov byte [edi + 0xd], cl
lea edi, [ebx + 0x698]
push edi
mov eax, str.Scroll_To_Bottom_On_Output
call fcn.0049ce40
test esi, esi
je 0x52fccd
lea eax, [edi + 4]
call fcn.00407eb0
mov ecx, eax
push esi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52fccd
cmp dword [ebp - 0x7c], 0
mov eax, edi
setne dl
xor cl, cl
mov byte [edi + 0xc], dl
call fcn.0049ce50
mov al, byte [edi + 0xc]
mov byte [edi + 0xd], al
jmp 0x52fce0
mov cl, 1
mov eax, edi
mov byte [edi + 0xc], 1
call fcn.0049ce50
mov cl, byte [edi + 0xc]
mov byte [edi + 0xd], cl
lea edi, [ebx + 0x6ac]
push edi
mov eax, str.Scroll_To_Bottom_On_Keypress
call fcn.0049ce40
test esi, esi
je 0x52fd27
lea eax, [edi + 4]
call fcn.00407eb0
mov ecx, eax
push esi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52fd27
cmp dword [ebp - 0x7c], 0
mov eax, edi
setne dl
xor cl, cl
mov byte [edi + 0xc], dl
call fcn.0049ce50
mov al, byte [edi + 0xc]
mov byte [edi + 0xd], al
jmp 0x52fd3a
mov cl, 1
mov eax, edi
mov byte [edi + 0xc], 1
call fcn.0049ce50
mov cl, byte [edi + 0xc]
mov byte [edi + 0xd], cl
lea edi, [ebx + 0x6c0]
push edi
mov eax, str.CUA_Copy_Paste
call fcn.0049ce40
test esi, esi
je 0x52fd81
lea eax, [edi + 4]
call fcn.00407eb0
mov ecx, eax
push esi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52fd81
cmp dword [ebp - 0x7c], 0
mov eax, edi
setne dl
xor cl, cl
mov byte [edi + 0xc], dl
call fcn.0049ce50
mov al, byte [edi + 0xc]
mov byte [edi + 0xd], al
jmp 0x52fd94
mov cl, 1
mov eax, edi
mov byte [edi + 0xc], 0
call fcn.0049ce50
mov cl, byte [edi + 0xc]
mov byte [edi + 0xd], cl
lea eax, [ebp - 0x75]
lea edx, [ebx + 0x6d4]
mov byte [ebp - 0x75], 0
call fcn.0040e710
lea edi, [ebx + 0x6e8]
push edi
mov eax, str.Use_Terminal_Type
call fcn.0049ce40
test esi, esi
je 0x52fded
lea eax, [edi + 4]
call fcn.00407eb0
mov ecx, eax
push esi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52fded
cmp dword [ebp - 0x7c], 0
mov eax, edi
setne dl
xor cl, cl
mov byte [edi + 0xc], dl
call fcn.0049ce50
mov al, byte [edi + 0xc]
mov byte [edi + 0xd], al
jmp 0x52fe00
mov cl, 1
mov eax, edi
mov byte [edi + 0xc], 0
call fcn.0049ce50
mov cl, byte [edi + 0xc]
mov byte [edi + 0xd], cl
push 0
or edi, 0xffffffff
mov eax, 0x5f7740
lea esi, [ebp - 0x8c]
call fcn.00494ae0
mov byte [ebp - 4], 0x62
mov eax, dword [ebp - 0x88]
mov edx, esi
push edx
push eax
mov eax, str.Terminal_Type
lea esi, [ebx + 0x6fc]
call fcn.00487940
mov byte [ebp - 4], 0x60
lea ecx, [ebp - 0x8c]
call fcn.00494b70
push 0
or edi, edi
mov eax, 0x5f7740
lea esi, [ebp - 0x8c]
call fcn.00494ae0
mov byte [ebp - 4], 0x63
mov edi, dword [ebp - 0x88]
mov ecx, esi
push ecx
push edi
mov eax, str.Answerback
lea esi, [ebx + 0x724]
call fcn.00487940
mov byte [ebp - 4], 0x60
lea ecx, [ebp - 0x8c]
call fcn.00494b70
lea eax, [ebx + 0x710]
push eax
mov eax, str.Use_Answerback
call fcn.0049ce40
test edi, edi
je 0x52fed6
lea edi, [ebx + 0x710]
lea eax, [edi + 4]
call fcn.00407eb0
mov esi, dword [ebp - 0x88]
mov ecx, eax
push esi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52fed8
cmp dword [ebp - 0x7c], 0
mov eax, edi
setne dl
xor cl, cl
mov byte [edi + 0xc], dl
call fcn.0049ce50
mov al, byte [edi + 0xc]
mov byte [edi + 0xd], al
jmp 0x52feef
mov esi, edi
lea eax, [ebx + 0x710]
mov cl, 1
mov byte [eax + 0xc], 0
call fcn.0049ce50
mov cl, byte [eax + 0xc]
mov byte [eax + 0xd], cl
lea edi, [ebx + 0x738]
push edi
mov eax, str.Use_Position
call fcn.0049ce40
test esi, esi
je 0x52ff36
lea eax, [edi + 4]
call fcn.00407eb0
mov ecx, eax
push esi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52ff36
cmp dword [ebp - 0x7c], 0
mov eax, edi
setne dl
xor cl, cl
mov byte [edi + 0xc], dl
call fcn.0049ce50
mov al, byte [edi + 0xc]
mov byte [edi + 0xd], al
jmp 0x52ff49
mov cl, 1
mov eax, edi
mov byte [edi + 0xc], 0
call fcn.0049ce50
mov cl, byte [edi + 0xc]
mov byte [edi + 0xd], cl
lea edi, [ebx + 0x74c]
push edi
mov eax, str.X_Position
call fcn.0049ce40
test esi, esi
je 0x52ff8c
lea eax, [edi + 4]
call fcn.00407eb0
mov ecx, eax
push esi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52ff8c
mov edx, dword [ebp - 0x7c]
xor cl, cl
mov eax, edi
mov dword [edi + 0xc], edx
call fcn.0049ce50
mov eax, dword [edi + 0xc]
mov dword [edi + 0x10], eax
jmp 0x52ffa2
mov cl, 1
mov eax, edi
mov dword [edi + 0xc], 0
call fcn.0049ce50
mov ecx, dword [edi + 0xc]
mov dword [edi + 0x10], ecx
lea edi, [ebx + 0x764]
push edi
mov eax, str.X_Position_Relative_Left
call fcn.0049ce40
test esi, esi
je 0x52ffe9
lea eax, [edi + 4]
call fcn.00407eb0
mov ecx, eax
push esi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x52ffe9
cmp dword [ebp - 0x7c], 0
mov eax, edi
setne dl
xor cl, cl
mov byte [edi + 0xc], dl
call fcn.0049ce50
mov al, byte [edi + 0xc]
mov byte [edi + 0xd], al
jmp 0x52fffc
mov cl, 1
mov eax, edi
mov byte [edi + 0xc], 1
call fcn.0049ce50
mov cl, byte [edi + 0xc]
mov byte [edi + 0xd], cl
lea edi, [ebx + 0x778]
push edi
mov eax, str.Y_Position
call fcn.0049ce40
test esi, esi
je 0x53003f
lea eax, [edi + 4]
call fcn.00407eb0
mov ecx, eax
push esi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x53003f
mov edx, dword [ebp - 0x7c]
xor cl, cl
mov eax, edi
mov dword [edi + 0xc], edx
call fcn.0049ce50
mov eax, dword [edi + 0xc]
mov dword [edi + 0x10], eax
jmp 0x530055
mov cl, 1
mov eax, edi
mov dword [edi + 0xc], 0
call fcn.0049ce50
mov ecx, dword [edi + 0xc]
dec edi
or al, 0x89
dec edi
invalid
lea edi, [ebx + 0x790]
push edi
mov eax, str.Y_Position_Relative_Top
call fcn.0049ce40
test esi, esi
je 0x53009c
lea eax, [edi + 4]
call fcn.00407eb0
mov ecx, eax
push esi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x53009c
cmp dword [ebp - 0x7c], 0
mov eax, edi
setne dl
xor cl, cl
mov byte [edi + 0xc], dl
call fcn.0049ce50
mov al, byte [edi + 0xc]
mov byte [edi + 0xd], al
jmp 0x5300af
mov cl, 1
mov eax, edi
mov byte [edi + 0xc], 1
call fcn.0049ce50
mov cl, byte [edi + 0xc]
mov byte [edi + 0xd], cl
lea edi, [ebx + 0x7a4]
push edi
mov eax, str.Local_Echo
call fcn.0049ce40
test esi, esi
je 0x5300f6
lea eax, [edi + 4]
call fcn.00407eb0
mov ecx, eax
push esi
lea eax, [ebp - 0x7c]
call fcn.00542550
test al, al
je 0x5300f6
cmp dword [ebp - 0x7c], 0
mov eax, edi
setne dl
xor cl, cl
mov byte [edi + 0xc], dl
call fcn.0049ce50
mov al, byte [edi + 0xc]
mov byte [edi + 0xd], al
jmp 0x530109
mov cl, 1
mov eax, edi
mov byte [edi + 0xc], 0
call fcn.0049ce50
mov cl, byte [edi + 0xc]
mov byte [edi + 0xd], cl
mov edi, dword [ebp - 0x88]
lea edx, [ebp - 0x75]
push edx
mov eax, str.Strip_8th_Bit
lea esi, [ebx + 0x7b8]
mov byte [ebp - 0x75], 0
call fcn.00531840
lea eax, [ebp - 0x75]
push eax
mov eax, str.Shift_Forces_Local_Mouse_Operations
lea esi, [ebx + 0x7cc]
mov byte [ebp - 0x75], 1
call fcn.00531840
lea ecx, [ebp - 0x75]
push ecx
mov eax, str.Ignore_Window_Title_Change_Requests
lea esi, [ebx + 0x7e0]
mov byte [ebp - 0x75], 0
call fcn.00531840
lea edx, [ebp - 0x75]
push edx
mov eax, str.Copy_Translates_ANSI_Line_Drawing_Characters
lea esi, [ebx + 0x7f4]
mov byte [ebp - 0x75], 0
call fcn.00531840
lea eax, [ebp - 0x75]
push eax
mov eax, str.Translate_Incoming_CR_To_CRLF
lea esi, [ebx + 0x808]
mov byte [ebp - 0x75], 0
call fcn.00531840
lea ecx, [ebp - 0x75]
push ecx
mov eax, str.Dumb_Terminal_Ignores_CRLF
lea esi, [ebx + 0x81c]
mov byte [ebp - 0x75], 0
call fcn.00531840
lea edx, [ebp - 0x75]
push edx
mov eax, str.Use_Symbolic_Names_For_Non_Printable_Characters
lea esi, [ebx + 0x830]
mov byte [ebp - 0x75], 0
call fcn.00531840
lea eax, [ebp - 0x7c]
push eax
mov eax, str.User_Button_Bar
lea esi, [ebx + 0x85c]
mov dword [ebp - 0x7c], 2
call fcn.00531790
push 0
or edi, 0xffffffff
mov eax, 0x5fece0
lea esi, [ebp - 0x8c]
call fcn.00494ae0
mov byte [ebp - 4], 0x64
mov edi, dword [ebp - 0x88]
mov ecx, esi
push ecx
push edi
mov eax, str.User_Button_Bar_Name
lea esi, [ebx + 0x874]
call fcn.00487940
mov byte [ebp - 4], 0x60
lea ecx, [ebp - 0x8c]
call fcn.00494b70
lea edx, [ebp - 0x7c]
push edx
mov eax, str.Show_Chat_Window
lea esi, [ebx + 0x844]
mov dword [ebp - 0x7c], 2
call fcn.00531790
push 0
or edi, 0xffffffff
mov eax, 0x5f7740
lea esi, [ebp - 0x8c]
call fcn.00494ae0
mov byte [ebp - 4], 0x65
mov eax, esi
push eax
mov ecx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x94]
push ecx
mov eax, str.User_Font_Map
call fcn.00487940
mov byte [ebp - 4], 0x60
lea ecx, [ebp - 0x8c]
call fcn.00494b70
lea ecx, [ebx + 0x894]
mov eax, ecx
mov dword [ebx + 0x8b0], 0
call fcn.00495350
test al, al
jne 0x5302c9
push 0
mov eax, esi
neg eax
push 0
sbb eax, eax
and eax, ecx
push 0
push eax
lea edx, [ebp - 0x7c]
push edx
call fcn.0049ce90
add esp, 0x14
mov byte [ebp - 4], 0x66
call fcn.00407eb0
mov ecx, eax
call fcn.00530d80
mov dword [ebx + 0x8b0], eax
mov byte [ebp - 4], 0x60
lea ecx, [ebp - 0x7c]
call fcn.00494b70
push 0
or edi, 0xffffffff
mov eax, 0x5f7740
lea esi, [ebp - 0x94]
call fcn.00494ae0
mov byte [ebp - 4], 0x67
mov ecx, dword [ebp - 0x88]
mov eax, esi
mov esi, dword [ebp - 0xbc]
push eax
push ecx
mov eax, str.User_Line_Drawing_Map
call fcn.00487940
mov byte [ebp - 4], 0x60
lea ecx, [ebp - 0x94]
call fcn.00494b70
lea ecx, [ebx + 0x8a8]
mov eax, ecx
mov dword [ebx + 0x8b4], 0
call fcn.00495350
test al, al
jne 0x530363
push 0
mov eax, esi
neg eax
push 0
sbb eax, eax
and eax, ecx
push 0
push eax
lea edx, [ebp - 0x7c]
push edx
call fcn.0049ce90
add esp, 0x14
mov byte [ebp - 4], 0x68
call fcn.00407eb0
mov ecx, eax
call fcn.00530d80
mov dword [ebx + 0x8b4], eax
mov byte [ebp - 4], 0x60
lea ecx, [ebp - 0x7c]
call fcn.00494b70
mov byte [ebp - 4], 0x57
lea ecx, [ebp - 0x118]
call fcn.00402b40
mov byte [ebp - 4], 0x56
lea eax, [ebp - 0xb8]
push eax
call fcn.00530550
mov byte [ebp - 4], 0x51
lea ecx, [ebp - 0x100]
push ecx
call fcn.00485fe0
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
lea esp, [ebp - 0x1b4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0054904e
mov esp, ebp
pop ebp
ret 0xc