Function at 0x418dd0
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov si, word [0x4c48d0]
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.004096c0
test eax, eax
jne 0x418e25
mov eax, ebp
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418e10
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2]
jmp 0x418e6e
mov edx, eax
movzx ecx, word [edx]
cmp ecx, 0x20
je 0x418e34
cmp ecx, 9
jne 0x418e39
add edx, 2
jmp 0x418e27
movzx ecx, word [edx]
test cx, cx
je 0x418e6e
cmp cx, si
je 0x418e4a
mov esi, edx
jmp 0x418e70
lea ecx, [edx + 2]
lea ecx, [ecx]
movzx edx, word [ecx]
cmp edx, 0x20
je 0x418e5d
cmp edx, 9
jne 0x418e62
add ecx, 2
jmp 0x418e50
cmp word [ecx], 0
mov esi, ecx
mov dword [esp + 0x2c], esi
jne 0x418e74
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.00474230
add esp, 8
test eax, eax
je 0x418ec6
push 0xffffffffffffffff
push edi
mov eax, str.IncludeAgain
mov ecx, ebp
call fcn.00474230
add esp, 8
test eax, eax
je 0x418ec6
push 0xffffffffffffffff
push edi
mov eax, str.NoEnv
mov ecx, ebp
call fcn.00474230
add esp, 8
test eax, eax
jne 0x418ed5
mov dword [0x4c860c], 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.00474230
add esp, 8
test eax, eax
jne 0x418f01
mov byte [0x4c85f9], 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.00474230
add esp, 8
test eax, eax
jne 0x418f2d
mov byte [0x4c85f8], 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.00474230
add esp, 8
test eax, eax
jne 0x418fde
mov dword [0x4c85f4], 1
test esi, esi
je 0x418ec6
push str.Force
push esi
call fcn.0048d609
add esp, 8
test eax, eax
jne 0x418f84
mov dword [0x4c85f4], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push str.Ignore
push esi
call fcn.0048d609
add esp, 8
test eax, eax
jne 0x418faf
mov dword [0x4c85f4], 3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x4a41ac
push esi
call fcn.0048d609
add esp, 8
test eax, eax
jne 0x418ec6
mov dword [0x4c85f4], 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.00474230
add esp, 8
test eax, eax
jne 0x41900a
or byte [0x4c8eb6], 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.00474230
add esp, 8
test eax, eax
jne 0x419036
or byte [0x4c8eb6], 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.00474230
add esp, 8
test eax, eax
jne 0x419083
test esi, esi
je 0x41906d
mov esi, dword [esp + 0x2c]
push eax
call fcn.004145c0
add esp, 4
mov byte [0x4c8ca2], 0
cmp eax, 2
je 0x418ec6
mov byte [0x4c8ca2], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4a2570
mov ecx, ebp
call fcn.00474230
add esp, 8
test eax, eax
jne 0x41914e
xor ebp, ebp
cmp esi, ebp
jne 0x4190b6
mov dword [0x4c861c], ebp
lea eax, [ebp + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov edi, esi
call fcn.00409dc0
mov dword [0x4c861c], eax
cmp eax, ebp
jne 0x418ec6
mov eax, dword [0x4c49ac]
mov ebx, dword [eax + 0xb4]
mov edi, dword [esp + 0x28]
push ebp
push ebp
push ebp
push 0x4a1840
push ebp
push 0xe1
mov dword [eax + 0xb4], ebp
push esi
mov ecx, edi
mov byte [edi + 0x45], 1
call fcn.0041a5c0
test eax, eax
jne 0x419109
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov eax, dword [0x4c49ac]
mov byte [edi + 0x45], 0
mov dword [eax + 0xb4], ebx
mov edi, dword [edi + 4]
call fcn.00409d40
mov dword [0x4c861c], eax
cmp eax, ebp
je 0x4190fd
mov byte [eax], 5
mov dword [eax + 0xc], edi
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov dword [eax + 8], 0x4a1840
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.00474230
add esp, 8
test eax, eax
jne 0x419189
test esi, esi
je 0x418ec6
mov esi, dword [esp + 0x2c]
call fcn.004131b0
mov dword [0x4c48cc], 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.0048de57
add esp, 0xc
test eax, eax
jne 0x4194cb
push 3
lea eax, [ebp + 0xc]
push 0x4a4344
push eax
call fcn.0048de57
add esp, 0xc
test eax, eax
sete bl
movzx ecx, bl
neg ecx
sbb ecx, ecx
and ecx, 3
push 6
lea edi, [ebp + ecx*2 + 0xc]
push str.Active
push edi
call fcn.0048de57
add esp, 0xc
test eax, eax
jne 0x4191e8
test bl, bl
setne dl
inc dl
mov byte [esp + 0x18], dl
jmp 0x41920b
push 5
push str.Exist
push edi
call fcn.0048de57
add esp, 0xc
test eax, eax
jne 0x4194bc
test bl, bl
setne al
add al, 3
mov byte [esp + 0x18], al
xor edi, edi
cmp esi, edi
jne 0x419224
mov dword [0x4c861c], edi
lea eax, [edi + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov dx, word [0x4c48d0]
mov bx, word [0x4c48d8]
mov ecx, esi
mov si, word [0x4c48d4]
jmp 0x419240
movzx eax, word [ecx]
test ax, ax
je 0x419277
jmp 0x419250
cmp ax, bx
je 0x41932d
cmp ax, dx
je 0x41932d
cmp ax, si
je 0x41932d
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x419250
test edi, edi
je 0x419415
lea eax, [edi + 2]
call fcn.00409710
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, edi
sub eax, ebp
xor ecx, ecx
sar eax, 1
mov esi, ebp
mov word [edi], cx
call fcn.00413150
mov ecx, dword [esp + 0x14]
movzx esi, bx
movzx eax, word [ecx]
test ax, ax
je 0x4192c5
cmp ax, si
je 0x41937f
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4192b0
mov bx, word [0x4c48d8]
movzx esi, bx
mov ecx, ebp
movzx eax, word [ecx]
test ax, ax
je 0x4192f5
lea esp, [esp]
cmp ax, si
je 0x419426
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4192e0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push ebp
push edx
call fcn.00409ae0
add esp, 0xc
test eax, eax
jne 0x418ec6
mov ecx, dword [esp + 0x28]
push 0x4a1840
push str.Out_of_memory.
call fcn.0042e460
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
movzx eax, word [ecx]
test ax, ax
je 0x419277
cmp ax, si
je 0x419366
cmp ax, dx
jne 0x419351
test edi, edi
jne 0x419366
mov edi, ecx
add ecx, 2
jmp 0x419240
add ecx, 2
cmp word [ecx], 0
je 0x419277
add ecx, 2
jmp 0x419240
mov ecx, dword [esp + 0x28]
push ebp
push str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
call fcn.0042e460
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp word [ecx], 0
je 0x4192c5
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x41939f.99
movzx edx, byte [eax + 0x419f34]
jmp dword [edx*4 + 0x419f10]
mov eax, 7
mov word [edi], ax
jmp case.0x41939f.99
mov edx, 8
jmp 0x4193e8
mov eax, 0xc
mov word [edi], ax
jmp case.0x41939f.99
mov edx, 0xa
jmp 0x4193e8
mov eax, 0xd
mov word [edi], ax
jmp case.0x41939f.99
mov edx, 9
jmp 0x4193e8
mov eax, 0xb
mov word [edi], ax
jmp case.0x41939f.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 0x4193f0
sub eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.0048e080
add esp, 0xc
mov ecx, edi
jmp 0x4192a8
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x14], 0x4a1840
jmp 0x4192cc
cmp word [ecx], 0
je 0x4192f5
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x419446.99
movzx edx, byte [eax + 0x419f70]
jmp dword [edx*4 + 0x419f4c]
mov eax, 7
mov word [edi], ax
jmp case.0x419446.99
mov edx, 8
jmp 0x41948f
mov eax, 0xc
mov word [edi], ax
jmp case.0x419446.99
mov edx, 0xa
jmp 0x41948f
mov eax, 0xd
mov word [edi], ax
jmp case.0x419446.99
mov edx, 9
jmp 0x41948f
mov eax, 0xb
mov word [edi], ax
jmp case.0x419446.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 0x419497
sub eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.0048e080
add esp, 0xc
mov ecx, edi
jmp 0x4192d1
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.Hotstring
mov ecx, ebp
call fcn.00474230
add esp, 8
test eax, eax
jne 0x419674
test esi, esi
je 0x418ec6
mov eax, str.EndChars
mov ecx, esi
call fcn.00474540
test eax, eax
je 0x4195fc
mov ebx, 0x4a68e4
call fcn.004096c0
test eax, eax
je 0x418ec6
push 0x64
add eax, 2
push eax
push str._____:____.___n__t
call fcn.00490304
movzx ebx, word [0x4c48d8]
add esp, 0xc
xor eax, eax
mov word [0x4c49a8], ax
mov ecx, str._____:____.___n__t
lea ebx, [ebx]
movzx eax, word [ecx]
test ax, ax
je 0x418ec6
lea esp, [esp]
cmp ax, bx
je 0x419570
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x419550
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp word [ecx], 0
je 0x418ec6
movzx eax, word [ecx + 2]
lea esi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x419590.99
movzx edx, byte [eax + 0x419fac]
jmp dword [edx*4 + 0x419f88]
mov eax, 7
jmp 0x4195cf
mov edx, 8
mov word [esi], dx
jmp case.0x419590.99
mov eax, 0xc
jmp 0x4195cf
mov edx, 0xa
mov word [esi], dx
jmp case.0x419590.99
mov eax, 0xd
jmp 0x4195cf
mov edx, 9
mov word [esi], dx
jmp case.0x419590.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 0x4195d7
sub eax, edi
sar eax, 1
lea edx, [eax + eax + 2]
push edx
push esi
push ecx
call fcn.0048e080
add esp, 0xc
mov ecx, esi
jmp 0x419540
push 7
push str.NoMouse
push esi
call fcn.0048de57
add esp, 0xc
test eax, eax
jne 0x419624
mov byte [0x4c48d6], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x4c8ca0
push 0x4c8c9f
push 0x4c48d3
push 0x4c8c9e
push 0x4c8c9d
push 0x4c48d2
push 0x4c4387
push 0x4c8c9c
push 0x4c48dc
push 0x4c8c98
push 0x4c8c44
mov eax, esi
call fcn.0040d120
add esp, 0x2c
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.00474230
add esp, 8
test eax, eax
jne 0x4196af
test esi, esi
je 0x418ec6
mov esi, dword [esp + 0x2c]
call fcn.0040d380
mov dword [0x4c48ac], 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.00474230
add esp, 8
test eax, eax
jne 0x4196fd
test esi, esi
je 0x418ec6
mov esi, dword [esp + 0x2c]
call fcn.0040d380
mov dword [0x4c48c8], eax
cmp eax, 0xa
jge 0x418ec6
mov dword [0x4c48c8], 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.00474230
add esp, 8
test eax, eax
jne 0x41974b
test esi, esi
je 0x418ec6
mov esi, dword [esp + 0x2c]
call fcn.0040d380
mov dword [0x4c48c4], eax
cmp eax, 1
jge 0x418ec6
mov dword [0x4c48c4], 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.00474230
add esp, 8
test eax, eax
jne 0x4197b0
test esi, esi
je 0x418ec6
mov esi, dword [esp + 0x2c]
call fcn.0040d380
cmp eax, 0xff
jle 0x419792
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 0x41979c
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.00474230
add esp, 8
test eax, eax
jne 0x4197fd
test esi, esi
je 0x4197e7
mov esi, dword [esp + 0x2c]
push eax
call fcn.004145c0
add esp, 4
mov byte [0x4c8602], 0
cmp eax, 2
je 0x418ec6
mov byte [0x4c8602], 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.00474230
add esp, 8
test eax, eax
jne 0x419862
test esi, esi
je 0x418ec6
mov esi, dword [esp + 0x2c]
call fcn.0040d380
cmp eax, 0xff
jle 0x419844
mov eax, 0xff
mov dword [0x4c48c0], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 1
jge 0x41984e
mov eax, 1
mov dword [0x4c48c0], 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.00474230
add esp, 8
test eax, eax
jne 0x41989d
test esi, esi
je 0x418ec6
mov esi, dword [esp + 0x2c]
call fcn.0040d380
mov dword [0x4c48b0], 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.00474230
add esp, 8
test eax, eax
jne 0x4198ea
test esi, esi
je 0x4198d4
mov esi, dword [esp + 0x2c]
push eax
call fcn.004145c0
add esp, 4
mov byte [0x4c8ca1], 0
cmp eax, 2
je 0x418ec6
mov byte [0x4c8ca1], 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.00474230
add esp, 8
test eax, eax
jne 0x419916
mov byte [0x4c85ca], 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.00474230
add esp, 8
test eax, eax
jne 0x419946
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.00474230
add esp, 8
test eax, eax
jne 0x4199d0
test esi, esi
je 0x418ec6
mov esi, dword [esp + 0x2c]
call fcn.004131e0
fld qword [0x4be7f8]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x419989
fstp st(0)
fld1
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x41998d
fstp st(1)
jmp 0x41998f
fstp st(0)
fld qword [0x4be700]
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 [0x4c48bc], 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.00474230
add esp, 8
test eax, eax
jne 0x419a3d
test esi, esi
je 0x418ec6
mov esi, dword [esp + 0x2c]
call fcn.0040d380
mov dword [0x4c48b8], eax
test eax, eax
jns 0x419a19
mov dword [0x4c48b8], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 0x1f4
jle 0x418ec6
mov dword [0x4c48b8], 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.00474230
add esp, 8
test eax, eax
jne 0x419b13
test esi, esi
je 0x418ec6
cmp word [esi + 2], ax
jne 0x419ac9
movzx eax, word [esi]
cmp eax, 0x23
je 0x419ab0
cmp ax, word [0x4c48d4]
je 0x419ab0
cmp ax, word [0x4c48d8]
je 0x419ab0
cmp ax, word [0x4c48d0]
je 0x419ab0
cmp eax, 0x21
je 0x419ab0
cmp eax, 0x5e
je 0x419ab0
cmp eax, 0x2b
je 0x419ab0
cmp eax, 0x24
je 0x419ab0
cmp eax, 0x7e
je 0x419ab0
cmp eax, 0x2a
je 0x419ab0
cmp eax, 0x3c
je 0x419ab0
cmp eax, 0x3e
jne 0x419ac9
mov ecx, dword [esp + 0x28]
push ebp
push str.Parameter_1_invalid.
call fcn.0042e460
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xf
push esi
push 0x4c43a0
call fcn.00490304
add esp, 0xc
xor edx, edx
mov eax, 0x4c43a0
mov word [0x4c43be], dx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419af0
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.00474230
add esp, 8
test eax, eax
jne 0x419b8b
test esi, esi
je 0x418ec6
movzx eax, word [esi]
cmp eax, 0x23
je 0x419ab0
cmp ax, word [0x4c48d4]
je 0x419ab0
cmp ax, word [0x4c48d0]
je 0x419ab0
cmp eax, 0x2e
je 0x419ab0
cmp dword [0x4c43c0], 1
jne 0x419b76
cmp ax, word [0x4c43a0]
je 0x419ab0
mov word [0x4c48d8], 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.00474230
add esp, 8
test eax, eax
jne 0x419bfa
test esi, esi
je 0x418ec6
movzx eax, word [esi]
cmp ax, word [0x4c48d8]
je 0x419ab0
cmp ax, word [0x4c48d0]
je 0x419ab0
cmp eax, 0x2e
je 0x419ab0
cmp dword [0x4c43c0], 1
jne 0x419be5
cmp ax, word [0x4c43a0]
je 0x419ab0
mov word [0x4c48d4], ax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4a6adc
mov ecx, ebp
call fcn.00474230
add esp, 8
test eax, eax
jne 0x419c72
test esi, esi
je 0x418ec6
movzx eax, word [esi]
cmp eax, 0x23
je 0x419ab0
cmp ax, word [0x4c48d8]
je 0x419ab0
cmp ax, word [0x4c48d4]
je 0x419ab0
cmp eax, 0x2e
je 0x419ab0
cmp dword [0x4c43c0], 1
jne 0x419c5d
cmp ax, word [0x4c43a0]
je 0x419ab0
mov word [0x4c48d0], 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.00474230
add esp, 8
test eax, eax
jne 0x419ce6
test esi, esi
je 0x419ccc
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 1
mov ecx, eax
push 1
xor edx, edx
mov eax, esi
call fcn.004123b0
add esp, 8
mov byte [0x4c4385], al
test al, al
jne 0x418ec6
mov ecx, dword [esp + 0x28]
mov eax, str.Parameter_1_invalid.
push ebp
push eax
call fcn.0042e460
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.0042e460
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.00474230
add esp, 8
test eax, eax
jne 0x419d44
test esi, esi
je 0x419d2e
mov esi, dword [esp + 0x2c]
call fcn.0040d380
test eax, eax
js 0x419ab0
cmp eax, 0x64
jg 0x419ab0
mov byte [0x4c8603], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
xor eax, eax
mov byte [0x4c8603], 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.00474230
add esp, 8
test eax, eax
jne 0x4194bc
test esi, esi
jne 0x419d6a
mov dword [esp + 0x2c], 0x4a6b60
movzx eax, word [0x4c48d0]
mov ebx, dword [esp + 0x2c]
push eax
push ebx
call fcn.0048e3e1
mov esi, eax
add esp, 8
or edi, 0xffffffff
mov dword [esp + 0x2c], 0x4a1840
test esi, esi
je 0x419dad
lea eax, [esi + 2]
call fcn.00409710
mov dword [esp + 0x2c], eax
lea eax, [esi - 2]
mov edx, ebx
call fcn.00409730
mov edi, eax
sub edi, ebx
sar edi, 1
inc edi
push 0xffffffffffffffff
push edi
mov eax, 0x4a6b60
mov ecx, ebx
call fcn.00474230
add esp, 8
test eax, eax
je 0x419e36
test edi, edi
je 0x419e36
push 0xffffffffffffffff
push edi
mov eax, str.UseUnsetLocal
mov ecx, ebx
call fcn.00474230
add esp, 8
test eax, eax
jne 0x419de1
xor esi, esi
jmp 0x419e3b
push 0xffffffffffffffff
push edi
mov eax, str.UseUnsetGlobal
mov ecx, ebx
call fcn.00474230
add esp, 8
test eax, eax
jne 0x419dfc
lea esi, [eax + 1]
jmp 0x419e3b
push 0xffffffffffffffff
push edi
mov eax, str.UseEnv
mov ecx, ebx
call fcn.00474230
add esp, 8
test eax, eax
jne 0x419e17
lea esi, [eax + 3]
jmp 0x419e3b
push 0xffffffffffffffff
push edi
mov eax, str.LocalSameAsGlobal
mov ecx, ebx
call fcn.00474230
add esp, 8
test eax, eax
jne 0x419ab0
lea esi, [eax + 2]
jmp 0x419e3b
mov esi, 4
mov edi, dword [esp + 0x2c]
cmp word [edi], 0
jne 0x419e4c
mov eax, 2
jmp 0x419ea9
push str.MsgBox
push edi
call fcn.0048d609
add esp, 8
test eax, eax
jne 0x419e65
mov eax, 2
jmp 0x419ea9
push str.OutputDebug
push edi
call fcn.0048d609
add esp, 8
test eax, eax
jne 0x419e7e
mov eax, 1
jmp 0x419ea9
push str.StdOut
push edi
call fcn.0048d609
add esp, 8
test eax, eax
jne 0x419e97
mov eax, 3
jmp 0x419ea9
push 0x4a41ac
push edi
call fcn.0048d609
add esp, 8
test eax, eax
jne 0x419ef7
test esi, esi
je 0x419eb2
cmp esi, 4
jne 0x419eb7
mov dword [0x4c85e4], eax
cmp esi, 1
je 0x419ec1
cmp esi, 4
jne 0x419ec6
mov dword [0x4c85e8], eax
cmp esi, 3
je 0x419ed0
cmp esi, 4
jne 0x419ed5
mov dword [0x4c85ec], eax
cmp esi, 2
je 0x419ee3
cmp esi, 4
jne 0x418ec6
mov dword [0x4c85f0], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov ecx, dword [esp + 0x28]
push ebp
push str.Parameter_2_invalid.
call fcn.0042e460
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8