Function at 0x417bb0
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0xc
push ebx
mov bl, byte [0x4a3367]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
mov word [esp + 0x24], 0x920
mov byte [esp + 0x26], bl
mov byte [esp + 0x27], 0
mov esi, ebp
test ebp, ebp
je 0x417bfa
mov dl, byte [ebp]
test dl, dl
je 0x417bfa
mov edi, edi
lea ecx, [esp + 0x24]
mov al, 0x20
cmp dl, al
je 0x417c0e
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x417be6
mov dl, byte [esi + 1]
inc esi
test dl, dl
jne 0x417be0
mov eax, ebp
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417c00
sub eax, edx
lea edi, [eax + ebp]
jmp 0x417c47
mov edi, esi
mov eax, esi
mov cl, byte [eax]
cmp cl, 0x20
je 0x417c1e
cmp cl, 9
jne 0x417c21
inc eax
jmp 0x417c12
mov cl, byte [eax]
test cl, cl
je 0x417c47
cmp cl, bl
je 0x417c2f
mov esi, eax
jmp 0x417c49
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x417c2f
cmp cl, 9
je 0x417c2f
mov esi, eax
mov dword [esp + 0x24], esi
test cl, cl
jne 0x417c4d
xor esi, esi
mov dword [esp + 0x24], esi
sub edi, ebp
push 0xffffffffffffffff
push edi
mov eax, str.Include
mov ecx, ebp
call fcn.0046ec50
add esp, 8
test eax, eax
je 0x417c9b
push 0xffffffffffffffff
push edi
mov eax, str.IncludeAgain
mov ecx, ebp
call fcn.0046ec50
add esp, 8
test eax, eax
je 0x417c9b
push 0xffffffffffffffff
push edi
mov eax, str.NoEnv
mov ecx, ebp
call fcn.0046ec50
add esp, 8
test eax, eax
jne 0x417caa
mov dword [0x4a6dd4], 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.0046ec50
add esp, 8
test eax, eax
jne 0x417cd6
mov byte [0x4a6dc0], 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.0046ec50
add esp, 8
test eax, eax
jne 0x417d02
mov byte [0x4a6d93], 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.0046ec50
add esp, 8
test eax, eax
jne 0x417db3
mov dword [0x4a6dbc], 1
test esi, esi
je 0x417c9b
push str.Force
push esi
call fcn.004816e1
add esp, 8
test eax, eax
jne 0x417d59
mov dword [0x4a6dbc], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push str.Ignore
push esi
call fcn.004816e1
add esp, 8
test eax, eax
jne 0x417d84
mov dword [0x4a6dbc], 3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0x496df0
push esi
call fcn.004816e1
add esp, 8
test eax, eax
jne 0x417c9b
mov dword [0x4a6dbc], 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.0046ec50
add esp, 8
test eax, eax
jne 0x417ddf
or byte [0x4a7582], 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.0046ec50
add esp, 8
test eax, eax
jne 0x417e0b
or byte [0x4a7582], 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.0046ec50
add esp, 8
test eax, eax
jne 0x417e54
test esi, esi
je 0x417e3e
push eax
call fcn.004137d0
add esp, 4
mov byte [0x4a7472], 0
cmp eax, 2
je 0x417c9b
mov byte [0x4a7472], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x497ac8
mov ecx, ebp
call fcn.0046ec50
add esp, 8
test eax, eax
jne 0x418004
xor ebp, ebp
cmp esi, ebp
jne 0x417ea1
mov eax, 0x4957f9
mov dword [0x4a33bc], eax
mov dword [0x4a33c0], eax
mov byte [0x4a6dcb], 0
mov dword [0x4a33c4], 0xffffffff
lea eax, [ebp + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov eax, dword [0x4a3440]
mov ecx, dword [eax + 0x94]
mov bl, byte [0x4a33cd]
mov dword [esp + 0x10], ecx
mov dword [eax + 0x94], ebp
mov ecx, esi
mov al, byte [ecx]
test al, al
je 0x417ed0
cmp al, bl
je 0x417ef5
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x417ec4
mov edi, dword [esp + 0x20]
push ebp
push 0x100
lea eax, [esp + 0x2c]
push eax
push 3
push edi
call fcn.0041b470
test eax, eax
jne 0x417f5a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp byte [ecx], 0
je 0x417ed0
movsx eax, byte [ecx + 1]
lea esi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x417f10.99
movzx edx, byte [eax + 0x418cc4]
jmp dword [edx*4 + 0x418ca0]
mov byte [esi], 7
jmp case.0x417f10.99
mov byte [esi], 8
jmp case.0x417f10.99
mov byte [esi], 0xc
jmp case.0x417f10.99
mov byte [esi], 0xa
jmp case.0x417f10.99
mov byte [esi], 0xd
jmp case.0x417f10.99
mov byte [esi], 9
jmp case.0x417f10.99
mov byte [esi], 0xb
mov eax, esi
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x417f40
sub eax, edi
inc eax
push eax
push esi
push ecx
call fcn.004822a0
add esp, 0xc
jmp 0x417ebc
mov esi, dword [edi + 4]
cmp dword [edi], esi
jne 0x417f63
mov dword [edi], ebp
mov eax, dword [esi + 0x10]
mov dword [edi + 4], eax
cmp eax, ebp
je 0x417f70
mov dword [eax + 0x14], ebp
mov ecx, dword [esp + 0x10]
mov ebx, dword [0x4a6df0]
mov eax, edi
mov edx, dword [eax + 4]
mov dword [eax + 0x368], edx
mov eax, dword [0x4a3440]
mov dword [eax + 0x94], ecx
mov edx, dword [esi + 8]
mov eax, dword [edx + 4]
mov dword [0x4a33bc], eax
mov eax, dword [0x4a6df4]
lea edi, [ebx + 1]
mov byte [0x4a6dcb], 5
mov dword [0x4a33c0], 0x4957f9
cmp edi, eax
jle 0x417fdc
mov edx, dword [0x4a6dec]
add eax, 0x64
lea ecx, [eax*4]
push ecx
push edx
mov dword [0x4a6df4], eax
call fcn.00482c67
add esp, 8
mov dword [0x4a6dec], eax
mov ecx, dword [0x4a6dec]
mov eax, ebx
mov dword [0x4a33c4], eax
mov dword [ecx + eax*4], esi
mov dword [0x4a6df0], edi
mov dword [esi + 0x10], ebp
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.0046ec50
add esp, 8
test eax, eax
jne 0x41803b
test esi, esi
je 0x417c9b
call fcn.00412590
mov dword [0x4a33c8], 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.0048214b
add esp, 0xc
test eax, eax
jne 0x4182ee
push 3
lea edx, [ebp + 6]
push 0x496ec0
push edx
call fcn.0048214b
add esp, 0xc
test eax, eax
sete bl
movzx eax, bl
neg eax
sbb eax, eax
and eax, 3
lea edi, [eax + 6]
push 6
add edi, ebp
push str.Active
push edi
call fcn.0048214b
add esp, 0xc
test eax, eax
jne 0x41809d
test bl, bl
setne cl
inc cl
mov byte [0x4a6dcb], cl
jmp 0x4180c3
push 5
push str.Exist
push edi
call fcn.0048214b
add esp, 0xc
test eax, eax
jne 0x4182df
test bl, bl
setne dl
add dl, 3
mov byte [0x4a6dcb], dl
mov edx, dword [esp + 0x24]
mov dword [0x4a33c4], 0xffffffff
test edx, edx
jne 0x4180f7
mov eax, 0x4957f9
mov dword [0x4a33bc], eax
mov dword [0x4a33c0], eax
mov byte [0x4a6dcb], dl
lea eax, [edx + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov al, byte [0x4a3367]
xor esi, esi
mov edi, edi
mov cl, byte [edx]
test cl, cl
je 0x418122
cmp cl, byte [0x4a33cd]
je 0x41813f
cmp cl, al
je 0x41813f
cmp cl, byte [0x4a33cc]
je 0x41813f
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x418106
test esi, esi
je 0x418217
lea edi, [esi + 1]
lea ecx, [ecx]
mov cl, byte [edi]
cmp cl, 0x20
je 0x41813c
cmp cl, 9
jne 0x41817c
inc edi
jmp 0x418130
mov cl, byte [edx]
test cl, cl
je 0x418122
cmp cl, byte [0x4a33cc]
je 0x418163
cmp cl, al
jne 0x41815a
test esi, esi
jne 0x418163
mov esi, edx
inc edx
jmp 0x418100
inc edx
cmp byte [edx], 0
je 0x418122
inc edx
jmp 0x418100
mov ecx, dword [esp + 0x20]
push ebp
push str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
call fcn.0042d320
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov ebp, dword [esp + 0x24]
mov eax, esi
mov byte [esi], 0
sub eax, ebp
mov esi, ebp
mov dword [esp + 0x10], edi
call fcn.00412480
mov bl, byte [0x4a33cd]
mov ecx, edi
mov al, byte [ecx]
test al, al
je 0x418223
cmp al, bl
je 0x4181b2
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4181a4
jmp 0x418223
cmp byte [ecx], 0
je 0x418223
movsx eax, byte [ecx + 1]
lea edi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x4181cd.99
movzx eax, byte [eax + 0x418d00]
jmp dword [eax*4 + 0x418cdc]
mov byte [edi], 7
jmp case.0x4181cd.99
mov byte [edi], 8
jmp case.0x4181cd.99
mov byte [edi], 0xc
jmp case.0x4181cd.99
mov byte [edi], 0xa
jmp case.0x4181cd.99
mov byte [edi], 0xd
jmp case.0x4181cd.99
mov byte [edi], 9
jmp case.0x4181cd.99
mov byte [edi], 0xb
jmp case.0x4181cd.99
mov byte [edi], 0x20
mov eax, edi
lea esi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x418200
sub eax, esi
inc eax
push eax
push edi
push ecx
call fcn.004822a0
add esp, 0xc
jmp 0x418198
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x10], 0x4957f9
mov bl, byte [0x4a33cd]
mov ecx, ebp
jmp 0x418230
mov al, byte [ecx]
test al, al
je 0x418242
cmp al, bl
je 0x418276
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x418236
mov eax, dword [esp + 0x10]
push eax
mov ebx, ebp
call fcn.00409210
add esp, 4
test eax, eax
jne 0x417c9b
mov ecx, dword [esp + 0x20]
push 0x4957f9
push str.Out_of_memory.
call fcn.0042d320
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp byte [ecx], 0
je 0x418242
movsx eax, byte [ecx + 1]
lea edi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x418291.99
movzx edx, byte [eax + 0x418d3c]
jmp dword [edx*4 + 0x418d18]
mov byte [edi], 7
jmp case.0x418291.99
mov byte [edi], 8
jmp case.0x418291.99
mov byte [edi], 0xc
jmp case.0x418291.99
mov byte [edi], 0xa
jmp case.0x418291.99
mov byte [edi], 0xd
jmp case.0x418291.99
mov byte [edi], 9
jmp case.0x418291.99
mov byte [edi], 0xb
jmp case.0x418291.99
mov byte [edi], 0x20
mov eax, edi
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4182c3
sub eax, esi
inc eax
push eax
push edi
push ecx
call fcn.004822a0
add esp, 0xc
mov ecx, edi
jmp 0x418230
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.0046ec50
add esp, 8
test eax, eax
jne 0x418461
test esi, esi
je 0x417c9b
push str.EndChars
mov eax, esi
call fcn.0046ef40
add esp, 4
test eax, eax
je 0x4183e9
mov edi, 0x497b34
call fcn.00408f20
test eax, eax
je 0x417c9b
inc eax
push 0x64
push eax
push str._____:____.___n__t
call fcn.00484520
mov bl, byte [0x4a33cd]
mov byte [0x4a343c], 0
mov ecx, str._____:____.___n__t
mov al, byte [ecx]
add esp, 0xc
test al, al
je 0x417c9b
cmp al, bl
je 0x418381
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x418366
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp byte [ecx], 0
je 0x417c9b
movsx eax, byte [ecx + 1]
lea esi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x4183a0.99
movzx edx, byte [eax + 0x418d78]
jmp dword [edx*4 + 0x418d54]
mov byte [esi], 7
jmp case.0x4183a0.99
mov byte [esi], 8
jmp case.0x4183a0.99
mov byte [esi], 0xc
jmp case.0x4183a0.99
mov byte [esi], 0xa
jmp case.0x4183a0.99
mov byte [esi], 0xd
jmp case.0x4183a0.99
mov byte [esi], 9
jmp case.0x4183a0.99
mov byte [esi], 0xb
mov eax, esi
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4183d0
sub eax, edi
inc eax
push eax
push esi
push ecx
call fcn.004822a0
mov ecx, esi
jmp 0x418359
push 7
push str.NoMouse
push esi
call fcn.0048214b
add esp, 0xc
test eax, eax
jne 0x418411
mov byte [0x4a33d5], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0x4a7470
push 0x4a746f
push 0x4a33d4
push 0x4a746e
push 0x4a746d
push 0x4a33cf
push 0x4a33ce
push 0x4a746c
push 0x4a33d0
push 0x4a7468
push 0x4a7464
mov eax, esi
call fcn.0040c6f0
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.0046ec50
add esp, 8
test eax, eax
jne 0x418498
test esi, esi
je 0x417c9b
call fcn.0040c930
mov dword [0x4a339c], 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.0046ec50
add esp, 8
test eax, eax
jne 0x4184e2
test esi, esi
je 0x417c9b
call fcn.0040c930
mov dword [0x4a33b8], eax
cmp eax, 0xa
jge 0x417c9b
mov dword [0x4a33b8], 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.0046ec50
add esp, 8
test eax, eax
jne 0x41852c
test esi, esi
je 0x417c9b
call fcn.0040c930
mov dword [0x4a33b4], eax
cmp eax, 1
jge 0x417c9b
mov dword [0x4a33b4], 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.0046ec50
add esp, 8
test eax, eax
jne 0x41858d
test esi, esi
je 0x417c9b
call fcn.0040c930
cmp eax, 0xff
jle 0x41856f
mov eax, 0xff
mov byte [0x4a3366], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp eax, 1
jge 0x418579
mov eax, 1
mov byte [0x4a3366], 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.0046ec50
add esp, 8
test eax, eax
jne 0x4185d6
test esi, esi
je 0x4185c0
push eax
call fcn.004137d0
add esp, 4
mov byte [0x4a6dc9], 0
cmp eax, 2
je 0x417c9b
mov byte [0x4a6dc9], 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.0046ec50
add esp, 8
test eax, eax
jne 0x418637
test esi, esi
je 0x417c9b
call fcn.0040c930
cmp eax, 0xff
jle 0x418619
mov eax, 0xff
mov dword [0x4a33b0], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp eax, 1
jge 0x418623
mov eax, 1
mov dword [0x4a33b0], 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.0046ec50
add esp, 8
test eax, eax
jne 0x41866e
test esi, esi
je 0x417c9b
call fcn.0040c930
mov dword [0x4a33a0], 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.0046ec50
add esp, 8
test eax, eax
jne 0x4186b7
test esi, esi
je 0x4186a1
push eax
call fcn.004137d0
add esp, 4
mov byte [0x4a7471], 0
cmp eax, 2
je 0x417c9b
mov byte [0x4a7471], 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.0046ec50
add esp, 8
test eax, eax
jne 0x4186e3
mov byte [0x4a6d92], 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.0046ec50
add esp, 8
test eax, eax
jne 0x418713
mov eax, dword [esp + 0x20]
mov byte [eax + 0x5db], 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.0046ec50
add esp, 8
test eax, eax
jne 0x418799
test esi, esi
je 0x417c9b
call fcn.004125c0
fld qword [0x49d738]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x418752
fstp st(0)
fld1
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x418756
fstp st(1)
jmp 0x418758
fstp st(0)
fld qword [0x49d638]
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 ecx, dword [esp + 0x10]
mov dword [0x4a33ac], ecx
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.0046ec50
add esp, 8
test eax, eax
jne 0x418802
test esi, esi
je 0x417c9b
call fcn.0040c930
mov dword [0x4a33a8], eax
test eax, eax
jns 0x4187de
mov dword [0x4a33a8], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp eax, 0x1f4
jle 0x417c9b
mov dword [0x4a33a8], 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.0046ec50
add esp, 8
test eax, eax
jne 0x4188bd
test esi, esi
je 0x417c9b
cmp byte [esi + 1], al
jne 0x418880
mov al, byte [esi]
cmp al, 0x23
je 0x418867
cmp al, byte [0x4a33cc]
je 0x418867
cmp al, byte [0x4a33cd]
je 0x418867
cmp al, byte [0x4a3367]
je 0x418867
cmp al, 0x21
je 0x418867
cmp al, 0x5e
je 0x418867
cmp al, 0x2b
je 0x418867
cmp al, 0x24
je 0x418867
cmp al, 0x7e
je 0x418867
cmp al, 0x2a
je 0x418867
cmp al, 0x3c
je 0x418867
cmp al, 0x3e
jne 0x418880
mov ecx, dword [esp + 0x20]
push ebp
push str.Parameter_1_invalid.
call fcn.0042d320
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xf
push esi
push 0x4a3380
call fcn.00484520
mov eax, 0x4a3380
add esp, 0xc
mov byte [0x4a338f], 0
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4188a0
sub eax, edx
mov dword [0x4a3390], 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.0046ec50
add esp, 8
test eax, eax
jne 0x41892a
test esi, esi
je 0x417c9b
mov al, byte [esi]
cmp al, 0x23
je 0x418867
cmp al, byte [0x4a33cc]
je 0x418867
cmp al, byte [0x4a3367]
je 0x418867
cmp al, 0x2e
je 0x418867
cmp dword [0x4a3390], 1
jne 0x418916
cmp al, byte [0x4a3380]
je 0x418867
mov byte [0x4a33cd], al
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.0046ec50
add esp, 8
test eax, eax
jne 0x418993
test esi, esi
je 0x417c9b
mov al, byte [esi]
cmp al, byte [0x4a33cd]
je 0x418867
cmp al, byte [0x4a3367]
je 0x418867
cmp al, 0x2e
je 0x418867
cmp dword [0x4a3390], 1
jne 0x41897f
cmp al, byte [0x4a3380]
je 0x418867
mov byte [0x4a33cc], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x497c3c
mov ecx, ebp
call fcn.0046ec50
add esp, 8
test eax, eax
jne 0x418a04
test esi, esi
je 0x417c9b
mov al, byte [esi]
cmp al, 0x23
je 0x418867
cmp al, byte [0x4a33cd]
je 0x418867
cmp al, byte [0x4a33cc]
je 0x418867
cmp al, 0x2e
je 0x418867
cmp dword [0x4a3390], 1
jne 0x4189f0
cmp al, byte [0x4a3380]
je 0x418867
mov byte [0x4a3367], al
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.0046ec50
add esp, 8
test eax, eax
jne 0x418a78
test esi, esi
je 0x418a5e
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 1
mov ecx, eax
push 1
xor edx, edx
mov eax, esi
call fcn.00411790
add esp, 8
mov byte [0x4a3365], al
test al, al
jne 0x417c9b
mov ecx, dword [esp + 0x20]
mov eax, str.Parameter_1_invalid.
push ebp
push eax
call fcn.0042d320
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.0042d320
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.0046ec50
add esp, 8
test eax, eax
jne 0x418ad2
test esi, esi
je 0x418abc
call fcn.0040c930
test eax, eax
js 0x418867
cmp eax, 0x64
jg 0x418867
mov byte [0x4a6dca], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
xor eax, eax
mov byte [0x4a6dca], 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.0046ec50
add esp, 8
test eax, eax
jne 0x4182df
test esi, esi
jne 0x418af8
mov dword [esp + 0x24], 0x497c84
movsx eax, byte [0x4a3367]
mov esi, dword [esp + 0x24]
push eax
push esi
call fcn.004826b1
add esp, 8
or edi, 0xffffffff
mov ebx, 0x4957f9
test eax, eax
je 0x418b42
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [ecx]
cmp dl, 0x20
je 0x418b2c
cmp dl, 9
jne 0x418b2f
inc ecx
jmp 0x418b20
dec eax
mov edx, esi
mov ebx, ecx
call fcn.00408f80
mov edi, 1
sub edi, esi
add edi, eax
push 0xffffffffffffffff
push edi
mov eax, 0x497c84
mov ecx, esi
call fcn.0046ec50
add esp, 8
test eax, eax
je 0x418bcb
test edi, edi
je 0x418bcb
push 0xffffffffffffffff
push edi
mov eax, str.UseUnsetLocal
mov ecx, esi
call fcn.0046ec50
add esp, 8
test eax, eax
jne 0x418b76
xor esi, esi
jmp 0x418bd0
push 0xffffffffffffffff
push edi
mov eax, str.UseUnsetGlobal
mov ecx, esi
call fcn.0046ec50
add esp, 8
test eax, eax
jne 0x418b91
lea esi, [eax + 1]
jmp 0x418bd0
push 0xffffffffffffffff
push edi
mov eax, str.UseEnv
mov ecx, esi
call fcn.0046ec50
add esp, 8
test eax, eax
jne 0x418bac
lea esi, [eax + 3]
jmp 0x418bd0
push 0xffffffffffffffff
push edi
mov eax, str.LocalSameAsGlobal
mov ecx, esi
call fcn.0046ec50
add esp, 8
test eax, eax
jne 0x418867
lea esi, [eax + 2]
jmp 0x418bd0
mov esi, 4
cmp byte [ebx], 0
jne 0x418bdc
mov eax, 2
jmp 0x418c39
push str.MsgBox
push ebx
call fcn.004816e1
add esp, 8
test eax, eax
jne 0x418bf5
mov eax, 2
jmp 0x418c39
push str.OutputDebug
push ebx
call fcn.004816e1
add esp, 8
test eax, eax
jne 0x418c0e
mov eax, 1
jmp 0x418c39
push str.StdOut
push ebx
call fcn.004816e1
add esp, 8
test eax, eax
jne 0x418c27
mov eax, 3
jmp 0x418c39
push 0x496df0
push ebx
call fcn.004816e1
add esp, 8
test eax, eax
jne 0x418c87
test esi, esi
je 0x418c42
cmp esi, 4
jne 0x418c47
mov dword [0x4a6dac], eax
cmp esi, 1
je 0x418c51
cmp esi, 4
jne 0x418c56
mov dword [0x4a6db0], eax
cmp esi, 3
je 0x418c60
cmp esi, 4
jne 0x418c65
mov dword [0x4a6db4], eax
cmp esi, 2
je 0x418c73
cmp esi, 4
jne 0x417c9b
mov dword [0x4a6db8], 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.0042d320
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8