Function at 0x419650
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov si, word [0x4c48fc]
xor edx, edx
push edi
lea ebx, [esp + 0x18]
mov eax, ebp
mov dword [esp + 0x18], 0x90020
mov word [esp + 0x1c], si
mov word [esp + 0x1e], dx
call fcn.004095f0
xor ebx, ebx
cmp eax, ebx
jne 0x4196a5
mov eax, ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x419690
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2]
jmp 0x4196ed
mov edx, eax
movzx ecx, word [edx]
cmp ecx, 0x20
je 0x4196b4
cmp ecx, 9
jne 0x4196b9
add edx, 2
jmp 0x4196a7
movzx ecx, word [edx]
cmp cx, bx
je 0x4196ed
cmp cx, si
je 0x4196ca
mov esi, edx
jmp 0x4196ef
lea ecx, [edx + 2]
lea ecx, [ecx]
movzx edx, word [ecx]
cmp edx, 0x20
je 0x4196dd
cmp edx, 9
jne 0x4196e2
add ecx, 2
jmp 0x4196d0
mov esi, ecx
mov dword [esp + 0x2c], esi
cmp word [ecx], bx
jne 0x4196f3
xor esi, esi
mov dword [esp + 0x2c], esi
sub eax, ebp
sar eax, 1
mov edi, eax
push 0xffffffffffffffff
push edi
mov eax, str.Include
mov ecx, ebp
call fcn.00474f90
add esp, 8
test eax, eax
je 0x41a713
push 0xffffffffffffffff
push edi
mov eax, str.IncludeAgain
mov ecx, ebp
call fcn.00474f90
add esp, 8
test eax, eax
je 0x41a713
push 0xffffffffffffffff
push edi
mov eax, str.NoEnv
mov ecx, ebp
call fcn.00474f90
add esp, 8
test eax, eax
jne 0x41975c
mov dword [0x4c8670], 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.00474f90
add esp, 8
test eax, eax
jne 0x419788
mov byte [0x4c865d], 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.00474f90
add esp, 8
test eax, eax
jne 0x4197b4
mov byte [0x4c865c], 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.00474f90
add esp, 8
test eax, eax
jne 0x419865
mov dword [0x4c8658], 1
cmp esi, ebx
je 0x41a713
push str.Force
push esi
call fcn.0048e489
add esp, 8
test eax, eax
jne 0x41980b
mov dword [0x4c8658], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push str.Ignore
push esi
call fcn.0048e489
add esp, 8
test eax, eax
jne 0x419836
mov dword [0x4c8658], 3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x4a4234
push esi
call fcn.0048e489
add esp, 8
test eax, eax
jne 0x41a713
mov dword [0x4c8658], 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.00474f90
add esp, 8
test eax, eax
jne 0x419891
or byte [0x4c8f1b], 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.00474f90
add esp, 8
test eax, eax
jne 0x4198bd
or byte [0x4c8f1b], 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.00474f90
add esp, 8
test eax, eax
jne 0x419909
cmp esi, ebx
je 0x4198f3
mov esi, dword [esp + 0x2c]
push ebx
call fcn.00414e30
add esp, 4
mov byte [0x4c8d07], bl
cmp eax, 2
je 0x41a713
mov byte [0x4c8d07], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4a25c8
mov ecx, ebp
call fcn.00474f90
add esp, 8
test eax, eax
jne 0x4199d6
cmp esi, ebx
jne 0x41993c
mov dword [0x4c8680], ebx
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov edi, esi
call fcn.00409cc0
mov dword [0x4c8680], eax
cmp eax, ebx
jne 0x41a713
mov eax, dword [0x4c490c]
mov edi, dword [eax + 0xb4]
mov ecx, dword [esp + 0x28]
push ebx
push ebx
push ebx
push 0x4ac474
push ebx
push 0xe1
mov dword [eax + 0xb4], ebx
push esi
mov byte [ecx + 0x45], 1
call fcn.0041ae00
test eax, eax
jne 0x41998d
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov eax, dword [esp + 0x28]
mov ecx, dword [0x4c490c]
mov byte [eax + 0x45], bl
mov dword [ecx + 0xb4], edi
mov esi, dword [eax + 4]
call fcn.00409c40
mov dword [0x4c8680], eax
cmp eax, ebx
je 0x419981
mov byte [eax], 5
mov dword [eax + 0xc], esi
mov edx, dword [esi + 8]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov dword [eax + 8], 0x4ac474
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.00474f90
add esp, 8
test eax, eax
jne 0x419a11
cmp esi, ebx
je 0x41a713
mov esi, dword [esp + 0x2c]
call fcn.004139d0
mov dword [0x4c48f8], 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.0048ecd7
add esp, 0xc
test eax, eax
jne 0x419d4b
push 3
lea edx, [ebp + 0xc]
push 0x4a43cc
push edx
call fcn.0048ecd7
add esp, 0xc
test eax, eax
sete bl
movzx eax, bl
neg eax
sbb eax, eax
and eax, 3
push 6
lea edi, [ebp + eax*2 + 0xc]
push str.Active
push edi
call fcn.0048ecd7
add esp, 0xc
test eax, eax
jne 0x419a70
test bl, bl
setne cl
inc cl
mov byte [esp + 0x18], cl
jmp 0x419a94
push 5
push str.Exist
push edi
call fcn.0048ecd7
add esp, 0xc
test eax, eax
jne 0x419d3c
test bl, bl
setne dl
add dl, 3
mov byte [esp + 0x18], dl
xor edi, edi
cmp esi, edi
jne 0x419aad
mov dword [0x4c8680], edi
lea eax, [edi + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov dx, word [0x4c48fc]
mov bx, word [0x4c4904]
mov ecx, esi
mov si, word [0x4c4900]
movzx eax, word [ecx]
test ax, ax
je 0x419af7
lea esp, [esp]
cmp ax, bx
je 0x419bad
cmp ax, dx
je 0x419bad
cmp ax, si
je 0x419bad
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x419ad0
test edi, edi
je 0x419c95
lea eax, [edi + 2]
call fcn.00409640
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
xor eax, eax
mov word [edi], ax
mov eax, edi
sub eax, ebp
sar eax, 1
mov esi, ebp
call fcn.00413970
mov ecx, dword [esp + 0x14]
movzx esi, bx
movzx eax, word [ecx]
test ax, ax
je 0x419b45
cmp ax, si
je 0x419bff
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x419b30
mov bx, word [0x4c4904]
movzx esi, bx
mov ecx, ebp
movzx eax, word [ecx]
test ax, ax
je 0x419b75
lea esp, [esp]
cmp ax, si
je 0x419ca6
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x419b60
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push ebp
push edx
call fcn.004099e0
add esp, 0xc
test eax, eax
jne 0x41a713
mov ecx, dword [esp + 0x28]
push 0x4ac474
push str.Out_of_memory.
call fcn.0042ecc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
movzx eax, word [ecx]
test ax, ax
je 0x419af7
cmp ax, si
je 0x419be6
cmp ax, dx
jne 0x419bd1
test edi, edi
jne 0x419be6
mov edi, ecx
add ecx, 2
jmp 0x419ac4
add ecx, 2
cmp word [ecx], 0
je 0x419af7
add ecx, 2
jmp 0x419ac4
mov ecx, dword [esp + 0x28]
push ebp
push str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
call fcn.0042ecc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp word [ecx], 0
je 0x419b45
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x419c1f.99
movzx edx, byte [eax + 0x41a748]
jmp dword [edx*4 + 0x41a724]
mov eax, 7
mov word [edi], ax
jmp case.0x419c1f.99
mov edx, 8
jmp 0x419c68
mov eax, 0xc
mov word [edi], ax
jmp case.0x419c1f.99
mov edx, 0xa
jmp 0x419c68
mov eax, 0xd
mov word [edi], ax
jmp case.0x419c1f.99
mov edx, 9
jmp 0x419c68
mov eax, 0xb
mov word [edi], ax
jmp case.0x419c1f.99
mov edx, 0x20
mov word [edi], dx
mov eax, edi
lea ebx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x419c70
sub eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.0048ef00
add esp, 0xc
mov ecx, edi
jmp 0x419b28
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x14], 0x4ac474
jmp 0x419b4c
cmp word [ecx], 0
je 0x419b75
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x419cc6.99
movzx edx, byte [eax + 0x41a784]
jmp dword [edx*4 + 0x41a760]
mov eax, 7
mov word [edi], ax
jmp case.0x419cc6.99
mov edx, 8
jmp 0x419d0f
mov eax, 0xc
mov word [edi], ax
jmp case.0x419cc6.99
mov edx, 0xa
jmp 0x419d0f
mov eax, 0xd
mov word [edi], ax
jmp case.0x419cc6.99
mov edx, 9
jmp 0x419d0f
mov eax, 0xb
mov word [edi], ax
jmp case.0x419cc6.99
mov edx, 0x20
mov word [edi], dx
mov eax, edi
lea ebx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x419d17
sub eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.0048ef00
add esp, 0xc
mov ecx, edi
jmp 0x419b51
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4a6c30
mov ecx, ebp
call fcn.00474f90
add esp, 8
test eax, eax
jne 0x419efa
cmp esi, ebx
je 0x41a713
mov eax, str.EndChars
mov ecx, esi
call fcn.004752a0
cmp eax, ebx
je 0x419e7c
mov ebx, 0x4a6c48
call fcn.004095f0
test eax, eax
je 0x41a713
push 0x64
add eax, 2
push eax
push 0x4c4910
call fcn.00491184
movzx ebx, word [0x4c4904]
add esp, 0xc
xor eax, eax
mov word [0x4c49d8], ax
mov ecx, 0x4c4910
lea ebx, [ebx]
movzx eax, word [ecx]
test ax, ax
je 0x41a713
lea esp, [esp]
cmp ax, bx
je 0x419df0
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x419dd0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp word [ecx], 0
je 0x41a713
movzx eax, word [ecx + 2]
lea esi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x419e10.99
movzx edx, byte [eax + 0x41a7c0]
jmp dword [edx*4 + 0x41a79c]
mov eax, 7
jmp 0x419e4f
mov edx, 8
mov word [esi], dx
jmp case.0x419e10.99
mov eax, 0xc
jmp 0x419e4f
mov edx, 0xa
mov word [esi], dx
jmp case.0x419e10.99
mov eax, 0xd
jmp 0x419e4f
mov edx, 9
mov word [esi], dx
jmp case.0x419e10.99
mov eax, 0xb
mov word [esi], ax
mov eax, esi
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x419e57
sub eax, edi
sar eax, 1
lea edx, [eax + eax + 2]
push edx
push esi
push ecx
call fcn.0048ef00
add esp, 0xc
mov ecx, esi
jmp 0x419dc0
push 7
push str.NoMouse
push esi
call fcn.0048ecd7
add esp, 0xc
test eax, eax
jne 0x419ea5
mov byte [0x4c48fe], bl
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x4c8d05
push 0x4c8d04
push 0x4c8d03
push 0x4c48d7
push 0x4c8d00
push 0x4c8d02
push 0x4c48d6
push 0x4c4387
push 0x4c8d01
push 0x4c4908
push 0x4c8cfc
push 0x4c8cf8
mov eax, esi
call fcn.0040d110
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.00474f90
add esp, 8
test eax, eax
jne 0x419f35
cmp esi, ebx
je 0x41a713
mov esi, dword [esp + 0x2c]
call fcn.0040da80
mov dword [0x4c48d8], 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.00474f90
add esp, 8
test eax, eax
jne 0x419f83
cmp esi, ebx
je 0x41a713
mov esi, dword [esp + 0x2c]
call fcn.0040da80
mov dword [0x4c48f4], eax
cmp eax, 0xa
jge 0x41a713
mov dword [0x4c48f4], 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.00474f90
add esp, 8
test eax, eax
jne 0x419fd1
cmp esi, ebx
je 0x41a713
mov esi, dword [esp + 0x2c]
call fcn.0040da80
mov dword [0x4c48f0], eax
cmp eax, 1
jge 0x41a713
mov dword [0x4c48f0], 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.00474f90
add esp, 8
test eax, eax
jne 0x41a036
cmp esi, ebx
je 0x41a713
mov esi, dword [esp + 0x2c]
call fcn.0040da80
cmp eax, 0xff
jle 0x41a018
mov eax, 0xff
mov byte [0x4c4386], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 1
jge 0x41a022
mov eax, 1
mov byte [0x4c4386], 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.00474f90
add esp, 8
test eax, eax
jne 0x41a082
cmp esi, ebx
je 0x41a06c
mov esi, dword [esp + 0x2c]
push ebx
call fcn.00414e30
add esp, 4
mov byte [0x4c8666], bl
cmp eax, 2
je 0x41a713
mov byte [0x4c8666], 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.00474f90
add esp, 8
test eax, eax
jne 0x41a0e7
cmp esi, ebx
je 0x41a713
mov esi, dword [esp + 0x2c]
call fcn.0040da80
cmp eax, 0xff
jle 0x41a0c9
mov eax, 0xff
mov dword [0x4c48ec], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 1
jge 0x41a0d3
mov eax, 1
mov dword [0x4c48ec], 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.00474f90
add esp, 8
test eax, eax
jne 0x41a122
cmp esi, ebx
je 0x41a713
mov esi, dword [esp + 0x2c]
call fcn.0040da80
mov dword [0x4c48dc], 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.00474f90
add esp, 8
test eax, eax
jne 0x41a16e
cmp esi, ebx
je 0x41a158
mov esi, dword [esp + 0x2c]
push ebx
call fcn.00414e30
add esp, 4
mov byte [0x4c8d06], bl
cmp eax, 2
je 0x41a713
mov byte [0x4c8d06], 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.00474f90
add esp, 8
test eax, eax
jne 0x41a19a
mov byte [0x4c862a], 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.00474f90
add esp, 8
test eax, eax
jne 0x41a1ca
mov eax, dword [esp + 0x28]
mov byte [eax + 0xacf], 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.00474f90
add esp, 8
test eax, eax
jne 0x41a254
cmp esi, ebx
je 0x41a713
mov esi, dword [esp + 0x2c]
call fcn.00413a00
fld qword [0x4beb60]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x41a20d
fstp st(0)
fld1
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x41a211
fstp st(1)
jmp 0x41a213
fstp st(0)
fld qword [0x4bea68]
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 ecx, dword [esp + 0x18]
mov dword [0x4c48e8], ecx
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.00474f90
add esp, 8
test eax, eax
jne 0x41a2bd
cmp esi, ebx
je 0x41a713
mov esi, dword [esp + 0x2c]
call fcn.0040da80
mov dword [0x4c48e4], eax
cmp eax, ebx
jge 0x41a299
mov dword [0x4c48e4], ebx
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 0x1f4
jle 0x41a713
mov dword [0x4c48e4], 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.00474f90
add esp, 8
test eax, eax
jne 0x41a3a4
cmp esi, ebx
je 0x41a713
cmp word [esi + 2], bx
jne 0x41a360
movzx eax, word [esi]
cmp eax, 0x23
je 0x41a662
cmp ax, word [0x4c4900]
je 0x41a662
cmp ax, word [0x4c4904]
je 0x41a662
cmp ax, word [0x4c48fc]
je 0x41a662
cmp eax, 0x21
je 0x41a662
cmp eax, 0x5e
je 0x41a662
cmp eax, 0x2b
je 0x41a662
cmp eax, 0x24
je 0x41a662
cmp eax, 0x7e
je 0x41a662
cmp eax, 0x2a
je 0x41a662
cmp eax, 0x3c
je 0x41a662
cmp eax, 0x3e
je 0x41a662
push 0xf
push esi
push 0x4c43a0
call fcn.00491184
add esp, 0xc
xor edx, edx
mov eax, 0x4c43a0
mov word [0x4c43be], dx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41a381
sub eax, edx
sar eax, 1
mov dword [0x4c43c0], 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.00474f90
add esp, 8
test eax, eax
jne 0x41a41c
cmp esi, ebx
je 0x41a713
movzx eax, word [esi]
cmp eax, 0x23
je 0x41a662
cmp ax, word [0x4c4900]
je 0x41a662
cmp ax, word [0x4c48fc]
je 0x41a662
cmp eax, 0x2e
je 0x41a662
cmp dword [0x4c43c0], 1
jne 0x41a407
cmp ax, word [0x4c43a0]
je 0x41a662
mov word [0x4c4904], ax
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.00474f90
add esp, 8
test eax, eax
jne 0x41a48b
cmp esi, ebx
je 0x41a713
movzx eax, word [esi]
cmp ax, word [0x4c4904]
je 0x41a662
cmp ax, word [0x4c48fc]
je 0x41a662
cmp eax, 0x2e
je 0x41a662
cmp dword [0x4c43c0], 1
jne 0x41a476
cmp ax, word [0x4c43a0]
je 0x41a662
mov word [0x4c4900], ax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4a6e14
mov ecx, ebp
call fcn.00474f90
add esp, 8
test eax, eax
jne 0x41a503
cmp esi, ebx
je 0x41a713
movzx eax, word [esi]
cmp eax, 0x23
je 0x41a662
cmp ax, word [0x4c4904]
je 0x41a662
cmp ax, word [0x4c4900]
je 0x41a662
cmp eax, 0x2e
je 0x41a662
cmp dword [0x4c43c0], 1
jne 0x41a4ee
cmp ax, word [0x4c43a0]
je 0x41a662
mov word [0x4c48fc], ax
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.00474f90
add esp, 8
test eax, eax
jne 0x41a576
cmp esi, ebx
je 0x41a55c
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0x4c4385
xor ecx, ecx
mov edi, 0x4c48d4
mov edx, esi
call fcn.00412b90
add esp, 4
test al, al
jne 0x41a713
mov ecx, dword [esp + 0x28]
mov eax, str.Parameter_1_invalid.
push ebp
push eax
call fcn.0042ecc0
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.0042ecc0
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.00474f90
add esp, 8
test eax, eax
jne 0x41a5d4
cmp esi, ebx
je 0x41a5be
mov esi, dword [esp + 0x2c]
call fcn.0040da80
cmp eax, ebx
jl 0x41a662
cmp eax, 0x64
jg 0x41a662
mov byte [0x4c8667], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
xor eax, eax
mov byte [0x4c8667], 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.00474f90
add esp, 8
test eax, eax
jne 0x419d3c
cmp esi, ebx
jne 0x41a5fa
mov dword [esp + 0x2c], 0x4ac474
movzx eax, word [0x4c48fc]
mov ebx, dword [esp + 0x2c]
push eax
push ebx
call fcn.0048f261
mov edi, eax
add esp, 8
mov esi, 0x4ac474
test edi, edi
je 0x41a634
lea eax, [edi + 2]
call fcn.00409640
mov esi, eax
lea eax, [edi - 2]
mov edx, ebx
call fcn.00409660
xor ecx, ecx
mov word [eax + 2], cx
mov edx, dword [esp + 0x2c]
cmp word [edx], 0
mov ebx, 5
je 0x41a67d
xor edi, edi
mov ebx, edx
mov eax, dword [edi*4 + 0x4c5e84]
push eax
push ebx
call fcn.0048e489
add esp, 8
test eax, eax
je 0x41a67b
inc edi
cmp edi, 6
jne 0x41a647
mov ecx, dword [esp + 0x28]
push ebp
push str.Parameter_1_invalid.
call fcn.0042ecc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov ebx, edi
cmp word [esi], 0
mov edi, 2
je 0x41a6c4
xor edi, edi
lea ebx, [ebx]
mov ecx, dword [edi*4 + 0x4c5e9c]
push ecx
push esi
call fcn.0048e489
add esp, 8
test eax, eax
je 0x41a6c4
inc edi
cmp edi, 4
jne 0x41a690
mov ecx, dword [esp + 0x28]
push esi
push str.Parameter_2_invalid.
call fcn.0042ecc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
test ebx, ebx
je 0x41a6cd
cmp ebx, 5
jne 0x41a6d3
mov dword [0x4c8644], edi
cmp ebx, 1
je 0x41a6dd
cmp ebx, 5
jne 0x41a6e3
mov dword [0x4c8648], edi
cmp ebx, 3
je 0x41a6ed
cmp ebx, 5
jne 0x41a6f3
mov dword [0x4c864c], edi
cmp ebx, 2
je 0x41a6fd
cmp ebx, 5
jne 0x41a703
mov dword [0x4c8650], edi
cmp ebx, 4
je 0x41a70d
cmp ebx, 5
jne 0x41a713
mov dword [0x4c8654], edi
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x14
ret 8