Function at 0x7fff25d6a438
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x7fff25fcfe70]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r12d, r8d
mov r15, rdx
xor r8d, r8d
lea rdx, [rsp + 0x40]
xor r9d, r9d
call qword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
nop dword [rax + rax]
xor r13d, r13d
test al, al
je 0x7fff25de528e
movzx eax, word [rsp + 0x40]
lea r8d, [r13 + 0x5c]
mov rcx, qword [rsp + 0x48]
mov edx, eax
shr rdx, 1
cmp word [rcx + rdx*2 - 2], r8w
jne 0x7fff25d6a4ca
mov word [rcx + rdx*2 - 2], r13w
mov ecx, 0xfffe
movzx eax, word [rsp + 0x40]
add ax, cx
mov rcx, qword [rsp + 0x48]
mov word [rsp + 0x40], ax
cmp ax, 4
jb 0x7fff25d6a4e2
movzx edx, ax
shr rdx, 1
cmp word [rcx + rdx*2 - 2], 0x3a
je 0x7fff25d6a9de
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 0x10
xorps xmm0, xmm0
mov qword [rbp - 0x70], rax
lea r9, [rbp - 0x50]
mov dword [rbp - 0x80], 0x30
lea r8, [rbp - 0x80]
mov qword [rbp - 0x78], r13
mov edx, 0x100080
mov dword [rbp - 0x68], 0x40
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x20], 3
movdqu xmmword [rbp - 0x60], xmm0
call qword [sym.imp.ntdll.dll_NtOpenFile]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x7fff25d6aa06
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], r13
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
lea rax, [rbp - 0x40]
mov dword [rsp + 0x28], 0x208
mov edx, 0x4d0008
mov qword [rsp + 0x20], rax
call sym.KERNELBASE.dll_DeviceIoControl
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
test ebx, ebx
jne 0x7fff25d6a5d7
xor eax, eax
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.7fff25dce640
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
movzx eax, word [rbp - 0x40]
mov word [rsp + 0x40], ax
add ax, 2
movzx r8d, ax
mov word [rsp + 0x42], r8w
mov rcx, qword gs:[0x60]
mov edx, dword [0x7fff25fd0c80]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [rsp + 0x48], rax
test rax, rax
je 0x7fff25de52b8
movzx r8d, word [rbp - 0x40]
lea rdx, [rbp - 0x3e]
mov rcx, rax
call sub.ntdll.dll_memcpy
movzx ecx, word [rsp + 0x40]
mov rax, qword [rsp + 0x48]
shr rcx, 1
mov word [rax + rcx*2], r13w
mov rcx, qword gs:[0x60]
movzx r8d, word [rsp + 0x40]
mov edx, dword [0x7fff25fd0c80]
add r8, 0x18
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x7fff25de5298
xor eax, eax
lea rcx, [rsi + 0x18]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x10], 0x18
movzx eax, word [rsp + 0x40]
mov word [rsi + 0x14], ax
movzx r8d, word [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
call sub.ntdll.dll_memcpy
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov rcx, qword gs:[0x60]
mov ebx, 0x20
mov edx, dword [0x7fff25fd0c80]
mov r8d, ebx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x7fff25de52c7
movdqa xmm0, xmmword [0x7fff25f34c20]
lea r9d, [rbx - 0x1d]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], r13d
mov r8d, r9d
mov dword [rsp + 0x60], ebx
xor edx, edx
mov qword [rsp + 0x64], 0x80
lea rcx, str..MountPointManager
mov dword [rsp + 0x6c], r13d
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x20], rax
call fcn.7fff25d69db0
mov qword [rsp + 0x58], rax
cmp rax, 0xffffffffffffffff
je 0x7fff25de52da
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], rcx
mov rcx, rax
mov dword [rsp + 0x28], ebx
movzx r9d, word [rsp + 0x40]
mov r8, rsi
add r9d, 0x18
mov qword [rsp + 0x20], rdi
mov edx, 0x6d0008
call sym.KERNELBASE.dll_DeviceIoControl
mov ebx, eax
test eax, eax
je 0x7fff25d6a934
mov rcx, qword [rsp + 0x58]
call sym.KERNELBASE.dll_CloseHandle
mov rcx, qword gs:[0x60]
mov r8, rsi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
test ebx, ebx
je 0x7fff25de5365
mov r8d, r13d
cmp dword [rdi + 4], r13d
jbe 0x7fff25de5365
lea rax, [rdi + 8]
mov r10w, 0x2d
cmp word [rax + 4], 0x60
mov ecx, dword [rax]
jne 0x7fff25d6a9bd
mov r9d, 0x5c
cmp word [rcx + rdi], r9w
jne 0x7fff25d6a9c8
movzx edx, word [rcx + rdi + 2]
cmp dx, 0x3f
jne 0x7fff25de5333
cmp word [rcx + rdi + 4], 0x3f
jne 0x7fff25d6a9c8
cmp word [rcx + rdi + 6], r9w
jne 0x7fff25d6a9c8
cmp word [rcx + rdi + 8], 0x56
jne 0x7fff25d6a9c8
cmp word [rcx + rdi + 0xa], 0x6f
jne 0x7fff25d6a9c8
cmp word [rcx + rdi + 0xc], 0x6c
jne 0x7fff25d6a9c8
cmp word [rcx + rdi + 0xe], 0x75
jne 0x7fff25d6a9c8
cmp word [rcx + rdi + 0x10], 0x6d
jne 0x7fff25d6a9c8
cmp word [rcx + rdi + 0x12], 0x65
jne 0x7fff25d6a9c8
cmp word [rcx + rdi + 0x14], 0x7b
jne 0x7fff25d6a9c8
cmp word [rcx + rdi + 0x26], r10w
jne 0x7fff25d6a9c8
cmp word [rcx + rdi + 0x30], r10w
jne 0x7fff25d6a9c8
cmp word [rcx + rdi + 0x3a], r10w
jne 0x7fff25d6a9c8
cmp word [rcx + rdi + 0x44], r10w
jne 0x7fff25d6a9c8
cmp word [rcx + rdi + 0x5e], 0x7d
jne 0x7fff25d6a9c8
cmp word [rax + 4], 0x60
jne 0x7fff25d6a9c8
cmp dx, 0x3f
jne 0x7fff25d6a9c8
mov rax, r12
xor edx, edx
add rax, rax
mov r8, rdi
cmp rax, 0x64
jb 0x7fff25de5342
movups xmm0, xmmword [rcx + rdi]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rcx + rdi + 0x10]
movups xmmword [r15 + 0x10], xmm1
movups xmm0, xmmword [rcx + rdi + 0x20]
movups xmmword [r15 + 0x20], xmm0
movups xmm1, xmmword [rcx + rdi + 0x30]
movups xmmword [r15 + 0x30], xmm1
movups xmm0, xmmword [rcx + rdi + 0x40]
movups xmmword [r15 + 0x40], xmm0
movups xmm1, xmmword [rcx + rdi + 0x50]
movups xmmword [r15 + 0x50], xmm1
mov word [r15 + 2], r9w
mov dword [r15 + 0x60], 0x5c
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov eax, 1
jmp 0x7fff25d6a5ab
mov rcx, qword gs:[0x30]
cmp dword [rcx + 0x68], 0xea
jne 0x7fff25d6a785
mov rcx, qword gs:[0x60]
mov r8, rdi
mov ebx, dword [rdi]
xor edx, edx
mov dword [rsp + 0x50], ebx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov rcx, qword gs:[0x60]
mov r8d, ebx
mov edx, dword [0x7fff25fd0c80]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x58]
mov rdi, rax
test rax, rax
je 0x7fff25de52c2
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
jmp 0x7fff25d6a75f
cmp word [rax + 4], 0x62
je 0x7fff25de531c
inc r8d
add rax, 0x18
cmp r8d, dword [rdi + 4]
jb 0x7fff25d6a7cb
jmp 0x7fff25de5365
movzx ecx, word [rcx + rdx*2 - 4]
call qword [sym.imp.ntdll.dll_toupper]
nop dword [rax + rax]
movzx edx, word [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
shr rdx, 1
mov word [rcx + rdx*2 - 4], ax
jmp 0x7fff25d6a4e2
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
nop dword [rax + rax]
jmp 0x7fff25d6a5a9
mov ecx, 3
jmp 0x7fff25d6aa36
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov ecx, 8
jmp 0x7fff25d6aa36
call sym.KERNELBASE.dll_CloseHandle
mov ecx, 8
call qword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
nop dword [rax + rax]
jmp 0x7fff25de52f8
mov rcx, qword gs:[0x60]
mov r8, rdi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov rcx, qword gs:[0x60]
mov r8, rsi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
nop
jmp 0x7fff25d6a5a9
mov r9d, 0x5c
cmp word [rcx + rdi + 0x60], r9w
jne 0x7fff25d6a9c8
jmp 0x7fff25d6a7de
cmp dx, r9w
jne 0x7fff25d6a9c8
jmp 0x7fff25d6a7f8
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov ecx, 0xce
jmp 0x7fff25d6aa36
mov rcx, qword gs:[0x60]
mov r8, rdi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov ecx, 0x57
jmp 0x7fff25d6aa36