Function at 0x418ac0
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 0x418b0a
mov dl, byte [ebp]
test dl, dl
je 0x418b0a
mov edi, edi
lea ecx, [esp + 0x2c]
mov al, 0x20
cmp dl, al
je 0x418b24
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x418af6
mov dl, byte [esi + 1]
inc esi
test dl, dl
jne 0x418af0
mov eax, ebp
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418b10
sub eax, edx
xor esi, esi
lea edi, [eax + ebp]
mov dword [esp + 0x2c], esi
jmp 0x418b71
mov edi, esi
mov eax, esi
mov cl, byte [eax]
cmp cl, 0x20
je 0x418b34
cmp cl, 9
jne 0x418b37
inc eax
jmp 0x418b28
mov cl, byte [eax]
test cl, cl
jne 0x418b45
xor esi, esi
mov dword [esp + 0x2c], esi
jmp 0x418b71
cmp cl, bl
je 0x418b4f
mov dword [esp + 0x2c], eax
jmp 0x418b6d
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x418b4f
cmp cl, 9
je 0x418b4f
mov dword [esp + 0x2c], eax
test cl, cl
jne 0x418b6d
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.004725e0
add esp, 8
test eax, eax
je 0x419a73
push 0xffffffffffffffff
push edi
mov eax, str.IncludeAgain
mov ecx, ebp
call fcn.004725e0
add esp, 8
test eax, eax
je 0x419a73
push 0xffffffffffffffff
push edi
mov eax, str.NoEnv
mov ecx, ebp
call fcn.004725e0
add esp, 8
test eax, eax
jne 0x418bd6
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.004725e0
add esp, 8
test eax, eax
jne 0x418c02
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.004725e0
add esp, 8
test eax, eax
jne 0x418c2e
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.004725e0
add esp, 8
test eax, eax
jne 0x418cdf
mov dword [0x4ab3f0], 1
test esi, esi
je 0x419a73
push str.Force
push esi
call fcn.00485451
add esp, 8
test eax, eax
jne 0x418c85
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.00485451
add esp, 8
test eax, eax
jne 0x418cb0
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.00485451
add esp, 8
test eax, eax
jne 0x419a73
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.004725e0
add esp, 8
test eax, eax
jne 0x418d0b
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.004725e0
add esp, 8
test eax, eax
jne 0x418d37
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.004725e0
add esp, 8
test eax, eax
jne 0x418d80
test esi, esi
je 0x418d6a
push eax
call fcn.00414580
add esp, 4
mov byte [0x4aba9f], 0
cmp eax, 2
je 0x419a73
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.004725e0
add esp, 8
test eax, eax
jne 0x418e4f
xor ebx, ebx
cmp esi, ebx
jne 0x418db3
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.00409830
mov dword [0x4ab418], eax
cmp eax, ebx
jne 0x419a73
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.0041a180
test eax, eax
jne 0x418e0a
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.004097b0
mov dword [0x4ab418], eax
test eax, eax
je 0x418dfe
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.004725e0
add esp, 8
test eax, eax
jne 0x418e86
test esi, esi
je 0x419a73
call fcn.00413350
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.00485ed0
add esp, 0xc
test eax, eax
jne 0x41912b
push 3
lea eax, [ebp + 6]
push 0x49af40
push eax
call fcn.00485ed0
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.00485ed0
add esp, 0xc
test eax, eax
jne 0x418ee7
test bl, bl
setne dl
inc dl
mov byte [esp + 0x18], dl
jmp 0x418f0a
push 5
push str.Exist
push edi
call fcn.00485ed0
add esp, 0xc
test eax, eax
jne 0x41911c
test bl, bl
setne al
add al, 3
mov byte [esp + 0x18], al
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x418f25
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 0x418f52
cmp cl, byte [0x4a78e3]
je 0x418f6f
cmp cl, al
je 0x418f6f
cmp cl, byte [0x4a78e2]
je 0x418f6f
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x418f36
test esi, esi
je 0x41904a
lea edi, [esi + 1]
lea ecx, [ecx]
mov cl, byte [edi]
cmp cl, 0x20
je 0x418f6c
cmp cl, 9
jne 0x418fac
inc edi
jmp 0x418f60
mov cl, byte [edx]
test cl, cl
je 0x418f52
cmp cl, byte [0x4a78e2]
je 0x418f93
cmp cl, al
jne 0x418f8a
test esi, esi
jne 0x418f93
mov esi, edx
inc edx
jmp 0x418f30
inc edx
cmp byte [edx], 0
je 0x418f52
inc edx
jmp 0x418f30
mov ecx, dword [esp + 0x28]
push ebp
push str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
call fcn.0042d970
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.00413240
mov bl, byte [0x4a78e3]
mov ecx, edi
mov al, byte [ecx]
test al, al
je 0x419052
cmp al, bl
je 0x418fe0
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x418fd2
jmp 0x419052
cmp byte [ecx], 0
je 0x419052
movsx eax, byte [ecx + 1]
lea edi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x418ffb.99
movzx edx, byte [eax + 0x419aa8]
jmp dword [edx*4 + 0x419a84]
mov byte [edi], 7
jmp case.0x418ffb.99
mov byte [edi], 8
jmp case.0x418ffb.99
mov byte [edi], 0xc
jmp case.0x418ffb.99
mov byte [edi], 0xa
jmp case.0x418ffb.99
mov byte [edi], 0xd
jmp case.0x418ffb.99
mov byte [edi], 9
jmp case.0x418ffb.99
mov byte [edi], 0xb
jmp case.0x418ffb.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 0x419030
sub eax, ebp
inc eax
push eax
push edi
push ecx
call fcn.00486030
add esp, 0xc
jmp 0x418fc6
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 0x419072
cmp al, bl
je 0x4190ad
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x419066
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
push ecx
push edx
call fcn.004095d0
add esp, 8
test eax, eax
jne 0x419a73
mov ecx, dword [esp + 0x28]
push 0x499861
push str.Out_of_memory.
call fcn.0042d970
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp byte [ecx], 0
je 0x419072
movsx eax, byte [ecx + 1]
lea edi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x4190c8.99
movzx eax, byte [eax + 0x419ae4]
jmp dword [eax*4 + 0x419ac0]
mov byte [edi], 7
jmp case.0x4190c8.99
mov byte [edi], 8
jmp case.0x4190c8.99
mov byte [edi], 0xc
jmp case.0x4190c8.99
mov byte [edi], 0xa
jmp case.0x4190c8.99
mov byte [edi], 0xd
jmp case.0x4190c8.99
mov byte [edi], 9
jmp case.0x4190c8.99
mov byte [edi], 0xb
jmp case.0x4190c8.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 0x419100
sub eax, ebp
inc eax
push eax
push edi
push ecx
call fcn.00486030
add esp, 0xc
mov ecx, edi
jmp 0x419060
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x49c448
mov ecx, ebp
call fcn.004725e0
add esp, 8
test eax, eax
jne 0x4192a6
test esi, esi
je 0x419a73
push str.EndChars
mov eax, esi
call fcn.004728d0
add esp, 4
test eax, eax
je 0x419229
mov edi, 0x49c454
call fcn.00409200
test eax, eax
je 0x419a73
push 0x64
inc eax
push eax
push str._____:____.___n__t
call fcn.004883f0
mov bl, byte [0x4a78e3]
mov byte [0x4a7974], 0
mov ecx, str._____:____.___n__t
mov al, byte [ecx]
add esp, 0xc
test al, al
je 0x419a73
cmp al, bl
je 0x4191be
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4191a3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp byte [ecx], 0
je 0x419a73
movsx eax, byte [ecx + 1]
lea esi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x4191dd.99
movzx eax, byte [eax + 0x419b20]
jmp dword [eax*4 + 0x419afc]
mov byte [esi], 7
jmp case.0x4191dd.99
mov byte [esi], 8
jmp case.0x4191dd.99
mov byte [esi], 0xc
jmp case.0x4191dd.99
mov byte [esi], 0xa
jmp case.0x4191dd.99
mov byte [esi], 0xd
jmp case.0x4191dd.99
mov byte [esi], 9
jmp case.0x4191dd.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 0x419210
sub eax, edi
inc eax
push eax
push esi
push ecx
call fcn.00486030
mov ecx, esi
jmp 0x419196
push 7
push str.NoMouse
push esi
call fcn.00485ed0
add esp, 0xc
test eax, eax
jne 0x419251
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.0040cb10
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.004725e0
add esp, 8
test eax, eax
jne 0x4192dd
test esi, esi
je 0x419a73
call fcn.0040d4d0
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.004725e0
add esp, 8
test eax, eax
jne 0x419327
test esi, esi
je 0x419a73
call fcn.0040d4d0
mov dword [0x4a7900], eax
cmp eax, 0xa
jge 0x419a73
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.004725e0
add esp, 8
test eax, eax
jne 0x419371
test esi, esi
je 0x419a73
call fcn.0040d4d0
mov dword [0x4a78fc], eax
cmp eax, 1
jge 0x419a73
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.004725e0
add esp, 8
test eax, eax
jne 0x4193d2
test esi, esi
je 0x419a73
call fcn.0040d4d0
cmp eax, 0xff
jle 0x4193b4
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 0x4193be
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.004725e0
add esp, 8
test eax, eax
jne 0x41941b
test esi, esi
je 0x419405
push eax
call fcn.00414580
add esp, 4
mov byte [0x4ab3fe], 0
cmp eax, 2
je 0x419a73
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.004725e0
add esp, 8
test eax, eax
jne 0x41947c
test esi, esi
je 0x419a73
call fcn.0040d4d0
cmp eax, 0xff
jle 0x41945e
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 0x419468
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.004725e0
add esp, 8
test eax, eax
jne 0x4194b3
test esi, esi
je 0x419a73
call fcn.0040d4d0
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.004725e0
add esp, 8
test eax, eax
jne 0x4194fc
test esi, esi
je 0x4194e6
push eax
call fcn.00414580
add esp, 4
mov byte [0x4aba9e], 0
cmp eax, 2
je 0x419a73
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.004725e0
add esp, 8
test eax, eax
jne 0x419528
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.004725e0
add esp, 8
test eax, eax
jne 0x419558
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.004725e0
add esp, 8
test eax, eax
jne 0x4195de
test esi, esi
je 0x419a73
call fcn.00413380
fld qword [0x4a1d78]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x419597
fstp st(0)
fld1
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x41959b
fstp st(1)
jmp 0x41959d
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.004725e0
add esp, 8
test eax, eax
jne 0x419647
test esi, esi
je 0x419a73
call fcn.0040d4d0
mov dword [0x4a78f0], eax
test eax, eax
jns 0x419623
mov dword [0x4a78f0], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 0x1f4
jle 0x419a73
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.004725e0
add esp, 8
test eax, eax
jne 0x41971d
test esi, esi
je 0x419a73
cmp byte [esi + 1], al
jne 0x4196dc
mov al, byte [esi]
cmp al, 0x23
je 0x4199cb
cmp al, byte [0x4a78e2]
je 0x4199cb
cmp al, byte [0x4a78e3]
je 0x4199cb
cmp al, byte [0x4a73b3]
je 0x4199cb
cmp al, 0x21
je 0x4199cb
cmp al, 0x5e
je 0x4199cb
cmp al, 0x2b
je 0x4199cb
cmp al, 0x24
je 0x4199cb
cmp al, 0x7e
je 0x4199cb
cmp al, 0x2a
je 0x4199cb
cmp al, 0x3c
je 0x4199cb
cmp al, 0x3e
je 0x4199cb
push 0xf
push esi
push 0x4a73c0
call fcn.004883f0
mov eax, 0x4a73c0
add esp, 0xc
mov byte [0x4a73cf], 0
lea edx, [eax + 1]
jmp 0x419700
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419700
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.004725e0
add esp, 8
test eax, eax
jne 0x41978e
test esi, esi
je 0x419a73
mov al, byte [esi]
cmp al, 0x23
je 0x4199cb
cmp al, byte [0x4a78e2]
je 0x4199cb
cmp al, byte [0x4a73b3]
je 0x4199cb
cmp al, 0x2e
je 0x4199cb
cmp dword [0x4a73b4], 1
jne 0x41977a
cmp al, byte [0x4a73c0]
je 0x4199cb
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.004725e0
add esp, 8
test eax, eax
jne 0x4197f7
test esi, esi
je 0x419a73
mov al, byte [esi]
cmp al, byte [0x4a78e3]
je 0x4199cb
cmp al, byte [0x4a73b3]
je 0x4199cb
cmp al, 0x2e
je 0x4199cb
cmp dword [0x4a73b4], 1
jne 0x4197e3
cmp al, byte [0x4a73c0]
je 0x4199cb
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, 0x49c544
mov ecx, ebp
call fcn.004725e0
add esp, 8
test eax, eax
jne 0x419868
test esi, esi
je 0x419a73
mov al, byte [esi]
cmp al, 0x23
je 0x4199cb
cmp al, byte [0x4a78e3]
je 0x4199cb
cmp al, byte [0x4a78e2]
je 0x4199cb
cmp al, 0x2e
je 0x4199cb
cmp dword [0x4a73b4], 1
jne 0x419854
cmp al, byte [0x4a73c0]
je 0x4199cb
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.004725e0
add esp, 8
test eax, eax
jne 0x4198db
test esi, esi
je 0x4198c1
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0x4a73b1
xor ecx, ecx
mov edi, 0x4a78e0
mov edx, esi
call fcn.004124f0
add esp, 4
test al, al
jne 0x419a73
mov ecx, dword [esp + 0x28]
mov eax, str.Parameter_1_invalid.
push ebp
push eax
call fcn.0042d970
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.0042d970
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.004725e0
add esp, 8
test eax, eax
jne 0x419935
test esi, esi
je 0x41991f
call fcn.0040d4d0
test eax, eax
js 0x4199cb
cmp eax, 0x64
jg 0x4199cb
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.004725e0
add esp, 8
test eax, eax
jne 0x41911c
mov ebx, 0x499861
test esi, esi
jne 0x41995e
mov dword [esp + 0x2c], ebx
mov esi, ebx
movsx eax, byte [0x4a73b3]
push eax
push esi
call fcn.00486441
add esp, 8
test eax, eax
je 0x419999
lea edx, [eax + 1]
mov cl, byte [edx]
cmp cl, 0x20
je 0x419982
cmp cl, 9
jne 0x419985
inc edx
jmp 0x419976
mov esi, dword [esp + 0x2c]
mov ebx, edx
dec eax
mov edx, esi
call fcn.00409260
mov byte [eax + 1], 0
jmp 0x41999d
mov esi, dword [esp + 0x2c]
cmp byte [esi], 0
mov edi, 5
je 0x4199e4
xor edi, edi
lea esp, [esp]
mov eax, dword [edi*4 + 0x4a8e24]
push eax
push esi
call fcn.00485451
add esp, 8
test eax, eax
je 0x4199e4
inc edi
cmp edi, 6
jne 0x4199b0
mov ecx, dword [esp + 0x28]
push ebp
push str.Parameter_1_invalid.
call fcn.0042d970
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp byte [ebx], 0
mov esi, 2
je 0x419a24
xor esi, esi
mov eax, dword [esi*4 + 0x4a8e3c]
push eax
push ebx
call fcn.00485451
add esp, 8
test eax, eax
je 0x419a24
inc esi
cmp esi, 4
jne 0x4199f0
mov ecx, dword [esp + 0x28]
push ebx
push str.Parameter_2_invalid.
call fcn.0042d970
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
test edi, edi
je 0x419a2d
cmp edi, 5
jne 0x419a33
mov dword [0x4ab3dc], esi
cmp edi, 1
je 0x419a3d
cmp edi, 5
jne 0x419a43
mov dword [0x4ab3e0], esi
cmp edi, 3
je 0x419a4d
cmp edi, 5
jne 0x419a53
mov dword [0x4ab3e4], esi
cmp edi, 2
je 0x419a5d
cmp edi, 5
jne 0x419a63
mov dword [0x4ab3e8], esi
cmp edi, 4
je 0x419a6d
cmp edi, 5
jne 0x419a73
mov dword [0x4ab3ec], esi
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x14
ret 8