Function at 0x14001be40
Capabilities:
Get keyboard layout

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x40
movzx r8d, word [0x1400fc3d4]
xor r15d, r15d
or rdi, 0xffffffffffffffff
mov dword [rsp + 0x78], 0x90020
mov word [rsp + 0x7c], r8w
mov r14, rdx
mov word [rsp + 0x7e], r15w
mov r13, rcx
mov r9d, SafeArrayAllocDescriptor
mov rsi, rdx
test rdx, rdx
je 0x14001bec3
movzx edx, word [rdx]
test dx, dx
je 0x14001bec3
lea rcx, [rsp + 0x78]
mov eax, r9d
nop dword [rax + rax]
cmp dx, ax
je 0x14001bf4b
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14001bea0
movzx edx, word [rsi + 2]
add rsi, 2
test dx, dx
jne 0x14001be90
mov rax, rdi
nop word [rax + rax]
cmp word [r14 + rax*2 + 2], r15w
lea rax, [rax + 1]
jne 0x14001bed0
lea rsi, [r14 + rax*2]
mov rbx, r15
sub rsi, r14
lea rdx, str.Include
sar rsi, 1
mov r9, rdi
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
je 0x14001bf41
mov r9, rdi
lea rdx, str.IncludeAgain
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
je 0x14001bf41
mov r9, rdi
lea rdx, str.NoEnv
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001bf9c
mov r15d, 1
mov dword [0x1400ffc4c], r15d
mov eax, 3
jmp 0x14001ce68
mov rbx, rsi
nop
movzx eax, word [rbx]
cmp ax, r9w
je 0x14001bf5f
cmp ax, 9
jne 0x14001bf65
add rbx, 2
jmp 0x14001bf50
movzx eax, word [rbx]
test ax, ax
je 0x14001bee0
cmp ax, r8w
jne 0x14001bee3
movzx eax, word [rbx + 2]
add rbx, 2
cmp ax, r9w
je 0x14001bf7b
cmp ax, 9
je 0x14001bf7b
cmp ax, r15w
cmove rbx, r15
jmp 0x14001bee3
mov r9, rdi
lea rdx, str.NoTrayIcon
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001bfc6
mov byte [0x1400ffc51], 1
mov eax, 3
jmp 0x14001ce68
mov r9, rdi
lea rdx, str.Persistent
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001bff0
mov byte [0x1400feec4], 1
mov eax, 3
jmp 0x14001ce68
mov r9, rdi
mov qword [rsp + 0x70], rbp
mov r8, rsi
lea rdx, str.SingleInstance
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001c0a0
mov r15d, 1
mov dword [0x1400feee0], r15d
test rbx, rbx
je 0x14001c096
lea rdx, str.Force
mov rcx, rbx
call fcn.1400a7150
test eax, eax
jne 0x14001c04a
mov ebp, 2
mov dword [0x1400feee0], ebp
lea eax, [rbp + 1]
jmp 0x14001ce63
lea rdx, str.Ignore
mov rcx, rbx
call fcn.1400a7150
test eax, eax
jne 0x14001c071
mov dword [0x1400feee0], 3
mov eax, 3
jmp 0x14001ce63
lea rdx, [0x1400de468]
mov rcx, rbx
call fcn.1400a7150
mov ecx, dword [0x1400feee0]
test eax, eax
mov ebx, 4
cmove ecx, ebx
mov dword [0x1400feee0], ecx
mov eax, 3
jmp 0x14001ce63
mov r9, rdi
lea rdx, str.InstallKeybdHook
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001c0ca
or byte [0x1400ffc77], 1
mov eax, 3
jmp 0x14001ce63
mov r9, rdi
lea rdx, str.InstallMouseHook
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001c0f4
or byte [0x1400ffc77], 2
mov eax, 3
jmp 0x14001ce63
mov r9, rdi
lea rdx, str.UseHook
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001c139
test rbx, rbx
je 0x14001c128
xor edx, edx
mov rcx, rbx
call fcn.140016be0
mov byte [0x1400fef2c], r15b
cmp eax, 2
je 0x14001c12f
mov byte [0x1400fef2c], 1
mov eax, 3
jmp 0x14001ce63
mov r9, rdi
lea rdx, [0x1400cc908]
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001c26f
lea rsi, [0x1400e70b8]
test rbx, rbx
jne 0x14001c185
mov byte [0x1400ff176], r15b
lea eax, [rbx + 3]
mov qword [0x1400fc3e8], rsi
mov qword [0x1400fc3e0], rsi
mov dword [0x1400fc3dc], edi
jmp 0x14001ce63
mov rax, qword [0x1400faa58]
xor r9d, r9d
mov qword [rsp + 0x38], r15
mov r8b, 0xe1
mov qword [rsp + 0x30], r15
mov rdx, rbx
mov qword [rsp + 0x28], r15
mov rcx, r13
mov rdi, qword [rax + 0xd8]
mov qword [rax + 0xd8], r15
mov byte [r13 + 0x75], 1
mov qword [rsp + 0x20], rsi
call fcn.14001d5c0
test eax, eax
je 0x14001ce63
mov rax, qword [0x1400faa58]
mov edx, dword [0x1400ffc28]
mov byte [r13 + 0x75], r15b
mov byte [0x1400ff176], 5
mov qword [rax + 0xd8], rdi
mov rbx, qword [r13 + 8]
mov qword [0x1400fc3e0], rsi
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [0x1400fc3e8], rcx
mov ecx, dword [0x1400ffc2c]
lea eax, [rcx + 1]
cmp eax, edx
jle 0x14001c249
mov rcx, qword [0x1400ffc30]
add edx, 0x64
mov dword [0x1400ffc28], edx
movsxd rdx, edx
shl rdx, 3
call fcn.1400ab024
mov qword [0x1400ffc30], rax
mov rdx, rax
test rax, rax
je 0x14001c473
mov ecx, dword [0x1400ffc2c]
jmp 0x14001c250
mov rdx, qword [0x1400ffc30]
movsxd rax, ecx
inc ecx
mov dword [0x1400fc3dc], eax
mov dword [0x1400ffc2c], ecx
mov qword [rdx + rax*8], rbx
mov eax, 3
jmp 0x14001ce63
mov r9, rdi
lea rdx, str.IfTimeout
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001c2a5
test rbx, rbx
je 0x14001c29b
mov rcx, rbx
call fcn.1400154f0
mov dword [0x1400fc3d8], eax
mov eax, 3
jmp 0x14001ce63
mov r8d, 6
lea rdx, str.IfWin
mov rcx, r14
call fcn.1400a9738
test eax, eax
jne 0x14001c48a
lea rcx, [r14 + 0xc]
lea r8d, [rax + 3]
lea rdx, [0x1400de610]
call fcn.1400a9738
test eax, eax
lea rdx, str.Active
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetUBound
mov ebp, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
sete sil
test sil, sil
cmovne ebp, ecx
lea r8d, [rcx - 0xc]
add rbp, r14
mov rcx, rbp
call fcn.1400a9738
test eax, eax
jne 0x14001c312
inc sil
mov byte [0x1400ff176], sil
jmp 0x14001c33d
mov r8d, 5
lea rdx, str.Exist
mov rcx, rbp
call fcn.1400a9738
test eax, eax
jne 0x14001cf4a
test sil, sil
setne al
add al, 3
mov byte [0x1400ff176], al
mov dword [0x1400fc3dc], edi
test rbx, rbx
jne 0x14001c36c
lea rsi, [0x1400e70b8]
mov byte [0x1400ff176], r15b
mov qword [0x1400fc3e8], rsi
lea eax, [rbx + 3]
mov qword [0x1400fc3e0], rsi
jmp 0x14001ce63
movzx edx, word [0x1400fc3d4]
mov r10, r15
movzx r9d, word [0x1400fc3cc]
mov rcx, rbx
movzx r8d, word [0x1400fc3d0]
nop dword [rax]
movzx eax, word [rcx]
test ax, ax
je 0x14001c3b6
cmp ax, r9w
je 0x14001c3e5
cmp ax, dx
je 0x14001c3e5
cmp ax, r8w
je 0x14001c3e5
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14001c398
lea rsi, [0x1400e70b8]
test r10, r10
je 0x14001c452
lea rdi, [r10 + 2]
nop word [rax + rax]
movzx eax, word [rdi]
cmp ax, 0x20
je 0x14001c3df
cmp ax, 9
jne 0x14001c430
add rdi, 2
jmp 0x14001c3d0
movzx eax, word [rcx]
test ax, ax
je 0x14001c3b6
cmp ax, r8w
je 0x14001c419
cmp ax, dx
jne 0x14001c406
test r10, r10
jne 0x14001c419
mov r10, rcx
add rcx, 2
jmp 0x14001c390
add rcx, 2
cmp word [rcx], r15w
je 0x14001c3b6
add rcx, 2
jmp 0x14001c390
mov r8, r14
lea rdx, str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
mov rcx, r13
call fcn.140035a00
jmp 0x14001ce63
mov word [r10], r15w
mov rcx, rbx
sub r10, rbx
sar r10, 1
mov rdx, r10
call fcn.1400153f0
mov r8b, 1
mov rcx, rdi
call fcn.140089a10
jmp 0x14001c455
mov rdi, rsi
mov r8b, 1
mov rcx, rbx
call fcn.140089a10
mov rdx, rdi
mov rcx, rbx
call fcn.14000b290
test eax, eax
jne 0x14001ccfb
mov r8, rsi
lea rdx, str.Out_of_memory.
mov rcx, r13
call fcn.140035a00
jmp 0x14001ce63
mov r9, rdi
lea rdx, str.Hotstring
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001c6cb
test rbx, rbx
je 0x14001ccfb
lea rdx, str.EndChars
mov rcx, rbx
call fcn.1400876c0
test rax, rax
je 0x14001c513
lea rdx, [0x1400e0dd4]
mov rcx, rax
call fcn.14000ad70
test rax, rax
je 0x14001ccfb
lea rdx, [rax + 2]
mov r8d, 0x64
lea rcx, str._____:____.___n__t
call fcn.1400b0214
xor r8d, r8d
mov word [0x1400fc3c8], r15w
lea rcx, str._____:____.___n__t
call fcn.140089a10
mov eax, 3
jmp 0x14001ce63
mov r8d, 7
lea rdx, str.NoMouse
mov rcx, rbx
call fcn.1400a9738
test eax, eax
jne 0x14001c53d
mov byte [0x1400fc2f8], r15b
mov eax, 3
jmp 0x14001ce63
cmp word [rbx], r15w
je 0x14001ccfb
mov ebp, 2
lea r14, [0x140000000]
movzx eax, word [rbx]
cmp ax, 0x3a
je 0x14001ccfb
movzx edi, ax
lea rsi, [rbx + 2]
test edi, 0xffffff80
jne 0x14001c57f
mov edx, ebp
mov ecx, edi
call fcn.1400a9cf4
test eax, eax
je 0x14001c57f
and edi, 0xffffffdf
movzx eax, di
add eax, 0xffffffd6
cmp eax, 0x30
ja case.0x14001c5a4.52
cdqe
movzx eax, byte [r14 + rax + 0x1cf80]
mov ecx, dword [r14 + rax*4 + 0x1cf54]
add rcx, r14
jmp rcx
cmp word [rsi], 0x30
sete byte [0x1400fc2f9]
jmp case.0x14001c5a4.52
cmp word [rsi], 0x30
setne byte [0x1400fef2f]
jmp case.0x14001c5a4.52
cmp word [rsi], 0x30
setne byte [0x1400fc2fa]
jmp case.0x14001c5a4.52
movzx eax, word [rsi]
cmp ax, 0x30
jne 0x14001c5f2
mov byte [0x1400fc2fb], 1
mov byte [0x1400ff08e], r15b
jmp case.0x14001c5a4.52
mov byte [0x1400fc2fb], r15b
cmp ax, 0x31
jne 0x14001c60b
mov byte [0x1400ff08e], r15b
jmp case.0x14001c5a4.52
mov byte [0x1400ff08e], 1
jmp case.0x14001c5a4.52
cmp word [rsi], 0x30
setne byte [0x1400ff08d]
jmp case.0x14001c5a4.52
mov rcx, rsi
call fcn.1400aad18
mov dword [0x1400ff0a0], eax
jmp case.0x14001c5a4.52
mov rcx, rsi
call fcn.1400aad18
mov dword [0x1400ff0a4], eax
jmp case.0x14001c5a4.52
cmp word [rsi], 0x30
setne byte [0x1400ff08c]
jmp case.0x14001c5a4.52
movzx eax, word [rsi]
test ax, ax
mov edi, eax
cmove rsi, rbx
mov rbx, rsi
test eax, 0xffffff80
jne 0x14001c67a
mov edx, ebp
mov ecx, eax
call fcn.1400a9cf4
test eax, eax
je 0x14001c67a
and edi, 0xffffffdf
movzx eax, di
cmp eax, 0x45
je 0x14001c6a0
cmp eax, 0x49
je 0x14001c694
cmp eax, 0x50
jne case.0x14001c5a4.52
mov dword [0x1400fc2fc], ebp
jmp case.0x14001c5a4.52
mov dword [0x1400fc2fc], 3
jmp case.0x14001c5a4.52
mov dword [0x1400fc2fc], r15d
jmp case.0x14001c5a4.52
cmp word [rsi], 0x30
setne byte [0x1400fef2e]
add rbx, rbp
cmp word [rbx], r15w
jne 0x14001c553
mov eax, 3
jmp 0x14001ce63
mov r9, rdi
lea rdx, str.HotkeyModifierTimeout
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001c701
test rbx, rbx
je 0x14001c6f7
mov rcx, rbx
call fcn.14000ec70
mov dword [0x1400fc400], eax
mov eax, 3
jmp 0x14001ce63
mov r9, rdi
lea rdx, str.HotkeyInterval
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001c741
test rbx, rbx
je 0x14001c737
mov rcx, rbx
call fcn.14000ec70
mov ecx, 0xa
cmp eax, ecx
cmovl eax, ecx
mov dword [0x1400fc3f0], eax
mov eax, 3
jmp 0x14001ce63
mov r9, rdi
lea rdx, str.MaxHotkeysPerInterval
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001c784
test rbx, rbx
je 0x14001c77a
mov rcx, rbx
call fcn.14000ec70
mov r15d, 1
cmp eax, r15d
cmovl eax, r15d
mov dword [0x1400fc3f4], eax
mov eax, 3
jmp 0x14001ce63
mov r9, rdi
lea rdx, str.MaxThreadsPerHotkey
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001c7d2
test rbx, rbx
je 0x14001c7c8
mov rcx, rbx
call fcn.14000ec70
mov ecx, 0xff
cmp eax, ecx
jg 0x14001c7c2
mov r15d, 1
mov ecx, eax
cmp eax, r15d
cmovl ecx, r15d
mov byte [0x1400fc3ca], cl
mov eax, 3
jmp 0x14001ce63
mov r9, rdi
lea rdx, str.MaxThreadsBuffer
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001c817
test rbx, rbx
je 0x14001c806
xor edx, edx
mov rcx, rbx
call fcn.140016be0
mov byte [0x1400ffc48], r15b
cmp eax, 2
je 0x14001c80d
mov byte [0x1400ffc48], 1
mov eax, 3
jmp 0x14001ce63
mov r9, rdi
lea rdx, str.MaxThreads
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001c865
test rbx, rbx
je 0x14001c85b
mov rcx, rbx
call fcn.14000ec70
mov ecx, 0xff
cmp eax, ecx
jg 0x14001c855
mov r15d, 1
mov ecx, eax
cmp eax, r15d
cmovl ecx, r15d
mov dword [0x1400faa54], ecx
mov eax, 3
jmp 0x14001ce63
mov r9, rdi
lea rdx, str.ClipboardTimeout
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001c89b
test rbx, rbx
je 0x14001c891
mov rcx, rbx
call fcn.14000ec70
mov dword [0x1400faa64], eax
mov eax, 3
jmp 0x14001ce63
mov r9, rdi
lea rdx, str.LTrim
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001c8e0
test rbx, rbx
je 0x14001c8cf
xor edx, edx
mov rcx, rbx
call fcn.140016be0
mov byte [0x1400fef2d], r15b
cmp eax, 2
je 0x14001c8d6
mov byte [0x1400fef2d], 1
mov eax, 3
jmp 0x14001ce63
mov r9, rdi
lea rdx, str.WinActivateForce
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001c90a
mov byte [0x1400ffc53], 1
mov eax, 3
jmp 0x14001ce63
mov r9, rdi
lea rdx, str.ErrorStdOut
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001c935
mov byte [r13 + 0xb93], 1
mov eax, 3
jmp 0x14001ce63
mov r9, rdi
lea rdx, str.MaxMem
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001c9c5
test rbx, rbx
je 0x14001c9bb
mov rcx, rbx
call fcn.140015520
movsd xmm1, qword [0x1400e92b0]
comisd xmm0, xmm1
ja 0x14001c975
movsd xmm1, qword [0x1400e9258]
maxsd xmm1, xmm0
mulsd xmm1, qword [0x1400e92a0]
xor ecx, ecx
movsd xmm0, qword [0x1400e9308]
mulsd xmm1, qword [0x1400e92a0]
comisd xmm1, xmm0
jb 0x14001c9ac
subsd xmm1, xmm0
comisd xmm1, xmm0
jae 0x14001c9ac
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rax, xmm1
add rax, rcx
mov qword [0x1400fc3f8], rax
mov eax, 3
jmp 0x14001ce63
mov r9, rdi
lea rdx, str.KeyHistory
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001ca1a
test rbx, rbx
je 0x14001ca10
mov rcx, rbx
call fcn.14000ec70
test eax, eax
jns 0x14001ca00
mov dword [0x1400faa60], r15d
mov eax, 3
jmp 0x14001ce63
mov ecx, 0x1f4
cmp eax, ecx
cmovg eax, ecx
mov dword [0x1400faa60], eax
mov eax, 3
jmp 0x14001ce63
mov r9, rdi
lea rdx, str.CommentFlag
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001cadd
test rbx, rbx
je 0x14001cad3
cmp word [rbx + 2], r15w
jne 0x14001caa2
movzx ecx, word [rbx]
cmp cx, 0x23
je 0x14001ccdd
cmp cx, word [0x1400fc3d0]
je 0x14001ccdd
cmp cx, word [0x1400fc3cc]
je 0x14001ccdd
cmp cx, word [0x1400fc3d4]
je 0x14001ccdd
lea eax, [rcx - 0x21]
cmp ax, 0x3d
ja 0x14001ca98
movabs rdx, 0x2000000028000609
bt rdx, rax
jb 0x14001ccdd
cmp cx, 0x7e
je 0x14001ccdd
mov rdx, rbx
mov r8d, reloc.OLEAUT32.dll_SafeArrayDestroy
lea rbx, [0x1400fcdd8]
mov rcx, rbx
call fcn.1400b0214
mov word [0x1400fcdf6], r15w
inc rdi
cmp word [rbx + rdi*2], r15w
jne 0x14001cac2
mov qword [0x1400fcdd0], rdi
mov eax, 3
jmp 0x14001ce63
mov r9, rdi
lea rdx, str.EscapeChar
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001cb58
test rbx, rbx
je 0x14001ccfb
movzx eax, word [rbx]
cmp ax, 0x23
je 0x14001ccdd
cmp ax, word [0x1400fc3d0]
je 0x14001ccdd
cmp ax, word [0x1400fc3d4]
je 0x14001ccdd
cmp ax, 0x2e
je 0x14001ccdd
cmp qword [0x1400fcdd0], 1
jne 0x14001cb47
cmp ax, word [0x1400fcdd8]
je 0x14001ccdd
mov word [0x1400fc3cc], ax
mov eax, 3
jmp 0x14001ce63
mov r9, rdi
lea rdx, str.DerefChar
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001cbc9
test rbx, rbx
je 0x14001ccfb
movzx eax, word [rbx]
cmp ax, word [0x1400fc3cc]
je 0x14001ccdd
cmp ax, word [0x1400fc3d4]
je 0x14001ccdd
cmp ax, 0x2e
je 0x14001ccdd
cmp qword [0x1400fcdd0], 1
jne 0x14001cbb8
cmp ax, word [0x1400fcdd8]
je 0x14001ccdd
mov word [0x1400fc3d0], ax
mov eax, 3
jmp 0x14001ce63
mov r9, rdi
lea rdx, [0x1400e0fe8]
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001cc44
test rbx, rbx
je 0x14001ccfb
movzx eax, word [rbx]
cmp ax, 0x23
je 0x14001ccdd
cmp ax, word [0x1400fc3cc]
je 0x14001ccdd
cmp ax, word [0x1400fc3d0]
je 0x14001ccdd
cmp ax, 0x2e
je 0x14001ccdd
cmp qword [0x1400fcdd0], 1
jne 0x14001cc33
cmp ax, word [0x1400fcdd8]
je 0x14001ccdd
mov word [0x1400fc3d4], ax
mov eax, 3
jmp 0x14001ce63
mov r9, rdi
lea rdx, str.MenuMaskKey
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001ccaf
test rbx, rbx
je 0x14001cc8a
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov r9b, 1
xor edx, edx
movzx r8d, r9b
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.1400144c0
mov byte [reloc.OLEAUT32.dll_SafeArrayGetElemsize], al
test al, al
jne 0x14001ccfb
test rbx, rbx
lea rax, str.Parameter_1_invalid.
lea rdx, str.Parameter_1_required
mov r8, r14
cmovne rdx, rax
mov rcx, r13
call fcn.140035a00
jmp 0x14001ce63
mov r9, rdi
lea rdx, str.InputLevel
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001cd05
test rbx, rbx
je 0x14001ccf4
mov rcx, rbx
call fcn.14000ec70
mov r15d, eax
cmp eax, 0x64
jbe 0x14001ccf4
mov r8, r14
lea rdx, str.Parameter_1_invalid.
mov rcx, r13
call fcn.140035a00
jmp 0x14001ce63
mov byte [0x1400ff177], r15b
mov eax, 3
jmp 0x14001ce63
mov r9, rdi
lea rdx, str.Warn
mov r8, rsi
mov rcx, r14
call fcn.140087370
test eax, eax
jne 0x14001cf4a
movzx edx, word [0x1400fc3d4]
test rbx, rbx
mov qword [rsp + 0x80], r12
lea r12, [0x1400e1078]
cmovne r12, rbx
mov rcx, r12
call fcn.1400a56c8
lea rsi, [0x1400e70b8]
mov rbx, rdi
test rax, rax
je 0x14001cda1
lea rsi, [rax + 2]
nop word [rax + rax]
movzx ecx, word [rsi]
cmp cx, 0x20
je 0x14001cd6f
cmp cx, 9
jne 0x14001cd75
add rsi, 2
jmp 0x14001cd60
lea rbx, [rax - 2]
cmp rbx, r12
jbe 0x14001cd98
nop
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14001cd8f
cmp ax, 9
jne 0x14001cd98
sub rbx, 2
cmp rbx, r12
ja 0x14001cd80
sub rbx, r12
sar rbx, 1
inc rbx
mov r9, rdi
lea rdx, [0x1400e1078]
mov r8, rbx
mov rcx, r12
call fcn.140087370
mov ebp, 2
lea r15d, [rbp - 1]
test eax, eax
je 0x14001ce7d
test rbx, rbx
je 0x14001ce7d
mov r9, rdi
lea rdx, str.UseUnsetLocal
mov r8, rbx
mov rcx, r12
call fcn.140087370
test eax, eax
jne 0x14001cdf0
xor ebx, ebx
jmp 0x14001ce82
mov r9, rdi
lea rdx, str.UseUnsetGlobal
mov r8, rbx
mov rcx, r12
call fcn.140087370
test eax, eax
jne 0x14001ce0e
mov ebx, r15d
jmp 0x14001ce82
mov r9, rdi
lea rdx, str.UseEnv
mov r8, rbx
mov rcx, r12
call fcn.140087370
test eax, eax
jne 0x14001ce2c
lea ebx, [rax + 3]
jmp 0x14001ce82
mov r9, rdi
lea rdx, str.LocalSameAsGlobal
mov r8, rbx
mov rcx, r12
call fcn.140087370
test eax, eax
jne 0x14001ce49
mov ebx, ebp
jmp 0x14001ce82
mov r8, r14
lea rdx, str.Parameter_1_invalid.
mov rcx, r13
call fcn.140035a00
mov r12, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov ebx, 4
cmp word [rsi], 0
je 0x14001cee0
lea rdx, str.MsgBox
mov rcx, rsi
call fcn.1400a7150
test eax, eax
je 0x14001cee0
lea rdx, str.OutputDebug
mov rcx, rsi
call fcn.1400a7150
test eax, eax
jne 0x14001ceb3
mov ebp, r15d
jmp 0x14001cee0
lea rdx, str.StdOut
mov rcx, rsi
call fcn.1400a7150
test eax, eax
jne 0x14001cecb
lea ebp, [rax + 3]
jmp 0x14001cee0
lea rdx, [0x1400de468]
mov rcx, rsi
call fcn.1400a7150
test eax, eax
jne 0x14001cf3b
xor ebp, ebp
mov eax, dword [0x1400ffc60]
test ebx, 0xfffffffb
cmove eax, ebp
mov dword [0x1400ffc60], eax
cmp ebx, r15d
je 0x14001ceff
cmp ebx, 4
jne 0x14001cf05
mov dword [0x1400ffc5c], ebp
mov ecx, dword [0x1400ffc58]
lea eax, [rbx - 3]
cmp eax, r15d
lea eax, [rbx - 2]
cmovbe ecx, ebp
test eax, 0xfffffffd
mov eax, dword [0x1400ffc54]
cmove eax, ebp
mov dword [0x1400ffc58], ecx
mov dword [0x1400ffc54], eax
mov eax, 3
jmp 0x14001ce5b
mov r8, r14
lea rdx, str.Parameter_2_invalid.
jmp 0x14001ce53
mov eax, 4
jmp 0x14001ce63