Function at 0x418ef0
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x14
push ebx
mov bl, byte [0x4a73b3]
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 0x418f3a
mov dl, byte [ebp]
test dl, dl
je 0x418f3a
mov edi, edi
lea ecx, [esp + 0x2c]
mov al, 0x20
cmp dl, al
je 0x418f54
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x418f26
mov dl, byte [esi + 1]
inc esi
test dl, dl
jne 0x418f20
mov eax, ebp
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418f40
sub eax, edx
xor esi, esi
lea edi, [eax + ebp]
mov dword [esp + 0x2c], esi
jmp 0x418fa1
mov edi, esi
mov eax, esi
mov cl, byte [eax]
cmp cl, 0x20
je 0x418f64
cmp cl, 9
jne 0x418f67
inc eax
jmp 0x418f58
mov cl, byte [eax]
test cl, cl
jne 0x418f75
xor esi, esi
mov dword [esp + 0x2c], esi
jmp 0x418fa1
cmp cl, bl
je 0x418f7f
mov dword [esp + 0x2c], eax
jmp 0x418f9d
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x418f7f
cmp cl, 9
je 0x418f7f
mov dword [esp + 0x2c], eax
test cl, cl
jne 0x418f9d
mov dword [esp + 0x2c], 0
mov esi, dword [esp + 0x2c]
sub edi, ebp
push 0xffffffffffffffff
push edi
mov eax, str.Include
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
je 0x419ea3
push 0xffffffffffffffff
push edi
mov eax, str.IncludeAgain
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
je 0x419ea3
push 0xffffffffffffffff
push edi
mov eax, str.NoEnv
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x419006
mov dword [0x4ab408], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.NoTrayIcon
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x419032
mov byte [0x4ab3f5], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.Persistent
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x41905e
mov byte [0x4ab3f4], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.SingleInstance
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x41910f
mov dword [0x4ab3f0], 1
test esi, esi
je 0x419ea3
push str.Force
push esi
call fcn.004857f1
add esp, 8
test eax, eax
jne 0x4190b5
mov dword [0x4ab3f0], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push str.Ignore
push esi
call fcn.004857f1
add esp, 8
test eax, eax
jne 0x4190e0
mov dword [0x4ab3f0], 3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x49ae6c
push esi
call fcn.004857f1
add esp, 8
test eax, eax
jne 0x419ea3
mov dword [0x4ab3f0], 4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.InstallKeybdHook
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x41913b
or byte [0x4abbaf], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.InstallMouseHook
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x419167
or byte [0x4abbaf], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.UseHook
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x4191b0
test esi, esi
je 0x41919a
push eax
call fcn.00409370
add esp, 4
mov byte [0x4aba9f], 0
cmp eax, 2
je 0x419ea3
mov byte [0x4aba9f], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x499f50
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x41927f
xor ebx, ebx
cmp esi, ebx
jne 0x4191e3
mov dword [0x4ab418], ebx
lea eax, [ebx + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov edi, esi
call fcn.00409910
mov dword [0x4ab418], eax
cmp eax, ebx
jne 0x419ea3
mov eax, dword [0x4a7978]
mov edi, dword [eax + 0x94]
push 0
push 0
push 0
push 0x499861
push 0
mov dword [eax + 0x94], ebx
mov ebx, dword [esp + 0x3c]
push 0xe1
push esi
mov ecx, ebx
mov byte [ebx + 0x45], 1
call fcn.0041a5b0
test eax, eax
jne 0x41923a
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov eax, dword [0x4a7978]
mov byte [ebx + 0x45], 0
mov dword [eax + 0x94], edi
mov esi, dword [ebx + 4]
call fcn.00409890
mov dword [0x4ab418], eax
test eax, eax
je 0x41922e
mov byte [eax], 5
mov dword [eax + 0xc], esi
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov dword [eax + 8], 0x499861
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.IfTimeout
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x4192b6
test esi, esi
je 0x419ea3
call fcn.00413440
mov dword [0x4a7904], 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.00486270
add esp, 0xc
test eax, eax
jne 0x41955b
push 3
lea eax, [ebp + 6]
push 0x49af40
push eax
call fcn.00486270
add esp, 0xc
test eax, eax
sete bl
movzx ecx, bl
neg ecx
sbb ecx, ecx
and ecx, 3
add ecx, 6
push 6
lea edi, [ecx + ebp]
push str.Active
push edi
call fcn.00486270
add esp, 0xc
test eax, eax
jne 0x419317
test bl, bl
setne dl
inc dl
mov byte [esp + 0x18], dl
jmp 0x41933a
push 5
push str.Exist
push edi
call fcn.00486270
add esp, 0xc
test eax, eax
jne 0x41954c
test bl, bl
setne al
add al, 3
mov byte [esp + 0x18], al
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x419355
mov dword [0x4ab418], edx
lea eax, [edx + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov al, byte [0x4a73b3]
xor esi, esi
lea esp, [esp]
mov cl, byte [edx]
test cl, cl
je 0x419382
cmp cl, byte [0x4a78e3]
je 0x41939f
cmp cl, al
je 0x41939f
cmp cl, byte [0x4a78e2]
je 0x41939f
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x419366
test esi, esi
je 0x41947a
lea edi, [esi + 1]
lea ecx, [ecx]
mov cl, byte [edi]
cmp cl, 0x20
je 0x41939c
cmp cl, 9
jne 0x4193dc
inc edi
jmp 0x419390
mov cl, byte [edx]
test cl, cl
je 0x419382
cmp cl, byte [0x4a78e2]
je 0x4193c3
cmp cl, al
jne 0x4193ba
test esi, esi
jne 0x4193c3
mov esi, edx
inc edx
jmp 0x419360
inc edx
cmp byte [edx], 0
je 0x419382
inc edx
jmp 0x419360
mov ecx, dword [esp + 0x28]
push ebp
push str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
call fcn.0042ddb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov byte [esi], 0
mov eax, esi
mov esi, dword [esp + 0x2c]
sub eax, esi
mov dword [esp + 0x14], edi
call fcn.00413330
mov bl, byte [0x4a78e3]
mov ecx, edi
mov al, byte [ecx]
test al, al
je 0x419482
cmp al, bl
je 0x419410
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x419402
jmp 0x419482
cmp byte [ecx], 0
je 0x419482
movsx eax, byte [ecx + 1]
lea edi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x41942b.99
movzx edx, byte [eax + 0x419ed8]
jmp dword [edx*4 + 0x419eb4]
mov byte [edi], 7
jmp case.0x41942b.99
mov byte [edi], 8
jmp case.0x41942b.99
mov byte [edi], 0xc
jmp case.0x41942b.99
mov byte [edi], 0xa
jmp case.0x41942b.99
mov byte [edi], 0xd
jmp case.0x41942b.99
mov byte [edi], 9
jmp case.0x41942b.99
mov byte [edi], 0xb
jmp case.0x41942b.99
mov byte [edi], 0x20
mov eax, edi
lea ebp, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x419460
sub eax, ebp
inc eax
push eax
push edi
push ecx
call fcn.004863d0
add esp, 0xc
jmp 0x4193f6
mov dword [esp + 0x14], 0x499861
mov bl, byte [0x4a78e3]
mov ecx, dword [esp + 0x2c]
lea esp, [esp]
mov al, byte [ecx]
test al, al
je 0x4194a2
cmp al, bl
je 0x4194dd
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x419496
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
push ecx
push edx
call fcn.004096b0
add esp, 8
test eax, eax
jne 0x419ea3
mov ecx, dword [esp + 0x28]
push 0x499861
push str.Out_of_memory.
call fcn.0042ddb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp byte [ecx], 0
je 0x4194a2
movsx eax, byte [ecx + 1]
lea edi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x4194f8.99
movzx eax, byte [eax + 0x419f14]
jmp dword [eax*4 + 0x419ef0]
mov byte [edi], 7
jmp case.0x4194f8.99
mov byte [edi], 8
jmp case.0x4194f8.99
mov byte [edi], 0xc
jmp case.0x4194f8.99
mov byte [edi], 0xa
jmp case.0x4194f8.99
mov byte [edi], 0xd
jmp case.0x4194f8.99
mov byte [edi], 9
jmp case.0x4194f8.99
mov byte [edi], 0xb
jmp case.0x4194f8.99
mov byte [edi], 0x20
mov eax, edi
lea ebp, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x419530
sub eax, ebp
inc eax
push eax
push edi
push ecx
call fcn.004863d0
add esp, 0xc
mov ecx, edi
jmp 0x419490
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x49c444
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x4196d6
test esi, esi
je 0x419ea3
push str.EndChars
mov eax, esi
call fcn.00472c70
add esp, 4
test eax, eax
je 0x419659
mov edi, 0x49c450
call fcn.00409290
test eax, eax
je 0x419ea3
push 0x64
inc eax
push eax
push str._____:____.___n__t
call fcn.00488790
mov bl, byte [0x4a78e3]
mov byte [0x4a7974], 0
mov ecx, str._____:____.___n__t
mov al, byte [ecx]
add esp, 0xc
test al, al
je 0x419ea3
cmp al, bl
je 0x4195ee
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4195d3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp byte [ecx], 0
je 0x419ea3
movsx eax, byte [ecx + 1]
lea esi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x41960d.99
movzx eax, byte [eax + 0x419f50]
jmp dword [eax*4 + 0x419f2c]
mov byte [esi], 7
jmp case.0x41960d.99
mov byte [esi], 8
jmp case.0x41960d.99
mov byte [esi], 0xc
jmp case.0x41960d.99
mov byte [esi], 0xa
jmp case.0x41960d.99
mov byte [esi], 0xd
jmp case.0x41960d.99
mov byte [esi], 9
jmp case.0x41960d.99
mov byte [esi], 0xb
mov eax, esi
lea edi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x419640
sub eax, edi
inc eax
push eax
push esi
push ecx
call fcn.004863d0
mov ecx, esi
jmp 0x4195c6
push 7
push str.NoMouse
push esi
call fcn.00486270
add esp, 0xc
test eax, eax
jne 0x419681
mov byte [0x4a790f], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x4aba9d
push 0x4aba9c
push 0x4aba9b
push 0x4a790e
push 0x4aba98
push 0x4aba9a
push 0x4a790d
push 0x4a790c
push 0x4aba99
push 0x4a7908
push 0x4aba94
push 0x4aba90
mov eax, esi
call fcn.0040cc20
add esp, 0x30
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.HotkeyModifierTimeout
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x41970d
test esi, esi
je 0x419ea3
call fcn.0040d5c0
mov dword [0x4a78e4], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.HotkeyInterval
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x419757
test esi, esi
je 0x419ea3
call fcn.0040d5c0
mov dword [0x4a7900], eax
cmp eax, 0xa
jge 0x419ea3
mov dword [0x4a7900], 0xa
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxHotkeysPerInterval
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x4197a1
test esi, esi
je 0x419ea3
call fcn.0040d5c0
mov dword [0x4a78fc], eax
cmp eax, 1
jge 0x419ea3
mov dword [0x4a78fc], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxThreadsPerHotkey
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x419802
test esi, esi
je 0x419ea3
call fcn.0040d5c0
cmp eax, 0xff
jle 0x4197e4
mov eax, 0xff
mov byte [0x4a73b2], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 1
jge 0x4197ee
mov eax, 1
mov byte [0x4a73b2], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxThreadsBuffer
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x41984b
test esi, esi
je 0x419835
push eax
call fcn.00409370
add esp, 4
mov byte [0x4ab3fe], 0
cmp eax, 2
je 0x419ea3
mov byte [0x4ab3fe], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxThreads
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x4198ac
test esi, esi
je 0x419ea3
call fcn.0040d5c0
cmp eax, 0xff
jle 0x41988e
mov eax, 0xff
mov dword [0x4a78f8], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 1
jge 0x419898
mov eax, 1
mov dword [0x4a78f8], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.ClipboardTimeout
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x4198e3
test esi, esi
je 0x419ea3
call fcn.0040d5c0
mov dword [0x4a78e8], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.LTrim
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x41992c
test esi, esi
je 0x419916
push eax
call fcn.00409370
add esp, 4
mov byte [0x4aba9e], 0
cmp eax, 2
je 0x419ea3
mov byte [0x4aba9e], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.WinActivateForce
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x419958
mov byte [0x4ab3c2], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.ErrorStdOut
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x419988
mov ecx, dword [esp + 0x28]
mov byte [ecx + 0x617], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxMem
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x419a0e
test esi, esi
je 0x419ea3
call fcn.00413470
fld qword [0x4a1d78]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x4199c7
fstp st(0)
fld1
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4199cb
fstp st(1)
jmp 0x4199cd
fstp st(0)
fld qword [0x4a1c80]
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 [0x4a78f4], edx
fldcw word [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.KeyHistory
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x419a77
test esi, esi
je 0x419ea3
call fcn.0040d5c0
mov dword [0x4a78f0], eax
test eax, eax
jns 0x419a53
mov dword [0x4a78f0], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 0x1f4
jle 0x419ea3
mov dword [0x4a78f0], 0x1f4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.CommentFlag
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x419b4d
test esi, esi
je 0x419ea3
cmp byte [esi + 1], al
jne 0x419b0c
mov al, byte [esi]
cmp al, 0x23
je 0x419dfb
cmp al, byte [0x4a78e2]
je 0x419dfb
cmp al, byte [0x4a78e3]
je 0x419dfb
cmp al, byte [0x4a73b3]
je 0x419dfb
cmp al, 0x21
je 0x419dfb
cmp al, 0x5e
je 0x419dfb
cmp al, 0x2b
je 0x419dfb
cmp al, 0x24
je 0x419dfb
cmp al, 0x7e
je 0x419dfb
cmp al, 0x2a
je 0x419dfb
cmp al, 0x3c
je 0x419dfb
cmp al, 0x3e
je 0x419dfb
push 0xf
push esi
push 0x4a73c0
call fcn.00488790
mov eax, 0x4a73c0
add esp, 0xc
mov byte [0x4a73cf], 0
lea edx, [eax + 1]
jmp 0x419b30
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419b30
sub eax, edx
mov dword [0x4a73b4], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.EscapeChar
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x419bbe
test esi, esi
je 0x419ea3
mov al, byte [esi]
cmp al, 0x23
je 0x419dfb
cmp al, byte [0x4a78e2]
je 0x419dfb
cmp al, byte [0x4a73b3]
je 0x419dfb
cmp al, 0x2e
je 0x419dfb
cmp dword [0x4a73b4], 1
jne 0x419baa
cmp al, byte [0x4a73c0]
je 0x419dfb
mov byte [0x4a78e3], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.DerefChar
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x419c27
test esi, esi
je 0x419ea3
mov al, byte [esi]
cmp al, byte [0x4a78e3]
je 0x419dfb
cmp al, byte [0x4a73b3]
je 0x419dfb
cmp al, 0x2e
je 0x419dfb
cmp dword [0x4a73b4], 1
jne 0x419c13
cmp al, byte [0x4a73c0]
je 0x419dfb
mov byte [0x4a78e2], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x49c540
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x419c98
test esi, esi
je 0x419ea3
mov al, byte [esi]
cmp al, 0x23
je 0x419dfb
cmp al, byte [0x4a78e3]
je 0x419dfb
cmp al, byte [0x4a78e2]
je 0x419dfb
cmp al, 0x2e
je 0x419dfb
cmp dword [0x4a73b4], 1
jne 0x419c84
cmp al, byte [0x4a73c0]
je 0x419dfb
mov byte [0x4a73b3], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MenuMaskKey
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x419d0b
test esi, esi
je 0x419cf1
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0x4a73b1
xor ecx, ecx
mov edi, 0x4a78e0
mov edx, esi
call fcn.004125e0
add esp, 4
test al, al
jne 0x419ea3
mov ecx, dword [esp + 0x28]
mov eax, str.Parameter_1_invalid.
push ebp
push eax
call fcn.0042ddb0
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.0042ddb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.InputLevel
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x419d65
test esi, esi
je 0x419d4f
call fcn.0040d5c0
test eax, eax
js 0x419dfb
cmp eax, 0x64
jg 0x419dfb
mov byte [0x4ab3ff], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
xor eax, eax
mov byte [0x4ab3ff], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.Warn
mov ecx, ebp
call fcn.00472980
add esp, 8
test eax, eax
jne 0x41954c
mov ebx, 0x499861
test esi, esi
jne 0x419d8e
mov dword [esp + 0x2c], ebx
mov esi, ebx
movsx eax, byte [0x4a73b3]
push eax
push esi
call fcn.004867e1
add esp, 8
test eax, eax
je 0x419dc9
lea edx, [eax + 1]
mov cl, byte [edx]
cmp cl, 0x20
je 0x419db2
cmp cl, 9
jne 0x419db5
inc edx
jmp 0x419da6
mov esi, dword [esp + 0x2c]
mov ebx, edx
dec eax
mov edx, esi
call fcn.004092f0
mov byte [eax + 1], 0
jmp 0x419dcd
mov esi, dword [esp + 0x2c]
cmp byte [esi], 0
mov edi, 5
je 0x419e14
xor edi, edi
lea esp, [esp]
mov eax, dword [edi*4 + 0x4a8e24]
push eax
push esi
call fcn.004857f1
add esp, 8
test eax, eax
je 0x419e14
inc edi
cmp edi, 6
jne 0x419de0
mov ecx, dword [esp + 0x28]
push ebp
push str.Parameter_1_invalid.
call fcn.0042ddb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp byte [ebx], 0
mov esi, 2
je 0x419e54
xor esi, esi
mov eax, dword [esi*4 + 0x4a8e3c]
push eax
push ebx
call fcn.004857f1
add esp, 8
test eax, eax
je 0x419e54
inc esi
cmp esi, 4
jne 0x419e20
mov ecx, dword [esp + 0x28]
push ebx
push str.Parameter_2_invalid.
call fcn.0042ddb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
test edi, edi
je 0x419e5d
cmp edi, 5
jne 0x419e63
mov dword [0x4ab3dc], esi
cmp edi, 1
je 0x419e6d
cmp edi, 5
jne 0x419e73
mov dword [0x4ab3e0], esi
cmp edi, 3
je 0x419e7d
cmp edi, 5
jne 0x419e83
mov dword [0x4ab3e4], esi
cmp edi, 2
je 0x419e8d
cmp edi, 5
jne 0x419e93
mov dword [0x4ab3e8], esi
cmp edi, 4
je 0x419e9d
cmp edi, 5
jne 0x419ea3
mov dword [0x4ab3ec], esi
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x14
ret 8