Function at 0x41b1b0
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov si, word [0x4c6968]
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.00409e00
xor ebx, ebx
cmp eax, ebx
jne 0x41b205
mov eax, ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41b1f0
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2]
jmp 0x41b24d
mov edx, eax
movzx ecx, word [edx]
cmp ecx, 0x20
je 0x41b214
cmp ecx, 9
jne 0x41b219
add edx, 2
jmp 0x41b207
movzx ecx, word [edx]
cmp cx, bx
je 0x41b24d
cmp cx, si
je 0x41b22a
mov esi, edx
jmp 0x41b24f
lea ecx, [edx + 2]
lea ecx, [ecx]
movzx edx, word [ecx]
cmp edx, 0x20
je 0x41b23d
cmp edx, 9
jne 0x41b242
add ecx, 2
jmp 0x41b230
mov esi, ecx
mov dword [esp + 0x2c], esi
cmp word [ecx], bx
jne 0x41b253
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.00476b70
add esp, 8
test eax, eax
je 0x41b2a5
push 0xffffffffffffffff
push edi
mov eax, str.IncludeAgain
mov ecx, ebp
call fcn.00476b70
add esp, 8
test eax, eax
je 0x41b2a5
push 0xffffffffffffffff
push edi
mov eax, str.NoEnv
mov ecx, ebp
call fcn.00476b70
add esp, 8
test eax, eax
jne 0x41b2b4
mov dword [0x4ca658], 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.00476b70
add esp, 8
test eax, eax
jne 0x41b2e0
mov byte [0x4ca62a], 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.00476b70
add esp, 8
test eax, eax
jne 0x41b30c
mov byte [0x4ca629], 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.00476b70
add esp, 8
test eax, eax
jne 0x41b3bd
mov dword [0x4ca644], 1
cmp esi, ebx
je 0x41b2a5
push str.Force
push esi
call fcn.00490459
add esp, 8
test eax, eax
jne 0x41b363
mov dword [0x4ca644], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push str.Ignore
push esi
call fcn.00490459
add esp, 8
test eax, eax
jne 0x41b38e
mov dword [0x4ca644], 3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x4a6328
push esi
call fcn.00490459
add esp, 8
test eax, eax
jne 0x41b2a5
mov dword [0x4ca644], 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.00476b70
add esp, 8
test eax, eax
jne 0x41b3e9
or byte [0x4cad34], 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.00476b70
add esp, 8
test eax, eax
jne 0x41b415
or byte [0x4cad34], 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.00476b70
add esp, 8
test eax, eax
jne 0x41b461
cmp esi, ebx
je 0x41b44b
mov esi, dword [esp + 0x2c]
push ebx
call fcn.00409ef0
add esp, 4
mov byte [0x4cad00], bl
cmp eax, 2
je 0x41b2a5
mov byte [0x4cad00], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4a4698
mov ecx, ebp
call fcn.00476b70
add esp, 8
test eax, eax
jne 0x41b52e
cmp esi, ebx
jne 0x41b494
mov dword [0x4ca670], ebx
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov edi, esi
call fcn.0040a5a0
mov dword [0x4ca670], eax
cmp eax, ebx
jne 0x41b2a5
mov eax, dword [0x4c6a44]
mov edi, dword [eax + 0xb4]
mov ecx, dword [esp + 0x28]
push ebx
push ebx
push ebx
push 0x4a3910
push ebx
push 0xe3
mov dword [eax + 0xb4], ebx
push esi
mov byte [ecx + 0x49], 1
call fcn.0041c9a0
test eax, eax
jne 0x41b4e5
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov eax, dword [esp + 0x28]
mov ecx, dword [0x4c6a44]
mov byte [eax + 0x49], bl
mov dword [ecx + 0xb4], edi
mov esi, dword [eax + 4]
call fcn.0040a520
mov dword [0x4ca670], eax
cmp eax, ebx
je 0x41b4d9
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], 0x4a3910
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.00476b70
add esp, 8
test eax, eax
jne 0x41b569
cmp esi, ebx
je 0x41b2a5
mov esi, dword [esp + 0x2c]
call fcn.00415420
mov dword [0x4c6964], 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.0049065d
add esp, 0xc
test eax, eax
jne 0x41b8ab
push 3
lea edx, [ebp + 0xc]
push 0x4a64c4
push edx
call fcn.0049065d
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.0049065d
add esp, 0xc
test eax, eax
jne 0x41b5c8
test bl, bl
setne cl
inc cl
mov byte [esp + 0x18], cl
jmp 0x41b5ec
push 5
push str.Exist
push edi
call fcn.0049065d
add esp, 0xc
test eax, eax
jne 0x41b89c
test bl, bl
setne dl
add dl, 3
mov byte [esp + 0x18], dl
xor edi, edi
cmp esi, edi
jne 0x41b605
mov dword [0x4ca670], edi
lea eax, [edi + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov dx, word [0x4c6968]
mov bx, word [0x4c6970]
mov ecx, esi
mov si, word [0x4c696c]
lea esp, [esp]
movzx eax, word [ecx]
test ax, ax
je 0x41b657
jmp 0x41b630
cmp ax, bx
je 0x41b70d
cmp ax, dx
je 0x41b70d
cmp ax, si
je 0x41b70d
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x41b630
test edi, edi
je 0x41b7f5
lea eax, [edi + 2]
call fcn.00409e50
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.004153c0
mov ecx, dword [esp + 0x14]
movzx esi, bx
movzx eax, word [ecx]
test ax, ax
je 0x41b6a5
cmp ax, si
je 0x41b75f
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x41b690
mov bx, word [0x4c6970]
movzx esi, bx
mov ecx, ebp
movzx eax, word [ecx]
test ax, ax
je 0x41b6d5
lea esp, [esp]
cmp ax, si
je 0x41b806
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x41b6c0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push ebp
push edx
call fcn.0040a2c0
add esp, 0xc
test eax, eax
jne 0x41b2a5
mov ecx, dword [esp + 0x28]
push 0x4a3910
push str.Out_of_memory.
call fcn.00430b90
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
movzx eax, word [ecx]
test ax, ax
je 0x41b657
cmp ax, si
je 0x41b746
cmp ax, dx
jne 0x41b731
test edi, edi
jne 0x41b746
mov edi, ecx
add ecx, 2
jmp 0x41b620
add ecx, 2
cmp word [ecx], 0
je 0x41b657
add ecx, 2
jmp 0x41b620
mov ecx, dword [esp + 0x28]
push ebp
push str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
call fcn.00430b90
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp word [ecx], 0
je 0x41b6a5
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x41b77f.99
movzx edx, byte [eax + 0x41c2f0]
jmp dword [edx*4 + 0x41c2cc]
mov eax, 7
mov word [edi], ax
jmp case.0x41b77f.99
mov edx, 8
jmp 0x41b7c8
mov eax, 0xc
mov word [edi], ax
jmp case.0x41b77f.99
mov edx, 0xa
jmp 0x41b7c8
mov eax, 0xd
mov word [edi], ax
jmp case.0x41b77f.99
mov edx, 9
jmp 0x41b7c8
mov eax, 0xb
mov word [edi], ax
jmp case.0x41b77f.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 0x41b7d0
sub eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.00490f20
add esp, 0xc
mov ecx, edi
jmp 0x41b688
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x14], 0x4a3910
jmp 0x41b6ac
cmp word [ecx], 0
je 0x41b6d5
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x41b826.99
movzx edx, byte [eax + 0x41c32c]
jmp dword [edx*4 + 0x41c308]
mov eax, 7
mov word [edi], ax
jmp case.0x41b826.99
mov edx, 8
jmp 0x41b86f
mov eax, 0xc
mov word [edi], ax
jmp case.0x41b826.99
mov edx, 0xa
jmp 0x41b86f
mov eax, 0xd
mov word [edi], ax
jmp case.0x41b826.99
mov edx, 9
jmp 0x41b86f
mov eax, 0xb
mov word [edi], ax
jmp case.0x41b826.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 0x41b877
sub eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.00490f20
add esp, 0xc
mov ecx, edi
jmp 0x41b6b1
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4a8e88
mov ecx, ebp
call fcn.00476b70
add esp, 8
test eax, eax
jne 0x41ba5a
cmp esi, ebx
je 0x41b2a5
mov eax, str.EndChars
mov ecx, esi
call fcn.00476e80
cmp eax, ebx
je 0x41b9dc
mov ebx, 0x4a8ea0
call fcn.00409e00
test eax, eax
je 0x41b2a5
push 0x64
add eax, 2
push eax
push str._____:____.___n__t
call fcn.00493014
movzx ebx, word [0x4c6970]
add esp, 0xc
xor eax, eax
mov word [0x4c6a40], ax
mov ecx, str._____:____.___n__t
lea ebx, [ebx]
movzx eax, word [ecx]
test ax, ax
je 0x41b2a5
lea esp, [esp]
cmp ax, bx
je 0x41b950
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x41b930
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp word [ecx], 0
je 0x41b2a5
movzx eax, word [ecx + 2]
lea esi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x41b970.99
movzx edx, byte [eax + 0x41c368]
jmp dword [edx*4 + 0x41c344]
mov eax, 7
jmp 0x41b9af
mov edx, 8
mov word [esi], dx
jmp case.0x41b970.99
mov eax, 0xc
jmp 0x41b9af
mov edx, 0xa
mov word [esi], dx
jmp case.0x41b970.99
mov eax, 0xd
jmp 0x41b9af
mov edx, 9
mov word [esi], dx
jmp case.0x41b970.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 0x41b9b7
sub eax, edi
sar eax, 1
lea edx, [eax + eax + 2]
push edx
push esi
push ecx
call fcn.00490f20
add esp, 0xc
mov ecx, esi
jmp 0x41b920
push 7
push str.NoMouse
push esi
call fcn.0049065d
add esp, 0xc
test eax, eax
jne 0x41ba05
mov byte [0x4c696a], bl
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x4cacf2
push 0x4cacf1
push 0x4cacf0
push 0x4c6943
push 0x4ca66d
push 0x4ca66f
push 0x4c6942
push 0x4c6403
push 0x4ca66e
push 0x4c6974
push 0x4cacec
push 0x4cace8
mov eax, esi
call fcn.0040db50
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.00476b70
add esp, 8
test eax, eax
jne 0x41ba95
cmp esi, ebx
je 0x41b2a5
mov esi, dword [esp + 0x2c]
call fcn.0040f390
mov dword [0x4c6944], 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.00476b70
add esp, 8
test eax, eax
jne 0x41bae3
cmp esi, ebx
je 0x41b2a5
mov esi, dword [esp + 0x2c]
call fcn.0040f390
mov dword [0x4c6960], eax
cmp eax, 0xa
jge 0x41b2a5
mov dword [0x4c6960], 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.00476b70
add esp, 8
test eax, eax
jne 0x41bb31
cmp esi, ebx
je 0x41b2a5
mov esi, dword [esp + 0x2c]
call fcn.0040f390
mov dword [0x4c695c], eax
cmp eax, 1
jge 0x41b2a5
mov dword [0x4c695c], 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.00476b70
add esp, 8
test eax, eax
jne 0x41bb96
cmp esi, ebx
je 0x41b2a5
mov esi, dword [esp + 0x2c]
call fcn.0040f390
cmp eax, 0xff
jle 0x41bb78
mov eax, 0xff
mov byte [0x4c6402], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 1
jge 0x41bb82
mov eax, 1
mov byte [0x4c6402], 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.00476b70
add esp, 8
test eax, eax
jne 0x41bbe2
cmp esi, ebx
je 0x41bbcc
mov esi, dword [esp + 0x2c]
push ebx
call fcn.00409ef0
add esp, 4
mov byte [0x4ca64f], bl
cmp eax, 2
je 0x41b2a5
mov byte [0x4ca64f], 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.00476b70
add esp, 8
test eax, eax
jne 0x41bc47
cmp esi, ebx
je 0x41b2a5
mov esi, dword [esp + 0x2c]
call fcn.0040f390
cmp eax, 0xff
jle 0x41bc29
mov eax, 0xff
mov dword [0x4c6958], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 1
jge 0x41bc33
mov eax, 1
mov dword [0x4c6958], 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.00476b70
add esp, 8
test eax, eax
jne 0x41bc82
cmp esi, ebx
je 0x41b2a5
mov esi, dword [esp + 0x2c]
call fcn.0040f390
mov dword [0x4c6948], 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.00476b70
add esp, 8
test eax, eax
jne 0x41bcce
cmp esi, ebx
je 0x41bcb8
mov esi, dword [esp + 0x2c]
push ebx
call fcn.00409ef0
add esp, 4
mov byte [0x4cacf3], bl
cmp eax, 2
je 0x41b2a5
mov byte [0x4cacf3], 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.00476b70
add esp, 8
test eax, eax
jne 0x41bcfa
mov byte [0x4ca628], 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.00476b70
add esp, 8
test eax, eax
jne 0x41bd37
mov edi, dword [esp + 0x28]
mov eax, esi
mov byte [edi + 0xae7], 1
call fcn.00416dd0
mov dword [edi + 0xae8], eax
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.00476b70
add esp, 8
test eax, eax
jne 0x41bdc0
cmp esi, ebx
je 0x41b2a5
mov esi, dword [esp + 0x2c]
call fcn.00415450
fld qword [0x4c0f10]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x41bd7a
fstp st(0)
fld1
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x41bd7e
fstp st(1)
jmp 0x41bd80
fstp st(0)
fld qword [0x4c0e18]
fnstcw word [esp + 0x28]
movzx eax, word [esp + 0x28]
fmul st(1), st(0)
or eax, 0xc00
mov dword [esp + 0x2c], eax
fmulp st(1)
fldcw word [esp + 0x2c]
fistp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov dword [0x4c6954], eax
mov eax, 3
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.00476b70
add esp, 8
test eax, eax
jne 0x41be29
cmp esi, ebx
je 0x41b2a5
mov esi, dword [esp + 0x2c]
call fcn.0040f390
mov dword [0x4c6950], eax
cmp eax, ebx
jge 0x41be05
mov dword [0x4c6950], ebx
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 0x1f4
jle 0x41b2a5
mov dword [0x4c6950], 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.00476b70
add esp, 8
test eax, eax
jne 0x41bf13
cmp esi, ebx
je 0x41b2a5
cmp word [esi + 2], bx
jne 0x41becc
movzx eax, word [esi]
cmp eax, 0x23
je 0x41c1d1
cmp ax, word [0x4c696c]
je 0x41c1d1
cmp ax, word [0x4c6970]
je 0x41c1d1
cmp ax, word [0x4c6968]
je 0x41c1d1
cmp eax, 0x21
je 0x41c1d1
cmp eax, 0x5e
je 0x41c1d1
cmp eax, 0x2b
je 0x41c1d1
cmp eax, 0x24
je 0x41c1d1
cmp eax, 0x7e
je 0x41c1d1
cmp eax, 0x2a
je 0x41c1d1
cmp eax, 0x3c
je 0x41c1d1
cmp eax, 0x3e
je 0x41c1d1
push 0xf
push esi
push 0x4c6410
call fcn.00493014
add esp, 0xc
xor ecx, ecx
mov eax, 0x4c6410
mov word [0x4c642e], cx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41bef0
sub eax, edx
sar eax, 1
mov dword [0x4c6404], 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.00476b70
add esp, 8
test eax, eax
jne 0x41bf8b
cmp esi, ebx
je 0x41b2a5
movzx eax, word [esi]
cmp eax, 0x23
je 0x41c1d1
cmp ax, word [0x4c696c]
je 0x41c1d1
cmp ax, word [0x4c6968]
je 0x41c1d1
cmp eax, 0x2e
je 0x41c1d1
cmp dword [0x4c6404], 1
jne 0x41bf76
cmp ax, word [0x4c6410]
je 0x41c1d1
mov word [0x4c6970], 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.00476b70
add esp, 8
test eax, eax
jne 0x41bffa
cmp esi, ebx
je 0x41b2a5
movzx eax, word [esi]
cmp ax, word [0x4c6970]
je 0x41c1d1
cmp ax, word [0x4c6968]
je 0x41c1d1
cmp eax, 0x2e
je 0x41c1d1
cmp dword [0x4c6404], 1
jne 0x41bfe5
cmp ax, word [0x4c6410]
je 0x41c1d1
mov word [0x4c696c], ax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4a906c
mov ecx, ebp
call fcn.00476b70
add esp, 8
test eax, eax
jne 0x41c072
cmp esi, ebx
je 0x41b2a5
movzx eax, word [esi]
cmp eax, 0x23
je 0x41c1d1
cmp ax, word [0x4c6970]
je 0x41c1d1
cmp ax, word [0x4c696c]
je 0x41c1d1
cmp eax, 0x2e
je 0x41c1d1
cmp dword [0x4c6404], 1
jne 0x41c05d
cmp ax, word [0x4c6410]
je 0x41c1d1
mov word [0x4c6968], 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.00476b70
add esp, 8
test eax, eax
jne 0x41c0e5
cmp esi, ebx
je 0x41c0cb
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0x4c6401
xor ecx, ecx
mov edi, 0x4c6940
mov edx, esi
call fcn.004145e0
add esp, 4
test al, al
jne 0x41b2a5
mov ecx, dword [esp + 0x28]
mov eax, str.Parameter_1_invalid.
push ebp
push eax
call fcn.00430b90
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.00430b90
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.00476b70
add esp, 8
test eax, eax
jne 0x41c143
cmp esi, ebx
je 0x41c12d
mov esi, dword [esp + 0x2c]
call fcn.0040f390
cmp eax, ebx
jl 0x41c1d1
cmp eax, 0x64
jg 0x41c1d1
mov byte [0x4ca66c], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
xor eax, eax
mov byte [0x4ca66c], 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.00476b70
add esp, 8
test eax, eax
jne 0x41c2a6
cmp esi, ebx
jne 0x41c169
mov dword [esp + 0x2c], 0x4a3910
movzx edx, word [0x4c6968]
mov ebx, dword [esp + 0x2c]
push edx
push ebx
call fcn.00491281
mov edi, eax
add esp, 8
mov esi, 0x4a3910
test edi, edi
je 0x41c1a3
lea eax, [edi + 2]
call fcn.00409e50
mov esi, eax
lea eax, [edi - 2]
mov edx, ebx
call fcn.00409e70
xor ecx, ecx
mov word [eax + 2], cx
mov edx, dword [esp + 0x2c]
cmp word [edx], 0
mov ebx, 6
je 0x41c1ec
xor edi, edi
mov ebx, edx
mov eax, dword [edi*4 + 0x4a90f0]
push eax
push ebx
call fcn.00490459
add esp, 8
test eax, eax
je 0x41c1ea
inc edi
cmp edi, 7
jne 0x41c1b6
mov ecx, dword [esp + 0x28]
push ebp
push str.Parameter_1_invalid.
call fcn.00430b90
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov ebx, edi
cmp word [esi], 0
mov edi, 2
je 0x41c234
xor edi, edi
lea esp, [esp]
mov ecx, dword [edi*4 + 0x4a910c]
push ecx
push esi
call fcn.00490459
add esp, 8
test eax, eax
je 0x41c234
inc edi
cmp edi, 4
jne 0x41c200
mov ecx, dword [esp + 0x28]
push esi
push str.Parameter_2_invalid.
call fcn.00430b90
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
test ebx, ebx
je 0x41c23d
cmp ebx, 6
jne 0x41c243
mov dword [0x4ca62c], edi
cmp ebx, 1
je 0x41c24d
cmp ebx, 6
jne 0x41c253
mov dword [0x4ca630], edi
cmp ebx, 3
je 0x41c25d
cmp ebx, 6
jne 0x41c263
mov dword [0x4ca634], edi
cmp ebx, 2
je 0x41c26d
cmp ebx, 6
jne 0x41c273
mov dword [0x4ca638], edi
cmp ebx, 4
je 0x41c27d
cmp ebx, 6
jne 0x41c283
mov dword [0x4ca63c], edi
cmp ebx, 5
je 0x41c291
cmp ebx, 6
jne 0x41b2a5
mov dword [0x4ca640], edi
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4a911c
mov ecx, ebp
call fcn.00476b70
add esp, 8
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebp
add eax, 3
pop ebx
add esp, 0x14
ret 8