Function at 0x418ec0
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.004096e0
test eax, eax
jne 0x418f15
mov eax, ebp
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418f00
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2]
jmp 0x418f5e
mov edx, eax
movzx ecx, word [edx]
cmp ecx, 0x20
je 0x418f24
cmp ecx, 9
jne 0x418f29
add edx, 2
jmp 0x418f17
movzx ecx, word [edx]
test cx, cx
je 0x418f5e
cmp cx, si
je 0x418f3a
mov esi, edx
jmp 0x418f60
lea ecx, [edx + 2]
lea ecx, [ecx]
movzx edx, word [ecx]
cmp edx, 0x20
je 0x418f4d
cmp edx, 9
jne 0x418f52
add ecx, 2
jmp 0x418f40
cmp word [ecx], 0
mov esi, ecx
mov dword [esp + 0x2c], esi
jne 0x418f64
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.00474650
add esp, 8
test eax, eax
je 0x418fb6
push 0xffffffffffffffff
push edi
mov eax, str.IncludeAgain
mov ecx, ebp
call fcn.00474650
add esp, 8
test eax, eax
je 0x418fb6
push 0xffffffffffffffff
push edi
mov eax, str.NoEnv
mov ecx, ebp
call fcn.00474650
add esp, 8
test eax, eax
jne 0x418fc5
mov dword [0x4c8610], 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.00474650
add esp, 8
test eax, eax
jne 0x418ff1
mov byte [0x4c85fd], 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.00474650
add esp, 8
test eax, eax
jne 0x41901d
mov byte [0x4c85fc], 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.00474650
add esp, 8
test eax, eax
jne 0x4190ce
mov dword [0x4c85f8], 1
test esi, esi
je 0x418fb6
push str.Force
push esi
call fcn.0048dab9
add esp, 8
test eax, eax
jne 0x419074
mov dword [0x4c85f8], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push str.Ignore
push esi
call fcn.0048dab9
add esp, 8
test eax, eax
jne 0x41909f
mov dword [0x4c85f8], 3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x4a4204
push esi
call fcn.0048dab9
add esp, 8
test eax, eax
jne 0x418fb6
mov dword [0x4c85f8], 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.00474650
add esp, 8
test eax, eax
jne 0x4190fa
or byte [0x4c8eba], 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.00474650
add esp, 8
test eax, eax
jne 0x419126
or byte [0x4c8eba], 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.00474650
add esp, 8
test eax, eax
jne 0x419173
test esi, esi
je 0x41915d
mov esi, dword [esp + 0x2c]
push eax
call fcn.00414740
add esp, 4
mov byte [0x4c8ca6], 0
cmp eax, 2
je 0x418fb6
mov byte [0x4c8ca6], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4a2598
mov ecx, ebp
call fcn.00474650
add esp, 8
test eax, eax
jne 0x41923e
xor ebp, ebp
cmp esi, ebp
jne 0x4191a6
mov dword [0x4c8620], ebp
lea eax, [ebp + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov edi, esi
call fcn.00409de0
mov dword [0x4c8620], eax
cmp eax, ebp
jne 0x418fb6
mov eax, dword [0x4c49ac]
mov ebx, dword [eax + 0xb4]
mov edi, dword [esp + 0x28]
push ebp
push ebp
push ebp
push 0x4ac2b4
push ebp
push 0xe1
mov dword [eax + 0xb4], ebp
push esi
mov ecx, edi
mov byte [edi + 0x45], 1
call fcn.0041a6e0
test eax, eax
jne 0x4191f9
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.00409d60
mov dword [0x4c8620], eax
cmp eax, ebp
je 0x4191ed
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], 0x4ac2b4
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.00474650
add esp, 8
test eax, eax
jne 0x419279
test esi, esi
je 0x418fb6
mov esi, dword [esp + 0x2c]
call fcn.00413320
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.0048e307
add esp, 0xc
test eax, eax
jne 0x4195bb
push 3
lea eax, [ebp + 0xc]
push 0x4a439c
push eax
call fcn.0048e307
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.0048e307
add esp, 0xc
test eax, eax
jne 0x4192d8
test bl, bl
setne dl
inc dl
mov byte [esp + 0x18], dl
jmp 0x4192fb
push 5
push str.Exist
push edi
call fcn.0048e307
add esp, 0xc
test eax, eax
jne 0x4195ac
test bl, bl
setne al
add al, 3
mov byte [esp + 0x18], al
xor edi, edi
cmp esi, edi
jne 0x419314
mov dword [0x4c8620], 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 0x419330
movzx eax, word [ecx]
test ax, ax
je 0x419367
jmp 0x419340
cmp ax, bx
je 0x41941d
cmp ax, dx
je 0x41941d
cmp ax, si
je 0x41941d
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x419340
test edi, edi
je 0x419505
lea eax, [edi + 2]
call fcn.00409730
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.004132c0
mov ecx, dword [esp + 0x14]
movzx esi, bx
movzx eax, word [ecx]
test ax, ax
je 0x4193b5
cmp ax, si
je 0x41946f
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4193a0
mov bx, word [0x4c48d8]
movzx esi, bx
mov ecx, ebp
movzx eax, word [ecx]
test ax, ax
je 0x4193e5
lea esp, [esp]
cmp ax, si
je 0x419516
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4193d0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push ebp
push edx
call fcn.00409b00
add esp, 0xc
test eax, eax
jne 0x418fb6
mov ecx, dword [esp + 0x28]
push 0x4ac2b4
push str.Out_of_memory.
call fcn.0042e560
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
movzx eax, word [ecx]
test ax, ax
je 0x419367
cmp ax, si
je 0x419456
cmp ax, dx
jne 0x419441
test edi, edi
jne 0x419456
mov edi, ecx
add ecx, 2
jmp 0x419330
add ecx, 2
cmp word [ecx], 0
je 0x419367
add ecx, 2
jmp 0x419330
mov ecx, dword [esp + 0x28]
push ebp
push str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
call fcn.0042e560
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp word [ecx], 0
je 0x4193b5
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x41948f.99
movzx edx, byte [eax + 0x41a054]
jmp dword [edx*4 + 0x41a030]
mov eax, 7
mov word [edi], ax
jmp case.0x41948f.99
mov edx, 8
jmp 0x4194d8
mov eax, 0xc
mov word [edi], ax
jmp case.0x41948f.99
mov edx, 0xa
jmp 0x4194d8
mov eax, 0xd
mov word [edi], ax
jmp case.0x41948f.99
mov edx, 9
jmp 0x4194d8
mov eax, 0xb
mov word [edi], ax
jmp case.0x41948f.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 0x4194e0
sub eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.0048e530
add esp, 0xc
mov ecx, edi
jmp 0x419398
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x14], 0x4ac2b4
jmp 0x4193bc
cmp word [ecx], 0
je 0x4193e5
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x419536.99
movzx edx, byte [eax + 0x41a090]
jmp dword [edx*4 + 0x41a06c]
mov eax, 7
mov word [edi], ax
jmp case.0x419536.99
mov edx, 8
jmp 0x41957f
mov eax, 0xc
mov word [edi], ax
jmp case.0x419536.99
mov edx, 0xa
jmp 0x41957f
mov eax, 0xd
mov word [edi], ax
jmp case.0x419536.99
mov edx, 9
jmp 0x41957f
mov eax, 0xb
mov word [edi], ax
jmp case.0x419536.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 0x419587
sub eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.0048e530
add esp, 0xc
mov ecx, edi
jmp 0x4193c1
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.00474650
add esp, 8
test eax, eax
jne 0x419764
test esi, esi
je 0x418fb6
mov eax, str.EndChars
mov ecx, esi
call fcn.00474960
test eax, eax
je 0x4196ec
mov ebx, 0x4a6954
call fcn.004096e0
test eax, eax
je 0x418fb6
push 0x64
add eax, 2
push eax
push str._____:____.___n__t
call fcn.004907b4
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 0x418fb6
lea esp, [esp]
cmp ax, bx
je 0x419660
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x419640
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp word [ecx], 0
je 0x418fb6
movzx eax, word [ecx + 2]
lea esi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x419680.99
movzx edx, byte [eax + 0x41a0cc]
jmp dword [edx*4 + 0x41a0a8]
mov eax, 7
jmp 0x4196bf
mov edx, 8
mov word [esi], dx
jmp case.0x419680.99
mov eax, 0xc
jmp 0x4196bf
mov edx, 0xa
mov word [esi], dx
jmp case.0x419680.99
mov eax, 0xd
jmp 0x4196bf
mov edx, 9
mov word [esi], dx
jmp case.0x419680.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 0x4196c7
sub eax, edi
sar eax, 1
lea edx, [eax + eax + 2]
push edx
push esi
push ecx
call fcn.0048e530
add esp, 0xc
mov ecx, esi
jmp 0x419630
push 7
push str.NoMouse
push esi
call fcn.0048e307
add esp, 0xc
test eax, eax
jne 0x419714
mov byte [0x4c48d6], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x4c8ca4
push 0x4c8ca3
push 0x4c48d3
push 0x4c8ca0
push 0x4c8ca2
push 0x4c48d2
push 0x4c4387
push 0x4c8ca1
push 0x4c48dc
push 0x4c8c9c
push 0x4c8c98
mov eax, esi
call fcn.0040d100
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.00474650
add esp, 8
test eax, eax
jne 0x41979f
test esi, esi
je 0x418fb6
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.00474650
add esp, 8
test eax, eax
jne 0x4197ed
test esi, esi
je 0x418fb6
mov esi, dword [esp + 0x2c]
call fcn.0040d380
mov dword [0x4c48c8], eax
cmp eax, 0xa
jge 0x418fb6
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.00474650
add esp, 8
test eax, eax
jne 0x41983b
test esi, esi
je 0x418fb6
mov esi, dword [esp + 0x2c]
call fcn.0040d380
mov dword [0x4c48c4], eax
cmp eax, 1
jge 0x418fb6
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.00474650
add esp, 8
test eax, eax
jne 0x4198a0
test esi, esi
je 0x418fb6
mov esi, dword [esp + 0x2c]
call fcn.0040d380
cmp eax, 0xff
jle 0x419882
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 0x41988c
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.00474650
add esp, 8
test eax, eax
jne 0x4198ed
test esi, esi
je 0x4198d7
mov esi, dword [esp + 0x2c]
push eax
call fcn.00414740
add esp, 4
mov byte [0x4c8606], 0
cmp eax, 2
je 0x418fb6
mov byte [0x4c8606], 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.00474650
add esp, 8
test eax, eax
jne 0x419952
test esi, esi
je 0x418fb6
mov esi, dword [esp + 0x2c]
call fcn.0040d380
cmp eax, 0xff
jle 0x419934
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 0x41993e
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.00474650
add esp, 8
test eax, eax
jne 0x41998d
test esi, esi
je 0x418fb6
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.00474650
add esp, 8
test eax, eax
jne 0x4199da
test esi, esi
je 0x4199c4
mov esi, dword [esp + 0x2c]
push eax
call fcn.00414740
add esp, 4
mov byte [0x4c8ca5], 0
cmp eax, 2
je 0x418fb6
mov byte [0x4c8ca5], 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.00474650
add esp, 8
test eax, eax
jne 0x419a06
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.00474650
add esp, 8
test eax, eax
jne 0x419a36
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.00474650
add esp, 8
test eax, eax
jne 0x419ac0
test esi, esi
je 0x418fb6
mov esi, dword [esp + 0x2c]
call fcn.00413350
fld qword [0x4be948]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x419a79
fstp st(0)
fld1
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x419a7d
fstp st(1)
jmp 0x419a7f
fstp st(0)
fld qword [0x4be850]
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.00474650
add esp, 8
test eax, eax
jne 0x419b2d
test esi, esi
je 0x418fb6
mov esi, dword [esp + 0x2c]
call fcn.0040d380
mov dword [0x4c48b8], eax
test eax, eax
jns 0x419b09
mov dword [0x4c48b8], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 0x1f4
jle 0x418fb6
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.00474650
add esp, 8
test eax, eax
jne 0x419c03
test esi, esi
je 0x418fb6
cmp word [esi + 2], ax
jne 0x419bb9
movzx eax, word [esi]
cmp eax, 0x23
je 0x419ba0
cmp ax, word [0x4c48d4]
je 0x419ba0
cmp ax, word [0x4c48d8]
je 0x419ba0
cmp ax, word [0x4c48d0]
je 0x419ba0
cmp eax, 0x21
je 0x419ba0
cmp eax, 0x5e
je 0x419ba0
cmp eax, 0x2b
je 0x419ba0
cmp eax, 0x24
je 0x419ba0
cmp eax, 0x7e
je 0x419ba0
cmp eax, 0x2a
je 0x419ba0
cmp eax, 0x3c
je 0x419ba0
cmp eax, 0x3e
jne 0x419bb9
mov ecx, dword [esp + 0x28]
push ebp
push str.Parameter_1_invalid.
call fcn.0042e560
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xf
push esi
push 0x4c43a0
call fcn.004907b4
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 0x419be0
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.00474650
add esp, 8
test eax, eax
jne 0x419c7b
test esi, esi
je 0x418fb6
movzx eax, word [esi]
cmp eax, 0x23
je 0x419ba0
cmp ax, word [0x4c48d4]
je 0x419ba0
cmp ax, word [0x4c48d0]
je 0x419ba0
cmp eax, 0x2e
je 0x419ba0
cmp dword [0x4c43c0], 1
jne 0x419c66
cmp ax, word [0x4c43a0]
je 0x419ba0
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.00474650
add esp, 8
test eax, eax
jne 0x419cea
test esi, esi
je 0x418fb6
movzx eax, word [esi]
cmp ax, word [0x4c48d8]
je 0x419ba0
cmp ax, word [0x4c48d0]
je 0x419ba0
cmp eax, 0x2e
je 0x419ba0
cmp dword [0x4c43c0], 1
jne 0x419cd5
cmp ax, word [0x4c43a0]
je 0x419ba0
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, 0x4a6b4c
mov ecx, ebp
call fcn.00474650
add esp, 8
test eax, eax
jne 0x419d62
test esi, esi
je 0x418fb6
movzx eax, word [esi]
cmp eax, 0x23
je 0x419ba0
cmp ax, word [0x4c48d8]
je 0x419ba0
cmp ax, word [0x4c48d4]
je 0x419ba0
cmp eax, 0x2e
je 0x419ba0
cmp dword [0x4c43c0], 1
jne 0x419d4d
cmp ax, word [0x4c43a0]
je 0x419ba0
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.00474650
add esp, 8
test eax, eax
jne 0x419dd3
test esi, esi
je 0x419db9
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
xor ecx, ecx
mov eax, esi
call fcn.00412320
add esp, 8
mov byte [0x4c4385], al
test al, al
jne 0x418fb6
mov ecx, dword [esp + 0x28]
mov eax, str.Parameter_1_invalid.
push ebp
push eax
call fcn.0042e560
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.0042e560
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.00474650
add esp, 8
test eax, eax
jne 0x419e31
test esi, esi
je 0x419e1b
mov esi, dword [esp + 0x2c]
call fcn.0040d380
test eax, eax
js 0x419ba0
cmp eax, 0x64
jg 0x419ba0
mov byte [0x4c8607], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
xor eax, eax
mov byte [0x4c8607], 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.00474650
add esp, 8
test eax, eax
jne 0x4195ac
test esi, esi
jne 0x419e57
mov dword [esp + 0x2c], 0x4a6bd0
movzx eax, word [0x4c48d0]
mov ebx, dword [esp + 0x2c]
push eax
push ebx
call fcn.0048e891
mov esi, eax
add esp, 8
or edi, 0xffffffff
mov dword [esp + 0x2c], 0x4ac2b4
test esi, esi
je 0x419e9a
lea eax, [esi + 2]
call fcn.00409730
mov dword [esp + 0x2c], eax
lea eax, [esi - 2]
mov edx, ebx
call fcn.00409750
mov edi, eax
sub edi, ebx
sar edi, 1
inc edi
push 0xffffffffffffffff
push edi
mov eax, 0x4a6bd0
mov ecx, ebx
call fcn.00474650
add esp, 8
test eax, eax
je 0x419f46
test edi, edi
je 0x419f46
push 0xffffffffffffffff
push edi
mov eax, str.UseUnsetLocal
mov ecx, ebx
call fcn.00474650
add esp, 8
test eax, eax
jne 0x419ed6
xor esi, esi
jmp 0x419f4b
push 0xffffffffffffffff
push edi
mov eax, str.UseUnsetGlobal
mov ecx, ebx
call fcn.00474650
add esp, 8
test eax, eax
jne 0x419ef1
lea esi, [eax + 1]
jmp 0x419f4b
push 0xffffffffffffffff
push edi
mov eax, str.UseEnv
mov ecx, ebx
call fcn.00474650
add esp, 8
test eax, eax
jne 0x419f0c
lea esi, [eax + 3]
jmp 0x419f4b
push 0xffffffffffffffff
push edi
mov eax, str.LocalSameAsGlobal
mov ecx, ebx
call fcn.00474650
add esp, 8
test eax, eax
jne 0x419f27
lea esi, [eax + 2]
jmp 0x419f4b
push 0xffffffffffffffff
push edi
mov eax, str.ClassOverwrite
mov ecx, ebx
call fcn.00474650
add esp, 8
test eax, eax
jne 0x419ba0
lea esi, [eax + 4]
jmp 0x419f4b
mov esi, 5
mov edi, dword [esp + 0x2c]
cmp word [edi], 0
jne 0x419f5c
mov eax, 2
jmp 0x419fb9
push str.MsgBox
push edi
call fcn.0048dab9
add esp, 8
test eax, eax
jne 0x419f75
mov eax, 2
jmp 0x419fb9
push str.OutputDebug
push edi
call fcn.0048dab9
add esp, 8
test eax, eax
jne 0x419f8e
mov eax, 1
jmp 0x419fb9
push str.StdOut
push edi
call fcn.0048dab9
add esp, 8
test eax, eax
jne 0x419fa7
mov eax, 3
jmp 0x419fb9
push 0x4a4204
push edi
call fcn.0048dab9
add esp, 8
test eax, eax
jne 0x41a016
test esi, esi
je 0x419fc2
cmp esi, 5
jne 0x419fc7
mov dword [0x4c85e4], eax
cmp esi, 1
je 0x419fd1
cmp esi, 5
jne 0x419fd6
mov dword [0x4c85e8], eax
cmp esi, 3
je 0x419fe0
cmp esi, 5
jne 0x419fe5
mov dword [0x4c85ec], eax
cmp esi, 2
je 0x419fef
cmp esi, 5
jne 0x419ff4
mov dword [0x4c85f0], eax
cmp esi, 4
je 0x41a002
cmp esi, 5
jne 0x418fb6
mov dword [0x4c85f4], 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.0042e560
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8