Function at 0x14004c8f0
Capabilities:
Check if file exists
Get file attributes
Set current directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x400]
sub rsp, 0x500
xor esi, esi
mov dword [rsp + 0x70], 0x90020
mov word [rsp + 0x74], si
mov r9d, SafeArrayAllocDescriptor
mov r12, rdx
mov r15, rcx
mov r8, rdx
lea r13, [r9 - 0x21]
test rdx, rdx
je 0x14004c970
movzx edx, word [rdx]
test dx, dx
je 0x14004c970
nop dword [rax]
lea rcx, [rsp + 0x70]
movzx eax, r9w
nop dword [rax]
cmp dx, ax
je 0x14004c99e
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14004c950
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x14004c940
mov rax, r13
cmp word [r12 + rax*2 + 2], si
lea rax, [rax + 1]
jne 0x14004c973
lea r8, [r12 + rax*2]
mov rdi, rsi
mov rbx, r8
sub rbx, r12
sar rbx, 1
cmp rbx, r9
jb 0x14004c9bd
mov eax, 4
jmp 0x14004d892
mov rdi, r8
movzx eax, word [rdi]
cmp ax, r9w
je 0x14004c9b0
cmp ax, 9
jne 0x14004c9b6
add rdi, 2
jmp 0x14004c9a1
test ax, ax
jne 0x14004c986
jmp 0x14004c983
mov qword [rsp + 0x540], r14
cmp word [r8], si
je 0x14004c9e5
mov r8, rbx
lea rcx, [rbp - 0x40]
mov rdx, r12
call fcn.1400ced64
mov word [rbp + rbx*2 - 0x40], si
lea rbx, [rbp - 0x40]
jmp 0x14004c9e8
mov rbx, r12
lea rdx, str.Include
mov rcx, rbx
xor r14b, r14b
call fcn.1400c0224
test eax, eax
je 0x14004d68c
lea rdx, str.IncludeAgain
mov rcx, rbx
call fcn.1400c0224
test eax, eax
sete r14b
test eax, eax
je 0x14004d68c
lea rdx, str.DllLoad
mov rcx, rbx
call fcn.1400c0224
test eax, eax
jne 0x14004cba1
test rdi, rdi
jne 0x14004ca66
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
test eax, eax
jne 0x14004d841
lea r8, [0x1400fbbd0]
mov rcx, r15
lea rdx, str.An_internal_function_call_failed.
call fcn.140010ac0
jmp 0x14004d88a
movzx eax, word [rdi]
cmp ax, 0x22
je 0x14004ca75
cmp ax, 0x27
jne 0x14004ca99
lea rbx, [rdi + 2]
xor edx, edx
mov rcx, rbx
call fcn.1400bb8a8
mov rcx, rax
movzx eax, word [rdi]
cmp word [rcx - 2], ax
jne 0x14004ca99
mov word [rcx - 2], si
mov rdi, rbx
movzx eax, word [rbx]
cmp ax, 0x2a
jne 0x14004cadd
movzx edx, word [rdi + 2]
mov r8d, 0xffdf
movzx ecx, dx
and cx, r8w
lea eax, [rdx - 0x61]
cmp ax, 0x19
cmova cx, dx
cmp cx, 0x49
jne 0x14004cadd
movzx eax, word [rdi + 4]
add rdi, 4
mov bl, 1
cmp ax, 0x20
je 0x14004cad7
cmp ax, 9
jne 0x14004cadf
add rdi, 2
jmp 0x14004cadf
xor bl, bl
mov r8, rdi
lea rdx, [rbp + 0x450]
mov rcx, r15
call fcn.14005e530
test eax, eax
je 0x14004d814
mov rdi, qword [rbp + 0x450]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004cb48
test al, 0x10
je 0x14004cb48
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov rcx, rdi
mov ebx, eax
call fcn.1400c03a0
test ebx, ebx
jne 0x14004d841
lea r8, [0x1400fbbd0]
mov rcx, r15
lea rdx, str.An_internal_function_call_failed.
call fcn.140010ac0
jmp 0x14004d88a
mov rcx, rdi
mov esi, 3
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbp + 0x448], rax
test rax, rax
je 0x14004cb81
lea r8, [rbp + 0x448]
mov rdx, rdi
lea ecx, [rsi - 2]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov rax, qword [rbp + 0x448]
test rax, rax
jne 0x14004cb99
test bl, bl
jne 0x14004cb99
mov r8, rdi
lea rdx, [0x140101ef0]
mov rcx, r15
call fcn.140010ac0
mov esi, eax
mov rcx, rdi
jmp 0x14004d883
lea rdx, str.NoTrayIcon
mov rcx, rbx
call fcn.1400c0224
test eax, eax
jne 0x14004cbc5
mov byte [0x140125c5c], 1
mov eax, 3
jmp 0x14004d88a
lea rdx, str.SingleInstance
mov rcx, rbx
call fcn.1400c0224
test eax, eax
jne 0x14004cc81
test rdi, rdi
je 0x14004cc6e
lea rdx, str.Force
mov rcx, rdi
call fcn.1400c0224
test eax, eax
je 0x14004cc6e
lea rdx, str.Prompt
mov rcx, rdi
call fcn.1400c0224
test eax, eax
jne 0x14004cc20
mov eax, 1
mov dword [0x14011f194], eax
mov eax, 3
jmp 0x14004d88a
lea rdx, str.Ignore
mov rcx, rdi
call fcn.1400c0224
test eax, eax
jne 0x14004cc47
mov dword [0x14011f194], 3
mov eax, 3
jmp 0x14004d88a
lea rdx, [0x140101190]
mov rcx, rdi
call fcn.1400c0224
test eax, eax
jne 0x14004d472
mov dword [0x14011f194], esi
mov eax, 3
jmp 0x14004d88a
mov esi, 2
mov dword [0x14011f194], esi
lea eax, [rsi + 1]
jmp 0x14004d88a
lea rdx, str.UseHook
mov rcx, rbx
call fcn.1400c0224
test eax, eax
jne 0x14004cd06
test rdi, rdi
je 0x14004ccf5
cmp word [rdi], si
je 0x14004ccf5
lea rdx, str.True
mov rcx, rdi
call fcn.1400c0224
test eax, eax
je 0x14004ccf5
cmp word [rdi], 0x31
jne 0x14004ccbd
cmp word [rdi + 2], si
je 0x14004ccf5
lea rdx, str.False
mov rcx, rdi
call fcn.1400c0224
test eax, eax
je 0x14004cce4
cmp word [rdi], 0x30
jne 0x14004d357
cmp word [rdi + 2], si
jne 0x14004d357
mov byte [0x140125aef], sil
mov eax, 3
jmp 0x14004d88a
mov byte [0x140125aef], 1
mov eax, 3
jmp 0x14004d88a
lea rdx, str.HotIf
mov rcx, rbx
call fcn.1400c0224
test eax, eax
jne 0x14004cf3b
cmp dword [r15 + 0x94], esi
jne 0x14004cf20
mov r10, qword [0x14011f188]
mov rax, qword [r15 + 0x30]
cmp qword [r10 + 0x28], rax
jne 0x14004cf20
test rdi, rdi
jne 0x14004cd53
mov qword [r10 + 0x80], rsi
lea eax, [rdi + 3]
jmp 0x14004d88a
mov r9, qword [0x140125de8]
test r9, r9
je 0x14004cd91
nop
mov r8, qword [r9 + 0x18]
test r8, r8
je 0x14004cd88
mov rax, rdi
sub r8, rdi
nop
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14004cd84
add rax, 2
test ecx, ecx
jne 0x14004cd70
test edx, edx
je 0x14004cde0
mov r9, qword [r9 + 0x30]
test r9, r9
jne 0x14004cd60
mov qword [r10 + 0x80], rsi
mov rsi, qword [r15 + 0x30]
test rsi, rsi
je 0x14004cda5
dec dword [r15 + 0x48]
mov rcx, r15
call fcn.1400623b0
mov rcx, qword [r15 + 0x30]
call fcn.140018e40
cmp eax, 1
je 0x14004cdfd
cmp eax, 0xa00e0001
jne 0x14004cdf2
lea r8, [0x1400fbbd0]
mov rcx, r15
lea rdx, str.Out_of_memory.
call fcn.140010ac0
mov r13d, eax
jmp 0x14004d88a
mov qword [r10 + 0x80], r9
test r9, r9
jne 0x14004d841
jmp 0x14004cd98
xor r13d, r13d
mov eax, r13d
jmp 0x14004d88a
cmp word [rdi], 0
lea rbx, [0x1400fbbd0]
je 0x14004ce56
nop word [rax + rax]
inc r13
cmp word [rdi + r13*2], 0
jne 0x14004ce10
lea r12, [r13*2]
lea rcx, [r12 + 2]
call fcn.140098fd0
mov r14, rax
test rax, rax
je 0x14004d8a4
test r13, r13
je 0x14004ce4c
mov r8, r12
mov rdx, rdi
mov rcx, rax
call fcn.1400bb960
xor r13d, r13d
mov word [r14 + r12], r13w
jmp 0x14004ce5c
mov r14, rbx
xor r13d, r13d
mov rax, qword [0x14011f188]
xor r9d, r9d
mov byte [rsp + 0x28], 0
xor r8d, r8d
mov dl, 3
mov qword [rsp + 0x20], r13
mov rcx, qword [rax + 0x80]
mov qword [rcx + 0x18], r14
mov rcx, r15
mov r14, qword [r15 + 0x30]
call fcn.14004f920
test eax, eax
je 0x14004cf09
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8b, 6
mov rdx, rdi
mov rcx, r15
call fcn.14004db60
test eax, eax
je 0x14004cf09
mov byte [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r13
mov dl, 4
mov rcx, r15
call fcn.14004f920
test eax, eax
je 0x14004cf09
mov rcx, qword [r14 + 0x40]
mov r8, qword [0x14011f188]
mov rax, qword [r8 + 0x80]
mov qword [rcx + 0x10], rax
mov qword [r15 + 0x30], rsi
mov qword [r8 + 0x28], rsi
test rsi, rsi
je 0x14004d841
mov r8d, dword [r15 + 0x48]
lea rcx, [r15 + 0x40]
mov rdx, rsi
call fcn.1400607a0
mov eax, 3
jmp 0x14004d88a
mov r8, rbx
lea rdx, str.Out_of_memory.
mov rcx, r15
call fcn.140010ac0
jmp 0x14004d88a
lea r8, [0x1400fbbd0]
mov rcx, r15
lea rdx, str.Invalid_usage.
call fcn.140010ac0
jmp 0x14004d88a
lea rdx, str.HotIfTimeout
mov rcx, rbx
call fcn.1400c0224
test eax, eax
jne 0x14004cf6f
test rdi, rdi
je 0x14004d841
mov rcx, rdi
call fcn.14009cfe0
mov dword [0x14011fb30], eax
mov eax, 3
jmp 0x14004d88a
lea rdx, str.Hotstring
mov rcx, rbx
call fcn.1400c0224
test eax, eax
jne 0x14004d0f8
test rdi, rdi
je 0x14004d841
lea rdx, str.EndChars
mov rcx, rdi
call fcn.14009cad0
mov r8, rax
test rax, rax
je 0x14004d02f
movzx edx, word [rax]
test dx, dx
je 0x14004d841
mov r9d, 9
nop dword [rax]
lea rcx, [0x1401050c8]
movzx eax, r9w
nop dword [rax + rax]
cmp dx, ax
je 0x14004cffa
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14004cfd0
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x14004cfc0
mov eax, 3
jmp 0x14004d88a
lea rdx, [r8 + 2]
mov r8d, WSAAsyncSelect
lea rcx, str._____:____.___n__t
call fcn.1400ced64
xor edx, edx
mov word [0x14011fb28], si
lea rcx, str._____:____.___n__t
call fcn.14009eec0
mov eax, 3
jmp 0x14004d88a
mov r8d, 7
lea rdx, str.NoMouse
mov rcx, rdi
call fcn.1400c0410
test eax, eax
jne 0x14004d059
mov byte [0x14011f1a5], sil
mov eax, 3
jmp 0x14004d88a
lea rax, [0x140125b36]
mov rcx, rdi
mov qword [rsp + 0x68], rax
lea r9, [0x14011fb2c]
lea rax, [0x140125b0c]
mov qword [rsp + 0x60], rax
lea r8, [0x140125c48]
lea rax, [0x140125b0d]
mov qword [rsp + 0x58], rax
lea rdx, [0x140125c4c]
lea rax, [0x140125b0e]
mov qword [rsp + 0x50], rax
lea rax, [0x14011f1a6]
mov qword [rsp + 0x48], rax
lea rax, [0x140125b25]
mov qword [rsp + 0x40], rax
lea rax, [0x140125b0f]
mov qword [rsp + 0x38], rax
lea rax, [0x14011f1a7]
mov qword [rsp + 0x30], rax
lea rax, [0x14011f1a8]
mov qword [rsp + 0x28], rax
lea rax, [0x140125b24]
mov qword [rsp + 0x20], rax
call fcn.14001bb90
mov eax, 3
jmp 0x14004d88a
lea rdx, str.MaxThreadsPerHotkey
mov rcx, rbx
call fcn.1400c0224
test eax, eax
jne 0x14004d144
test rdi, rdi
je 0x14004d841
mov rcx, rdi
call fcn.14009cfe0
mov ecx, 0xff
mov rdx, rax
cmp eax, ecx
jg 0x14004d134
mov eax, 1
mov ecx, edx
cmp edx, eax
cmovl ecx, eax
mov byte [0x14011f1a9], cl
mov eax, 3
jmp 0x14004d88a
lea rdx, str.MaxThreadsBuffer
mov rcx, rbx
call fcn.1400c0224
test eax, eax
jne 0x14004d1c9
test rdi, rdi
je 0x14004d1b8
cmp word [rdi], si
je 0x14004d1b8
lea rdx, str.True
mov rcx, rdi
call fcn.1400c0224
test eax, eax
je 0x14004d1b8
cmp word [rdi], 0x31
jne 0x14004d180
cmp word [rdi + 2], si
je 0x14004d1b8
lea rdx, str.False
mov rcx, rdi
call fcn.1400c0224
test eax, eax
je 0x14004d1a7
cmp word [rdi], 0x30
jne 0x14004d357
cmp word [rdi + 2], si
jne 0x14004d357
mov byte [0x140125b5c], sil
mov eax, 3
jmp 0x14004d88a
mov byte [0x140125b5c], 1
mov eax, 3
jmp 0x14004d88a
lea rdx, str.MaxThreads
mov rcx, rbx
call fcn.1400c0224
test eax, eax
jne 0x14004d215
test rdi, rdi
je 0x14004d841
mov rcx, rdi
call fcn.14009cfe0
mov ecx, 0xff
mov rdx, rax
cmp eax, ecx
jg 0x14004d205
mov eax, 1
mov ecx, edx
cmp edx, eax
cmovl ecx, eax
mov dword [reloc.WSOCK32.dll_inet_addr], ecx
mov eax, 3
jmp 0x14004d88a
lea rdx, str.SuspendExempt
mov rcx, rbx
call fcn.1400c0224
test eax, eax
jne 0x14004d29a
test rdi, rdi
je 0x14004d289
cmp word [rdi], si
je 0x14004d289
lea rdx, str.True
mov rcx, rdi
call fcn.1400c0224
test eax, eax
je 0x14004d289
cmp word [rdi], 0x31
jne 0x14004d251
cmp word [rdi + 2], si
je 0x14004d289
lea rdx, str.False
mov rcx, rdi
call fcn.1400c0224
test eax, eax
je 0x14004d278
cmp word [rdi], 0x30
jne 0x14004d472
cmp word [rdi + 2], si
jne 0x14004d472
mov byte [0x140125b37], sil
mov eax, 3
jmp 0x14004d88a
mov byte [0x140125b37], 1
mov eax, 3
jmp 0x14004d88a
lea rdx, str.ClipboardTimeout
mov rcx, rbx
call fcn.1400c0224
test eax, eax
jne 0x14004d2ce
test rdi, rdi
je 0x14004d841
mov rcx, rdi
call fcn.14009cfe0
mov dword [0x14011f19c], eax
mov eax, 3
jmp 0x14004d88a
lea rdx, str.WinActivateForce
mov rcx, rbx
call fcn.1400c0224
test eax, eax
jne 0x14004d2f2
mov byte [0x140125c5e], 1
mov eax, 3
jmp 0x14004d88a
lea rdx, str.ErrorStdOut
mov rcx, rbx
call fcn.1400c0224
test eax, eax
jne 0x14004d36e
test rdi, rdi
je 0x14004d335
movzx eax, word [rdi]
cmp ax, 0x22
je 0x14004d319
cmp ax, 0x27
jne 0x14004d335
xor edx, edx
lea rcx, [rdi + 2]
call fcn.1400bb8a8
movzx ecx, word [rdi]
cmp word [rax - 2], cx
jne 0x14004d335
mov word [rax - 2], si
add rdi, 2
mov rcx, rdi
call fcn.14000eca0
cmp eax, 0xffffffff
mov dword [r15 + 0x7a0], eax
setne cl
mov byte [r15 + 0x79f], cl
jne 0x14004d841
mov r8, rdi
lea rdx, str.Parameter_1_invalid.
mov rcx, r15
call fcn.140010ac0
jmp 0x14004d88a
lea rdx, str.InputLevel
mov rcx, rbx
call fcn.1400c0224
test eax, eax
jne 0x14004d3b2
test rdi, rdi
je 0x14004d3a0
mov rcx, rdi
call fcn.14009cfe0
test eax, eax
js 0x14004d472
cmp eax, 0x64
jle 0x14004d3a2
jmp 0x14004d472
mov eax, esi
mov byte [0x140125b35], al
mov eax, 3
jmp 0x14004d88a
lea rdx, str.Warn
mov rcx, rbx
call fcn.1400c0224
test eax, eax
jne 0x14004d515
lea rbx, [0x1400fbbd0]
test rdi, rdi
mov rsi, rbx
lea edx, [rax + 0x2c]
cmovne rsi, rdi
mov rcx, rsi
call fcn.1400bb8a8
test rax, rax
je 0x14004d432
lea rbx, [rax + 2]
nop
movzx ecx, word [rbx]
cmp cx, 0x20
je 0x14004d3ff
cmp cx, 9
jne 0x14004d405
add rbx, 2
jmp 0x14004d3f0
add rax, 0xfffffffffffffffe
cmp rax, rsi
jbe 0x14004d428
nop
movzx ecx, word [rax]
cmp cx, 0x20
je 0x14004d41f
cmp cx, 9
jne 0x14004d428
sub rax, 2
cmp rax, rsi
ja 0x14004d410
xor r13d, r13d
mov word [rax + 2], r13w
jmp 0x14004d435
xor r13d, r13d
cmp word [rsi], 0
mov r14d, 3
je 0x14004d489
mov r14d, r13d
lea rdi, str.LocalSameAsGlobal
nop dword [rax + rax]
mov rdx, qword [rdi]
mov rcx, rsi
call fcn.1400c0224
test eax, eax
je 0x14004d489
inc r14d
lea rax, [0x140106fb0]
add rdi, 8
cmp rdi, rax
jne 0x14004d450
mov r8, r12
lea rdx, str.Parameter_1_invalid.
mov rcx, r15
call fcn.140010ac0
jmp 0x14004d88a
cmp word [rbx], 0
mov esi, 2
je 0x14004d4d6
mov esi, r13d
lea rdi, [0x140106f70]
lea r12, str.LocalSameAsGlobal
mov rdx, qword [rdi]
mov rcx, rbx
call fcn.1400c0224
test eax, eax
je 0x14004d4d6
inc esi
add rdi, 8
cmp rdi, r12
jne 0x14004d4a5
mov r8, rbx
lea rdx, str.Parameter_2_invalid.
mov rcx, r15
call fcn.140010ac0
jmp 0x14004d88a
test r14d, r14d
je 0x14004d4e1
cmp r14d, 3
jne 0x14004d4e7
mov dword [0x140125b58], esi
lea eax, [r14 - 1]
test eax, 0xfffffffd
jne 0x14004d4f8
mov dword [reloc.OLEAUT32.dll_SysReAllocString], esi
lea eax, [r14 - 2]
cmp eax, 1
ja 0x14004d841
mov dword [reloc.OLEAUT32.dll_SysReAllocString], esi
mov eax, 3
jmp 0x14004d88a
lea rdx, str.Requires
mov rcx, rbx
call fcn.1400c0224
test eax, eax
jne 0x14004d682
test rdi, rdi
jne 0x14004d54c
lea r8, [0x1400fbbd0]
mov rcx, r15
lea rdx, str.Parameter_1_required
call fcn.140010ac0
jmp 0x14004d88a
mov r8d, 0xa
lea rdx, [0x1400fbd80]
mov rcx, rdi
call fcn.1400c0410
lea r12, str.64_bit
lea r14, str.2.0.12
test eax, eax
jne 0x14004d630
movzx eax, word [rdi + 0x14]
test ax, ax
je 0x14004d841
cmp ax, 0x20
je 0x14004d594
cmp ax, 9
jne 0x14004d630
lea rsi, [rdi + 0x16]
xor r13d, r13d
nop dword [rax + rax]
mov rdx, rsi
movzx eax, word [rdx]
cmp ax, 0x20
je 0x14004d5b2
cmp ax, 9
jne 0x14004d5b8
add rdx, 2
jmp 0x14004d5a3
test ax, ax
je 0x14004d841
mov rsi, rdx
cmp ax, 0x20
je 0x14004d5dd
cmp ax, 9
je 0x14004d5dd
movzx eax, word [rsi + 2]
add rsi, 2
test ax, ax
jne 0x14004d5c4
mov eax, SafeArrayAllocDescriptor
lea rcx, [rbp - 0x80]
mov rbx, rsi
sub rbx, rdx
sar rbx, 1
inc rbx
cmp rbx, 0x20
cmova rbx, rax
lea r8, [rbx - 1]
call fcn.1400ced64
mov rdx, r12
mov word [rsp + rbx*2 + 0x7e], r13w
lea rcx, [rbp - 0x80]
call fcn.1400c0224
test eax, eax
je 0x14004d5a0
xor r8d, r8d
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.14009f740
test eax, eax
jne 0x14004d5a0
mov rax, qword [r15 + 0x780]
lea r8, str.This_script_requires__s._n_nCurrent_interpreter:__s_v_s__s_n_s
mov qword [rsp + 0x38], rax
lea rcx, [rbp]
mov qword [rsp + 0x30], r12
lea rax, [0x1400fbd80]
mov qword [rsp + 0x28], r14
mov r9, rdi
mov edx, 0x200
mov qword [rsp + 0x20], rax
call fcn.14009c780
lea r8, [0x1400fbbd0]
mov rcx, r15
lea rdx, [rbp]
call fcn.140010ac0
jmp 0x14004d88a
mov eax, 4
jmp 0x14004d88a
test rdi, rdi
jne 0x14004d6a8
mov r8, r12
lea rdx, str.Parameter_1_required
mov rcx, r15
call fcn.140010ac0
jmp 0x14004d88a
movzx eax, word [rdi]
cmp ax, 0x22
je 0x14004d6b7
cmp ax, 0x27
jne 0x14004d6db
lea rbx, [rdi + 2]
xor edx, edx
mov rcx, rbx
call fcn.1400bb8a8
mov rcx, rax
movzx eax, word [rdi]
cmp word [rcx - 2], ax
jne 0x14004d6db
mov word [rcx - 2], si
mov rdi, rbx
movzx eax, word [rbx]
test ax, ax
jne 0x14004d6fb
lea r8, [0x1400fbbd0]
mov rcx, r15
lea rdx, str.Parameter_1_invalid.
call fcn.140010ac0
jmp 0x14004d88a
cmp ax, 0x2a
jne 0x14004d736
movzx edx, word [rdi + 2]
mov r8d, 0xffdf
movzx ecx, dx
and cx, r8w
lea eax, [rdx - 0x61]
cmp ax, 0x19
cmova cx, dx
cmp cx, 0x49
jne 0x14004d736
movzx eax, word [rdi + 4]
cmp ax, 0x20
je 0x14004d733
cmp ax, 9
jne 0x14004d736
mov sil, 1
test sil, sil
lea rbx, [rdi + 6]
cmove rbx, rdi
cmp word [rbx], 0x3c
jne 0x14004d7fe
mov edx, 0x3e
mov rcx, rbx
call fcn.1400bb8a8
mov rdi, rax
test rax, rax
je 0x14004d7fe
cmp word [rax + 2], 0
jne 0x14004d7fe
xor r13d, r13d
add rbx, 2
mov word [rax], r13w
call fcn.140063570
mov r14, rax
lea r9, [rbp + 0x448]
lea rax, [rbp + 0x450]
mov r8, rdi
sub r8, rbx
mov qword [rsp + 0x20], rax
sar r8, 1
mov rdx, rbx
mov rcx, r15
call fcn.140053740
test r14, r14
je 0x14004d7bf
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, r14
call fcn.1400c03a0
movzx eax, byte [rbp + 0x448]
test al, al
jne 0x14004d7d8
cmp byte [rbp + 0x450], r13b
jne 0x14004d841
test sil, sil
jne 0x14004d841
mov word [rdi], 0x3e
test al, al
jne 0x14004d7f6
mov r8, r12
lea rdx, str.Script_library_not_found.
mov rcx, r15
call fcn.140010ac0
mov r13d, eax
mov eax, r13d
jmp 0x14004d88a
mov r8, rbx
lea rdx, [rbp + 0x448]
mov rcx, r15
call fcn.14005e530
test eax, eax
jne 0x14004d818
xor eax, eax
jmp 0x14004d88a
mov rbx, qword [rbp + 0x448]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004d848
test al, 0x10
je 0x14004d848
mov rcx, rbx
call fcn.1400634b0
mov rcx, rbx
call fcn.1400c03a0
mov eax, 3
jmp 0x14004d88a
call fcn.140063570
movzx r9d, sil
movzx r8d, r14b
mov rdx, rbx
mov rcx, r15
mov rdi, rax
call fcn.140048520
neg eax
sbb esi, esi
and esi, 3
test rdi, rdi
je 0x14004d880
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, rdi
call fcn.1400c03a0
mov rcx, rbx
call fcn.1400c03a0
mov eax, esi
mov r14, qword [rsp + 0x540]
add rsp, 0x500
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400111d0
int3