Function at 0x14003e840
Capabilities:
Check if file exists
Get common file path
Get file attributes
Get keyboard layout
Set current directory

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x280
movzx r8d, word [0x14013b0e8]
xor r13d, r13d
mov edi, SafeArrayAllocDescriptor
mov r12, rdx
mov r14, rcx
mov dword [rax + 0x10], 0x90020
mov word [rax + 0x14], r8w
lea esi, [rdi - 0x17]
mov word [rax + 0x16], r13w
mov rbx, rdx
test rdx, rdx
je 0x14003e8c3
movzx edx, word [rdx]
test dx, dx
je 0x14003e8c3
nop
lea rcx, [rsp + 0x2c8]
mov eax, edi
nop word [rax + rax]
cmp dx, ax
je 0x14003e95b
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14003e8a0
movzx edx, word [rbx + 2]
add rbx, 2
test dx, dx
jne 0x14003e890
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea rbx, [r12 + rcx*2 - 2]
mov rdi, r13
sub rbx, r12
lea rdx, str.Include
or r9, 0xffffffffffffffff
sar rbx, 1
mov rcx, r12
mov qword [rsp + 0x2c0], r15
mov r8, rbx
xor bpl, bpl
call fcn.1400e0720
test eax, eax
je 0x14003f7f9
lea rdx, str.IncludeAgain
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
sete bpl
test bpl, bpl
jne 0x14003f7f9
lea rdx, str.NoEnv
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003e9aa
mov edx, 1
mov dword [0x14013b0c4], edx
lea eax, [rdx + 2]
jmp 0x14003f99d
mov rdi, rbx
nop
movzx eax, word [rdi]
cmp ax, 0x20
je 0x14003e96e
cmp ax, si
jne 0x14003e974
add rdi, 2
jmp 0x14003e960
movzx eax, word [rdi]
test ax, ax
je 0x14003e8d7
cmp ax, r8w
jne 0x14003e8da
movzx eax, word [rdi + 2]
add rdi, 2
cmp ax, 0x20
je 0x14003e98a
cmp ax, si
je 0x14003e98a
cmp ax, r13w
cmove rdi, r13
jmp 0x14003e8da
lea rdx, str.NoTrayIcon
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003e9d5
mov byte [0x14013f882], 1
mov eax, 3
jmp 0x14003f99d
lea rdx, str.Persistent
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003ea00
mov byte [0x14013f880], 1
mov eax, 3
jmp 0x14003f99d
lea rdx, str.SingleInstance
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003eaad
mov edx, 1
mov dword [0x14013f874], edx
test rdi, rdi
je 0x14003eaa3
lea rdx, str.Force
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
jne 0x14003ea55
mov esi, 2
mov dword [0x14013f874], esi
lea eax, [rsi + 1]
jmp 0x14003f99d
lea rdx, str.Ignore
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
jne 0x14003ea7d
mov dword [0x14013f874], 3
mov eax, 3
jmp 0x14003f99d
lea rdx, [0x140107720]
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll__wcsicmp]
mov ecx, dword [0x14013f874]
mov edx, 4
test eax, eax
cmove ecx, edx
mov dword [0x14013f874], ecx
mov eax, 3
jmp 0x14003f99d
lea rdx, str.InstallKeybdHook
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003ead8
or byte [0x140140267], 1
mov eax, 3
jmp 0x14003f99d
lea rdx, str.InstallMouseHook
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003eb03
or byte [0x140140267], 2
mov eax, 3
jmp 0x14003f99d
lea rdx, str.UseHook
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003eb49
test rdi, rdi
je 0x14003eb38
xor edx, edx
mov rcx, rdi
call fcn.140016cb0
mov byte [0x140140263], r13b
cmp eax, 2
je 0x14003eb3f
mov byte [0x140140263], 1
mov eax, 3
jmp 0x14003f99d
lea rdx, [0x1401058d8]
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003ec35
test rdi, rdi
jne 0x14003eb7d
mov qword [0x14013f8a0], r13
mov eax, 3
jmp 0x14003f99d
mov rcx, rdi
call fcn.140017350
mov qword [0x14013f8a0], rax
test rax, rax
jne 0x14003f971
mov rax, qword [0x14013b0f8]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov rsi, qword [rax + 0xd8]
mov qword [rax + 0xd8], r13
lea rbx, [0x1401035ac]
xor r9d, r9d
mov r8b, 0xe3
mov rdx, rdi
mov rcx, r14
mov qword [rsp + 0x28], r13
mov byte [r14 + 0x35], 1
mov qword [rsp + 0x20], rbx
call fcn.1400400e0
test eax, eax
je 0x14003f942
mov rax, qword [0x14013b0f8]
mov byte [r14 + 0x35], r13b
mov qword [rax + 0xd8], rsi
mov rdi, qword [r14 + 0x660]
call fcn.1400172a0
mov rdx, rax
mov qword [0x14013f8a0], rax
test rax, rax
je 0x14003f942
mov byte [rax], 5
mov qword [rax + 0x18], rdi
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + 0x10], rbx
mov eax, 3
mov qword [rdx + 8], rcx
jmp 0x14003f99d
lea rdx, str.IfTimeout
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003ec6c
test rdi, rdi
je 0x14003ec62
mov rcx, rdi
call fcn.1400050b0
mov dword [0x14013b0e4], eax
mov eax, 3
jmp 0x14003f99d
lea rdx, str.IfWin
mov r8d, 6
mov rcx, r12
call qword [sym.imp.MSVCR100.dll__wcsnicmp]
test eax, eax
jne 0x14003ee36
lea rcx, [r12 + 0xc]
lea r8d, [rax + 3]
lea rdx, [0x1401078d0]
call qword [sym.imp.MSVCR100.dll__wcsnicmp]
lea rdx, str.Active
mov r8d, 6
test eax, eax
mov eax, 6
sete bl
test bl, bl
cmovne rax, rsi
lea rsi, [r12 + rax*2]
mov rcx, rsi
call qword [sym.imp.MSVCR100.dll__wcsnicmp]
test eax, eax
jne 0x14003ecd9
test bl, bl
setne bpl
inc bpl
jmp 0x14003ed03
mov ebp, 5
lea rdx, str.Exist
mov rcx, rsi
mov r8d, ebp
call qword [sym.imp.MSVCR100.dll__wcsnicmp]
test eax, eax
jne 0x14003ee2c
test bl, bl
setne bpl
add bpl, 3
test rdi, rdi
je 0x14003eb6c
movzx edx, word [0x14013b0e8]
movzx r9d, word [0x14013b0f0]
movzx r8d, word [0x14013b0ec]
mov r10, r13
mov rcx, rdi
nop dword [rax]
movzx eax, word [rcx]
test ax, ax
je 0x14003ed56
cmp ax, r9w
je 0x14003ed85
cmp ax, dx
je 0x14003ed85
cmp ax, r8w
je 0x14003ed85
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14003ed38
lea rbx, [0x1401035ac]
test r10, r10
je 0x14003edf1
lea rsi, [r10 + 2]
nop word [rax + rax]
movzx eax, word [rsi]
cmp ax, 0x20
je 0x14003ed7f
cmp ax, 9
jne 0x14003edd0
add rsi, 2
jmp 0x14003ed70
movzx eax, word [rcx]
test ax, ax
je 0x14003ed56
cmp ax, r8w
je 0x14003edb9
cmp ax, dx
jne 0x14003eda6
test r10, r10
jne 0x14003edb9
mov r10, rcx
add rcx, 2
jmp 0x14003ed30
add rcx, 2
cmp word [rcx], r13w
je 0x14003ed56
add rcx, 2
jmp 0x14003ed30
lea rdx, str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
mov r8, r12
mov rcx, r14
call fcn.14005f7b0
jmp 0x14003f99d
mov word [r10], r13w
sub r10, rdi
mov rcx, rdi
sar r10, 1
mov rdx, r10
call fcn.14002f8a0
mov dl, 1
mov rcx, rsi
call fcn.1400e2e40
jmp 0x14003edf4
mov rsi, rbx
mov dl, 1
mov rcx, rdi
call fcn.1400e2e40
mov r8, rsi
mov rdx, rdi
movzx ecx, bpl
call fcn.1400170d0
test eax, eax
jne 0x14003f971
lea rdx, str.Out_of_memory.
mov r8, rbx
mov rcx, r14
call fcn.14005f7b0
jmp 0x14003f99d
mov eax, 4
jmp 0x14003f99d
lea rdx, [0x14011d728]
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003ef7e
test rdi, rdi
je 0x14003ef74
lea rdx, str.EndChars
mov rcx, rdi
call fcn.1400e0a80
test rax, rax
je 0x14003eec0
lea rdx, [0x14011d740]
mov rcx, rax
call fcn.140007290
test rax, rax
je 0x14003f971
lea rdx, [rax + 2]
lea rcx, str._____:____.___n__t
mov r8d, WSAAsyncSelect
call qword [sym.imp.MSVCR100.dll_wcsncpy]
lea rcx, str._____:____.___n__t
xor edx, edx
mov word [0x14013b1c8], r13w
call fcn.1400e2e40
mov eax, 3
jmp 0x14003f99d
lea rdx, str.NoMouse
mov r8d, 7
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll__wcsnicmp]
test eax, eax
jne 0x14003eeeb
mov byte [0x14013b0ee], r13b
mov eax, 3
jmp 0x14003f99d
lea rax, [0x140140261]
lea r9, [0x14013b0f4]
lea r8, [0x1401401b8]
mov qword [rsp + 0x60], rax
lea rax, [0x140140260]
lea rdx, [0x1401401b4]
mov qword [rsp + 0x58], rax
lea rax, [0x1401401bf]
mov rcx, rdi
mov qword [rsp + 0x50], rax
lea rax, [0x14013b0eb]
mov qword [rsp + 0x48], rax
lea rax, [0x1401401bc]
mov qword [rsp + 0x40], rax
lea rax, [0x1401401be]
mov qword [rsp + 0x38], rax
lea rax, [0x14013b0ea]
mov qword [rsp + 0x30], rax
lea rax, [0x14013b0bb]
mov qword [rsp + 0x28], rax
lea rax, [0x1401401bd]
mov qword [rsp + 0x20], rax
call fcn.14001ce30
mov eax, 3
jmp 0x14003f99d
lea rdx, str.HotkeyModifierTimeout
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003efb5
test rdi, rdi
je 0x14003efab
mov rcx, rdi
call fcn.14001db30
mov dword [0x14013b0bc], eax
mov eax, 3
jmp 0x14003f99d
lea rdx, str.HotkeyInterval
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003eff6
test rdi, rdi
je 0x14003efec
mov rcx, rdi
call fcn.14001db30
mov ecx, 0xa
cmp eax, ecx
cmovl eax, ecx
mov dword [0x14013b0e0], eax
mov eax, 3
jmp 0x14003f99d
lea rdx, str.MaxHotkeysPerInterval
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003f037
test rdi, rdi
je 0x14003f02d
mov rcx, rdi
call fcn.14001db30
mov edx, 1
cmp eax, edx
cmovl eax, edx
mov dword [0x14013b0dc], eax
mov eax, 3
jmp 0x14003f99d
lea rdx, str.MaxThreadsPerHotkey
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003f083
test rdi, rdi
je 0x14003f079
mov rcx, rdi
call fcn.14001db30
mov ecx, 0xff
cmp eax, ecx
jg 0x14003f073
mov edx, 1
mov ecx, eax
cmp eax, edx
cmovl ecx, edx
mov byte [0x14013b0ba], cl
mov eax, 3
jmp 0x14003f99d
lea rdx, str.MaxThreadsBuffer
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003f0c9
test rdi, rdi
je 0x14003f0b8
xor edx, edx
mov rcx, rdi
call fcn.140016cb0
mov byte [0x14013f88a], r13b
cmp eax, 2
je 0x14003f0bf
mov byte [0x14013f88a], 1
mov eax, 3
jmp 0x14003f99d
lea rdx, str.MaxThreads
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003f115
test rdi, rdi
je 0x14003f10b
mov rcx, rdi
call fcn.14001db30
mov ecx, 0xff
cmp eax, ecx
jg 0x14003f105
mov edx, 1
mov ecx, eax
cmp eax, edx
cmovl ecx, edx
mov dword [reloc.WSOCK32.dll_inet_addr], ecx
mov eax, 3
jmp 0x14003f99d
lea rdx, str.ClipboardTimeout
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003f14c
test rdi, rdi
je 0x14003f142
mov rcx, rdi
call fcn.14001db30
mov dword [0x14013b0c0], eax
mov eax, 3
jmp 0x14003f99d
lea rdx, str.LTrim
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003f192
test rdi, rdi
je 0x14003f181
xor edx, edx
mov rcx, rdi
call fcn.140016cb0
mov byte [0x140140262], r13b
cmp eax, 2
je 0x14003f188
mov byte [0x140140262], 1
mov eax, 3
jmp 0x14003f99d
lea rdx, str.WinActivateForce
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003f1bd
mov byte [0x14013f73a], 1
mov eax, 3
jmp 0x14003f99d
lea rdx, str.ErrorStdOut
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003f1e9
mov byte [r14 + 0xbdb], 1
mov eax, 3
jmp 0x14003f99d
lea rdx, str.MaxMem
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003f288
test rdi, rdi
je 0x14003f27e
mov rcx, rdi
call fcn.14002f9a0
movapd xmm5, xmm0
movsd xmm0, qword [0x1401283e8]
comisd xmm5, xmm0
ja 0x14003f234
movsd xmm0, qword [0x1401279a0]
comisd xmm0, xmm5
jbe 0x14003f238
movapd xmm5, xmm0
mulsd xmm5, qword [0x140127980]
movsd xmm0, qword [0x1401279d8]
xor ecx, ecx
mulsd xmm5, qword [0x140127980]
comisd xmm5, xmm0
jbe 0x14003f26f
subsd xmm5, xmm0
comisd xmm5, xmm0
jae 0x14003f26f
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rax, xmm5
add rax, rcx
mov qword [0x14013b0d0], rax
mov eax, 3
jmp 0x14003f99d
lea rdx, str.KeyHistory
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003f2de
test rdi, rdi
je 0x14003f2d4
mov rcx, rdi
call fcn.14001db30
test eax, eax
jns 0x14003f2c4
mov dword [0x14013b0cc], r13d
mov eax, 3
jmp 0x14003f99d
mov ecx, 0x1f4
cmp eax, ecx
cmovg eax, ecx
mov dword [0x14013b0cc], eax
mov eax, 3
jmp 0x14003f99d
lea rdx, str.CommentFlag
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003f3d9
test rdi, rdi
je 0x14003f3cf
cmp word [rdi + 2], r13w
jne 0x14003f394
movzx eax, word [rdi]
cmp ax, 0x23
je 0x14003f70b
cmp ax, word [0x14013b0ec]
je 0x14003f70b
cmp ax, word [0x14013b0f0]
je 0x14003f70b
cmp ax, word [0x14013b0e8]
je 0x14003f70b
cmp ax, 0x21
je 0x14003f70b
cmp ax, 0x5e
je 0x14003f70b
cmp ax, 0x2b
je 0x14003f70b
cmp ax, 0x24
je 0x14003f70b
cmp ax, 0x7e
je 0x14003f70b
cmp ax, 0x2a
je 0x14003f70b
cmp ax, 0x3c
je 0x14003f70b
cmp ax, 0x3e
je 0x14003f70b
lea rcx, [0x14013a5b8]
mov r8d, reloc.WSOCK32.dll_ntohs
mov rdx, rdi
call qword [sym.imp.MSVCR100.dll_wcsncpy]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x14013a5b8]
mov word [0x14013a5d6], r13w
repne scasw ax, word [rdi]
not rcx
dec rcx
mov qword [0x14013a5d8], rcx
mov eax, 3
jmp 0x14003f99d
lea rdx, str.EscapeChar
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003f455
test rdi, rdi
je 0x14003f971
movzx eax, word [rdi]
cmp ax, 0x23
je 0x14003f70b
cmp ax, word [0x14013b0ec]
je 0x14003f70b
cmp ax, word [0x14013b0e8]
je 0x14003f70b
cmp ax, 0x2e
je 0x14003f70b
cmp qword [0x14013a5d8], 1
jne 0x14003f444
cmp ax, word [0x14013a5b8]
je 0x14003f70b
mov word [0x14013b0f0], ax
mov eax, 3
jmp 0x14003f99d
lea rdx, str.DerefChar
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003f4c7
test rdi, rdi
je 0x14003f971
movzx eax, word [rdi]
cmp ax, word [0x14013b0f0]
je 0x14003f70b
cmp ax, word [0x14013b0e8]
je 0x14003f70b
cmp ax, 0x2e
je 0x14003f70b
cmp qword [0x14013a5d8], 1
jne 0x14003f4b6
cmp ax, word [0x14013a5b8]
je 0x14003f70b
mov word [0x14013b0ec], ax
mov eax, 3
jmp 0x14003f99d
lea rdx, [0x14011d920]
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003f543
test rdi, rdi
je 0x14003f971
movzx eax, word [rdi]
cmp ax, 0x23
je 0x14003f70b
cmp ax, word [0x14013b0f0]
je 0x14003f70b
cmp ax, word [0x14013b0ec]
je 0x14003f70b
cmp ax, 0x2e
je 0x14003f70b
cmp qword [0x14013a5d8], 1
jne 0x14003f532
cmp ax, word [0x14013a5b8]
je 0x14003f70b
mov word [0x14013b0e8], ax
mov eax, 3
jmp 0x14003f99d
lea rdx, str.MenuMaskKey
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003f5b8
test rdi, rdi
je 0x14003f590
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
lea r8, [0x14013b0b8]
lea rdx, [0x14013a512]
xor r9d, r9d
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.140024060
test al, al
jne 0x14003f971
lea rdx, str.Parameter_1_invalid.
test rdi, rdi
lea rax, str.Parameter_1_required
cmovne rax, rdx
mov r8, r12
mov rcx, r14
mov rdx, rax
call fcn.14005f7b0
jmp 0x14003f99d
lea rdx, str.InputLevel
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003f604
test rdi, rdi
je 0x14003f5f3
mov rcx, rdi
call fcn.14001db30
mov r13d, eax
test eax, eax
js 0x14003f70b
cmp eax, 0x64
jg 0x14003f70b
mov byte [0x14013f88b], r13b
mov eax, 3
jmp 0x14003f99d
lea rdx, str.WarnContinuableException
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003f64f
test rdi, rdi
je 0x14003f63e
lea rdx, [0x140107720]
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll__wcsicmp]
mov byte [0x14013a513], r13b
test eax, eax
je 0x14003f645
mov byte [0x14013a513], 1
mov eax, 3
jmp 0x14003f99d
lea rdx, str.Warn
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003f7cb
movzx edx, word [0x14013b0e8]
lea rbx, [0x1401035ac]
test rdi, rdi
mov rsi, rbx
cmovne rsi, rdi
mov rcx, rsi
call qword [sym.imp.MSVCR100.dll_wcschr]
test rax, rax
je 0x14003f6d2
lea rbx, [rax + 2]
movzx ecx, word [rbx]
cmp cx, 0x20
je 0x14003f6a6
cmp cx, 9
jne 0x14003f6ac
add rbx, 2
jmp 0x14003f697
add rax, 0xfffffffffffffffe
cmp rax, rsi
jbe 0x14003f6cd
movzx ecx, word [rax]
cmp cx, 0x20
je 0x14003f6c4
cmp cx, 9
jne 0x14003f6cd
sub rax, 2
cmp rax, rsi
ja 0x14003f6b5
mov word [rax + 2], r13w
mov ebp, 5
cmp word [rsi], r13w
je 0x14003f722
mov ebp, r13d
lea rdi, str.UseUnsetLocal
lea r15, [0x14013d3a8]
nop
mov rdx, qword [rdi]
mov rcx, rsi
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
je 0x14003f722
add rdi, 8
inc ebp
cmp rdi, r15
jne 0x14003f6f0
lea rdx, str.Parameter_1_invalid.
mov r8, r12
mov rcx, r14
call fcn.14005f7b0
jmp 0x14003f99d
mov esi, 2
cmp word [rbx], r13w
je 0x14003f772
mov esi, r13d
lea rdi, [0x14013d3a8]
lea r12, [0x14013d3c8]
nop
mov rdx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
je 0x14003f772
add rdi, 8
inc esi
cmp rdi, r12
jne 0x14003f740
lea rdx, str.Parameter_2_invalid.
mov r8, rbx
mov rcx, r14
call fcn.14005f7b0
jmp 0x14003f99d
test ebp, ebp
je 0x14003f77b
cmp ebp, 5
jne 0x14003f781
mov dword [0x14013f860], esi
cmp ebp, 1
je 0x14003f78b
cmp ebp, 5
jne 0x14003f791
mov dword [0x14013f864], esi
cmp ebp, 3
je 0x14003f79b
cmp ebp, 5
jne 0x14003f7a1
mov dword [0x14013f868], esi
cmp ebp, 2
je 0x14003f7ab
cmp ebp, 5
jne 0x14003f7b1
mov dword [0x14013f86c], esi
cmp ebp, 4
je 0x14003f7bb
cmp ebp, 5
jne 0x14003f7c1
mov dword [0x14013f870], esi
mov eax, 3
jmp 0x14003f99d
lea rdx, [0x14011d9b8]
or r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, r12
call fcn.1400e0720
test eax, eax
jne 0x14003ee2c
mov rdx, r12
mov rcx, rdi
call fcn.1400e3510
jmp 0x14003f99d
test rdi, rdi
jne 0x14003f815
lea rdx, str.Parameter_1_required
mov r8, r12
mov rcx, r14
call fcn.14005f7b0
jmp 0x14003f99d
cmp word [rdi], 0x2a
jne 0x14003f860
movzx ebx, word [rdi + 2]
test ebx, 0xffffff80
jne 0x14003f83d
mov esi, 2
mov ecx, ebx
mov edx, esi
call qword [sym.imp.MSVCR100.dll__isctype]
test eax, eax
je 0x14003f83d
and ebx, 0xffffffdf
cmp bx, 0x49
jne 0x14003f860
movzx eax, word [rdi + 4]
add rdi, 4
mov sil, 1
cmp ax, 0x20
je 0x14003f85a
cmp ax, 9
jne 0x14003f863
add rdi, 2
jmp 0x14003f863
xor sil, sil
cmp word [rdi], 0x3c
jne 0x14003f92e
mov r15d, 0x3e
mov rcx, rdi
mov edx, r15d
call qword [sym.imp.MSVCR100.dll_wcschr]
mov rbx, rax
test rax, rax
je 0x14003f92e
cmp word [rax + 2], r13w
jne 0x14003f92e
lea rdx, [rsp + 0x70]
mov ecx, 0x103
add rdi, 2
mov word [rax], r13w
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x14003f8b8
mov word [rsp + 0x70], r13w
lea rax, [rsp + 0x2d0]
mov r8, rbx
lea r9, [rsp + 0x2c8]
sub r8, rdi
mov rdx, rdi
mov rcx, r14
sar r8, 1
mov byte [rsp + 0x28], r13b
mov qword [rsp + 0x20], rax
call fcn.1400498f0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
movzx edx, byte [rsp + 0x2c8]
test dl, dl
jne 0x14003f90c
cmp byte [rsp + 0x2d0], r13b
jne 0x14003f971
test sil, sil
jne 0x14003f971
mov word [rbx], r15w
test dl, dl
jne 0x14003f929
lea rdx, str.Function_library_not_found.
mov r8, r12
mov rcx, r14
call fcn.14005f7b0
mov r13d, eax
mov eax, r13d
jmp 0x14003f99d
lea rcx, [rsp + 0x2c8]
mov rdx, rdi
call fcn.14005d630
test eax, eax
jne 0x14003f946
xor eax, eax
jmp 0x14003f99d
mov rbx, qword [rsp + 0x2c8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14003f978
test al, 0x10
je 0x14003f978
mov rcx, rbx
call fcn.1400826e0
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll_free]
mov eax, 3
jmp 0x14003f99d
movzx r9d, sil
movzx r8d, bpl
mov rdx, rbx
mov rcx, r14
call fcn.14003a040
mov rcx, rbx
neg eax
sbb edi, edi
and edi, 3
call qword [sym.imp.MSVCR100.dll_free]
mov eax, edi
mov r15, qword [rsp + 0x2c0]
add rsp, 0x280
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret