Function at 0x418d00
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov si, word [0x4c28dc]
xor edx, edx
push edi
lea ebx, [esp + 0x10]
mov eax, ebp
mov dword [esp + 0x10], 0x90020
mov word [esp + 0x14], si
mov word [esp + 0x16], dx
call fcn.004095d0
test eax, eax
jne 0x418d55
mov eax, ebp
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418d40
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2]
jmp 0x418d9e
mov edx, eax
movzx ecx, word [edx]
cmp ecx, 0x20
je 0x418d64
cmp ecx, 9
jne 0x418d69
add edx, 2
jmp 0x418d57
movzx ecx, word [edx]
test cx, cx
je 0x418d9e
cmp cx, si
je 0x418d7a
mov esi, edx
jmp 0x418da0
lea ecx, [edx + 2]
lea ecx, [ecx]
movzx edx, word [ecx]
cmp edx, 0x20
je 0x418d8d
cmp edx, 9
jne 0x418d92
add ecx, 2
jmp 0x418d80
cmp word [ecx], 0
mov esi, ecx
mov dword [esp + 0x24], esi
jne 0x418da4
xor esi, esi
mov dword [esp + 0x24], esi
sub eax, ebp
sar eax, 1
mov edi, eax
push 0xffffffffffffffff
push edi
mov eax, str.Include
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
je 0x418df6
push 0xffffffffffffffff
push edi
mov eax, str.IncludeAgain
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
je 0x418df6
push 0xffffffffffffffff
push edi
mov eax, str.NoEnv
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x418e05
mov dword [0x4c661c], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.NoTrayIcon
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x418e31
mov byte [0x4c6609], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.Persistent
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x418e5d
mov byte [0x4c6608], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.SingleInstance
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x418f0e
mov dword [0x4c6604], 1
test esi, esi
je 0x418df6
push str.Force
push esi
call fcn.0048cd49
add esp, 8
test eax, eax
jne 0x418eb4
mov dword [0x4c6604], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push str.Ignore
push esi
call fcn.0048cd49
add esp, 8
test eax, eax
jne 0x418edf
mov dword [0x4c6604], 3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0x4a3164
push esi
call fcn.0048cd49
add esp, 8
test eax, eax
jne 0x418df6
mov dword [0x4c6604], 4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.InstallKeybdHook
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x418f3a
or byte [0x4c6ec7], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.InstallMouseHook
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x418f66
or byte [0x4c6ec7], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.UseHook
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x418fb3
test esi, esi
je 0x418f9d
mov esi, dword [esp + 0x24]
push eax
call fcn.004144a0
add esp, 4
mov byte [0x4c6cb3], 0
cmp eax, 2
je 0x418df6
mov byte [0x4c6cb3], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4a1524
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x4190e9
test esi, esi
jne 0x418ffe
mov eax, 0x4ab02c
mov dword [0x4c28cc], eax
mov dword [0x4c28d0], eax
mov byte [0x4c662c], 0
mov dword [0x4c28d4], 0xffffffff
lea eax, [esi + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov eax, dword [0x4c28ec]
mov edi, dword [eax + 0xb4]
mov ecx, dword [esp + 0x20]
push 0
push 0
push 0
push 0x4ab02c
push 0
push 0xe1
mov dword [eax + 0xb4], 0
push esi
mov byte [ecx + 0x45], 1
call fcn.0041a550
test eax, eax
jne 0x419041
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov ebp, dword [esp + 0x20]
mov eax, dword [0x4c28ec]
mov ebx, dword [0x4c663c]
mov byte [ebp + 0x45], 0
mov dword [eax + 0xb4], edi
mov esi, dword [ebp + 4]
mov ecx, dword [esi + 8]
mov eax, dword [0x4c6640]
mov edx, dword [ecx + 4]
lea edi, [ebx + 1]
mov byte [0x4c662c], 5
mov dword [0x4c28cc], edx
mov dword [0x4c28d0], 0x4ab02c
cmp edi, eax
jle 0x4190c6
mov ecx, dword [0x4c6638]
add eax, 0x64
mov dword [0x4c6640], eax
add eax, eax
add eax, eax
push eax
push ecx
call fcn.0048e007
add esp, 8
mov dword [0x4c6638], eax
test eax, eax
jne 0x4190cb
push 0x4ab02c
push str.Out_of_memory.
mov ecx, ebp
call fcn.0042e1d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov eax, dword [0x4c6638]
mov dword [eax + ebx*4], esi
mov dword [0x4c28d4], ebx
mov dword [0x4c663c], edi
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.IfTimeout
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x419124
test esi, esi
je 0x418df6
mov esi, dword [esp + 0x24]
call fcn.004130a0
mov dword [0x4c28d8], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 6
push str.IfWin
push ebp
call fcn.0048d597
add esp, 0xc
test eax, eax
jne 0x41947b
push 3
lea edx, [ebp + 0xc]
push 0x4a32fc
push edx
call fcn.0048d597
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.0048d597
add esp, 0xc
test eax, eax
jne 0x419185
test bl, bl
setne cl
inc cl
mov byte [0x4c662c], cl
jmp 0x4191ab
push 5
push str.Exist
push edi
call fcn.0048d597
add esp, 0xc
test eax, eax
jne 0x41946c
test bl, bl
setne dl
add dl, 3
mov byte [0x4c662c], dl
mov dword [0x4c28d4], 0xffffffff
test esi, esi
jne 0x4191dc
mov eax, 0x4ab02c
mov dword [0x4c28cc], eax
mov dword [0x4c28d0], eax
mov byte [0x4c662c], 0
lea eax, [esi + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov dx, word [0x4c28dc]
mov bx, word [0x4c28e4]
mov ecx, esi
mov si, word [0x4c28e0]
xor edi, edi
movzx eax, word [ecx]
test ax, ax
je 0x419227
lea ecx, [ecx]
cmp ax, bx
je 0x4192d8
cmp ax, dx
je 0x4192d8
cmp ax, si
je 0x4192d8
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x419200
test edi, edi
je 0x4193c5
lea eax, [edi + 2]
call fcn.00409620
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x10], eax
xor eax, eax
mov word [edi], ax
mov eax, edi
sub eax, ebp
sar eax, 1
mov esi, ebp
call fcn.00412fd0
mov ecx, dword [esp + 0x10]
movzx esi, bx
movzx eax, word [ecx]
test ax, ax
je 0x419275
cmp ax, si
je 0x41932a
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x419260
mov bx, word [0x4c28e4]
movzx esi, bx
mov ecx, ebp
movzx eax, word [ecx]
test ax, ax
je 0x4192a5
lea esp, [esp]
cmp ax, si
je 0x4193d6
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x419290
mov ecx, dword [esp + 0x10]
push ecx
push ebp
call fcn.004099f0
add esp, 8
test eax, eax
jne 0x418df6
mov ecx, dword [esp + 0x20]
push 0x4ab02c
push str.Out_of_memory.
call fcn.0042e1d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
movzx eax, word [ecx]
test ax, ax
je 0x419227
cmp ax, si
je 0x419311
cmp ax, dx
jne 0x4192fc
test edi, edi
jne 0x419311
mov edi, ecx
add ecx, 2
jmp 0x4191f5
add ecx, 2
cmp word [ecx], 0
je 0x419227
add ecx, 2
jmp 0x4191f5
mov ecx, dword [esp + 0x20]
push ebp
push str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
call fcn.0042e1d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp word [ecx], 0
je 0x419275
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x41934a.99
movzx edx, byte [eax + 0x419ee4]
jmp dword [edx*4 + 0x419ec0]
mov eax, 7
mov word [edi], ax
jmp case.0x41934a.99
mov edx, 8
jmp 0x419393
mov eax, 0xc
mov word [edi], ax
jmp case.0x41934a.99
mov edx, 0xa
jmp 0x419393
mov eax, 0xd
mov word [edi], ax
jmp case.0x41934a.99
mov edx, 9
jmp 0x419393
mov eax, 0xb
mov word [edi], ax
jmp case.0x41934a.99
mov edx, 0x20
mov word [edi], dx
mov eax, edi
lea ebx, [eax + 2]
jmp 0x4193a0
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4193a0
sub eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.0048d7c0
add esp, 0xc
mov ecx, edi
jmp 0x419258
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x10], 0x4ab02c
jmp 0x41927c
cmp word [ecx], 0
je 0x4192a5
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x4193f6.99
movzx edx, byte [eax + 0x419f20]
jmp dword [edx*4 + 0x419efc]
mov eax, 7
mov word [edi], ax
jmp case.0x4193f6.99
mov edx, 8
jmp 0x41943f
mov eax, 0xc
mov word [edi], ax
jmp case.0x4193f6.99
mov edx, 0xa
jmp 0x41943f
mov eax, 0xd
mov word [edi], ax
jmp case.0x4193f6.99
mov edx, 9
jmp 0x41943f
mov eax, 0xb
mov word [edi], ax
jmp case.0x4193f6.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 0x419447
sub eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.0048d7c0
add esp, 0xc
mov ecx, edi
jmp 0x419281
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.Hotstring
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x419624
test esi, esi
je 0x418df6
mov eax, str.EndChars
mov ecx, esi
call fcn.00473c80
test eax, eax
je 0x4195ac
mov ebx, 0x4a5734
call fcn.004095d0
test eax, eax
je 0x418df6
push 0x64
add eax, 2
push eax
push 0x4c28f0
call fcn.0048fa44
movzx ebx, word [0x4c28e4]
add esp, 0xc
xor edx, edx
mov word [0x4c29b8], dx
mov ecx, 0x4c28f0
jmp 0x4194f0
movzx eax, word [ecx]
test ax, ax
je 0x418df6
lea esp, [esp]
cmp ax, bx
je 0x419520
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x419500
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp word [ecx], 0
je 0x418df6
movzx eax, word [ecx + 2]
lea esi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x419540.99
movzx eax, byte [eax + 0x419f5c]
jmp dword [eax*4 + 0x419f38]
mov edx, 7
jmp 0x41957f
mov eax, 8
mov word [esi], ax
jmp case.0x419540.99
mov edx, 0xc
jmp 0x41957f
mov eax, 0xa
mov word [esi], ax
jmp case.0x419540.99
mov edx, 0xd
jmp 0x41957f
mov eax, 9
mov word [esi], ax
jmp case.0x419540.99
mov edx, 0xb
mov word [esi], dx
mov eax, esi
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x419587
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push ecx
call fcn.0048d7c0
add esp, 0xc
mov ecx, esi
jmp 0x4194f0
push 7
push str.NoMouse
push esi
call fcn.0048d597
add esp, 0xc
test eax, eax
jne 0x4195d4
mov byte [0x4c28e2], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0x4c6cb1
push 0x4c6cb0
push 0x4c28df
push 0x4c662f
push 0x4c662e
push 0x4c28de
push 0x4c2387
push 0x4c662d
push 0x4c28e8
push 0x4c6cac
push 0x4c6ca8
mov eax, esi
call fcn.0040d000
add esp, 0x2c
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.HotkeyModifierTimeout
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x41965f
test esi, esi
je 0x418df6
mov esi, dword [esp + 0x24]
call fcn.0040d260
mov dword [0x4c28ac], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.HotkeyInterval
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x4196ad
test esi, esi
je 0x418df6
mov esi, dword [esp + 0x24]
call fcn.0040d260
mov dword [0x4c28c8], eax
cmp eax, 0xa
jge 0x418df6
mov dword [0x4c28c8], 0xa
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxHotkeysPerInterval
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x4196fb
test esi, esi
je 0x418df6
mov esi, dword [esp + 0x24]
call fcn.0040d260
mov dword [0x4c28c4], eax
cmp eax, 1
jge 0x418df6
mov dword [0x4c28c4], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxThreadsPerHotkey
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x419760
test esi, esi
je 0x418df6
mov esi, dword [esp + 0x24]
call fcn.0040d260
cmp eax, 0xff
jle 0x419742
mov eax, 0xff
mov byte [0x4c2386], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp eax, 1
jge 0x41974c
mov eax, 1
mov byte [0x4c2386], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxThreadsBuffer
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x4197ad
test esi, esi
je 0x419797
mov esi, dword [esp + 0x24]
push eax
call fcn.004144a0
add esp, 4
mov byte [0x4c6612], 0
cmp eax, 2
je 0x418df6
mov byte [0x4c6612], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxThreads
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x419812
test esi, esi
je 0x418df6
mov esi, dword [esp + 0x24]
call fcn.0040d260
cmp eax, 0xff
jle 0x4197f4
mov eax, 0xff
mov dword [0x4c28c0], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp eax, 1
jge 0x4197fe
mov eax, 1
mov dword [0x4c28c0], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.ClipboardTimeout
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x41984d
test esi, esi
je 0x418df6
mov esi, dword [esp + 0x24]
call fcn.0040d260
mov dword [0x4c28b0], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.LTrim
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x41989a
test esi, esi
je 0x419884
mov esi, dword [esp + 0x24]
push eax
call fcn.004144a0
add esp, 4
mov byte [0x4c6cb2], 0
cmp eax, 2
je 0x418df6
mov byte [0x4c6cb2], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.WinActivateForce
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x4198c6
mov byte [0x4c65da], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.ErrorStdOut
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x4198f6
mov ecx, dword [esp + 0x20]
mov byte [ecx + 0xacf], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxMem
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x419980
test esi, esi
je 0x418df6
mov esi, dword [esp + 0x24]
call fcn.004130d0
fld qword [0x4bd558]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x419939
fstp st(0)
fld1
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x41993d
fstp st(1)
jmp 0x41993f
fstp st(0)
fld qword [0x4bd460]
fnstcw word [esp + 0x20]
movzx eax, word [esp + 0x20]
fmul st(1), st(0)
or eax, 0xc00
mov dword [esp + 0x24], eax
mov eax, 3
fmulp st(1)
fldcw word [esp + 0x24]
fistp qword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov dword [0x4c28bc], edx
fldcw word [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.KeyHistory
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x4199ed
test esi, esi
je 0x418df6
mov esi, dword [esp + 0x24]
call fcn.0040d260
mov dword [0x4c28b8], eax
test eax, eax
jns 0x4199c9
mov dword [0x4c28b8], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp eax, 0x1f4
jle 0x418df6
mov dword [0x4c28b8], 0x1f4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.CommentFlag
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x419ac3
test esi, esi
je 0x418df6
cmp word [esi + 2], ax
jne 0x419a79
movzx eax, word [esi]
cmp eax, 0x23
je 0x419a60
cmp ax, word [0x4c28e0]
je 0x419a60
cmp ax, word [0x4c28e4]
je 0x419a60
cmp ax, word [0x4c28dc]
je 0x419a60
cmp eax, 0x21
je 0x419a60
cmp eax, 0x5e
je 0x419a60
cmp eax, 0x2b
je 0x419a60
cmp eax, 0x24
je 0x419a60
cmp eax, 0x7e
je 0x419a60
cmp eax, 0x2a
je 0x419a60
cmp eax, 0x3c
je 0x419a60
cmp eax, 0x3e
jne 0x419a79
mov ecx, dword [esp + 0x20]
push ebp
push str.Parameter_1_invalid.
call fcn.0042e1d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xf
push esi
push 0x4c23a0
call fcn.0048fa44
add esp, 0xc
xor eax, eax
mov word [0x4c23be], ax
mov eax, 0x4c23a0
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419aa0
sub eax, edx
sar eax, 1
mov dword [0x4c23c0], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.EscapeChar
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x419b3b
test esi, esi
je 0x418df6
movzx eax, word [esi]
cmp eax, 0x23
je 0x419a60
cmp ax, word [0x4c28e0]
je 0x419a60
cmp ax, word [0x4c28dc]
je 0x419a60
cmp eax, 0x2e
je 0x419a60
cmp dword [0x4c23c0], 1
jne 0x419b26
cmp ax, word [0x4c23a0]
je 0x419a60
mov word [0x4c28e4], ax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.DerefChar
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x419baa
test esi, esi
je 0x418df6
movzx eax, word [esi]
cmp ax, word [0x4c28e4]
je 0x419a60
cmp ax, word [0x4c28dc]
je 0x419a60
cmp eax, 0x2e
je 0x419a60
cmp dword [0x4c23c0], 1
jne 0x419b95
cmp ax, word [0x4c23a0]
je 0x419a60
mov word [0x4c28e0], ax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4a592c
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x419c22
test esi, esi
je 0x418df6
movzx eax, word [esi]
cmp eax, 0x23
je 0x419a60
cmp ax, word [0x4c28e4]
je 0x419a60
cmp ax, word [0x4c28e0]
je 0x419a60
cmp eax, 0x2e
je 0x419a60
cmp dword [0x4c23c0], 1
jne 0x419c0d
cmp ax, word [0x4c23a0]
je 0x419a60
mov word [0x4c28dc], ax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MenuMaskKey
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x419c96
test esi, esi
je 0x419c7c
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 1
mov ecx, eax
push 1
xor edx, edx
mov eax, esi
call fcn.004122a0
add esp, 8
mov byte [0x4c2385], al
test al, al
jne 0x418df6
mov ecx, dword [esp + 0x20]
mov eax, str.Parameter_1_invalid.
push ebp
push eax
call fcn.0042e1d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov ecx, dword [esp + 0x20]
mov eax, str.Parameter_1_required
push ebp
push eax
call fcn.0042e1d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.InputLevel
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x419cf4
test esi, esi
je 0x419cde
mov esi, dword [esp + 0x24]
call fcn.0040d260
test eax, eax
js 0x419a60
cmp eax, 0x64
jg 0x419a60
mov byte [0x4c6613], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
xor eax, eax
mov byte [0x4c6613], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.Warn
mov ecx, ebp
call fcn.00473970
add esp, 8
test eax, eax
jne 0x41946c
test esi, esi
jne 0x419d1a
mov dword [esp + 0x24], 0x4a59b0
movzx ecx, word [0x4c28dc]
mov ebx, dword [esp + 0x24]
push ecx
push ebx
call fcn.0048db21
mov esi, eax
add esp, 8
or edi, 0xffffffff
mov dword [esp + 0x24], 0x4ab02c
test esi, esi
je 0x419d5d
lea eax, [esi + 2]
call fcn.00409620
mov dword [esp + 0x24], eax
lea eax, [esi - 2]
mov edx, ebx
call fcn.00409640
mov edi, eax
sub edi, ebx
sar edi, 1
inc edi
push 0xffffffffffffffff
push edi
mov eax, 0x4a59b0
mov ecx, ebx
call fcn.00473970
add esp, 8
test eax, eax
je 0x419de6
test edi, edi
je 0x419de6
push 0xffffffffffffffff
push edi
mov eax, str.UseUnsetLocal
mov ecx, ebx
call fcn.00473970
add esp, 8
test eax, eax
jne 0x419d91
xor esi, esi
jmp 0x419deb
push 0xffffffffffffffff
push edi
mov eax, str.UseUnsetGlobal
mov ecx, ebx
call fcn.00473970
add esp, 8
test eax, eax
jne 0x419dac
lea esi, [eax + 1]
jmp 0x419deb
push 0xffffffffffffffff
push edi
mov eax, str.UseEnv
mov ecx, ebx
call fcn.00473970
add esp, 8
test eax, eax
jne 0x419dc7
lea esi, [eax + 3]
jmp 0x419deb
push 0xffffffffffffffff
push edi
mov eax, str.LocalSameAsGlobal
mov ecx, ebx
call fcn.00473970
add esp, 8
test eax, eax
jne 0x419a60
lea esi, [eax + 2]
jmp 0x419deb
mov esi, 4
mov edi, dword [esp + 0x24]
cmp word [edi], 0
jne 0x419dfc
mov eax, 2
jmp 0x419e59
push str.MsgBox
push edi
call fcn.0048cd49
add esp, 8
test eax, eax
jne 0x419e15
mov eax, 2
jmp 0x419e59
push str.OutputDebug
push edi
call fcn.0048cd49
add esp, 8
test eax, eax
jne 0x419e2e
mov eax, 1
jmp 0x419e59
push str.StdOut
push edi
call fcn.0048cd49
add esp, 8
test eax, eax
jne 0x419e47
mov eax, 3
jmp 0x419e59
push 0x4a3164
push edi
call fcn.0048cd49
add esp, 8
test eax, eax
jne 0x419ea7
test esi, esi
je 0x419e62
cmp esi, 4
jne 0x419e67
mov dword [0x4c65f4], eax
cmp esi, 1
je 0x419e71
cmp esi, 4
jne 0x419e76
mov dword [0x4c65f8], eax
cmp esi, 3
je 0x419e80
cmp esi, 4
jne 0x419e85
mov dword [0x4c65fc], eax
cmp esi, 2
je 0x419e93
cmp esi, 4
jne 0x418df6
mov dword [0x4c6600], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov ecx, dword [esp + 0x20]
push ebp
push str.Parameter_2_invalid.
call fcn.0042e1d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8