Function at 0x4170e0
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x14
push ebx
mov bl, byte [0x49d350]
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov word [esp + 0x2c], 0x920
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], 0
mov esi, ebp
test ebp, ebp
je 0x41712a
mov dl, byte [ebp]
test dl, dl
je 0x41712a
mov edi, edi
lea ecx, [esp + 0x2c]
mov al, 0x20
cmp dl, al
je 0x41713e
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x417116
mov dl, byte [esi + 1]
inc esi
test dl, dl
jne 0x417110
mov eax, ebp
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417130
sub eax, edx
lea edi, [eax + ebp]
jmp 0x417177
mov edi, esi
mov eax, esi
mov cl, byte [eax]
cmp cl, 0x20
je 0x41714e
cmp cl, 9
jne 0x417151
inc eax
jmp 0x417142
mov cl, byte [eax]
test cl, cl
je 0x417177
cmp cl, bl
je 0x41715f
mov esi, eax
jmp 0x417179
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x41715f
cmp cl, 9
je 0x41715f
mov esi, eax
mov dword [esp + 0x2c], esi
test cl, cl
jne 0x41717d
xor esi, esi
mov dword [esp + 0x2c], esi
sub edi, ebp
push edi
mov eax, str.Include
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
je 0x4171c5
push edi
mov eax, str.IncludeAgain
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
je 0x4171c5
push edi
mov eax, str.NoEnv
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x4171d4
mov dword [0x4a0b8c], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.NoTrayIcon
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x4171fe
mov byte [0x4a0b78], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.Persistent
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x417228
mov byte [0x4a0b5b], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.SingleInstance
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x4172d7
mov dword [0x4a0b74], 1
test esi, esi
je 0x4171c5
push str.Force
push esi
call fcn.00476cb6
add esp, 8
test eax, eax
jne 0x41727d
mov dword [0x4a0b74], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push str.Ignore
push esi
call fcn.00476cb6
add esp, 8
test eax, eax
jne 0x4172a8
mov dword [0x4a0b74], 3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x491614
push esi
call fcn.00476cb6
add esp, 8
test eax, eax
jne 0x4171c5
mov dword [0x4a0b74], 4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.InstallKeybdHook
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x417301
or byte [0x4a14e1], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.InstallMouseHook
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x41732b
or byte [0x4a14e1], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.UseHook
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x417372
test esi, esi
je 0x41735c
push eax
call fcn.00412e90
add esp, 4
mov byte [0x4a14b1], 0
cmp eax, 2
je 0x4171c5
mov byte [0x4a14b1], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, 0x49243c
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x417540
xor ecx, ecx
cmp esi, ecx
jne 0x4173bc
mov eax, 0x49588a
mov dword [0x49d340], eax
mov dword [0x49d344], eax
mov byte [0x4a0b82], cl
mov dword [0x49d348], 0xffffffff
lea eax, [ecx + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov eax, dword [0x49d3c8]
mov edx, dword [eax + 0x94]
mov ebp, dword [esp + 0x28]
mov bl, byte [0x49d352]
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 0x50]
mov dword [eax + 0x94], ecx
mov dword [esp + 0x18], edx
mov dword [ebp + 0x50], ecx
mov ecx, esi
mov al, byte [ecx]
test al, al
je 0x4173fc
lea ecx, [ecx]
cmp al, bl
je 0x41741e
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4173f0
push 0
push 0x100
lea ecx, [esp + 0x34]
push ecx
push 3
push ebp
call fcn.0041a810
test eax, eax
jne 0x417480
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp byte [ecx], 0
je 0x4173fc
movsx eax, byte [ecx + 1]
lea esi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x417439.99
movzx eax, byte [eax + 0x417fe8]
jmp dword [eax*4 + 0x417fc4]
mov byte [esi], 7
jmp case.0x417439.99
mov byte [esi], 8
jmp case.0x417439.99
mov byte [esi], 0xc
jmp case.0x417439.99
mov byte [esi], 0xa
jmp case.0x417439.99
mov byte [esi], 0xd
jmp case.0x417439.99
mov byte [esi], 9
jmp case.0x417439.99
mov byte [esi], 0xb
mov eax, esi
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x417466
sub eax, edi
inc eax
push eax
push esi
push ecx
call fcn.004777f0
add esp, 0xc
jmp 0x4173e5
mov esi, dword [ebp + 4]
cmp dword [ebp], esi
jne 0x41748f
mov dword [ebp], 0
mov eax, dword [esi + 0x10]
mov dword [ebp + 4], eax
test eax, eax
je 0x4174a0
mov dword [eax + 0x14], 0
mov edx, dword [0x49d3c8]
mov ebx, dword [0x4a0ba8]
mov eax, ebp
mov ecx, dword [eax + 4]
mov dword [eax + 0x25c], ecx
mov ecx, dword [esp + 0x14]
mov dword [edx + 0x94], ecx
mov edx, dword [esp + 0x18]
mov dword [eax + 0x50], edx
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
mov eax, dword [0x4a0bac]
lea edi, [ebx + 1]
mov byte [0x4a0b82], 5
mov dword [0x49d340], ecx
mov dword [0x49d344], 0x49588a
cmp edi, eax
jle 0x417514
add eax, 0x64
lea edx, [eax*4]
mov dword [0x4a0bac], eax
mov eax, dword [0x4a0ba4]
push edx
push eax
call fcn.004781b7
add esp, 8
mov dword [0x4a0ba4], eax
mov ecx, dword [0x4a0ba4]
mov eax, ebx
mov dword [0x49d348], eax
mov dword [ecx + eax*4], esi
mov dword [0x4a0ba8], edi
mov dword [esi + 0x10], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.IfTimeout
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x417575
test esi, esi
je 0x4171c5
call fcn.00411cd0
mov dword [0x49d34c], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 6
push str.IfWin
push ebp
call fcn.00477695
add esp, 0xc
test eax, eax
jne 0x41782b
push 3
lea edx, [ebp + 6]
push 0x4916e8
push edx
call fcn.00477695
add esp, 0xc
test eax, eax
sete bl
movzx eax, bl
neg eax
sbb eax, eax
and eax, 3
lea edi, [eax + 6]
push 6
add edi, ebp
push str.Active
push edi
call fcn.00477695
add esp, 0xc
test eax, eax
jne 0x4175d7
test bl, bl
setne cl
inc cl
mov byte [0x4a0b82], cl
jmp 0x4175fd
push 5
push str.Exist
push edi
call fcn.00477695
add esp, 0xc
test eax, eax
jne 0x41781c
test bl, bl
setne dl
add dl, 3
mov byte [0x4a0b82], dl
mov edx, dword [esp + 0x2c]
mov dword [0x49d348], 0xffffffff
test edx, edx
jne 0x417631
mov eax, 0x49588a
mov dword [0x49d340], eax
mov dword [0x49d344], eax
mov byte [0x4a0b82], dl
lea eax, [edx + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov al, byte [0x49d350]
xor esi, esi
mov cl, byte [edx]
test cl, cl
je 0x41765c
mov edi, edi
cmp cl, byte [0x49d352]
je 0x417676
cmp cl, al
je 0x417676
cmp cl, byte [0x49d351]
je 0x417676
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x417640
test esi, esi
je 0x41775a
lea edi, [esi + 1]
mov cl, byte [edi]
cmp cl, 0x20
je 0x417673
cmp cl, 9
jne 0x4176b3
inc edi
jmp 0x417667
mov cl, byte [edx]
test cl, cl
je 0x41765c
cmp cl, byte [0x49d351]
je 0x41769a
cmp cl, al
jne 0x417691
test esi, esi
jne 0x41769a
mov esi, edx
inc edx
jmp 0x417638
inc edx
cmp byte [edx], 0
je 0x41765c
inc edx
jmp 0x417638
mov ecx, dword [esp + 0x28]
push ebp
push str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
call fcn.00429900
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov ebp, dword [esp + 0x2c]
mov eax, esi
mov byte [esi], 0
sub eax, ebp
mov esi, ebp
mov dword [esp + 0x14], edi
call fcn.00411c20
mov bl, byte [0x49d352]
mov ecx, edi
mov al, byte [ecx]
test al, al
je 0x417766
jmp 0x4176e0
cmp al, bl
je 0x4176f1
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4176e0
jmp 0x417766
cmp byte [ecx], 0
je 0x417766
movsx eax, byte [ecx + 1]
lea edi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x41770c.99
movzx eax, byte [eax + 0x418024]
jmp dword [eax*4 + 0x418000]
mov byte [edi], 7
jmp case.0x41770c.99
mov byte [edi], 8
jmp case.0x41770c.99
mov byte [edi], 0xc
jmp case.0x41770c.99
mov byte [edi], 0xa
jmp case.0x41770c.99
mov byte [edi], 0xd
jmp case.0x41770c.99
mov byte [edi], 9
jmp case.0x41770c.99
mov byte [edi], 0xb
jmp case.0x41770c.99
mov byte [edi], 0x20
mov eax, edi
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x417740
sub eax, esi
inc eax
push eax
push edi
push ecx
call fcn.004777f0
add esp, 0xc
jmp 0x4176cf
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x14], 0x49588a
mov bl, byte [0x49d352]
mov ecx, ebp
mov edi, edi
mov al, byte [ecx]
test al, al
je 0x417782
cmp al, bl
je 0x4177b2
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x417776
mov ebx, dword [esp + 0x14]
mov edi, ebp
call fcn.00408ea0
test eax, eax
jne 0x4171c5
mov ecx, dword [esp + 0x28]
push 0x49588a
push str.Out_of_memory.
call fcn.00429900
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp byte [ecx], 0
je 0x417782
movsx eax, byte [ecx + 1]
lea edi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x4177cd.99
movzx edx, byte [eax + 0x418060]
jmp dword [edx*4 + 0x41803c]
mov byte [edi], 7
jmp case.0x4177cd.99
mov byte [edi], 8
jmp case.0x4177cd.99
mov byte [edi], 0xc
jmp case.0x4177cd.99
mov byte [edi], 0xa
jmp case.0x4177cd.99
mov byte [edi], 0xd
jmp case.0x4177cd.99
mov byte [edi], 9
jmp case.0x4177cd.99
mov byte [edi], 0xb
jmp case.0x4177cd.99
mov byte [edi], 0x20
mov eax, edi
lea esi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x417800
sub eax, esi
inc eax
push eax
push edi
push ecx
call fcn.004777f0
add esp, 0xc
mov ecx, edi
jmp 0x417770
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.Hotstring
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x417999
test esi, esi
je 0x4171c5
push str.EndChars
mov eax, esi
call fcn.00464370
add esp, 4
test eax, eax
je 0x417921
mov edi, 0x4924a8
call fcn.00408bf0
test eax, eax
je 0x4171c5
inc eax
push 0x64
push eax
push str._____:____.___n__t
call fcn.0047a8e0
mov bl, byte [0x49d352]
mov byte [0x49d3c4], 0
mov ecx, str._____:____.___n__t
mov al, byte [ecx]
add esp, 0xc
test al, al
je 0x4171c5
cmp al, bl
je 0x4178bc
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4178a1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp byte [ecx], 0
je 0x4171c5
movsx eax, byte [ecx + 1]
lea esi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x4178db.99
movzx eax, byte [eax + 0x41809c]
jmp dword [eax*4 + 0x418078]
mov byte [esi], 7
jmp case.0x4178db.99
mov byte [esi], 8
jmp case.0x4178db.99
mov byte [esi], 0xc
jmp case.0x4178db.99
mov byte [esi], 0xa
jmp case.0x4178db.99
mov byte [esi], 0xd
jmp case.0x4178db.99
mov byte [esi], 9
jmp case.0x4178db.99
mov byte [esi], 0xb
mov eax, esi
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x417908
sub eax, edi
inc eax
push eax
push esi
push ecx
call fcn.004777f0
mov ecx, esi
jmp 0x417894
push 7
push str.NoMouse
push esi
call fcn.00477695
add esp, 0xc
test eax, eax
jne 0x417949
mov byte [0x49d35a], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x4a13a3
push 0x4a13a2
push 0x49d359
push 0x4a13a1
push 0x4a13a0
push 0x49d358
push 0x49d353
push 0x4a0b83
push 0x49d354
push 0x4a139c
push 0x4a1398
mov eax, esi
call fcn.0040c080
add esp, 0x2c
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.HotkeyModifierTimeout
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x4179ce
test esi, esi
je 0x4171c5
call fcn.0040c2c0
mov dword [0x49d320], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.HotkeyInterval
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x417a16
test esi, esi
je 0x4171c5
call fcn.0040c2c0
mov dword [0x49d33c], eax
cmp eax, 0xa
jge 0x4171c5
mov dword [0x49d33c], 0xa
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.MaxHotkeysPerInterval
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x417a5e
test esi, esi
je 0x4171c5
call fcn.0040c2c0
mov dword [0x49d338], eax
cmp eax, 1
jge 0x4171c5
mov dword [0x49d338], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.MaxThreadsPerHotkey
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x417abd
test esi, esi
je 0x4171c5
call fcn.0040c2c0
cmp eax, 0xff
jle 0x417a9f
mov eax, 0xff
mov byte [0x49d2fb], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 1
jge 0x417aa9
mov eax, 1
mov byte [0x49d2fb], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.MaxThreadsBuffer
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x417b04
test esi, esi
je 0x417aee
push eax
call fcn.00412e90
add esp, 4
mov byte [0x4a0b81], 0
cmp eax, 2
je 0x4171c5
mov byte [0x4a0b81], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.MaxThreads
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x417b63
test esi, esi
je 0x4171c5
call fcn.0040c2c0
cmp eax, 0xff
jle 0x417b45
mov eax, 0xff
mov dword [0x49d334], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 1
jge 0x417b4f
mov eax, 1
mov dword [0x49d334], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.ClipboardTimeout
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x417b98
test esi, esi
je 0x4171c5
call fcn.0040c2c0
mov dword [0x49d324], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.LTrim
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x417bdf
test esi, esi
je 0x417bc9
push eax
call fcn.00412e90
add esp, 4
mov byte [0x4a14b0], 0
cmp eax, 2
je 0x4171c5
mov byte [0x4a14b0], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.WinActivateForce
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x417c09
mov byte [0x4a0b5a], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.ErrorStdOut
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x417c37
mov ecx, dword [esp + 0x28]
mov byte [ecx + 0x4d0], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.AllowSameLineComments
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x417c61
mov byte [0x49d2fa], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.MaxMem
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x417ce9
test esi, esi
je 0x4171c5
call fcn.00411d00
fld qword [0x497c70]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x417ca2
fstp st(0)
fld1
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x417ca6
fstp st(1)
jmp 0x417ca8
fstp st(0)
fld qword [0x497b80]
fnstcw word [esp + 0x28]
movzx eax, word [esp + 0x28]
fmul st(1), st(0)
or eax, 0xc00
mov dword [esp + 0x2c], eax
mov eax, 3
fmulp st(1)
fldcw word [esp + 0x2c]
fistp qword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov dword [0x49d330], edx
fldcw word [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.KeyHistory
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x417d50
test esi, esi
je 0x4171c5
call fcn.0040c2c0
mov dword [0x49d32c], eax
test eax, eax
jns 0x417d2c
mov dword [0x49d32c], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 0x1f4
jle 0x4171c5
mov dword [0x49d32c], 0x1f4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.CommentFlag
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x417e0d
test esi, esi
je 0x4171c5
cmp byte [esi + 1], al
jne 0x417dcc
mov al, byte [esi]
cmp al, 0x23
je 0x417db3
cmp al, byte [0x49d351]
je 0x417db3
cmp al, byte [0x49d352]
je 0x417db3
cmp al, byte [0x49d350]
je 0x417db3
cmp al, 0x21
je 0x417db3
cmp al, 0x5e
je 0x417db3
cmp al, 0x2b
je 0x417db3
cmp al, 0x24
je 0x417db3
cmp al, 0x7e
je 0x417db3
cmp al, 0x2a
je 0x417db3
cmp al, 0x3c
je 0x417db3
cmp al, 0x3e
jne 0x417dcc
mov ecx, dword [esp + 0x28]
push ebp
push str.Parameter_1_invalid
call fcn.00429900
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xf
push esi
push 0x49d308
call fcn.0047a8e0
mov eax, 0x49d308
add esp, 0xc
mov byte [0x49d317], 0
lea edx, [eax + 1]
jmp 0x417df0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417df0
sub eax, edx
mov dword [0x49d2fc], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.EscapeChar
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x417e78
test esi, esi
je 0x4171c5
mov al, byte [esi]
cmp al, 0x23
je 0x417db3
cmp al, byte [0x49d351]
je 0x417db3
cmp al, byte [0x49d350]
je 0x417db3
cmp al, 0x2e
je 0x417db3
cmp dword [0x49d2fc], 1
jne 0x417e64
cmp al, byte [0x49d308]
je 0x417db3
mov byte [0x49d352], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.DerefChar
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x417edf
test esi, esi
je 0x4171c5
mov al, byte [esi]
cmp al, byte [0x49d352]
je 0x417db3
cmp al, byte [0x49d350]
je 0x417db3
cmp al, 0x2e
je 0x417db3
cmp dword [0x49d2fc], 1
jne 0x417ecb
cmp al, byte [0x49d308]
je 0x417db3
mov byte [0x49d351], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, 0x4925c8
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x417f4e
test esi, esi
je 0x4171c5
mov al, byte [esi]
cmp al, 0x23
je 0x417db3
cmp al, byte [0x49d352]
je 0x417db3
cmp al, byte [0x49d351]
je 0x417db3
cmp al, 0x2e
je 0x417db3
cmp dword [0x49d2fc], 1
jne 0x417f3a
cmp al, byte [0x49d308]
je 0x417db3
mov byte [0x49d350], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.MenuMaskKey
mov ecx, ebp
call fcn.00464080
add esp, 4
test eax, eax
jne 0x41781c
test esi, esi
je 0x417faa
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 1
mov ecx, eax
push 1
xor edx, edx
mov eax, esi
call fcn.00410f30
add esp, 8
mov byte [0x49d2f9], al
test al, al
jne 0x4171c5
mov ecx, dword [esp + 0x28]
mov eax, str.Parameter_1_invalid
push ebp
push eax
call fcn.00429900
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov ecx, dword [esp + 0x28]
mov eax, str.Parameter_1_required
push ebp
push eax
call fcn.00429900
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8