Function at 0x419790
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov si, word [0x4c4938]
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.00409520
xor ebx, ebx
cmp eax, ebx
jne 0x4197e5
mov eax, ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4197d0
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2]
jmp 0x41982d
mov edx, eax
movzx ecx, word [edx]
cmp ecx, 0x20
je 0x4197f4
cmp ecx, 9
jne 0x4197f9
add edx, 2
jmp 0x4197e7
movzx ecx, word [edx]
cmp cx, bx
je 0x41982d
cmp cx, si
je 0x41980a
mov esi, edx
jmp 0x41982f
lea ecx, [edx + 2]
lea ecx, [ecx]
movzx edx, word [ecx]
cmp edx, 0x20
je 0x41981d
cmp edx, 9
jne 0x419822
add ecx, 2
jmp 0x419810
mov esi, ecx
mov dword [esp + 0x2c], esi
cmp word [ecx], bx
jne 0x419833
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.00474a00
add esp, 8
test eax, eax
je 0x41a853
push 0xffffffffffffffff
push edi
mov eax, str.IncludeAgain
mov ecx, ebp
call fcn.00474a00
add esp, 8
test eax, eax
je 0x41a853
push 0xffffffffffffffff
push edi
mov eax, str.NoEnv
mov ecx, ebp
call fcn.00474a00
add esp, 8
test eax, eax
jne 0x41989c
mov dword [0x4c86a0], 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.00474a00
add esp, 8
test eax, eax
jne 0x4198c8
mov byte [0x4c868d], 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.00474a00
add esp, 8
test eax, eax
jne 0x4198f4
mov byte [0x4c868c], 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.00474a00
add esp, 8
test eax, eax
jne 0x4199a5
mov dword [0x4c8688], 1
cmp esi, ebx
je 0x41a853
push str.Force
push esi
call fcn.0048dee9
add esp, 8
test eax, eax
jne 0x41994b
mov dword [0x4c8688], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push str.Ignore
push esi
call fcn.0048dee9
add esp, 8
test eax, eax
jne 0x419976
mov dword [0x4c8688], 3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x4a4210
push esi
call fcn.0048dee9
add esp, 8
test eax, eax
jne 0x41a853
mov dword [0x4c8688], 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.00474a00
add esp, 8
test eax, eax
jne 0x4199d1
or byte [0x4c8f4b], 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.00474a00
add esp, 8
test eax, eax
jne 0x4199fd
or byte [0x4c8f4b], 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.00474a00
add esp, 8
test eax, eax
jne 0x419a49
cmp esi, ebx
je 0x419a33
mov esi, dword [esp + 0x2c]
push ebx
call fcn.00409610
add esp, 4
mov byte [0x4c8d37], bl
cmp eax, 2
je 0x41a853
mov byte [0x4c8d37], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4a25a8
mov ecx, ebp
call fcn.00474a00
add esp, 8
test eax, eax
jne 0x419b16
cmp esi, ebx
jne 0x419a7c
mov dword [0x4c86b0], 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 [0x4c86b0], eax
cmp eax, ebx
jne 0x41a853
mov eax, dword [0x4c4a14]
mov edi, dword [eax + 0xb4]
mov ecx, dword [esp + 0x28]
push ebx
push ebx
push ebx
push 0x4a1868
push ebx
push 0xe1
mov dword [eax + 0xb4], ebx
push esi
mov byte [ecx + 0x45], 1
call fcn.0041af40
test eax, eax
jne 0x419acd
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov eax, dword [esp + 0x28]
mov ecx, dword [0x4c4a14]
mov byte [eax + 0x45], bl
mov dword [ecx + 0xb4], edi
mov esi, dword [eax + 4]
call fcn.00409c40
mov dword [0x4c86b0], eax
cmp eax, ebx
je 0x419ac1
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], 0x4a1868
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.00474a00
add esp, 8
test eax, eax
jne 0x419b51
cmp esi, ebx
je 0x41a853
mov esi, dword [esp + 0x2c]
call fcn.00413b30
mov dword [0x4c4934], 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.0048e737
add esp, 0xc
test eax, eax
jne 0x419e8b
push 3
lea edx, [ebp + 0xc]
push 0x4a43ac
push edx
call fcn.0048e737
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.0048e737
add esp, 0xc
test eax, eax
jne 0x419bb0
test bl, bl
setne cl
inc cl
mov byte [esp + 0x18], cl
jmp 0x419bd4
push 5
push str.Exist
push edi
call fcn.0048e737
add esp, 0xc
test eax, eax
jne 0x419e7c
test bl, bl
setne dl
add dl, 3
mov byte [esp + 0x18], dl
xor edi, edi
cmp esi, edi
jne 0x419bed
mov dword [0x4c86b0], edi
lea eax, [edi + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov dx, word [0x4c4938]
mov bx, word [0x4c4940]
mov ecx, esi
mov si, word [0x4c493c]
movzx eax, word [ecx]
test ax, ax
je 0x419c37
lea esp, [esp]
cmp ax, bx
je 0x419ced
cmp ax, dx
je 0x419ced
cmp ax, si
je 0x419ced
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x419c10
test edi, edi
je 0x419dd5
lea eax, [edi + 2]
call fcn.00409570
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.00413ad0
mov ecx, dword [esp + 0x14]
movzx esi, bx
movzx eax, word [ecx]
test ax, ax
je 0x419c85
cmp ax, si
je 0x419d3f
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x419c70
mov bx, word [0x4c4940]
movzx esi, bx
mov ecx, ebp
movzx eax, word [ecx]
test ax, ax
je 0x419cb5
lea esp, [esp]
cmp ax, si
je 0x419de6
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x419ca0
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 0x41a853
mov ecx, dword [esp + 0x28]
push 0x4a1868
push str.Out_of_memory.
call fcn.0042e990
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
movzx eax, word [ecx]
test ax, ax
je 0x419c37
cmp ax, si
je 0x419d26
cmp ax, dx
jne 0x419d11
test edi, edi
jne 0x419d26
mov edi, ecx
add ecx, 2
jmp 0x419c04
add ecx, 2
cmp word [ecx], 0
je 0x419c37
add ecx, 2
jmp 0x419c04
mov ecx, dword [esp + 0x28]
push ebp
push str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
call fcn.0042e990
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp word [ecx], 0
je 0x419c85
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x419d5f.99
movzx edx, byte [eax + 0x41a888]
jmp dword [edx*4 + 0x41a864]
mov eax, 7
mov word [edi], ax
jmp case.0x419d5f.99
mov edx, 8
jmp 0x419da8
mov eax, 0xc
mov word [edi], ax
jmp case.0x419d5f.99
mov edx, 0xa
jmp 0x419da8
mov eax, 0xd
mov word [edi], ax
jmp case.0x419d5f.99
mov edx, 9
jmp 0x419da8
mov eax, 0xb
mov word [edi], ax
jmp case.0x419d5f.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 0x419db0
sub eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.0048e960
add esp, 0xc
mov ecx, edi
jmp 0x419c68
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x14], 0x4a1868
jmp 0x419c8c
cmp word [ecx], 0
je 0x419cb5
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x419e06.99
movzx edx, byte [eax + 0x41a8c4]
jmp dword [edx*4 + 0x41a8a0]
mov eax, 7
mov word [edi], ax
jmp case.0x419e06.99
mov edx, 8
jmp 0x419e4f
mov eax, 0xc
mov word [edi], ax
jmp case.0x419e06.99
mov edx, 0xa
jmp 0x419e4f
mov eax, 0xd
mov word [edi], ax
jmp case.0x419e06.99
mov edx, 9
jmp 0x419e4f
mov eax, 0xb
mov word [edi], ax
jmp case.0x419e06.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 0x419e57
sub eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.0048e960
add esp, 0xc
mov ecx, edi
jmp 0x419c91
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4a6ad8
mov ecx, ebp
call fcn.00474a00
add esp, 8
test eax, eax
jne 0x41a03a
cmp esi, ebx
je 0x41a853
mov eax, str.EndChars
mov ecx, esi
call fcn.00474d10
cmp eax, ebx
je 0x419fbc
mov ebx, 0x4a6af0
call fcn.00409520
test eax, eax
je 0x41a853
push 0x64
add eax, 2
push eax
push str._____:____.___n__t
call fcn.00490be4
movzx ebx, word [0x4c4940]
add esp, 0xc
xor eax, eax
mov word [0x4c4a10], ax
mov ecx, str._____:____.___n__t
lea ebx, [ebx]
movzx eax, word [ecx]
test ax, ax
je 0x41a853
lea esp, [esp]
cmp ax, bx
je 0x419f30
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x419f10
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp word [ecx], 0
je 0x41a853
movzx eax, word [ecx + 2]
lea esi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x419f50.99
movzx edx, byte [eax + 0x41a900]
jmp dword [edx*4 + 0x41a8dc]
mov eax, 7
jmp 0x419f8f
mov edx, 8
mov word [esi], dx
jmp case.0x419f50.99
mov eax, 0xc
jmp 0x419f8f
mov edx, 0xa
mov word [esi], dx
jmp case.0x419f50.99
mov eax, 0xd
jmp 0x419f8f
mov edx, 9
mov word [esi], dx
jmp case.0x419f50.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 0x419f97
sub eax, edi
sar eax, 1
lea edx, [eax + eax + 2]
push edx
push esi
push ecx
call fcn.0048e960
add esp, 0xc
mov ecx, esi
jmp 0x419f00
push 7
push str.NoMouse
push esi
call fcn.0048e737
add esp, 0xc
test eax, eax
jne 0x419fe5
mov byte [0x4c493a], bl
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x4c8d35
push 0x4c8d34
push 0x4c8d33
push 0x4c4913
push 0x4c8d30
push 0x4c8d32
push 0x4c4912
push 0x4c43d3
push 0x4c8d31
push 0x4c4944
push 0x4c8d2c
push 0x4c8d28
mov eax, esi
call fcn.0040d120
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.00474a00
add esp, 8
test eax, eax
jne 0x41a075
cmp esi, ebx
je 0x41a853
mov esi, dword [esp + 0x2c]
call fcn.0040db70
mov dword [0x4c4914], 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.00474a00
add esp, 8
test eax, eax
jne 0x41a0c3
cmp esi, ebx
je 0x41a853
mov esi, dword [esp + 0x2c]
call fcn.0040db70
mov dword [0x4c4930], eax
cmp eax, 0xa
jge 0x41a853
mov dword [0x4c4930], 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.00474a00
add esp, 8
test eax, eax
jne 0x41a111
cmp esi, ebx
je 0x41a853
mov esi, dword [esp + 0x2c]
call fcn.0040db70
mov dword [0x4c492c], eax
cmp eax, 1
jge 0x41a853
mov dword [0x4c492c], 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.00474a00
add esp, 8
test eax, eax
jne 0x41a176
cmp esi, ebx
je 0x41a853
mov esi, dword [esp + 0x2c]
call fcn.0040db70
cmp eax, 0xff
jle 0x41a158
mov eax, 0xff
mov byte [0x4c43d2], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 1
jge 0x41a162
mov eax, 1
mov byte [0x4c43d2], 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.00474a00
add esp, 8
test eax, eax
jne 0x41a1c2
cmp esi, ebx
je 0x41a1ac
mov esi, dword [esp + 0x2c]
push ebx
call fcn.00409610
add esp, 4
mov byte [0x4c8696], bl
cmp eax, 2
je 0x41a853
mov byte [0x4c8696], 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.00474a00
add esp, 8
test eax, eax
jne 0x41a227
cmp esi, ebx
je 0x41a853
mov esi, dword [esp + 0x2c]
call fcn.0040db70
cmp eax, 0xff
jle 0x41a209
mov eax, 0xff
mov dword [0x4c4928], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 1
jge 0x41a213
mov eax, 1
mov dword [0x4c4928], 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.00474a00
add esp, 8
test eax, eax
jne 0x41a262
cmp esi, ebx
je 0x41a853
mov esi, dword [esp + 0x2c]
call fcn.0040db70
mov dword [0x4c4918], 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.00474a00
add esp, 8
test eax, eax
jne 0x41a2ae
cmp esi, ebx
je 0x41a298
mov esi, dword [esp + 0x2c]
push ebx
call fcn.00409610
add esp, 4
mov byte [0x4c8d36], bl
cmp eax, 2
je 0x41a853
mov byte [0x4c8d36], 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.00474a00
add esp, 8
test eax, eax
jne 0x41a2da
mov byte [0x4c865a], 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.00474a00
add esp, 8
test eax, eax
jne 0x41a30a
mov eax, dword [esp + 0x28]
mov byte [eax + 0xadf], 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.00474a00
add esp, 8
test eax, eax
jne 0x41a394
cmp esi, ebx
je 0x41a853
mov esi, dword [esp + 0x2c]
call fcn.00413b60
fld qword [0x4beb18]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x41a34d
fstp st(0)
fld1
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x41a351
fstp st(1)
jmp 0x41a353
fstp st(0)
fld qword [0x4bea20]
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 [0x4c4924], 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.00474a00
add esp, 8
test eax, eax
jne 0x41a3fd
cmp esi, ebx
je 0x41a853
mov esi, dword [esp + 0x2c]
call fcn.0040db70
mov dword [0x4c4920], eax
cmp eax, ebx
jge 0x41a3d9
mov dword [0x4c4920], ebx
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 0x1f4
jle 0x41a853
mov dword [0x4c4920], 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.00474a00
add esp, 8
test eax, eax
jne 0x41a4e4
cmp esi, ebx
je 0x41a853
cmp word [esi + 2], bx
jne 0x41a4a0
movzx eax, word [esi]
cmp eax, 0x23
je 0x41a7a2
cmp ax, word [0x4c493c]
je 0x41a7a2
cmp ax, word [0x4c4940]
je 0x41a7a2
cmp ax, word [0x4c4938]
je 0x41a7a2
cmp eax, 0x21
je 0x41a7a2
cmp eax, 0x5e
je 0x41a7a2
cmp eax, 0x2b
je 0x41a7a2
cmp eax, 0x24
je 0x41a7a2
cmp eax, 0x7e
je 0x41a7a2
cmp eax, 0x2a
je 0x41a7a2
cmp eax, 0x3c
je 0x41a7a2
cmp eax, 0x3e
je 0x41a7a2
push 0xf
push esi
push 0x4c43e0
call fcn.00490be4
add esp, 0xc
xor edx, edx
mov eax, 0x4c43e0
mov word [0x4c43fe], dx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41a4c1
sub eax, edx
sar eax, 1
mov dword [0x4c43d4], 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.00474a00
add esp, 8
test eax, eax
jne 0x41a55c
cmp esi, ebx
je 0x41a853
movzx eax, word [esi]
cmp eax, 0x23
je 0x41a7a2
cmp ax, word [0x4c493c]
je 0x41a7a2
cmp ax, word [0x4c4938]
je 0x41a7a2
cmp eax, 0x2e
je 0x41a7a2
cmp dword [0x4c43d4], 1
jne 0x41a547
cmp ax, word [0x4c43e0]
je 0x41a7a2
mov word [0x4c4940], 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.00474a00
add esp, 8
test eax, eax
jne 0x41a5cb
cmp esi, ebx
je 0x41a853
movzx eax, word [esi]
cmp ax, word [0x4c4940]
je 0x41a7a2
cmp ax, word [0x4c4938]
je 0x41a7a2
cmp eax, 0x2e
je 0x41a7a2
cmp dword [0x4c43d4], 1
jne 0x41a5b6
cmp ax, word [0x4c43e0]
je 0x41a7a2
mov word [0x4c493c], ax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4a6cbc
mov ecx, ebp
call fcn.00474a00
add esp, 8
test eax, eax
jne 0x41a643
cmp esi, ebx
je 0x41a853
movzx eax, word [esi]
cmp eax, 0x23
je 0x41a7a2
cmp ax, word [0x4c4940]
je 0x41a7a2
cmp ax, word [0x4c493c]
je 0x41a7a2
cmp eax, 0x2e
je 0x41a7a2
cmp dword [0x4c43d4], 1
jne 0x41a62e
cmp ax, word [0x4c43e0]
je 0x41a7a2
mov word [0x4c4938], 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.00474a00
add esp, 8
test eax, eax
jne 0x41a6b6
cmp esi, ebx
je 0x41a69c
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0x4c43d1
xor ecx, ecx
mov edi, 0x4c4910
mov edx, esi
call fcn.00412cf0
add esp, 4
test al, al
jne 0x41a853
mov ecx, dword [esp + 0x28]
mov eax, str.Parameter_1_invalid.
push ebp
push eax
call fcn.0042e990
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.0042e990
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.00474a00
add esp, 8
test eax, eax
jne 0x41a714
cmp esi, ebx
je 0x41a6fe
mov esi, dword [esp + 0x2c]
call fcn.0040db70
cmp eax, ebx
jl 0x41a7a2
cmp eax, 0x64
jg 0x41a7a2
mov byte [0x4c8697], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
xor eax, eax
mov byte [0x4c8697], 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.00474a00
add esp, 8
test eax, eax
jne 0x419e7c
cmp esi, ebx
jne 0x41a73a
mov dword [esp + 0x2c], 0x4a1868
movzx eax, word [0x4c4938]
mov ebx, dword [esp + 0x2c]
push eax
push ebx
call fcn.0048ecfb
mov edi, eax
add esp, 8
mov esi, 0x4a1868
test edi, edi
je 0x41a774
lea eax, [edi + 2]
call fcn.00409570
mov esi, eax
lea eax, [edi - 2]
mov edx, ebx
call fcn.00409590
xor ecx, ecx
mov word [eax + 2], cx
mov edx, dword [esp + 0x2c]
cmp word [edx], 0
mov ebx, 5
je 0x41a7bd
xor edi, edi
mov ebx, edx
mov eax, dword [edi*4 + 0x4c5ec4]
push eax
push ebx
call fcn.0048dee9
add esp, 8
test eax, eax
je 0x41a7bb
inc edi
cmp edi, 6
jne 0x41a787
mov ecx, dword [esp + 0x28]
push ebp
push str.Parameter_1_invalid.
call fcn.0042e990
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov ebx, edi
cmp word [esi], 0
mov edi, 2
je 0x41a804
xor edi, edi
lea ebx, [ebx]
mov ecx, dword [edi*4 + 0x4c5edc]
push ecx
push esi
call fcn.0048dee9
add esp, 8
test eax, eax
je 0x41a804
inc edi
cmp edi, 4
jne 0x41a7d0
mov ecx, dword [esp + 0x28]
push esi
push str.Parameter_2_invalid.
call fcn.0042e990
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
test ebx, ebx
je 0x41a80d
cmp ebx, 5
jne 0x41a813
mov dword [0x4c8674], edi
cmp ebx, 1
je 0x41a81d
cmp ebx, 5
jne 0x41a823
mov dword [0x4c8678], edi
cmp ebx, 3
je 0x41a82d
cmp ebx, 5
jne 0x41a833
mov dword [0x4c867c], edi
cmp ebx, 2
je 0x41a83d
cmp ebx, 5
jne 0x41a843
mov dword [0x4c8680], edi
cmp ebx, 4
je 0x41a84d
cmp ebx, 5
jne 0x41a853
mov dword [0x4c8684], edi
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x14
ret 8