Function at 0x14007e7f0
Capabilities:
Get file attributes

Disassembly:
push rbp
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
xor eax, eax
mov r12d, 5
lock cmpxchg qword [0x14018d8b0], r12
je 0x14007e825
lea rcx, [0x14018d8b0]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhfAcquireQueuedLockShared
mov rsi, qword [0x140191a30]
lea rax, str.PluginsDirectory
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x110], rbx
mov qword [rbp - 0x78], 0x20
mov qword [rbp - 0x70], rax
call qword [rsi + 0x10]
mov edx, dword [rsi + 0x18]
xor edi, edi
mov rcx, qword [rsi + 0x20]
dec edx
mov r15d, eax
btr r15d, 0x1f
and edx, r15d
mov r8d, dword [rcx + rdx*4]
cmp r8d, 0xffffffff
je 0x14007e89e
nop
mov ebx, dword [rsi]
add ebx, 8
imul ebx, r8d
add rbx, qword [rsi + 0x30]
cmp dword [rbx], r15d
jne 0x14007e894
lea r14, [rbx + 8]
mov rcx, r14
lea rdx, [rbp - 0x80]
call qword [rsi + 8]
test al, al
jne 0x14007e8d0
mov r8d, dword [rbx + 4]
cmp r8d, 0xffffffff
jne 0x14007e870
mov rbx, qword [rbp + 0x50]
mov r14, rdi
mov rax, r12
lock cmpxchg qword [0x14018d8b0], rdi
je 0x14007e8bf
lea rcx, [0x14018d8b0]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhfReleaseQueuedLockShared
test r14, r14
jne 0x14007e8ee
mov ecx, 0xc0000225
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
test r14, r14
je 0x14007e89e
cmp dword [r14], edi
jne 0x14007e89e
mov rbx, qword [r14 + 0x28]
test rbx, rbx
je 0x14007e8e9
lock inc dword [rbx - 8]
jmp 0x14007e8a5
mov rbx, rdi
jmp 0x14007e8a5
test rbx, rbx
jne 0x14007e8fb
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhReferenceEmptyString
mov rbx, rax
mov rcx, qword [rbx + 8]
call qword [sym.imp.ntdll.dll_RtlDetermineDosPathNameType_U]
mov r15d, 0xffffffff
cmp eax, r12d
jne 0x14007e954
mov rdx, qword [0x140192450]
lea r8, [0x14013eb1c]
mov r9, qword [rbx + 8]
mov ecx, 4
mov qword [rsp + 0x20], r8
mov rdx, qword [rdx + 8]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhConcatStrings
mov qword [0x14018e850], rax
lea rcx, [rbx - 0x10]
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14007e95b
call fcn.1400d9400
jmp 0x14007e95b
mov qword [0x14018e850], rbx
mov rax, qword [0x14018e850]
lea rdx, [rbp - 0x50]
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rax + 8]
call qword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
test al, al
je 0x14007ec53
mov dword [rsp + 0x50], edi
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], rdi
lea r9, [rbp - 0x10]
mov dword [rsp + 0x40], 0x21
lea r8, [rbp - 0x80]
mov dword [rsp + 0x38], 1
lea rcx, [rbp + 0x60]
mov dword [rsp + 0x30], 1
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x80
mov edx, 0x120089
mov qword [rsp + 0x20], rdi
mov dword [rbp - 0x80], 0x30
mov qword [rbp - 0x78], rdi
mov dword [rbp - 0x68], 0x40
mov qword [rbp - 0x70], rax
movdqu xmmword [rbp - 0x60], xmm0
call qword [sym.imp.ntdll.dll_NtCreateFile]
mov rcx, qword gs:[0x30]
xor edx, edx
mov r8, qword [rbp - 0x48]
mov ebx, eax
mov rcx, qword [rcx + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test ebx, ebx
js 0x14007ec53
mov rbx, qword [rbp + 0x60]
lea rax, [0x14013f450]
mov qword [rsp + 0x108], r13
mov sil, 1
mov r13d, 0x400
mov qword [rbp + 0x68], rbx
mov qword [rbp + 0x58], r13
mov r8d, r13d
mov dword [rsp + 0x70], 0xc000a
mov qword [rsp + 0x78], rax
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r12, rax
nop word [rax + rax]
mov byte [rsp + 0x50], sil
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
xor r9d, r9d
mov byte [rsp + 0x40], 0
lea rax, [rbp - 0x20]
mov dword [rsp + 0x38], 1
xor r8d, r8d
mov dword [rsp + 0x30], r13d
xor edx, edx
mov qword [rsp + 0x28], r12
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtQueryDirectoryFile]
cmp eax, 0x103
jne 0x14007eabb
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
test eax, eax
cmovns eax, dword [rbp - 0x20]
cmp eax, 0x80000005
je 0x14007eac9
cmp eax, 0xc0000004
jne 0x14007eaee
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8, r12
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea eax, [r13*2]
mov r13d, eax
mov r8d, eax
jmp 0x14007ea40
mov qword [rbp + 0x58], r13
test eax, eax
js 0x14007ec30
lea rax, str..dll
mov qword [rsp + 0x60], 8
mov qword [rsp + 0x68], rax
mov r14d, edi
xor r13d, r13d
nop word [rax + rax]
mov esi, r14d
add rsi, r12
mov eax, dword [rsi + 0x3c]
lea r15, [rsi + 0x40]
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x30], rax
cmp rax, 8
jb 0x14007ec0a
add rax, 0xfffffffffffffff8
mov qword [rbp - 0x40], 8
add rax, r15
lea rdx, [rsp + 0x60]
mov r8b, 1
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x40]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhEqualStringRef
test al, al
je 0x14007ec0a
lea rcx, [rbp - 0x30]
call fcn.14007e380
test al, al
jne 0x14007ec0a
mov rax, qword [0x14018e850]
mov ebx, dword [rsi + 0x3c]
mov rdx, qword [0x140191180]
add rbx, qword [rax]
lea rcx, [rbx + 0x12]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateObject
mov rdi, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rbx], r13w
mov rdx, qword [0x14018e850]
mov rcx, qword [rax + 8]
mov r8, qword [rdx]
mov rdx, qword [rdx + 8]
call fcn.1401317c0
mov rcx, qword [0x14018e850]
mov rdx, r15
mov rax, qword [rdi + 8]
mov r8d, dword [rsi + 0x3c]
mov r9, qword [rcx]
shr r9, 1
lea rcx, [rax + r9*2]
call fcn.1401317c0
mov rcx, rdi
call fcn.14007ef70
mov r15d, 0xffffffff
lea rcx, [rdi - 0x10]
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14007ec10
call fcn.1400d9400
jmp 0x14007ec10
mov r15d, 0xffffffff
mov eax, dword [rsi]
test eax, eax
je 0x14007ec1e
add r14d, eax
jmp 0x14007eb20
mov r13, qword [rbp + 0x58]
xor sil, sil
mov rbx, qword [rbp + 0x68]
xor edi, edi
jmp 0x14007ea60
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8, r12
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtClose]
mov r13, qword [rsp + 0x108]
mov rax, qword [0x14018e858]
test rax, rax
je 0x14007ef3f
cmp dword [rax], 0
je 0x14007ef3f
test dword [0x1401923e0], 0x200
jne 0x14007ef3f
mov rdx, qword [0x140191180]
mov ecx, 0x76
mov qword [rsp + 0x60], 0x64
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateObject
mov rbx, rax
mov qword [rsp + 0x68], rax
lea r14, str.Unable_to_load_the_following_plugin_s_:_n_n
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + 0x64], di
mov qword [rax], rdi
mov rcx, qword [rax + 8]
mov word [rcx], di
cmp byte [0x14018dbaa], 1
jb 0x14007ed41
mov rdx, r14
mov rcx, r14
and rdx, 0xfffffffffffffff1
xorps xmm1, xmm1
and ecx, 0xf
je 0x14007ecfa
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
sar eax, cl
bsf ecx, eax
mov dword [rbp + 0x50], ecx
je 0x14007ecf6
mov edx, ecx
shr rdx, 1
jmp 0x14007ed36
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rbp + 0x50], ecx
jne 0x14007ed28
nop dword [rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rbp + 0x50], ecx
je 0x14007ed10
sub rdx, r14
mov eax, ecx
sar rdx, 1
shr rax, 1
add rdx, rax
lea rsi, [rdx + rdx]
test rsi, rsi
je 0x14007ed81
jmp 0x14007ed46
mov esi, 0x52
mov rdx, qword [rbx]
add rdx, rsi
cmp rdx, 0x64
jbe 0x14007ed61
lea rcx, [rsp + 0x60]
call fcn.1400dd840
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rbx + 8]
mov r8, rsi
add rcx, qword [rbx]
mov rdx, r14
call fcn.1401317c0
add qword [rbx], rsi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov word [rcx + rax], di
mov rax, qword [0x14018e858]
mov esi, edi
cmp dword [rax], 0
jbe 0x14007edf8
nop
mov rax, qword [rax + 8]
mov ecx, esi
mov rbx, qword [rax + rcx*8]
mov rcx, qword [rbx]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhGetBaseName
mov r9, qword [rbx + 8]
mov r14, rax
test r9, r9
je 0x14007edb4
mov r9, qword [r9 + 8]
jmp 0x14007edbb
lea r9, str.An_unknown_error_occurred.
mov r8, qword [rax + 8]
lea rdx, str._s:__s_n
lea rcx, [rsp + 0x60]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhAppendFormatStringBuilder
lea rcx, [r14 - 0x10]
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14007ede6
call fcn.1400d9400
mov rax, qword [0x14018e858]
inc esi
cmp esi, dword [rax]
jb 0x14007ed90
mov rbx, qword [rsp + 0x68]
cmp byte [0x14018dbaa], 1
lea r14, str._nDo_you_want_to_disable_the_above_plugin_s__
jb 0x14007ee81
mov rdx, r14
mov rcx, r14
and rdx, 0xfffffffffffffff1
xorps xmm1, xmm1
and ecx, 0xf
je 0x14007ee3a
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
sar eax, cl
bsf ecx, eax
mov dword [rbp + 0x50], ecx
je 0x14007ee36
mov edx, ecx
shr rdx, 1
jmp 0x14007ee76
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rbp + 0x50], ecx
jne 0x14007ee68
nop dword [rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rbp + 0x50], ecx
je 0x14007ee50
sub rdx, r14
mov eax, ecx
sar rdx, 1
shr rax, 1
add rdx, rax
lea rsi, [rdx + rdx]
test rsi, rsi
je 0x14007eec2
jmp 0x14007ee86
mov esi, 0x58
mov rdx, qword [rbx]
add rdx, rsi
cmp qword [rsp + 0x60], rdx
jae 0x14007eea2
lea rcx, [rsp + 0x60]
call fcn.1400dd840
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rbx + 8]
mov r8, rsi
add rcx, qword [rbx]
mov rdx, r14
call fcn.1401317c0
add qword [rbx], rsi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov word [rcx + rax], di
mov r8, qword [rbx + 8]
mov edx, 0x14
xor ecx, ecx
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhShowMessage
cmp eax, 6
jne 0x14007ef2a
mov rax, qword [0x14018e858]
cmp dword [rax], 0
jbe 0x14007ef2a
mov rax, qword [rax + 8]
mov ecx, edi
mov rcx, qword [rax + rcx*8]
mov rcx, qword [rcx]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhGetBaseName
mov dl, 1
mov rcx, rax
mov rbx, rax
call fcn.14007e500
lea rcx, [rbx - 0x10]
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14007ef18
call fcn.1400d9400
mov rax, qword [0x14018e858]
inc edi
cmp edi, dword [rax]
jb 0x14007eee3
mov rbx, qword [rsp + 0x68]
lea rcx, [rbx - 0x10]
lock xadd dword [rcx + 8], r15d
cmp r15d, 1
jne 0x14007ef3f
call fcn.1400d9400
cmp qword [0x14018cd78], 0
je 0x14007ef4e
call fcn.1400ae4b0
mov dl, 1
xor ecx, ecx
mov rbx, qword [rsp + 0x110]
add rsp, 0x118
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
jmp 0x14007f100
push rbx
push r12
push r13
sub rsp, 0x40
mov rbx, qword [0x140185c70]
movzx r13d, dl
movsxd r12, ecx
test rbx, rbx
je 0x14007f443
mov rax, qword [rbx + 8]
test rax, rax
je 0x14007f13c
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x14007f130
test rbx, rbx
je 0x14007f443
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
xor esi, esi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
movaps xmmword [rsp + 0x20], xmm6
nop word [rax + rax]
mov rdi, rsi
test r13b, r13b
je 0x14007f364
mov rax, qword [0x140192430]
test rax, rax
je 0x14007f364
cmp dword [rax], 0
mov r14d, esi
jbe 0x14007f364
nop dword [rax + rax]
mov rax, qword [rax + 8]
mov edx, 0x3a
mov ecx, r14d
xor r8d, r8d
mov rcx, qword [rax + rcx*8]
movups xmm6, xmmword [rcx]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhFindCharInStringRef
cmp rax, 0xffffffffffffffff
je 0x14007f351
lea r8, [rax + rax]
movdqa xmm0, xmm6
psrldq xmm0, 8
movq rbp, xmm6
sub rbp, r8
movq rax, xmm0
sub rbp, 2
lea r15, [rax + 2]
add r15, r8
cmp r8, qword [rbx + 0x40]
jne 0x14007f351
cmp byte [0x14018dbaa], 1
mov r9, r8
mov rdx, qword [rbx + 0x48]
jb 0x14007f243
shr r9, 4
test r9, r9
je 0x14007f23a
nop dword [rax]
movdqu xmm0, xmmword [rdx]
movdqu xmm1, xmmword [rax]
pcmpeqd xmm1, xmm0
pmovmskb ecx, xmm1
cmp ecx, 0xffff
jne 0x14007f351
add rax, 0x10
add rdx, 0x10
sub r9, 1
jne 0x14007f210
shr r8, 1
and r8d, 7
jmp 0x14007f271
shr r9, 3
test r9, r9
je 0x14007f26a
nop dword [rax]
mov rcx, qword [rdx]
cmp qword [rax], rcx
jne 0x14007f351
add rax, 8
add rdx, 8
sub r9, 1
jne 0x14007f250
shr r8, 1
and r8d, 3
test r8, r8
je 0x14007f297
sub rdx, rax
nop dword [rax]
movzx ecx, word [rax]
cmp cx, word [rdx + rax]
jne 0x14007f351
add rax, 2
sub r8, 1
jne 0x14007f280
test rbp, rbp
je 0x14007f351
test rdi, rdi
jne 0x14007f2de
mov rdx, qword [0x140191178]
mov ecx, 0x10
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateObject
mov edx, 4
mov r8d, 0x18
mov rdi, rax
mov dword [rax], esi
mov dword [rax + 4], 3
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rdi + 8], rax
mov rdx, qword [0x140191180]
lea rcx, [rbp + 0x12]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateObject
mov rsi, rax
lea rcx, [rax + 0x10]
mov qword [rax], rbp
mov qword [rax + 8], rcx
xor eax, eax
mov word [rcx + rbp], ax
test r15, r15
je 0x14007f316
mov rcx, qword [rsi + 8]
mov r8, rbp
mov rdx, r15
call fcn.1401317c0
mov eax, dword [rdi + 4]
cmp dword [rdi], eax
jne 0x14007f343
mov r8, qword [rdi + 8]
add eax, eax
mov r9d, eax
mov edx, 4
mov dword [rdi + 4], eax
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
shl r9, 3
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov qword [rdi + 8], rax
mov ecx, dword [rdi]
mov rax, qword [rdi + 8]
mov qword [rax + rcx*8], rsi
inc dword [rdi]
xor esi, esi
mov rax, qword [0x140192430]
inc r14d
cmp r14d, dword [rax]
jb 0x14007f1a0
cmp r12d, 7
jge 0x14007f44d
lea rcx, [r12 + 4]
mov rdx, rdi
shl rcx, 5
add rcx, rbx
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhInvokeCallback
test rdi, rdi
je 0x14007f3d0
mov eax, dword [rdi]
mov rsi, qword [rdi + 8]
test eax, eax
je 0x14007f3b8
mov ebp, eax
mov rcx, qword [rsi]
mov eax, 0xffffffff
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14007f3ae
call fcn.1400d9400
add rsi, 8
sub rbp, 1
jne 0x14007f393
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14007f3d0
call fcn.1400d9400
mov rcx, qword [rbx + 0x10]
mov rax, rbx
test rcx, rcx
je 0x14007f3fe
mov rax, qword [rcx + 8]
mov rbx, rcx
test rax, rax
je 0x14007f417
nop dword [rax + rax]
mov rbx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x14007f3f0
jmp 0x14007f417
mov rbx, qword [rbx]
test rbx, rbx
je 0x14007f41a
cmp qword [rbx + 0x10], rax
jne 0x14007f417
mov rax, rbx
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14007f406
test rbx, rbx
mov esi, 0
jne 0x14007f170
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x40
pop r13
pop r12
pop rbx
ret
mov ecx, 0xc00000f0
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3