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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
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 r14, [r9 - 0x21]
test rdx, rdx
je 0x14004cd40
movzx edx, word [rdx]
test dx, dx
je 0x14004cd40
nop dword [rax]
lea rcx, [rsp + 0x70]
movzx eax, r9w
nop dword [rax]
cmp dx, ax
je 0x14004cd6e
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14004cd20
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x14004cd10
mov rax, r14
cmp word [r12 + rax*2 + 2], si
lea rax, [rax + 1]
jne 0x14004cd43
lea r8, [r12 + rax*2]
mov rdi, rsi
mov rbx, r8
sub rbx, r12
sar rbx, 1
cmp rbx, r9
jb 0x14004cd8d
mov eax, 4
jmp 0x14004dc1c
mov rdi, r8
movzx eax, word [rdi]
cmp ax, r9w
je 0x14004cd80
cmp ax, 9
jne 0x14004cd86
add rdi, 2
jmp 0x14004cd71
test ax, ax
jne 0x14004cd56
jmp 0x14004cd53
mov qword [rsp + 0x540], r13
cmp word [r8], si
je 0x14004cdb5
mov r8, rbx
lea rcx, [rbp - 0x40]
mov rdx, r12
call fcn.1400cf044
mov word [rbp + rbx*2 - 0x40], si
lea rbx, [rbp - 0x40]
jmp 0x14004cdb8
mov rbx, r12
lea rdx, str.Include
mov byte [rbp + 0x448], sil
mov rcx, rbx
call fcn.1400c0504
mov r13d, 3
test eax, eax
je 0x14004da16
lea rdx, str.IncludeAgain
mov rcx, rbx
call fcn.1400c0504
test eax, eax
sete byte [rbp + 0x448]
test eax, eax
je 0x14004da16
lea rdx, str.DllLoad
mov rcx, rbx
call fcn.1400c0504
test eax, eax
jne 0x14004cf84
test rdi, rdi
jne 0x14004ce43
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
test eax, eax
jne 0x14004dbc9
lea r8, [0x1400fbbd0]
mov rcx, r15
lea rdx, str.An_internal_function_call_failed.
call fcn.140010a80
jmp 0x14004dc14
movzx eax, word [rdi]
cmp ax, 0x22
je 0x14004ce52
cmp ax, 0x27
jne 0x14004ce76
lea rbx, [rdi + 2]
xor edx, edx
mov rcx, rbx
call fcn.1400bbb88
mov rcx, rax
movzx eax, word [rdi]
cmp word [rcx - 2], ax
jne 0x14004ce76
mov word [rcx - 2], si
mov rdi, rbx
movzx eax, word [rbx]
cmp ax, 0x2a
jne 0x14004ceba
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 0x14004ceba
movzx eax, word [rdi + 4]
add rdi, 4
mov bl, 1
cmp ax, 0x20
je 0x14004ceb4
cmp ax, 9
jne 0x14004cebc
add rdi, 2
jmp 0x14004cebc
xor bl, bl
mov r8, rdi
lea rdx, [rbp + 0x450]
mov rcx, r15
call fcn.14005e850
test eax, eax
je 0x14004db9c
mov rdi, qword [rbp + 0x450]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004cf25
test al, 0x10
je 0x14004cf25
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov rcx, rdi
mov ebx, eax
call fcn.1400c0680
test ebx, ebx
jne 0x14004dbc9
lea r8, [0x1400fbbd0]
mov rcx, r15
lea rdx, str.An_internal_function_call_failed.
call fcn.140010a80
jmp 0x14004dc14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbp + 0x448], rax
test rax, rax
je 0x14004cf5b
lea r8, [rbp + 0x448]
mov rdx, rdi
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov rax, qword [rbp + 0x448]
test rax, rax
jne 0x14004cf74
test bl, bl
jne 0x14004cf74
mov r8, rdi
lea rdx, [0x140101ef0]
mov rcx, r15
call fcn.140010a80
mov r13d, eax
mov rcx, rdi
call fcn.1400c0680
mov eax, r13d
jmp 0x14004dc14
lea rdx, str.NoTrayIcon
mov rcx, rbx
call fcn.1400c0504
test eax, eax
jne 0x14004cfa6
mov byte [0x140125c5c], 1
mov eax, r13d
jmp 0x14004dc14
lea rdx, str.SingleInstance
mov rcx, rbx
call fcn.1400c0504
test eax, eax
jne 0x14004d059
test rdi, rdi
je 0x14004d046
lea rdx, str.Force
mov rcx, rdi
call fcn.1400c0504
test eax, eax
je 0x14004d046
lea rdx, [0x1401050c0]
mov rcx, rdi
call fcn.1400c0504
test eax, eax
jne 0x14004cfff
mov eax, 1
mov dword [0x14011f194], eax
mov eax, r13d
jmp 0x14004dc14
lea rdx, str.Ignore
mov rcx, rdi
call fcn.1400c0504
test eax, eax
jne 0x14004d021
mov dword [0x14011f194], r13d
mov eax, r13d
jmp 0x14004dc14
lea rdx, [0x140101190]
mov rcx, rdi
call fcn.1400c0504
test eax, eax
jne 0x14004d7f2
mov dword [0x14011f194], esi
mov eax, r13d
jmp 0x14004dc14
mov esi, 2
mov eax, r13d
mov dword [0x14011f194], esi
jmp 0x14004dc14
lea rdx, str.UseHook
mov rcx, rbx
call fcn.1400c0504
test eax, eax
jne 0x14004d0da
test rdi, rdi
je 0x14004d0cb
cmp word [rdi], si
je 0x14004d0cb
lea rdx, str.True
mov rcx, rdi
call fcn.1400c0504
test eax, eax
je 0x14004d0cb
cmp word [rdi], 0x31
jne 0x14004d095
cmp word [rdi + 2], si
je 0x14004d0cb
lea rdx, str.False
mov rcx, rdi
call fcn.1400c0504
test eax, eax
je 0x14004d0bc
cmp word [rdi], 0x30
jne 0x14004d6df
cmp word [rdi + 2], si
jne 0x14004d6df
mov byte [0x140125aef], sil
mov eax, r13d
jmp 0x14004dc14
mov byte [0x140125aef], 1
mov eax, r13d
jmp 0x14004dc14
lea rdx, str.HotIf
mov rcx, rbx
call fcn.1400c0504
test eax, eax
jne 0x14004d2dd
cmp dword [r15 + 0x8c], esi
jne 0x14004d2c2
mov r10, qword [0x14011f188]
mov rax, qword [r15 + 0x30]
cmp qword [r10 + 0x28], rax
jne 0x14004d2c2
test rdi, rdi
jne 0x14004d127
mov qword [r10 + 0x80], rsi
mov eax, r13d
jmp 0x14004dc14
mov r9, qword [0x140125de8]
test r9, r9
je 0x14004d163
mov r8, qword [r9 + 0x18]
test r8, r8
je 0x14004d15a
mov rax, rdi
sub r8, rdi
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14004d156
add rax, 2
test ecx, ecx
jne 0x14004d142
test edx, edx
je 0x14004d1ac
mov r9, qword [r9 + 0x30]
test r9, r9
jne 0x14004d133
mov qword [r10 + 0x80], rsi
mov r13, qword [r15 + 0x30]
mov rcx, r15
call fcn.1400626d0
mov rcx, qword [r15 + 0x30]
call fcn.140018e00
cmp eax, 1
je 0x14004d1be
cmp eax, 0xa00e0001
jne 0x14004dc12
lea r8, [0x1400fbbd0]
mov rcx, r15
lea rdx, str.Out_of_memory.
call fcn.140010a80
mov esi, eax
jmp 0x14004dc12
mov qword [r10 + 0x80], r9
test r9, r9
jne 0x14004dbc9
jmp 0x14004d16a
lea rbx, [0x1400fbbd0]
cmp word [rdi], si
je 0x14004d211
nop word [rax + rax]
inc r14
cmp word [rdi + r14*2], si
jne 0x14004d1d0
lea r12, [r14 + r14]
lea rcx, [r12 + 2]
call fcn.140099170
mov rsi, rax
test rax, rax
je 0x14004dc2e
test r14, r14
je 0x14004d207
mov r8, r12
mov rdx, rdi
mov rcx, rax
call fcn.1400bbc40
xor r14d, r14d
mov word [r12 + rsi], r14w
jmp 0x14004d217
mov rsi, rbx
xor r14d, r14d
mov rax, qword [0x14011f188]
xor r9d, r9d
mov byte [rsp + 0x28], 0
xor r8d, r8d
mov dl, 3
mov qword [rsp + 0x20], r14
mov rcx, qword [rax + 0x80]
mov qword [rcx + 0x18], rsi
mov rcx, r15
mov rsi, qword [r15 + 0x30]
call fcn.14004fca0
test eax, eax
je 0x14004d2ab
xor r9d, r9d
mov qword [rsp + 0x20], r14
mov r8b, 6
mov rdx, rdi
mov rcx, r15
call fcn.14004def0
test eax, eax
je 0x14004d2ab
mov byte [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov dl, 4
mov rcx, r15
call fcn.14004fca0
test eax, eax
je 0x14004d2ab
mov rcx, qword [rsi + 0x40]
mov rdx, qword [0x14011f188]
mov rax, qword [rdx + 0x80]
mov qword [rcx + 0x10], rax
mov eax, 3
mov qword [r15 + 0x30], r13
mov qword [rdx + 0x28], r13
jmp 0x14004dc14
mov r8, rbx
lea rdx, str.Out_of_memory.
mov rcx, r15
call fcn.140010a80
jmp 0x14004dc14
lea r8, [0x1400fbbd0]
mov rcx, r15
lea rdx, str.Invalid_usage.
call fcn.140010a80
jmp 0x14004dc14
lea rdx, str.HotIfTimeout
mov rcx, rbx
call fcn.1400c0504
test eax, eax
jne 0x14004d30f
test rdi, rdi
je 0x14004dbc9
mov rcx, rdi
call fcn.14009d180
mov dword [0x14011fb30], eax
mov eax, r13d
jmp 0x14004dc14
lea rdx, str.Hotstring
mov rcx, rbx
call fcn.1400c0504
test eax, eax
jne 0x14004d490
test rdi, rdi
je 0x14004dbc9
lea rdx, str.EndChars
mov rcx, rdi
call fcn.14009cc70
mov r8, rax
test rax, rax
je 0x14004d3cb
movzx edx, word [rax]
test dx, dx
je 0x14004dbc9
mov r9d, 9
nop dword [rax]
lea rcx, [0x140105130]
movzx eax, r9w
nop dword [rax + rax]
cmp dx, ax
je 0x14004d398
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14004d370
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x14004d360
mov eax, r13d
jmp 0x14004dc14
lea rdx, [r8 + 2]
mov r8d, WSAAsyncSelect
lea rcx, str._____:____.___n__t
call fcn.1400cf044
xor edx, edx
mov word [0x14011fb28], si
lea rcx, str._____:____.___n__t
call fcn.14009f040
mov eax, r13d
jmp 0x14004dc14
mov r8d, 7
lea rdx, str.NoMouse
mov rcx, rdi
call fcn.1400c06f0
test eax, eax
jne 0x14004d3f3
mov byte [0x14011f1a5], sil
mov eax, r13d
jmp 0x14004dc14
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.14001bb50
mov eax, r13d
jmp 0x14004dc14
lea rdx, str.MaxThreadsPerHotkey
mov rcx, rbx
call fcn.1400c0504
test eax, eax
jne 0x14004d4da
test rdi, rdi
je 0x14004dbc9
mov rcx, rdi
call fcn.14009d180
mov ecx, 0xff
mov rdx, rax
cmp eax, ecx
jg 0x14004d4cc
mov eax, 1
mov ecx, edx
cmp edx, eax
cmovl ecx, eax
mov byte [0x14011f1a9], cl
mov eax, r13d
jmp 0x14004dc14
lea rdx, str.MaxThreadsBuffer
mov rcx, rbx
call fcn.1400c0504
test eax, eax
jne 0x14004d55b
test rdi, rdi
je 0x14004d54c
cmp word [rdi], si
je 0x14004d54c
lea rdx, str.True
mov rcx, rdi
call fcn.1400c0504
test eax, eax
je 0x14004d54c
cmp word [rdi], 0x31
jne 0x14004d516
cmp word [rdi + 2], si
je 0x14004d54c
lea rdx, str.False
mov rcx, rdi
call fcn.1400c0504
test eax, eax
je 0x14004d53d
cmp word [rdi], 0x30
jne 0x14004d6df
cmp word [rdi + 2], si
jne 0x14004d6df
mov byte [0x140125b5c], sil
mov eax, r13d
jmp 0x14004dc14
mov byte [0x140125b5c], 1
mov eax, r13d
jmp 0x14004dc14
lea rdx, str.MaxThreads
mov rcx, rbx
call fcn.1400c0504
test eax, eax
jne 0x14004d5a5
test rdi, rdi
je 0x14004dbc9
mov rcx, rdi
call fcn.14009d180
mov ecx, 0xff
mov rdx, rax
cmp eax, ecx
jg 0x14004d597
mov eax, 1
mov ecx, edx
cmp edx, eax
cmovl ecx, eax
mov dword [reloc.WSOCK32.dll_inet_addr], ecx
mov eax, r13d
jmp 0x14004dc14
lea rdx, str.SuspendExempt
mov rcx, rbx
call fcn.1400c0504
test eax, eax
jne 0x14004d626
test rdi, rdi
je 0x14004d617
cmp word [rdi], si
je 0x14004d617
lea rdx, str.True
mov rcx, rdi
call fcn.1400c0504
test eax, eax
je 0x14004d617
cmp word [rdi], 0x31
jne 0x14004d5e1
cmp word [rdi + 2], si
je 0x14004d617
lea rdx, str.False
mov rcx, rdi
call fcn.1400c0504
test eax, eax
je 0x14004d608
cmp word [rdi], 0x30
jne 0x14004d7f2
cmp word [rdi + 2], si
jne 0x14004d7f2
mov byte [0x140125b37], sil
mov eax, r13d
jmp 0x14004dc14
mov byte [0x140125b37], 1
mov eax, r13d
jmp 0x14004dc14
lea rdx, str.ClipboardTimeout
mov rcx, rbx
call fcn.1400c0504
test eax, eax
jne 0x14004d658
test rdi, rdi
je 0x14004dbc9
mov rcx, rdi
call fcn.14009d180
mov dword [0x14011f19c], eax
mov eax, r13d
jmp 0x14004dc14
lea rdx, str.WinActivateForce
mov rcx, rbx
call fcn.1400c0504
test eax, eax
jne 0x14004d67a
mov byte [0x140125c5e], 1
mov eax, r13d
jmp 0x14004dc14
lea rdx, str.ErrorStdOut
mov rcx, rbx
call fcn.1400c0504
test eax, eax
jne 0x14004d6f6
test rdi, rdi
je 0x14004d6bd
movzx eax, word [rdi]
cmp ax, 0x22
je 0x14004d6a1
cmp ax, 0x27
jne 0x14004d6bd
xor edx, edx
lea rcx, [rdi + 2]
call fcn.1400bbb88
movzx ecx, word [rdi]
cmp word [rax - 2], cx
jne 0x14004d6bd
mov word [rax - 2], si
add rdi, 2
mov rcx, rdi
call fcn.14000ec60
cmp eax, 0xffffffff
mov dword [r15 + 0x798], eax
setne cl
mov byte [r15 + 0x797], cl
jne 0x14004dbc9
mov r8, rdi
lea rdx, str.Parameter_1_invalid.
mov rcx, r15
call fcn.140010a80
jmp 0x14004dc14
lea rdx, str.InputLevel
mov rcx, rbx
call fcn.1400c0504
test eax, eax
jne 0x14004d738
test rdi, rdi
je 0x14004d728
mov rcx, rdi
call fcn.14009d180
test eax, eax
js 0x14004d7f2
cmp eax, 0x64
jle 0x14004d72a
jmp 0x14004d7f2
mov eax, esi
mov byte [0x140125b35], al
mov eax, r13d
jmp 0x14004dc14
lea rdx, str.Warn
mov rcx, rbx
call fcn.1400c0504
test eax, eax
jne 0x14004d89d
lea rbx, [0x1400fbbd0]
test rdi, rdi
mov rsi, rbx
lea edx, [rax + 0x2c]
cmovne rsi, rdi
mov rcx, rsi
call fcn.1400bbb88
test rax, rax
je 0x14004d7b2
lea rbx, [rax + 2]
movzx ecx, word [rbx]
cmp cx, 0x20
je 0x14004d783
cmp cx, 9
jne 0x14004d789
add rbx, 2
jmp 0x14004d774
add rax, 0xfffffffffffffffe
cmp rax, rsi
jbe 0x14004d7aa
movzx ecx, word [rax]
cmp cx, 0x20
je 0x14004d7a1
cmp cx, 9
jne 0x14004d7aa
sub rax, 2
cmp rax, rsi
ja 0x14004d792
xor ecx, ecx
mov word [rax + 2], cx
jmp 0x14004d7b4
xor ecx, ecx
cmp word [rsi], 0
mov r14d, r13d
je 0x14004d809
mov r14d, ecx
lea rdi, str.LocalSameAsGlobal
nop word [rax + rax]
mov rdx, qword [rdi]
mov rcx, rsi
call fcn.1400c0504
test eax, eax
je 0x14004d809
inc r14d
lea rax, [0x140107030]
add rdi, 8
cmp rdi, rax
jne 0x14004d7d0
mov r8, r12
lea rdx, str.Parameter_1_invalid.
mov rcx, r15
call fcn.140010a80
jmp 0x14004dc14
cmp word [rbx], 0
mov esi, 2
je 0x14004d861
xor r12d, r12d
lea rdi, [0x140106ff0]
mov esi, r12d
lea r12, str.LocalSameAsGlobal
nop dword [rax + rax]
mov rdx, qword [rdi]
mov rcx, rbx
call fcn.1400c0504
test eax, eax
je 0x14004d861
inc esi
add rdi, 8
cmp rdi, r12
jne 0x14004d830
mov r8, rbx
lea rdx, str.Parameter_2_invalid.
mov rcx, r15
call fcn.140010a80
jmp 0x14004dc14
test r14d, r14d
je 0x14004d86b
cmp r14d, r13d
jne 0x14004d871
mov dword [0x140125b58], esi
lea eax, [r14 - 1]
test eax, 0xfffffffd
jne 0x14004d882
mov dword [reloc.OLEAUT32.dll_SysReAllocString], esi
lea eax, [r14 - 2]
cmp eax, 1
ja 0x14004dbc9
mov dword [reloc.OLEAUT32.dll_SysReAllocString], esi
mov eax, r13d
jmp 0x14004dc14
lea rdx, str.Requires
mov rcx, rbx
call fcn.1400c0504
test eax, eax
jne 0x14004da0c
test rdi, rdi
jne 0x14004d8d4
lea r8, [0x1400fbbd0]
mov rcx, r15
lea rdx, str.Parameter_1_required
call fcn.140010a80
jmp 0x14004dc14
mov r8d, 0xa
lea rdx, [0x1400fbd80]
mov rcx, rdi
call fcn.1400c06f0
lea rbx, str.64_bit
lea r14, [0x1400eb0a8]
test eax, eax
jne 0x14004d9ba
movzx eax, word [rdi + 0x14]
test ax, ax
je 0x14004dbc9
cmp ax, 0x20
je 0x14004d91c
cmp ax, 9
jne 0x14004d9ba
lea rsi, [rdi + 0x16]
xor r12d, r12d
mov rdx, rsi
movzx eax, word [rdx]
cmp ax, 0x20
je 0x14004d935
cmp ax, 9
jne 0x14004d93b
add rdx, 2
jmp 0x14004d926
test ax, ax
je 0x14004dbc9
mov rsi, rdx
cmp ax, 0x20
je 0x14004d960
cmp ax, 9
je 0x14004d960
movzx eax, word [rsi + 2]
add rsi, 2
test ax, ax
jne 0x14004d947
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.1400cf044
mov word [rsp + rbx*2 + 0x7e], r12w
lea rcx, [rbp - 0x80]
lea rbx, str.64_bit
mov rdx, rbx
call fcn.1400c0504
test eax, eax
je 0x14004d923
xor r8d, r8d
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.14009f8c0
test eax, eax
jne 0x14004d923
mov rax, qword [r15 + 0x778]
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], rbx
lea rax, [0x1400fbd80]
mov qword [rsp + 0x28], r14
mov r9, rdi
mov edx, 0x200
mov qword [rsp + 0x20], rax
call fcn.14009c920
lea r8, [0x1400fbbd0]
mov rcx, r15
lea rdx, [rbp]
call fcn.140010a80
jmp 0x14004dc14
mov eax, 4
jmp 0x14004dc14
test rdi, rdi
jne 0x14004da32
mov r8, r12
lea rdx, str.Parameter_1_required
mov rcx, r15
call fcn.140010a80
jmp 0x14004dc14
movzx eax, word [rdi]
cmp ax, 0x22
je 0x14004da41
cmp ax, 0x27
jne 0x14004da65
lea rbx, [rdi + 2]
xor edx, edx
mov rcx, rbx
call fcn.1400bbb88
mov rcx, rax
movzx eax, word [rdi]
cmp word [rcx - 2], ax
jne 0x14004da65
mov word [rcx - 2], si
mov rdi, rbx
movzx eax, word [rbx]
test ax, ax
jne 0x14004da85
lea r8, [0x1400fbbd0]
mov rcx, r15
lea rdx, str.Parameter_1_invalid.
call fcn.140010a80
jmp 0x14004dc14
cmp ax, 0x2a
jne 0x14004dac0
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 0x14004dac0
movzx eax, word [rdi + 4]
cmp ax, 0x20
je 0x14004dabd
cmp ax, 9
jne 0x14004dac0
mov sil, 1
test sil, sil
lea rbx, [rdi + 6]
cmove rbx, rdi
cmp word [rbx], 0x3c
jne 0x14004db86
mov edx, 0x3e
mov rcx, rbx
call fcn.1400bbb88
mov rdi, rax
test rax, rax
je 0x14004db86
cmp word [rax + 2], 0
jne 0x14004db86
xor eax, eax
add rbx, 2
mov word [rdi], ax
call fcn.140063890
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.140053aa0
test r14, r14
je 0x14004db47
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, r14
call fcn.1400c0680
movzx eax, byte [rbp + 0x448]
test al, al
jne 0x14004db5f
cmp byte [rbp + 0x450], al
jne 0x14004dbc9
test sil, sil
jne 0x14004dbc9
mov word [rdi], 0x3e
test al, al
je 0x14004db6f
xor eax, eax
jmp 0x14004dc14
mov r8, r12
lea rdx, str.Script_library_not_found.
mov rcx, r15
call fcn.140010a80
jmp 0x14004dc14
mov r8, rbx
lea rdx, [rbp + 0x450]
mov rcx, r15
call fcn.14005e850
test eax, eax
jne 0x14004dba0
xor eax, eax
jmp 0x14004dc14
mov rbx, qword [rbp + 0x450]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004dbce
test al, 0x10
je 0x14004dbce
mov rcx, rbx
call fcn.1400637d0
mov rcx, rbx
call fcn.1400c0680
mov eax, r13d
jmp 0x14004dc14
call fcn.140063890
movzx r8d, byte [rbp + 0x448]
movzx r9d, sil
mov rdx, rbx
mov rcx, r15
mov rdi, rax
call fcn.140048530
neg eax
sbb esi, esi
and esi, r13d
test rdi, rdi
je 0x14004dc0a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, rdi
call fcn.1400c0680
mov rcx, rbx
call fcn.1400c0680
mov eax, esi
mov r13, qword [rsp + 0x540]
add rsp, 0x500
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140011190
int3