Function at 0x14004c160
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 - 0x3f0]
sub rsp, 0x4f0
xor esi, esi
mov dword [rbp + 0x438], 0x90020
mov word [rbp + 0x43c], si
mov r9d, SafeArrayAllocDescriptor
mov r12, rdx
mov r15, rcx
mov r8, rdx
lea r14, [r9 - 0x21]
test rdx, rdx
je 0x14004c1e0
movzx edx, word [rdx]
test dx, dx
je 0x14004c1e0
nop dword [rax]
lea rcx, [rbp + 0x438]
movzx eax, r9w
nop dword [rax + rax]
cmp dx, ax
je 0x14004c20e
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14004c1c0
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x14004c1b0
mov rax, r14
cmp word [r12 + rax*2 + 2], si
lea rax, [rax + 1]
jne 0x14004c1e3
lea r8, [r12 + rax*2]
mov rdi, rsi
mov rbx, r8
sub rbx, r12
sar rbx, 1
cmp rbx, r9
jb 0x14004c22d
mov eax, 4
jmp 0x14004d0d3
mov rdi, r8
movzx eax, word [rdi]
cmp ax, r9w
je 0x14004c220
cmp ax, 9
jne 0x14004c226
add rdi, 2
jmp 0x14004c211
test ax, ax
jne 0x14004c1f6
jmp 0x14004c1f3
mov qword [rsp + 0x530], r13
cmp word [r8], si
je 0x14004c255
mov r8, rbx
lea rcx, [rbp - 0x50]
mov rdx, r12
call fcn.1400cd014
mov word [rbp + rbx*2 - 0x50], si
lea rbx, [rbp - 0x50]
jmp 0x14004c258
mov rbx, r12
lea rdx, str.Include
mov byte [rbp + 0x438], sil
mov rcx, rbx
call fcn.1400be170
mov r13d, 3
test eax, eax
je 0x14004ceca
lea rdx, str.IncludeAgain
mov rcx, rbx
call fcn.1400be170
test eax, eax
sete byte [rbp + 0x438]
test eax, eax
je 0x14004ceca
lea rdx, str.DllLoad
mov rcx, rbx
call fcn.1400be170
test eax, eax
jne 0x14004c421
test rdi, rdi
jne 0x14004c2e3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
test eax, eax
jne 0x14004d080
lea r8, [0x1400f9b50]
mov rcx, r15
lea rdx, str.An_internal_function_call_failed.
call fcn.140010900
jmp 0x14004d0cb
movzx eax, word [rdi]
cmp ax, 0x22
je 0x14004c2f2
cmp ax, 0x27
jne 0x14004c316
lea rbx, [rdi + 2]
xor edx, edx
mov rcx, rbx
call fcn.1400b97d8
mov rcx, rax
movzx eax, word [rdi]
cmp word [rcx - 2], ax
jne 0x14004c316
mov word [rcx - 2], si
mov rdi, rbx
movzx eax, word [rbx]
cmp ax, 0x2a
jne 0x14004c35a
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 0x14004c35a
movzx eax, word [rdi + 4]
add rdi, 4
mov bl, 1
cmp ax, 0x20
je 0x14004c354
cmp ax, 9
jne 0x14004c35c
add rdi, 2
jmp 0x14004c35c
xor bl, bl
mov r8, rdi
lea rdx, [rbp + 0x440]
mov rcx, r15
call fcn.14005d8a0
test eax, eax
je 0x14004d053
mov rdi, qword [rbp + 0x440]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004c3c5
test al, 0x10
je 0x14004c3c5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov rcx, rdi
mov ebx, eax
call fcn.1400be2e0
test ebx, ebx
jne 0x14004d080
lea r8, [0x1400f9b50]
mov rcx, r15
lea rdx, str.An_internal_function_call_failed.
call fcn.140010900
jmp 0x14004d0cb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbp + 0x438], rax
test rax, rax
je 0x14004c3f8
lea r8, [rbp + 0x438]
mov rdx, rdi
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
cmp qword [rbp + 0x438], rsi
jne 0x14004c411
test bl, bl
jne 0x14004c411
mov r8, rdi
lea rdx, [0x1400ffe40]
mov rcx, r15
call fcn.140010900
mov r13d, eax
mov rcx, rdi
call fcn.1400be2e0
mov eax, r13d
jmp 0x14004d0cb
lea rdx, str.NoTrayIcon
mov rcx, rbx
call fcn.1400be170
test eax, eax
jne 0x14004c443
mov byte [0x140122d68], 1
mov eax, r13d
jmp 0x14004d0cb
lea rdx, str.SingleInstance
mov rcx, rbx
call fcn.1400be170
test eax, eax
jne 0x14004c4f6
test rdi, rdi
je 0x14004c4e3
lea rdx, str.Force
mov rcx, rdi
call fcn.1400be170
test eax, eax
je 0x14004c4e3
lea rdx, [0x140103040]
mov rcx, rdi
call fcn.1400be170
test eax, eax
jne 0x14004c49c
mov eax, 1
mov dword [0x14011c194], eax
mov eax, r13d
jmp 0x14004d0cb
lea rdx, str.Ignore
mov rcx, rdi
call fcn.1400be170
test eax, eax
jne 0x14004c4be
mov dword [0x14011c194], r13d
mov eax, r13d
jmp 0x14004d0cb
lea rdx, [0x1400ff0e0]
mov rcx, rdi
call fcn.1400be170
test eax, eax
jne 0x14004cc92
mov dword [0x14011c194], esi
mov eax, r13d
jmp 0x14004d0cb
mov esi, 2
mov eax, r13d
mov dword [0x14011c194], esi
jmp 0x14004d0cb
lea rdx, str.UseHook
mov rcx, rbx
call fcn.1400be170
test eax, eax
jne 0x14004c577
test rdi, rdi
je 0x14004c568
cmp word [rdi], si
je 0x14004c568
lea rdx, str.True
mov rcx, rdi
call fcn.1400be170
test eax, eax
je 0x14004c568
cmp word [rdi], 0x31
jne 0x14004c532
cmp word [rdi + 2], si
je 0x14004c568
lea rdx, str.False
mov rcx, rdi
call fcn.1400be170
test eax, eax
je 0x14004c559
cmp word [rdi], 0x30
jne 0x14004cb7f
cmp word [rdi + 2], si
jne 0x14004cb7f
mov byte [0x140122ad9], sil
mov eax, r13d
jmp 0x14004d0cb
mov byte [0x140122ad9], 1
mov eax, r13d
jmp 0x14004d0cb
lea rdx, str.HotIf
mov rcx, rbx
call fcn.1400be170
test eax, eax
jne 0x14004c77c
cmp dword [r15 + 0x8c], esi
jne 0x14004c761
mov r10, qword [0x14011c188]
mov rax, qword [r15 + 0x30]
cmp qword [r10 + 0x28], rax
jne 0x14004c761
test rdi, rdi
jne 0x14004c5c4
mov qword [r10 + 0x80], rsi
mov eax, r13d
jmp 0x14004d0cb
mov r9, qword [0x140122d50]
test r9, r9
je 0x14004c601
mov r8, qword [r9 + 0x18]
test r8, r8
je 0x14004c5f8
mov rax, rdi
sub r8, rdi
nop
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14004c5f4
add rax, 2
test ecx, ecx
jne 0x14004c5e0
test edx, edx
je 0x14004c64a
mov r9, qword [r9 + 0x30]
test r9, r9
jne 0x14004c5d0
mov qword [r10 + 0x80], rsi
mov r12, qword [r15 + 0x30]
mov rcx, r15
call fcn.140061750
mov rcx, qword [r15 + 0x30]
call fcn.140018e50
cmp eax, 1
je 0x14004c65c
cmp eax, 0xa00e0001
jne 0x14004d0c9
lea r8, [0x1400f9b50]
mov rcx, r15
lea rdx, str.Out_of_memory.
call fcn.140010900
mov esi, eax
jmp 0x14004d0c9
mov qword [r10 + 0x80], r9
test r9, r9
jne 0x14004d080
jmp 0x14004c608
lea rbx, [0x1400f9b50]
cmp word [rdi], si
je 0x14004c6b0
nop dword [rax + rax]
inc r14
cmp word [rdi + r14*2], si
jne 0x14004c670
lea r13, [r14 + r14]
lea rcx, [r13 + 2]
call fcn.140096dd0
mov rsi, rax
test rax, rax
je 0x14004d0e5
test r14, r14
je 0x14004c6a6
mov r8, r13
mov rdx, rdi
mov rcx, rax
call fcn.1400b9890
xor r14d, r14d
mov word [rsi + r13], r14w
jmp 0x14004c6b6
mov rsi, rbx
xor r14d, r14d
mov rax, qword [0x14011c188]
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.14004f150
test eax, eax
je 0x14004c74a
xor r9d, r9d
mov qword [rsp + 0x20], r14
mov r8b, 6
mov rdx, rdi
mov rcx, r15
call fcn.14004d3a0
test eax, eax
je 0x14004c74a
mov byte [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov dl, 4
mov rcx, r15
call fcn.14004f150
test eax, eax
je 0x14004c74a
mov rcx, qword [rsi + 0x40]
mov rdx, qword [0x14011c188]
mov rax, qword [rdx + 0x80]
mov qword [rcx + 0x10], rax
mov eax, 3
mov qword [r15 + 0x30], r12
mov qword [rdx + 0x28], r12
jmp 0x14004d0cb
mov r8, rbx
lea rdx, str.Out_of_memory.
mov rcx, r15
call fcn.140010900
jmp 0x14004d0cb
lea r8, [0x1400f9b50]
mov rcx, r15
lea rdx, str.Invalid_usage.
call fcn.140010900
jmp 0x14004d0cb
lea rdx, str.HotIfTimeout
mov rcx, rbx
call fcn.1400be170
test eax, eax
jne 0x14004c7ae
test rdi, rdi
je 0x14004d080
mov rcx, rdi
call fcn.14009ab90
mov dword [0x14011cb20], eax
mov eax, r13d
jmp 0x14004d0cb
lea rdx, str.Hotstring
mov rcx, rbx
call fcn.1400be170
test eax, eax
jne 0x14004c930
test rdi, rdi
je 0x14004d080
lea rdx, str.EndChars
mov rcx, rdi
call fcn.14009a680
mov r8, rax
test rax, rax
je 0x14004c86b
movzx edx, word [rax]
test dx, dx
je 0x14004d080
mov r9d, 9
nop dword [rax + rax]
lea rcx, [0x1401030b0]
movzx eax, r9w
nop dword [rax + rax]
cmp dx, ax
je 0x14004c838
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14004c810
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x14004c800
mov eax, r13d
jmp 0x14004d0cb
lea rdx, [r8 + 2]
mov r8d, WSAAsyncSelect
lea rcx, str._____:____.___n__t
call fcn.1400cd014
xor edx, edx
mov word [0x14011cb18], si
lea rcx, str._____:____.___n__t
call fcn.14009cac0
mov eax, r13d
jmp 0x14004d0cb
mov r8d, 7
lea rdx, str.NoMouse
mov rcx, rdi
call fcn.1400be350
test eax, eax
jne 0x14004c893
mov byte [0x14011c1a5], sil
mov eax, r13d
jmp 0x14004d0cb
lea rax, [0x140122c93]
mov rcx, rdi
mov qword [rsp + 0x68], rax
lea r9, [0x14011cb1c]
lea rax, [0x140122a81]
mov qword [rsp + 0x60], rax
lea r8, [0x140122bb8]
lea rax, [0x140122ada]
mov qword [rsp + 0x58], rax
lea rdx, [0x140122bbc]
lea rax, [0x140122adb]
mov qword [rsp + 0x50], rax
lea rax, [0x14011c1a6]
mov qword [rsp + 0x48], rax
lea rax, [0x140122ade]
mov qword [rsp + 0x40], rax
lea rax, [0x140122adc]
mov qword [rsp + 0x38], rax
lea rax, [0x14011c1a7]
mov qword [rsp + 0x30], rax
lea rax, [0x14011cb1a]
mov qword [rsp + 0x28], rax
lea rax, [0x140122add]
mov qword [rsp + 0x20], rax
call fcn.14001bb90
mov eax, r13d
jmp 0x14004d0cb
lea rdx, str.MaxThreadsPerHotkey
mov rcx, rbx
call fcn.1400be170
test eax, eax
jne 0x14004c97a
test rdi, rdi
je 0x14004d080
mov rcx, rdi
call fcn.14009ab90
mov ecx, 0xff
mov rdx, rax
cmp eax, ecx
jg 0x14004c96c
mov eax, 1
mov ecx, edx
cmp edx, eax
cmovl ecx, eax
mov byte [0x14011cb1b], cl
mov eax, r13d
jmp 0x14004d0cb
lea rdx, str.MaxThreadsBuffer
mov rcx, rbx
call fcn.1400be170
test eax, eax
jne 0x14004c9fb
test rdi, rdi
je 0x14004c9ec
cmp word [rdi], si
je 0x14004c9ec
lea rdx, str.True
mov rcx, rdi
call fcn.1400be170
test eax, eax
je 0x14004c9ec
cmp word [rdi], 0x31
jne 0x14004c9b6
cmp word [rdi + 2], si
je 0x14004c9ec
lea rdx, str.False
mov rcx, rdi
call fcn.1400be170
test eax, eax
je 0x14004c9dd
cmp word [rdi], 0x30
jne 0x14004cb7f
cmp word [rdi + 2], si
jne 0x14004cb7f
mov byte [0x140122d44], sil
mov eax, r13d
jmp 0x14004d0cb
mov byte [0x140122d44], 1
mov eax, r13d
jmp 0x14004d0cb
lea rdx, str.MaxThreads
mov rcx, rbx
call fcn.1400be170
test eax, eax
jne 0x14004ca45
test rdi, rdi
je 0x14004d080
mov rcx, rdi
call fcn.14009ab90
mov ecx, 0xff
mov rdx, rax
cmp eax, ecx
jg 0x14004ca37
mov eax, 1
mov ecx, edx
cmp edx, eax
cmovl ecx, eax
mov dword [reloc.WSOCK32.dll_inet_addr], ecx
mov eax, r13d
jmp 0x14004d0cb
lea rdx, str.SuspendExempt
mov rcx, rbx
call fcn.1400be170
test eax, eax
jne 0x14004cac6
test rdi, rdi
je 0x14004cab7
cmp word [rdi], si
je 0x14004cab7
lea rdx, str.True
mov rcx, rdi
call fcn.1400be170
test eax, eax
je 0x14004cab7
cmp word [rdi], 0x31
jne 0x14004ca81
cmp word [rdi + 2], si
je 0x14004cab7
lea rdx, str.False
mov rcx, rdi
call fcn.1400be170
test eax, eax
je 0x14004caa8
cmp word [rdi], 0x30
jne 0x14004cc92
cmp word [rdi + 2], si
jne 0x14004cc92
mov byte [0x140122a80], sil
mov eax, r13d
jmp 0x14004d0cb
mov byte [0x140122a80], 1
mov eax, r13d
jmp 0x14004d0cb
lea rdx, str.ClipboardTimeout
mov rcx, rbx
call fcn.1400be170
test eax, eax
jne 0x14004caf8
test rdi, rdi
je 0x14004d080
mov rcx, rdi
call fcn.14009ab90
mov dword [0x14011c19c], eax
mov eax, r13d
jmp 0x14004d0cb
lea rdx, str.WinActivateForce
mov rcx, rbx
call fcn.1400be170
test eax, eax
jne 0x14004cb1a
mov byte [0x140122d6a], 1
mov eax, r13d
jmp 0x14004d0cb
lea rdx, str.ErrorStdOut
mov rcx, rbx
call fcn.1400be170
test eax, eax
jne 0x14004cb96
test rdi, rdi
je 0x14004cb5d
movzx eax, word [rdi]
cmp ax, 0x22
je 0x14004cb41
cmp ax, 0x27
jne 0x14004cb5d
xor edx, edx
lea rcx, [rdi + 2]
call fcn.1400b97d8
movzx ecx, word [rdi]
cmp word [rax - 2], cx
jne 0x14004cb5d
mov word [rax - 2], si
add rdi, 2
mov rcx, rdi
call fcn.14000eba0
cmp eax, 0xffffffff
mov dword [r15 + 0x790], eax
setne cl
mov byte [r15 + 0x78f], cl
jne 0x14004d080
mov r8, rdi
lea rdx, str.Parameter_1_invalid.
mov rcx, r15
call fcn.140010900
jmp 0x14004d0cb
lea rdx, str.InputLevel
mov rcx, rbx
call fcn.1400be170
test eax, eax
jne 0x14004cbd8
test rdi, rdi
je 0x14004cbc8
mov rcx, rdi
call fcn.14009ab90
test eax, eax
js 0x14004cc92
cmp eax, 0x64
jle 0x14004cbca
jmp 0x14004cc92
mov eax, esi
mov byte [0x140122c92], al
mov eax, r13d
jmp 0x14004d0cb
lea rdx, str.Warn
mov rcx, rbx
call fcn.1400be170
test eax, eax
jne 0x14004cd44
lea rbx, [0x1400f9b50]
test rdi, rdi
mov rsi, rbx
lea edx, [rax + 0x2c]
cmovne rsi, rdi
mov rcx, rsi
call fcn.1400b97d8
test rax, rax
je 0x14004cc52
lea rbx, [rax + 2]
movzx ecx, word [rbx]
cmp cx, 0x20
je 0x14004cc23
cmp cx, 9
jne 0x14004cc29
add rbx, 2
jmp 0x14004cc14
add rax, 0xfffffffffffffffe
cmp rax, rsi
jbe 0x14004cc4a
movzx ecx, word [rax]
cmp cx, 0x20
je 0x14004cc41
cmp cx, 9
jne 0x14004cc4a
sub rax, 2
cmp rax, rsi
ja 0x14004cc32
xor ecx, ecx
mov word [rax + 2], cx
jmp 0x14004cc54
xor ecx, ecx
cmp word [rsi], 0
mov r14d, r13d
je 0x14004cca9
mov r14d, ecx
lea rdi, str.LocalSameAsGlobal
nop word [rax + rax]
mov rdx, qword [rdi]
mov rcx, rsi
call fcn.1400be170
test eax, eax
je 0x14004cca9
inc r14d
lea rax, [0x140104fb0]
add rdi, 8
cmp rdi, rax
jne 0x14004cc70
mov r8, r12
lea rdx, str.Parameter_1_invalid.
mov rcx, r15
call fcn.140010900
jmp 0x14004d0cb
cmp word [rbx], 0
mov esi, 2
je 0x14004cd01
xor r12d, r12d
lea rdi, [0x140104f70]
mov esi, r12d
lea r12, str.LocalSameAsGlobal
nop dword [rax + rax]
mov rdx, qword [rdi]
mov rcx, rbx
call fcn.1400be170
test eax, eax
je 0x14004cd01
inc esi
add rdi, 8
cmp rdi, r12
jne 0x14004ccd0
mov r8, rbx
lea rdx, str.Parameter_2_invalid.
mov rcx, r15
call fcn.140010900
jmp 0x14004d0cb
test r14d, r14d
je 0x14004cd0b
cmp r14d, r13d
jne 0x14004cd11
mov dword [0x140122a84], esi
lea eax, [r14 - 1]
test eax, 0xfffffffd
mov eax, dword [reloc.OLEAUT32.dll_SysReAllocString]
cmove eax, esi
mov dword [reloc.OLEAUT32.dll_SysReAllocString], eax
lea eax, [r14 - 2]
cmp eax, 1
ja 0x14004d080
mov dword [reloc.OLEAUT32.dll_SysReAllocString], esi
mov eax, r13d
jmp 0x14004d0cb
lea rdx, str.Requires
mov rcx, rbx
call fcn.1400be170
test eax, eax
jne 0x14004cec0
test rdi, rdi
jne 0x14004cd7b
lea r8, [0x1400f9b50]
mov rcx, r15
lea rdx, str.Parameter_1_required
call fcn.140010900
jmp 0x14004d0cb
mov r8d, 0xa
lea rdx, [0x1400f9d00]
mov rcx, rdi
call fcn.1400be350
lea rbx, str.64_bit
lea r14, [0x1400e9038]
test eax, eax
jne 0x14004ce6e
movzx eax, word [rdi + 0x14]
test ax, ax
je 0x14004d080
cmp ax, 0x20
je 0x14004cdc3
cmp ax, 9
jne 0x14004ce6e
lea rsi, [rdi + 0x16]
xor r12d, r12d
nop word [rax + rax]
mov rdx, rsi
movzx eax, word [rdx]
cmp ax, 0x20
je 0x14004cde2
cmp ax, 9
jne 0x14004cde8
add rdx, 2
jmp 0x14004cdd3
test ax, ax
je 0x14004d080
mov rsi, rdx
cmp ax, 0x20
je 0x14004ce0d
cmp ax, 9
je 0x14004ce0d
movzx eax, word [rsi + 2]
add rsi, 2
test ax, ax
jne 0x14004cdf4
mov eax, SafeArrayAllocDescriptor
lea rcx, [rsp + 0x70]
mov rbx, rsi
sub rbx, rdx
sar rbx, 1
inc rbx
cmp rbx, 0x20
cmova rbx, rax
lea r8, [rbx - 1]
call fcn.1400cd014
mov word [rsp + rbx*2 + 0x6e], r12w
lea rcx, [rsp + 0x70]
lea rbx, str.64_bit
mov rdx, rbx
call fcn.1400be170
test eax, eax
je 0x14004cdd0
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.14009d350
test eax, eax
jne 0x14004cdd0
mov rax, qword [r15 + 0x770]
lea r8, str.This_script_requires__s._n_nCurrent_interpreter:__s_v_s__s_n_s
mov qword [rsp + 0x38], rax
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x30], rbx
lea rax, [0x1400f9d00]
mov qword [rsp + 0x28], r14
mov r9, rdi
mov edx, 0x200
mov qword [rsp + 0x20], rax
call fcn.14009a330
lea r8, [0x1400f9b50]
mov rcx, r15
lea rdx, [rbp - 0x10]
call fcn.140010900
jmp 0x14004d0cb
mov eax, 4
jmp 0x14004d0cb
test rdi, rdi
jne 0x14004cee6
mov r8, r12
lea rdx, str.Parameter_1_required
mov rcx, r15
call fcn.140010900
jmp 0x14004d0cb
movzx eax, word [rdi]
cmp ax, 0x22
je 0x14004cef5
cmp ax, 0x27
jne 0x14004cf19
lea rbx, [rdi + 2]
xor edx, edx
mov rcx, rbx
call fcn.1400b97d8
mov rcx, rax
movzx eax, word [rdi]
cmp word [rcx - 2], ax
jne 0x14004cf19
mov word [rcx - 2], si
mov rdi, rbx
movzx eax, word [rbx]
test ax, ax
jne 0x14004cf39
lea r8, [0x1400f9b50]
mov rcx, r15
lea rdx, str.Parameter_1_invalid.
call fcn.140010900
jmp 0x14004d0cb
cmp ax, 0x2a
jne 0x14004cf74
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 0x14004cf74
movzx eax, word [rdi + 4]
cmp ax, 0x20
je 0x14004cf71
cmp ax, 9
jne 0x14004cf74
mov sil, 1
test sil, sil
lea rbx, [rdi + 6]
cmove rbx, rdi
cmp word [rbx], 0x3c
jne 0x14004d03d
mov edx, 0x3e
mov rcx, rbx
call fcn.1400b97d8
mov rdi, rax
test rax, rax
je 0x14004d03d
cmp word [rax + 2], 0
jne 0x14004d03d
xor eax, eax
add rbx, 2
mov word [rdi], ax
call fcn.140062920
mov r14, rax
lea r9, [rbp + 0x438]
lea rax, [rbp + 0x440]
mov r8, rdi
sub r8, rbx
mov qword [rsp + 0x20], rax
sar r8, 1
mov rdx, rbx
mov rcx, r15
call fcn.140052de0
test r14, r14
je 0x14004cffb
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, r14
call fcn.1400be2e0
movzx eax, byte [rbp + 0x438]
test al, al
jne 0x14004d013
cmp byte [rbp + 0x440], al
jne 0x14004d080
test sil, sil
jne 0x14004d080
mov ecx, 0x3e
mov word [rdi], cx
test al, al
je 0x14004d026
xor eax, eax
jmp 0x14004d0cb
mov r8, r12
lea rdx, str.Script_library_not_found.
mov rcx, r15
call fcn.140010900
jmp 0x14004d0cb
mov r8, rbx
lea rdx, [rbp + 0x440]
mov rcx, r15
call fcn.14005d8a0
test eax, eax
jne 0x14004d057
xor eax, eax
jmp 0x14004d0cb
mov rbx, qword [rbp + 0x440]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004d085
test al, 0x10
je 0x14004d085
mov rcx, rbx
call fcn.140062860
mov rcx, rbx
call fcn.1400be2e0
mov eax, r13d
jmp 0x14004d0cb
call fcn.140062920
movzx r8d, byte [rbp + 0x438]
movzx r9d, sil
mov rdx, rbx
mov rcx, r15
mov rdi, rax
call fcn.140047960
neg eax
sbb esi, esi
and esi, r13d
test rdi, rdi
je 0x14004d0c1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, rdi
call fcn.1400be2e0
mov rcx, rbx
call fcn.1400be2e0
mov eax, esi
mov r13, qword [rsp + 0x530]
add rsp, 0x4f0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140011020
int3