Function at 0x418390
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov si, word [0x4c03fc]
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.00409160
test eax, eax
jne 0x4183e5
mov eax, ebp
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4183d0
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2]
jmp 0x41842e
mov edx, eax
movzx ecx, word [edx]
cmp ecx, 0x20
je 0x4183f4
cmp ecx, 9
jne 0x4183f9
add edx, 2
jmp 0x4183e7
movzx ecx, word [edx]
test cx, cx
je 0x41842e
cmp cx, si
je 0x41840a
mov esi, edx
jmp 0x418430
lea ecx, [edx + 2]
lea ecx, [ecx]
movzx edx, word [ecx]
cmp edx, 0x20
je 0x41841d
cmp edx, 9
jne 0x418422
add ecx, 2
jmp 0x418410
cmp word [ecx], 0
mov esi, ecx
mov dword [esp + 0x24], esi
jne 0x418434
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.00471840
add esp, 8
test eax, eax
je 0x418486
push 0xffffffffffffffff
push edi
mov eax, str.IncludeAgain
mov ecx, ebp
call fcn.00471840
add esp, 8
test eax, eax
je 0x418486
push 0xffffffffffffffff
push edi
mov eax, str.NoEnv
mov ecx, ebp
call fcn.00471840
add esp, 8
test eax, eax
jne 0x418495
mov dword [0x4c404c], 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.00471840
add esp, 8
test eax, eax
jne 0x4184c1
mov byte [0x4c4038], 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.00471840
add esp, 8
test eax, eax
jne 0x4184ed
mov byte [0x4c400b], 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.00471840
add esp, 8
test eax, eax
jne 0x41859e
mov dword [0x4c4034], 1
test esi, esi
je 0x418486
push str.Force
push esi
call fcn.0048a789
add esp, 8
test eax, eax
jne 0x418544
mov dword [0x4c4034], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push str.Ignore
push esi
call fcn.0048a789
add esp, 8
test eax, eax
jne 0x41856f
mov dword [0x4c4034], 3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0x4a1114
push esi
call fcn.0048a789
add esp, 8
test eax, eax
jne 0x418486
mov dword [0x4c4034], 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.00471840
add esp, 8
test eax, eax
jne 0x4185ca
or byte [0x4c48fe], 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.00471840
add esp, 8
test eax, eax
jne 0x4185f6
or byte [0x4c48fe], 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.00471840
add esp, 8
test eax, eax
jne 0x418643
test esi, esi
je 0x41862d
mov esi, dword [esp + 0x24]
push eax
call fcn.00413d10
add esp, 4
mov byte [0x4c46ea], 0
cmp eax, 2
je 0x418486
mov byte [0x4c46ea], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4a2890
mov ecx, ebp
call fcn.00471840
add esp, 8
test eax, eax
jne 0x418827
test esi, esi
jne 0x41868e
mov eax, 0x49e828
mov dword [0x4c03ec], eax
mov dword [0x4c03f0], eax
mov byte [0x4c4043], 0
mov dword [0x4c03f4], 0xffffffff
lea eax, [esi + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov eax, dword [0x4c040c]
mov ebp, dword [eax + 0xb4]
movzx ebx, word [0x4c0404]
mov dword [eax + 0xb4], 0
mov ecx, esi
movzx eax, word [ecx]
test ax, ax
je 0x4186c5
cmp ax, bx
je 0x4186ef
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4186b4
mov edx, dword [esp + 0x20]
push 0
push 0x100
lea ecx, [esp + 0x2c]
push ecx
push 3
push edx
call fcn.0041bea0
test eax, eax
jne 0x418775
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp word [ecx], 0
je 0x4186c5
movzx eax, word [ecx + 2]
lea esi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x41870b.99
movzx eax, byte [eax + 0x419624]
jmp dword [eax*4 + 0x419600]
mov edx, 7
jmp 0x41874a
mov eax, 8
mov word [esi], ax
jmp case.0x41870b.99
mov edx, 0xc
jmp 0x41874a
mov eax, 0xa
mov word [esi], ax
jmp case.0x41870b.99
mov edx, 0xd
jmp 0x41874a
mov eax, 9
mov word [esi], ax
jmp case.0x41870b.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 0x418752
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push ecx
call fcn.0048b1f0
add esp, 0xc
jmp 0x4186aa
mov eax, dword [esp + 0x20]
mov esi, dword [eax + 4]
cmp dword [eax], esi
jne 0x418786
mov dword [eax], 0
mov ecx, dword [esi + 0x10]
mov dword [eax + 4], ecx
test ecx, ecx
je 0x418797
mov dword [ecx + 0x14], 0
mov edx, dword [eax + 4]
mov ebx, dword [0x4c4068]
mov dword [eax + 0x628], edx
mov eax, dword [0x4c040c]
mov dword [eax + 0xb4], ebp
mov ecx, dword [esi + 8]
mov eax, dword [0x4c406c]
mov edx, dword [ecx + 4]
lea edi, [ebx + 1]
mov byte [0x4c4043], 5
mov dword [0x4c03ec], edx
mov dword [0x4c03f0], 0x49e828
cmp edi, eax
jle 0x4187fb
mov ecx, dword [0x4c4064]
add eax, 0x64
mov dword [0x4c406c], eax
add eax, eax
add eax, eax
push eax
push ecx
call fcn.0048ba37
add esp, 8
mov dword [0x4c4064], eax
mov edx, dword [0x4c4064]
mov eax, ebx
mov dword [0x4c03f4], eax
mov dword [edx + eax*4], esi
mov dword [0x4c4068], edi
mov dword [esi + 0x10], 0
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.00471840
add esp, 8
test eax, eax
jne 0x418862
test esi, esi
je 0x418486
mov esi, dword [esp + 0x24]
call fcn.004129f0
mov dword [0x4c03f8], 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.0048afc2
add esp, 0xc
test eax, eax
jne 0x418bbb
push 3
lea eax, [ebp + 0xc]
push 0x4a12ac
push eax
call fcn.0048afc2
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.0048afc2
add esp, 0xc
test eax, eax
jne 0x4188c3
test bl, bl
setne dl
inc dl
mov byte [0x4c4043], dl
jmp 0x4188e7
push 5
push str.Exist
push edi
call fcn.0048afc2
add esp, 0xc
test eax, eax
jne 0x418bac
test bl, bl
setne al
add al, 3
mov byte [0x4c4043], al
mov dword [0x4c03f4], 0xffffffff
test esi, esi
jne 0x418918
mov eax, 0x49e828
mov dword [0x4c03ec], eax
mov dword [0x4c03f0], eax
mov byte [0x4c4043], 0
lea eax, [esi + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov dx, word [0x4c03fc]
mov bx, word [0x4c0404]
mov ecx, esi
mov si, word [0x4c0400]
xor edi, edi
movzx eax, word [ecx]
test ax, ax
je 0x418967
lea esp, [esp]
cmp ax, bx
je 0x418a18
cmp ax, dx
je 0x418a18
cmp ax, si
je 0x418a18
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x418940
test edi, edi
je 0x418b05
lea eax, [edi + 2]
call fcn.004091b0
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, edi
sub eax, ebp
xor ecx, ecx
sar eax, 1
mov esi, ebp
mov word [edi], cx
call fcn.00412990
mov ecx, dword [esp + 0x10]
movzx esi, bx
movzx eax, word [ecx]
test ax, ax
je 0x4189b5
cmp ax, si
je 0x418a6a
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4189a0
mov bx, word [0x4c0404]
movzx esi, bx
mov ecx, ebp
movzx eax, word [ecx]
test ax, ax
je 0x4189e5
lea esp, [esp]
cmp ax, si
je 0x418b16
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4189d0
mov ecx, dword [esp + 0x10]
push ecx
push ebp
call fcn.00409460
add esp, 8
test eax, eax
jne 0x418486
mov ecx, dword [esp + 0x20]
push 0x49e828
push str.Out_of_memory.
call fcn.0042f1f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
movzx eax, word [ecx]
test ax, ax
je 0x418967
cmp ax, si
je 0x418a51
cmp ax, dx
jne 0x418a3c
test edi, edi
jne 0x418a51
mov edi, ecx
add ecx, 2
jmp 0x418931
add ecx, 2
cmp word [ecx], 0
je 0x418967
add ecx, 2
jmp 0x418931
mov ecx, dword [esp + 0x20]
push ebp
push str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
call fcn.0042f1f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp word [ecx], 0
je 0x4189b5
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x418a8a.99
movzx edx, byte [eax + 0x419660]
jmp dword [edx*4 + 0x41963c]
mov eax, 7
mov word [edi], ax
jmp case.0x418a8a.99
mov edx, 8
jmp 0x418ad3
mov eax, 0xc
mov word [edi], ax
jmp case.0x418a8a.99
mov edx, 0xa
jmp 0x418ad3
mov eax, 0xd
mov word [edi], ax
jmp case.0x418a8a.99
mov edx, 9
jmp 0x418ad3
mov eax, 0xb
mov word [edi], ax
jmp case.0x418a8a.99
mov edx, 0x20
mov word [edi], dx
mov eax, edi
lea ebx, [eax + 2]
jmp 0x418ae0
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x418ae0
sub eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.0048b1f0
add esp, 0xc
mov ecx, edi
jmp 0x418998
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x10], 0x49e828
jmp 0x4189bc
cmp word [ecx], 0
je 0x4189e5
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x418b36.99
movzx edx, byte [eax + 0x41969c]
jmp dword [edx*4 + 0x419678]
mov eax, 7
mov word [edi], ax
jmp case.0x418b36.99
mov edx, 8
jmp 0x418b7f
mov eax, 0xc
mov word [edi], ax
jmp case.0x418b36.99
mov edx, 0xa
jmp 0x418b7f
mov eax, 0xd
mov word [edi], ax
jmp case.0x418b36.99
mov edx, 9
jmp 0x418b7f
mov eax, 0xb
mov word [edi], ax
jmp case.0x418b36.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 0x418b87
sub eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.0048b1f0
add esp, 0xc
mov ecx, edi
jmp 0x4189c1
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.00471840
add esp, 8
test eax, eax
jne 0x418d64
test esi, esi
je 0x418486
mov eax, str.EndChars
mov ecx, esi
call fcn.00471b50
test eax, eax
je 0x418cec
mov ebx, 0x4a2964
call fcn.00409160
test eax, eax
je 0x418486
add eax, 2
push 0x64
push eax
push 0x4c0410
call fcn.0048d334
movzx ebx, word [0x4c0404]
add esp, 0xc
xor edx, edx
mov word [0x4c04d8], dx
mov ecx, 0x4c0410
jmp 0x418c30
movzx eax, word [ecx]
test ax, ax
je 0x418486
lea esp, [esp]
cmp ax, bx
je 0x418c60
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x418c40
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp word [ecx], 0
je 0x418486
movzx eax, word [ecx + 2]
lea esi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x418c80.99
movzx eax, byte [eax + 0x4196d8]
jmp dword [eax*4 + 0x4196b4]
mov edx, 7
jmp 0x418cbf
mov eax, 8
mov word [esi], ax
jmp case.0x418c80.99
mov edx, 0xc
jmp 0x418cbf
mov eax, 0xa
mov word [esi], ax
jmp case.0x418c80.99
mov edx, 0xd
jmp 0x418cbf
mov eax, 9
mov word [esi], ax
jmp case.0x418c80.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 0x418cc7
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push ecx
call fcn.0048b1f0
add esp, 0xc
mov ecx, esi
jmp 0x418c30
push 7
push str.NoMouse
push esi
call fcn.0048afc2
add esp, 0xc
test eax, eax
jne 0x418d14
mov byte [0x4c0402], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0x4c46e8
push 0x4c46e7
push 0x4c03ff
push 0x4c46e6
push 0x4c46e5
push 0x4c03fe
push 0x4c0387
push 0x4c46e4
push 0x4c0408
push 0x4c46e0
push 0x4c46dc
mov eax, esi
call fcn.0040ca10
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.00471840
add esp, 8
test eax, eax
jne 0x418d9f
test esi, esi
je 0x418486
mov esi, dword [esp + 0x24]
call fcn.0040cc70
mov dword [0x4c03cc], 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.00471840
add esp, 8
test eax, eax
jne 0x418ded
test esi, esi
je 0x418486
mov esi, dword [esp + 0x24]
call fcn.0040cc70
mov dword [0x4c03e8], eax
cmp eax, 0xa
jge 0x418486
mov dword [0x4c03e8], 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.00471840
add esp, 8
test eax, eax
jne 0x418e3b
test esi, esi
je 0x418486
mov esi, dword [esp + 0x24]
call fcn.0040cc70
mov dword [0x4c03e4], eax
cmp eax, 1
jge 0x418486
mov dword [0x4c03e4], 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.00471840
add esp, 8
test eax, eax
jne 0x418ea0
test esi, esi
je 0x418486
mov esi, dword [esp + 0x24]
call fcn.0040cc70
cmp eax, 0xff
jle 0x418e82
mov eax, 0xff
mov byte [0x4c0386], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp eax, 1
jge 0x418e8c
mov eax, 1
mov byte [0x4c0386], 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.00471840
add esp, 8
test eax, eax
jne 0x418eed
test esi, esi
je 0x418ed7
mov esi, dword [esp + 0x24]
push eax
call fcn.00413d10
add esp, 4
mov byte [0x4c4041], 0
cmp eax, 2
je 0x418486
mov byte [0x4c4041], 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.00471840
add esp, 8
test eax, eax
jne 0x418f52
test esi, esi
je 0x418486
mov esi, dword [esp + 0x24]
call fcn.0040cc70
cmp eax, 0xff
jle 0x418f34
mov eax, 0xff
mov dword [0x4c03e0], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp eax, 1
jge 0x418f3e
mov eax, 1
mov dword [0x4c03e0], 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.00471840
add esp, 8
test eax, eax
jne 0x418f8d
test esi, esi
je 0x418486
mov esi, dword [esp + 0x24]
call fcn.0040cc70
mov dword [0x4c03d0], 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.00471840
add esp, 8
test eax, eax
jne 0x418fda
test esi, esi
je 0x418fc4
mov esi, dword [esp + 0x24]
push eax
call fcn.00413d10
add esp, 4
mov byte [0x4c46e9], 0
cmp eax, 2
je 0x418486
mov byte [0x4c46e9], 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.00471840
add esp, 8
test eax, eax
jne 0x419006
mov byte [0x4c400a], 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.00471840
add esp, 8
test eax, eax
jne 0x419036
mov ecx, dword [esp + 0x20]
mov byte [ecx + 0xaa3], 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.00471840
add esp, 8
test eax, eax
jne 0x4190c0
test esi, esi
je 0x418486
mov esi, dword [esp + 0x24]
call fcn.00412a20
fld qword [0x4baf20]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x419079
fstp st(0)
fld1
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x41907d
fstp st(1)
jmp 0x41907f
fstp st(0)
fld qword [0x4bae20]
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 [0x4c03dc], 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.00471840
add esp, 8
test eax, eax
jne 0x41912d
test esi, esi
je 0x418486
mov esi, dword [esp + 0x24]
call fcn.0040cc70
mov dword [0x4c03d8], eax
test eax, eax
jns 0x419109
mov dword [0x4c03d8], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp eax, 0x1f4
jle 0x418486
mov dword [0x4c03d8], 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.00471840
add esp, 8
test eax, eax
jne 0x419203
test esi, esi
je 0x418486
cmp word [esi + 2], ax
jne 0x4191b9
movzx eax, word [esi]
cmp eax, 0x23
je 0x4191a0
cmp ax, word [0x4c0400]
je 0x4191a0
cmp ax, word [0x4c0404]
je 0x4191a0
cmp ax, word [0x4c03fc]
je 0x4191a0
cmp eax, 0x21
je 0x4191a0
cmp eax, 0x5e
je 0x4191a0
cmp eax, 0x2b
je 0x4191a0
cmp eax, 0x24
je 0x4191a0
cmp eax, 0x7e
je 0x4191a0
cmp eax, 0x2a
je 0x4191a0
cmp eax, 0x3c
je 0x4191a0
cmp eax, 0x3e
jne 0x4191b9
mov ecx, dword [esp + 0x20]
push ebp
push str.Parameter_1_invalid.
call fcn.0042f1f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xf
push esi
push 0x4c03a0
call fcn.0048d334
add esp, 0xc
xor eax, eax
mov word [0x4c03be], ax
mov eax, 0x4c03a0
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4191e0
sub eax, edx
sar eax, 1
mov dword [0x4c03c0], 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.00471840
add esp, 8
test eax, eax
jne 0x41927b
test esi, esi
je 0x418486
movzx eax, word [esi]
cmp eax, 0x23
je 0x4191a0
cmp ax, word [0x4c0400]
je 0x4191a0
cmp ax, word [0x4c03fc]
je 0x4191a0
cmp eax, 0x2e
je 0x4191a0
cmp dword [0x4c03c0], 1
jne 0x419266
cmp ax, word [0x4c03a0]
je 0x4191a0
mov word [0x4c0404], 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.00471840
add esp, 8
test eax, eax
jne 0x4192ea
test esi, esi
je 0x418486
movzx eax, word [esi]
cmp ax, word [0x4c0404]
je 0x4191a0
cmp ax, word [0x4c03fc]
je 0x4191a0
cmp eax, 0x2e
je 0x4191a0
cmp dword [0x4c03c0], 1
jne 0x4192d5
cmp ax, word [0x4c03a0]
je 0x4191a0
mov word [0x4c0400], ax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4a2b5c
mov ecx, ebp
call fcn.00471840
add esp, 8
test eax, eax
jne 0x419362
test esi, esi
je 0x418486
movzx eax, word [esi]
cmp eax, 0x23
je 0x4191a0
cmp ax, word [0x4c0404]
je 0x4191a0
cmp ax, word [0x4c0400]
je 0x4191a0
cmp eax, 0x2e
je 0x4191a0
cmp dword [0x4c03c0], 1
jne 0x41934d
cmp ax, word [0x4c03a0]
je 0x4191a0
mov word [0x4c03fc], 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.00471840
add esp, 8
test eax, eax
jne 0x4193d6
test esi, esi
je 0x4193bc
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 1
mov ecx, eax
push 1
xor edx, edx
mov eax, esi
call fcn.00411be0
add esp, 8
mov byte [0x4c0385], al
test al, al
jne 0x418486
mov ecx, dword [esp + 0x20]
mov eax, str.Parameter_1_invalid.
push ebp
push eax
call fcn.0042f1f0
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.0042f1f0
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.00471840
add esp, 8
test eax, eax
jne 0x419434
test esi, esi
je 0x41941e
mov esi, dword [esp + 0x24]
call fcn.0040cc70
test eax, eax
js 0x4191a0
cmp eax, 0x64
jg 0x4191a0
mov byte [0x4c4042], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
xor eax, eax
mov byte [0x4c4042], 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.00471840
add esp, 8
test eax, eax
jne 0x418bac
test esi, esi
jne 0x41945a
mov dword [esp + 0x24], 0x4a2be0
movzx ecx, word [0x4c03fc]
mov ebx, dword [esp + 0x24]
push ecx
push ebx
call fcn.0048b551
mov esi, eax
add esp, 8
or edi, 0xffffffff
mov dword [esp + 0x24], 0x49e828
test esi, esi
je 0x41949d
lea eax, [esi + 2]
call fcn.004091b0
mov dword [esp + 0x24], eax
lea eax, [esi - 2]
mov edx, ebx
call fcn.004091d0
mov edi, eax
sub edi, ebx
sar edi, 1
inc edi
push 0xffffffffffffffff
push edi
mov eax, 0x4a2be0
mov ecx, ebx
call fcn.00471840
add esp, 8
test eax, eax
je 0x419526
test edi, edi
je 0x419526
push 0xffffffffffffffff
push edi
mov eax, str.UseUnsetLocal
mov ecx, ebx
call fcn.00471840
add esp, 8
test eax, eax
jne 0x4194d1
xor esi, esi
jmp 0x41952b
push 0xffffffffffffffff
push edi
mov eax, str.UseUnsetGlobal
mov ecx, ebx
call fcn.00471840
add esp, 8
test eax, eax
jne 0x4194ec
lea esi, [eax + 1]
jmp 0x41952b
push 0xffffffffffffffff
push edi
mov eax, str.UseEnv
mov ecx, ebx
call fcn.00471840
add esp, 8
test eax, eax
jne 0x419507
lea esi, [eax + 3]
jmp 0x41952b
push 0xffffffffffffffff
push edi
mov eax, str.LocalSameAsGlobal
mov ecx, ebx
call fcn.00471840
add esp, 8
test eax, eax
jne 0x4191a0
lea esi, [eax + 2]
jmp 0x41952b
mov esi, 4
mov edi, dword [esp + 0x24]
cmp word [edi], 0
jne 0x41953c
mov eax, 2
jmp 0x419599
push str.MsgBox
push edi
call fcn.0048a789
add esp, 8
test eax, eax
jne 0x419555
mov eax, 2
jmp 0x419599
push str.OutputDebug
push edi
call fcn.0048a789
add esp, 8
test eax, eax
jne 0x41956e
mov eax, 1
jmp 0x419599
push str.StdOut
push edi
call fcn.0048a789
add esp, 8
test eax, eax
jne 0x419587
mov eax, 3
jmp 0x419599
push 0x4a1114
push edi
call fcn.0048a789
add esp, 8
test eax, eax
jne 0x4195e7
test esi, esi
je 0x4195a2
cmp esi, 4
jne 0x4195a7
mov dword [0x4c4024], eax
cmp esi, 1
je 0x4195b1
cmp esi, 4
jne 0x4195b6
mov dword [0x4c4028], eax
cmp esi, 3
je 0x4195c0
cmp esi, 4
jne 0x4195c5
mov dword [0x4c402c], eax
cmp esi, 2
je 0x4195d3
cmp esi, 4
jne 0x418486
mov dword [0x4c4030], 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.0042f1f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8