Function at 0x418de0
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov si, word [0x4c38d0]
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.004096a0
test eax, eax
jne 0x418e35
mov eax, ebp
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418e20
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2]
jmp 0x418e7e
mov edx, eax
movzx ecx, word [edx]
cmp ecx, 0x20
je 0x418e44
cmp ecx, 9
jne 0x418e49
add edx, 2
jmp 0x418e37
movzx ecx, word [edx]
test cx, cx
je 0x418e7e
cmp cx, si
je 0x418e5a
mov esi, edx
jmp 0x418e80
lea ecx, [edx + 2]
lea ecx, [ecx]
movzx edx, word [ecx]
cmp edx, 0x20
je 0x418e6d
cmp edx, 9
jne 0x418e72
add ecx, 2
jmp 0x418e60
cmp word [ecx], 0
mov esi, ecx
mov dword [esp + 0x2c], esi
jne 0x418e84
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.00473f30
add esp, 8
test eax, eax
je 0x418ed6
push 0xffffffffffffffff
push edi
mov eax, str.IncludeAgain
mov ecx, ebp
call fcn.00473f30
add esp, 8
test eax, eax
je 0x418ed6
push 0xffffffffffffffff
push edi
mov eax, str.NoEnv
mov ecx, ebp
call fcn.00473f30
add esp, 8
test eax, eax
jne 0x418ee5
mov dword [0x4c760c], 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.00473f30
add esp, 8
test eax, eax
jne 0x418f11
mov byte [0x4c75f9], 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.00473f30
add esp, 8
test eax, eax
jne 0x418f3d
mov byte [0x4c75f8], 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.00473f30
add esp, 8
test eax, eax
jne 0x418fee
mov dword [0x4c75f4], 1
test esi, esi
je 0x418ed6
push str.Force
push esi
call fcn.0048d309
add esp, 8
test eax, eax
jne 0x418f94
mov dword [0x4c75f4], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push str.Ignore
push esi
call fcn.0048d309
add esp, 8
test eax, eax
jne 0x418fbf
mov dword [0x4c75f4], 3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x4a31bc
push esi
call fcn.0048d309
add esp, 8
test eax, eax
jne 0x418ed6
mov dword [0x4c75f4], 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.00473f30
add esp, 8
test eax, eax
jne 0x41901a
or byte [0x4c7eb6], 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.00473f30
add esp, 8
test eax, eax
jne 0x419046
or byte [0x4c7eb6], 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.00473f30
add esp, 8
test eax, eax
jne 0x419093
test esi, esi
je 0x41907d
mov esi, dword [esp + 0x2c]
push eax
call fcn.004145d0
add esp, 4
mov byte [0x4c7ca2], 0
cmp eax, 2
je 0x418ed6
mov byte [0x4c7ca2], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4a1580
mov ecx, ebp
call fcn.00473f30
add esp, 8
test eax, eax
jne 0x41915e
xor ebp, ebp
cmp esi, ebp
jne 0x4190c6
mov dword [0x4c761c], ebp
lea eax, [ebp + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov edi, esi
call fcn.00409da0
mov dword [0x4c761c], eax
cmp eax, ebp
jne 0x418ed6
mov eax, dword [0x4c39ac]
mov ebx, dword [eax + 0xb4]
mov edi, dword [esp + 0x28]
push ebp
push ebp
push ebp
push 0x4a0850
push ebp
push 0xe1
mov dword [eax + 0xb4], ebp
push esi
mov ecx, edi
mov byte [edi + 0x45], 1
call fcn.0041a5d0
test eax, eax
jne 0x419119
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov eax, dword [0x4c39ac]
mov byte [edi + 0x45], 0
mov dword [eax + 0xb4], ebx
mov edi, dword [edi + 4]
call fcn.00409d20
mov dword [0x4c761c], eax
cmp eax, ebp
je 0x41910d
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], 0x4a0850
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.00473f30
add esp, 8
test eax, eax
jne 0x419199
test esi, esi
je 0x418ed6
mov esi, dword [esp + 0x2c]
call fcn.004131c0
mov dword [0x4c38cc], 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.0048db57
add esp, 0xc
test eax, eax
jne 0x4194db
push 3
lea eax, [ebp + 0xc]
push 0x4a3354
push eax
call fcn.0048db57
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.0048db57
add esp, 0xc
test eax, eax
jne 0x4191f8
test bl, bl
setne dl
inc dl
mov byte [esp + 0x18], dl
jmp 0x41921b
push 5
push str.Exist
push edi
call fcn.0048db57
add esp, 0xc
test eax, eax
jne 0x4194cc
test bl, bl
setne al
add al, 3
mov byte [esp + 0x18], al
xor edi, edi
cmp esi, edi
jne 0x419234
mov dword [0x4c761c], edi
lea eax, [edi + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov dx, word [0x4c38d0]
mov bx, word [0x4c38d8]
mov ecx, esi
mov si, word [0x4c38d4]
jmp 0x419250
movzx eax, word [ecx]
test ax, ax
je 0x419287
jmp 0x419260
cmp ax, bx
je 0x41933d
cmp ax, dx
je 0x41933d
cmp ax, si
je 0x41933d
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x419260
test edi, edi
je 0x419425
lea eax, [edi + 2]
call fcn.004096f0
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.00413160
mov ecx, dword [esp + 0x14]
movzx esi, bx
movzx eax, word [ecx]
test ax, ax
je 0x4192d5
cmp ax, si
je 0x41938f
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4192c0
mov bx, word [0x4c38d8]
movzx esi, bx
mov ecx, ebp
movzx eax, word [ecx]
test ax, ax
je 0x419305
lea esp, [esp]
cmp ax, si
je 0x419436
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4192f0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push ebp
push edx
call fcn.00409ac0
add esp, 0xc
test eax, eax
jne 0x418ed6
mov ecx, dword [esp + 0x28]
push 0x4a0850
push str.Out_of_memory.
call fcn.0042e370
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
movzx eax, word [ecx]
test ax, ax
je 0x419287
cmp ax, si
je 0x419376
cmp ax, dx
jne 0x419361
test edi, edi
jne 0x419376
mov edi, ecx
add ecx, 2
jmp 0x419250
add ecx, 2
cmp word [ecx], 0
je 0x419287
add ecx, 2
jmp 0x419250
mov ecx, dword [esp + 0x28]
push ebp
push str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
call fcn.0042e370
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp word [ecx], 0
je 0x4192d5
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x4193af.99
movzx edx, byte [eax + 0x419f44]
jmp dword [edx*4 + 0x419f20]
mov eax, 7
mov word [edi], ax
jmp case.0x4193af.99
mov edx, 8
jmp 0x4193f8
mov eax, 0xc
mov word [edi], ax
jmp case.0x4193af.99
mov edx, 0xa
jmp 0x4193f8
mov eax, 0xd
mov word [edi], ax
jmp case.0x4193af.99
mov edx, 9
jmp 0x4193f8
mov eax, 0xb
mov word [edi], ax
jmp case.0x4193af.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 0x419400
sub eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.0048dd80
add esp, 0xc
mov ecx, edi
jmp 0x4192b8
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x14], 0x4a0850
jmp 0x4192dc
cmp word [ecx], 0
je 0x419305
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x419456.99
movzx edx, byte [eax + 0x419f80]
jmp dword [edx*4 + 0x419f5c]
mov eax, 7
mov word [edi], ax
jmp case.0x419456.99
mov edx, 8
jmp 0x41949f
mov eax, 0xc
mov word [edi], ax
jmp case.0x419456.99
mov edx, 0xa
jmp 0x41949f
mov eax, 0xd
mov word [edi], ax
jmp case.0x419456.99
mov edx, 9
jmp 0x41949f
mov eax, 0xb
mov word [edi], ax
jmp case.0x419456.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 0x4194a7
sub eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.0048dd80
add esp, 0xc
mov ecx, edi
jmp 0x4192e1
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.00473f30
add esp, 8
test eax, eax
jne 0x419684
test esi, esi
je 0x418ed6
mov eax, str.EndChars
mov ecx, esi
call fcn.00474240
test eax, eax
je 0x41960c
mov ebx, 0x4a58f4
call fcn.004096a0
test eax, eax
je 0x418ed6
push 0x64
add eax, 2
push eax
push str._____:____.___n__t
call fcn.00490004
movzx ebx, word [0x4c38d8]
add esp, 0xc
xor eax, eax
mov word [0x4c39a8], ax
mov ecx, str._____:____.___n__t
lea ebx, [ebx]
movzx eax, word [ecx]
test ax, ax
je 0x418ed6
lea esp, [esp]
cmp ax, bx
je 0x419580
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x419560
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp word [ecx], 0
je 0x418ed6
movzx eax, word [ecx + 2]
lea esi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x4195a0.99
movzx edx, byte [eax + 0x419fbc]
jmp dword [edx*4 + 0x419f98]
mov eax, 7
jmp 0x4195df
mov edx, 8
mov word [esi], dx
jmp case.0x4195a0.99
mov eax, 0xc
jmp 0x4195df
mov edx, 0xa
mov word [esi], dx
jmp case.0x4195a0.99
mov eax, 0xd
jmp 0x4195df
mov edx, 9
mov word [esi], dx
jmp case.0x4195a0.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 0x4195e7
sub eax, edi
sar eax, 1
lea edx, [eax + eax + 2]
push edx
push esi
push ecx
call fcn.0048dd80
add esp, 0xc
mov ecx, esi
jmp 0x419550
push 7
push str.NoMouse
push esi
call fcn.0048db57
add esp, 0xc
test eax, eax
jne 0x419634
mov byte [0x4c38d6], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x4c7ca0
push 0x4c7c9f
push 0x4c38d3
push 0x4c7c9e
push 0x4c7c9d
push 0x4c38d2
push 0x4c3387
push 0x4c7c9c
push 0x4c38dc
push 0x4c7c98
push 0x4c7c44
mov eax, esi
call fcn.0040d060
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.00473f30
add esp, 8
test eax, eax
jne 0x4196bf
test esi, esi
je 0x418ed6
mov esi, dword [esp + 0x2c]
call fcn.0040d2c0
mov dword [0x4c38ac], 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.00473f30
add esp, 8
test eax, eax
jne 0x41970d
test esi, esi
je 0x418ed6
mov esi, dword [esp + 0x2c]
call fcn.0040d2c0
mov dword [0x4c38c8], eax
cmp eax, 0xa
jge 0x418ed6
mov dword [0x4c38c8], 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.00473f30
add esp, 8
test eax, eax
jne 0x41975b
test esi, esi
je 0x418ed6
mov esi, dword [esp + 0x2c]
call fcn.0040d2c0
mov dword [0x4c38c4], eax
cmp eax, 1
jge 0x418ed6
mov dword [0x4c38c4], 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.00473f30
add esp, 8
test eax, eax
jne 0x4197c0
test esi, esi
je 0x418ed6
mov esi, dword [esp + 0x2c]
call fcn.0040d2c0
cmp eax, 0xff
jle 0x4197a2
mov eax, 0xff
mov byte [0x4c3386], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 1
jge 0x4197ac
mov eax, 1
mov byte [0x4c3386], 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.00473f30
add esp, 8
test eax, eax
jne 0x41980d
test esi, esi
je 0x4197f7
mov esi, dword [esp + 0x2c]
push eax
call fcn.004145d0
add esp, 4
mov byte [0x4c7602], 0
cmp eax, 2
je 0x418ed6
mov byte [0x4c7602], 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.00473f30
add esp, 8
test eax, eax
jne 0x419872
test esi, esi
je 0x418ed6
mov esi, dword [esp + 0x2c]
call fcn.0040d2c0
cmp eax, 0xff
jle 0x419854
mov eax, 0xff
mov dword [0x4c38c0], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 1
jge 0x41985e
mov eax, 1
mov dword [0x4c38c0], 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.00473f30
add esp, 8
test eax, eax
jne 0x4198ad
test esi, esi
je 0x418ed6
mov esi, dword [esp + 0x2c]
call fcn.0040d2c0
mov dword [0x4c38b0], 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.00473f30
add esp, 8
test eax, eax
jne 0x4198fa
test esi, esi
je 0x4198e4
mov esi, dword [esp + 0x2c]
push eax
call fcn.004145d0
add esp, 4
mov byte [0x4c7ca1], 0
cmp eax, 2
je 0x418ed6
mov byte [0x4c7ca1], 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.00473f30
add esp, 8
test eax, eax
jne 0x419926
mov byte [0x4c75ca], 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.00473f30
add esp, 8
test eax, eax
jne 0x419956
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.00473f30
add esp, 8
test eax, eax
jne 0x4199e0
test esi, esi
je 0x418ed6
mov esi, dword [esp + 0x2c]
call fcn.004131f0
fld qword [0x4bd7f8]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x419999
fstp st(0)
fld1
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x41999d
fstp st(1)
jmp 0x41999f
fstp st(0)
fld qword [0x4bd700]
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 [0x4c38bc], 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.00473f30
add esp, 8
test eax, eax
jne 0x419a4d
test esi, esi
je 0x418ed6
mov esi, dword [esp + 0x2c]
call fcn.0040d2c0
mov dword [0x4c38b8], eax
test eax, eax
jns 0x419a29
mov dword [0x4c38b8], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 0x1f4
jle 0x418ed6
mov dword [0x4c38b8], 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.00473f30
add esp, 8
test eax, eax
jne 0x419b23
test esi, esi
je 0x418ed6
cmp word [esi + 2], ax
jne 0x419ad9
movzx eax, word [esi]
cmp eax, 0x23
je 0x419ac0
cmp ax, word [0x4c38d4]
je 0x419ac0
cmp ax, word [0x4c38d8]
je 0x419ac0
cmp ax, word [0x4c38d0]
je 0x419ac0
cmp eax, 0x21
je 0x419ac0
cmp eax, 0x5e
je 0x419ac0
cmp eax, 0x2b
je 0x419ac0
cmp eax, 0x24
je 0x419ac0
cmp eax, 0x7e
je 0x419ac0
cmp eax, 0x2a
je 0x419ac0
cmp eax, 0x3c
je 0x419ac0
cmp eax, 0x3e
jne 0x419ad9
mov ecx, dword [esp + 0x28]
push ebp
push str.Parameter_1_invalid.
call fcn.0042e370
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xf
push esi
push 0x4c33a0
call fcn.00490004
add esp, 0xc
xor edx, edx
mov eax, 0x4c33a0
mov word [0x4c33be], dx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419b00
sub eax, edx
sar eax, 1
mov dword [0x4c33c0], 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.00473f30
add esp, 8
test eax, eax
jne 0x419b9b
test esi, esi
je 0x418ed6
movzx eax, word [esi]
cmp eax, 0x23
je 0x419ac0
cmp ax, word [0x4c38d4]
je 0x419ac0
cmp ax, word [0x4c38d0]
je 0x419ac0
cmp eax, 0x2e
je 0x419ac0
cmp dword [0x4c33c0], 1
jne 0x419b86
cmp ax, word [0x4c33a0]
je 0x419ac0
mov word [0x4c38d8], 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.00473f30
add esp, 8
test eax, eax
jne 0x419c0a
test esi, esi
je 0x418ed6
movzx eax, word [esi]
cmp ax, word [0x4c38d8]
je 0x419ac0
cmp ax, word [0x4c38d0]
je 0x419ac0
cmp eax, 0x2e
je 0x419ac0
cmp dword [0x4c33c0], 1
jne 0x419bf5
cmp ax, word [0x4c33a0]
je 0x419ac0
mov word [0x4c38d4], ax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4a5aec
mov ecx, ebp
call fcn.00473f30
add esp, 8
test eax, eax
jne 0x419c82
test esi, esi
je 0x418ed6
movzx eax, word [esi]
cmp eax, 0x23
je 0x419ac0
cmp ax, word [0x4c38d8]
je 0x419ac0
cmp ax, word [0x4c38d4]
je 0x419ac0
cmp eax, 0x2e
je 0x419ac0
cmp dword [0x4c33c0], 1
jne 0x419c6d
cmp ax, word [0x4c33a0]
je 0x419ac0
mov word [0x4c38d0], 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.00473f30
add esp, 8
test eax, eax
jne 0x419cf6
test esi, esi
je 0x419cdc
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 1
mov ecx, eax
push 1
xor edx, edx
mov eax, esi
call fcn.004122f0
add esp, 8
mov byte [0x4c3385], al
test al, al
jne 0x418ed6
mov ecx, dword [esp + 0x28]
mov eax, str.Parameter_1_invalid.
push ebp
push eax
call fcn.0042e370
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.0042e370
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.00473f30
add esp, 8
test eax, eax
jne 0x419d54
test esi, esi
je 0x419d3e
mov esi, dword [esp + 0x2c]
call fcn.0040d2c0
test eax, eax
js 0x419ac0
cmp eax, 0x64
jg 0x419ac0
mov byte [0x4c7603], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
xor eax, eax
mov byte [0x4c7603], 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.00473f30
add esp, 8
test eax, eax
jne 0x4194cc
test esi, esi
jne 0x419d7a
mov dword [esp + 0x2c], 0x4a5b70
movzx eax, word [0x4c38d0]
mov ebx, dword [esp + 0x2c]
push eax
push ebx
call fcn.0048e0e1
mov esi, eax
add esp, 8
or edi, 0xffffffff
mov dword [esp + 0x2c], 0x4a0850
test esi, esi
je 0x419dbd
lea eax, [esi + 2]
call fcn.004096f0
mov dword [esp + 0x2c], eax
lea eax, [esi - 2]
mov edx, ebx
call fcn.00409710
mov edi, eax
sub edi, ebx
sar edi, 1
inc edi
push 0xffffffffffffffff
push edi
mov eax, 0x4a5b70
mov ecx, ebx
call fcn.00473f30
add esp, 8
test eax, eax
je 0x419e46
test edi, edi
je 0x419e46
push 0xffffffffffffffff
push edi
mov eax, str.UseUnsetLocal
mov ecx, ebx
call fcn.00473f30
add esp, 8
test eax, eax
jne 0x419df1
xor esi, esi
jmp 0x419e4b
push 0xffffffffffffffff
push edi
mov eax, str.UseUnsetGlobal
mov ecx, ebx
call fcn.00473f30
add esp, 8
test eax, eax
jne 0x419e0c
lea esi, [eax + 1]
jmp 0x419e4b
push 0xffffffffffffffff
push edi
mov eax, str.UseEnv
mov ecx, ebx
call fcn.00473f30
add esp, 8
test eax, eax
jne 0x419e27
lea esi, [eax + 3]
jmp 0x419e4b
push 0xffffffffffffffff
push edi
mov eax, str.LocalSameAsGlobal
mov ecx, ebx
call fcn.00473f30
add esp, 8
test eax, eax
jne 0x419ac0
lea esi, [eax + 2]
jmp 0x419e4b
mov esi, 4
mov edi, dword [esp + 0x2c]
cmp word [edi], 0
jne 0x419e5c
mov eax, 2
jmp 0x419eb9
push str.MsgBox
push edi
call fcn.0048d309
add esp, 8
test eax, eax
jne 0x419e75
mov eax, 2
jmp 0x419eb9
push str.OutputDebug
push edi
call fcn.0048d309
add esp, 8
test eax, eax
jne 0x419e8e
mov eax, 1
jmp 0x419eb9
push str.StdOut
push edi
call fcn.0048d309
add esp, 8
test eax, eax
jne 0x419ea7
mov eax, 3
jmp 0x419eb9
push 0x4a31bc
push edi
call fcn.0048d309
add esp, 8
test eax, eax
jne 0x419f07
test esi, esi
je 0x419ec2
cmp esi, 4
jne 0x419ec7
mov dword [0x4c75e4], eax
cmp esi, 1
je 0x419ed1
cmp esi, 4
jne 0x419ed6
mov dword [0x4c75e8], eax
cmp esi, 3
je 0x419ee0
cmp esi, 4
jne 0x419ee5
mov dword [0x4c75ec], eax
cmp esi, 2
je 0x419ef3
cmp esi, 4
jne 0x418ed6
mov dword [0x4c75f0], 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.0042e370
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8