Function at 0x418f10
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 0x418f5a
mov dl, byte [ebp]
test dl, dl
je 0x418f5a
mov edi, edi
lea ecx, [esp + 0x2c]
mov al, 0x20
cmp dl, al
je 0x418f74
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x418f46
mov dl, byte [esi + 1]
inc esi
test dl, dl
jne 0x418f40
mov eax, ebp
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418f60
sub eax, edx
xor esi, esi
lea edi, [eax + ebp]
mov dword [esp + 0x2c], esi
jmp 0x418fc1
mov edi, esi
mov eax, esi
mov cl, byte [eax]
cmp cl, 0x20
je 0x418f84
cmp cl, 9
jne 0x418f87
inc eax
jmp 0x418f78
mov cl, byte [eax]
test cl, cl
jne 0x418f95
xor esi, esi
mov dword [esp + 0x2c], esi
jmp 0x418fc1
cmp cl, bl
je 0x418f9f
mov dword [esp + 0x2c], eax
jmp 0x418fbd
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x418f9f
cmp cl, 9
je 0x418f9f
mov dword [esp + 0x2c], eax
test cl, cl
jne 0x418fbd
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.004729b0
add esp, 8
test eax, eax
je 0x419ec3
push 0xffffffffffffffff
push edi
mov eax, str.IncludeAgain
mov ecx, ebp
call fcn.004729b0
add esp, 8
test eax, eax
je 0x419ec3
push 0xffffffffffffffff
push edi
mov eax, str.NoEnv
mov ecx, ebp
call fcn.004729b0
add esp, 8
test eax, eax
jne 0x419026
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.004729b0
add esp, 8
test eax, eax
jne 0x419052
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.004729b0
add esp, 8
test eax, eax
jne 0x41907e
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.004729b0
add esp, 8
test eax, eax
jne 0x41912f
mov dword [0x4ab3f0], 1
test esi, esi
je 0x419ec3
push str.Force
push esi
call fcn.00485821
add esp, 8
test eax, eax
jne 0x4190d5
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.00485821
add esp, 8
test eax, eax
jne 0x419100
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.00485821
add esp, 8
test eax, eax
jne 0x419ec3
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.004729b0
add esp, 8
test eax, eax
jne 0x41915b
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.004729b0
add esp, 8
test eax, eax
jne 0x419187
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.004729b0
add esp, 8
test eax, eax
jne 0x4191d0
test esi, esi
je 0x4191ba
push eax
call fcn.00409370
add esp, 4
mov byte [0x4aba9f], 0
cmp eax, 2
je 0x419ec3
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.004729b0
add esp, 8
test eax, eax
jne 0x41929f
xor ebx, ebx
cmp esi, ebx
jne 0x419203
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 0x419ec3
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.0041a5d0
test eax, eax
jne 0x41925a
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 0x41924e
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.004729b0
add esp, 8
test eax, eax
jne 0x4192d6
test esi, esi
je 0x419ec3
call fcn.00413460
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.004862a0
add esp, 0xc
test eax, eax
jne 0x41957b
push 3
lea eax, [ebp + 6]
push 0x49af40
push eax
call fcn.004862a0
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.004862a0
add esp, 0xc
test eax, eax
jne 0x419337
test bl, bl
setne dl
inc dl
mov byte [esp + 0x18], dl
jmp 0x41935a
push 5
push str.Exist
push edi
call fcn.004862a0
add esp, 0xc
test eax, eax
jne 0x41956c
test bl, bl
setne al
add al, 3
mov byte [esp + 0x18], al
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x419375
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 0x4193a2
cmp cl, byte [0x4a78e3]
je 0x4193bf
cmp cl, al
je 0x4193bf
cmp cl, byte [0x4a78e2]
je 0x4193bf
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x419386
test esi, esi
je 0x41949a
lea edi, [esi + 1]
lea ecx, [ecx]
mov cl, byte [edi]
cmp cl, 0x20
je 0x4193bc
cmp cl, 9
jne 0x4193fc
inc edi
jmp 0x4193b0
mov cl, byte [edx]
test cl, cl
je 0x4193a2
cmp cl, byte [0x4a78e2]
je 0x4193e3
cmp cl, al
jne 0x4193da
test esi, esi
jne 0x4193e3
mov esi, edx
inc edx
jmp 0x419380
inc edx
cmp byte [edx], 0
je 0x4193a2
inc edx
jmp 0x419380
mov ecx, dword [esp + 0x28]
push ebp
push str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
call fcn.0042dde0
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.00413350
mov bl, byte [0x4a78e3]
mov ecx, edi
mov al, byte [ecx]
test al, al
je 0x4194a2
cmp al, bl
je 0x419430
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x419422
jmp 0x4194a2
cmp byte [ecx], 0
je 0x4194a2
movsx eax, byte [ecx + 1]
lea edi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x41944b.99
movzx edx, byte [eax + 0x419ef8]
jmp dword [edx*4 + 0x419ed4]
mov byte [edi], 7
jmp case.0x41944b.99
mov byte [edi], 8
jmp case.0x41944b.99
mov byte [edi], 0xc
jmp case.0x41944b.99
mov byte [edi], 0xa
jmp case.0x41944b.99
mov byte [edi], 0xd
jmp case.0x41944b.99
mov byte [edi], 9
jmp case.0x41944b.99
mov byte [edi], 0xb
jmp case.0x41944b.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 0x419480
sub eax, ebp
inc eax
push eax
push edi
push ecx
call fcn.00486400
add esp, 0xc
jmp 0x419416
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 0x4194c2
cmp al, bl
je 0x4194fd
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4194b6
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 0x419ec3
mov ecx, dword [esp + 0x28]
push 0x499861
push str.Out_of_memory.
call fcn.0042dde0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp byte [ecx], 0
je 0x4194c2
movsx eax, byte [ecx + 1]
lea edi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x419518.99
movzx eax, byte [eax + 0x419f34]
jmp dword [eax*4 + 0x419f10]
mov byte [edi], 7
jmp case.0x419518.99
mov byte [edi], 8
jmp case.0x419518.99
mov byte [edi], 0xc
jmp case.0x419518.99
mov byte [edi], 0xa
jmp case.0x419518.99
mov byte [edi], 0xd
jmp case.0x419518.99
mov byte [edi], 9
jmp case.0x419518.99
mov byte [edi], 0xb
jmp case.0x419518.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 0x419550
sub eax, ebp
inc eax
push eax
push edi
push ecx
call fcn.00486400
add esp, 0xc
mov ecx, edi
jmp 0x4194b0
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.004729b0
add esp, 8
test eax, eax
jne 0x4196f6
test esi, esi
je 0x419ec3
push str.EndChars
mov eax, esi
call fcn.00472ca0
add esp, 4
test eax, eax
je 0x419679
mov edi, 0x49c450
call fcn.00409290
test eax, eax
je 0x419ec3
push 0x64
inc eax
push eax
push str._____:____.___n__t
call fcn.004887c0
mov bl, byte [0x4a78e3]
mov byte [0x4a7974], 0
mov ecx, str._____:____.___n__t
mov al, byte [ecx]
add esp, 0xc
test al, al
je 0x419ec3
cmp al, bl
je 0x41960e
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4195f3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp byte [ecx], 0
je 0x419ec3
movsx eax, byte [ecx + 1]
lea esi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x41962d.99
movzx eax, byte [eax + 0x419f70]
jmp dword [eax*4 + 0x419f4c]
mov byte [esi], 7
jmp case.0x41962d.99
mov byte [esi], 8
jmp case.0x41962d.99
mov byte [esi], 0xc
jmp case.0x41962d.99
mov byte [esi], 0xa
jmp case.0x41962d.99
mov byte [esi], 0xd
jmp case.0x41962d.99
mov byte [esi], 9
jmp case.0x41962d.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 0x419660
sub eax, edi
inc eax
push eax
push esi
push ecx
call fcn.00486400
mov ecx, esi
jmp 0x4195e6
push 7
push str.NoMouse
push esi
call fcn.004862a0
add esp, 0xc
test eax, eax
jne 0x4196a1
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.0040cc40
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.004729b0
add esp, 8
test eax, eax
jne 0x41972d
test esi, esi
je 0x419ec3
call fcn.0040d5e0
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.004729b0
add esp, 8
test eax, eax
jne 0x419777
test esi, esi
je 0x419ec3
call fcn.0040d5e0
mov dword [0x4a7900], eax
cmp eax, 0xa
jge 0x419ec3
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.004729b0
add esp, 8
test eax, eax
jne 0x4197c1
test esi, esi
je 0x419ec3
call fcn.0040d5e0
mov dword [0x4a78fc], eax
cmp eax, 1
jge 0x419ec3
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.004729b0
add esp, 8
test eax, eax
jne 0x419822
test esi, esi
je 0x419ec3
call fcn.0040d5e0
cmp eax, 0xff
jle 0x419804
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 0x41980e
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.004729b0
add esp, 8
test eax, eax
jne 0x41986b
test esi, esi
je 0x419855
push eax
call fcn.00409370
add esp, 4
mov byte [0x4ab3fe], 0
cmp eax, 2
je 0x419ec3
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.004729b0
add esp, 8
test eax, eax
jne 0x4198cc
test esi, esi
je 0x419ec3
call fcn.0040d5e0
cmp eax, 0xff
jle 0x4198ae
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 0x4198b8
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.004729b0
add esp, 8
test eax, eax
jne 0x419903
test esi, esi
je 0x419ec3
call fcn.0040d5e0
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.004729b0
add esp, 8
test eax, eax
jne 0x41994c
test esi, esi
je 0x419936
push eax
call fcn.00409370
add esp, 4
mov byte [0x4aba9e], 0
cmp eax, 2
je 0x419ec3
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.004729b0
add esp, 8
test eax, eax
jne 0x419978
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.004729b0
add esp, 8
test eax, eax
jne 0x4199a8
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.004729b0
add esp, 8
test eax, eax
jne 0x419a2e
test esi, esi
je 0x419ec3
call fcn.00413490
fld qword [0x4a1d78]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x4199e7
fstp st(0)
fld1
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4199eb
fstp st(1)
jmp 0x4199ed
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.004729b0
add esp, 8
test eax, eax
jne 0x419a97
test esi, esi
je 0x419ec3
call fcn.0040d5e0
mov dword [0x4a78f0], eax
test eax, eax
jns 0x419a73
mov dword [0x4a78f0], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 0x1f4
jle 0x419ec3
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.004729b0
add esp, 8
test eax, eax
jne 0x419b6d
test esi, esi
je 0x419ec3
cmp byte [esi + 1], al
jne 0x419b2c
mov al, byte [esi]
cmp al, 0x23
je 0x419e1b
cmp al, byte [0x4a78e2]
je 0x419e1b
cmp al, byte [0x4a78e3]
je 0x419e1b
cmp al, byte [0x4a73b3]
je 0x419e1b
cmp al, 0x21
je 0x419e1b
cmp al, 0x5e
je 0x419e1b
cmp al, 0x2b
je 0x419e1b
cmp al, 0x24
je 0x419e1b
cmp al, 0x7e
je 0x419e1b
cmp al, 0x2a
je 0x419e1b
cmp al, 0x3c
je 0x419e1b
cmp al, 0x3e
je 0x419e1b
push 0xf
push esi
push 0x4a73c0
call fcn.004887c0
mov eax, 0x4a73c0
add esp, 0xc
mov byte [0x4a73cf], 0
lea edx, [eax + 1]
jmp 0x419b50
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419b50
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.004729b0
add esp, 8
test eax, eax
jne 0x419bde
test esi, esi
je 0x419ec3
mov al, byte [esi]
cmp al, 0x23
je 0x419e1b
cmp al, byte [0x4a78e2]
je 0x419e1b
cmp al, byte [0x4a73b3]
je 0x419e1b
cmp al, 0x2e
je 0x419e1b
cmp dword [0x4a73b4], 1
jne 0x419bca
cmp al, byte [0x4a73c0]
je 0x419e1b
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.004729b0
add esp, 8
test eax, eax
jne 0x419c47
test esi, esi
je 0x419ec3
mov al, byte [esi]
cmp al, byte [0x4a78e3]
je 0x419e1b
cmp al, byte [0x4a73b3]
je 0x419e1b
cmp al, 0x2e
je 0x419e1b
cmp dword [0x4a73b4], 1
jne 0x419c33
cmp al, byte [0x4a73c0]
je 0x419e1b
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.004729b0
add esp, 8
test eax, eax
jne 0x419cb8
test esi, esi
je 0x419ec3
mov al, byte [esi]
cmp al, 0x23
je 0x419e1b
cmp al, byte [0x4a78e3]
je 0x419e1b
cmp al, byte [0x4a78e2]
je 0x419e1b
cmp al, 0x2e
je 0x419e1b
cmp dword [0x4a73b4], 1
jne 0x419ca4
cmp al, byte [0x4a73c0]
je 0x419e1b
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.004729b0
add esp, 8
test eax, eax
jne 0x419d2b
test esi, esi
je 0x419d11
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0x4a73b1
xor ecx, ecx
mov edi, 0x4a78e0
mov edx, esi
call fcn.00412600
add esp, 4
test al, al
jne 0x419ec3
mov ecx, dword [esp + 0x28]
mov eax, str.Parameter_1_invalid.
push ebp
push eax
call fcn.0042dde0
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.0042dde0
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.004729b0
add esp, 8
test eax, eax
jne 0x419d85
test esi, esi
je 0x419d6f
call fcn.0040d5e0
test eax, eax
js 0x419e1b
cmp eax, 0x64
jg 0x419e1b
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.004729b0
add esp, 8
test eax, eax
jne 0x41956c
mov ebx, 0x499861
test esi, esi
jne 0x419dae
mov dword [esp + 0x2c], ebx
mov esi, ebx
movsx eax, byte [0x4a73b3]
push eax
push esi
call fcn.00486811
add esp, 8
test eax, eax
je 0x419de9
lea edx, [eax + 1]
mov cl, byte [edx]
cmp cl, 0x20
je 0x419dd2
cmp cl, 9
jne 0x419dd5
inc edx
jmp 0x419dc6
mov esi, dword [esp + 0x2c]
mov ebx, edx
dec eax
mov edx, esi
call fcn.004092f0
mov byte [eax + 1], 0
jmp 0x419ded
mov esi, dword [esp + 0x2c]
cmp byte [esi], 0
mov edi, 5
je 0x419e34
xor edi, edi
lea esp, [esp]
mov eax, dword [edi*4 + 0x4a8e24]
push eax
push esi
call fcn.00485821
add esp, 8
test eax, eax
je 0x419e34
inc edi
cmp edi, 6
jne 0x419e00
mov ecx, dword [esp + 0x28]
push ebp
push str.Parameter_1_invalid.
call fcn.0042dde0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp byte [ebx], 0
mov esi, 2
je 0x419e74
xor esi, esi
mov eax, dword [esi*4 + 0x4a8e3c]
push eax
push ebx
call fcn.00485821
add esp, 8
test eax, eax
je 0x419e74
inc esi
cmp esi, 4
jne 0x419e40
mov ecx, dword [esp + 0x28]
push ebx
push str.Parameter_2_invalid.
call fcn.0042dde0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
test edi, edi
je 0x419e7d
cmp edi, 5
jne 0x419e83
mov dword [0x4ab3dc], esi
cmp edi, 1
je 0x419e8d
cmp edi, 5
jne 0x419e93
mov dword [0x4ab3e0], esi
cmp edi, 3
je 0x419e9d
cmp edi, 5
jne 0x419ea3
mov dword [0x4ab3e4], esi
cmp edi, 2
je 0x419ead
cmp edi, 5
jne 0x419eb3
mov dword [0x4ab3e8], esi
cmp edi, 4
je 0x419ebd
cmp edi, 5
jne 0x419ec3
mov dword [0x4ab3ec], esi
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x14
ret 8