Function at 0x7ff72e2eeda0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x7ff72e3c3a28]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov qword [r11 + 0x18], rbx
mov qword [r11 - 0x20], r12
mov r12, rcx
mov qword [r11 - 0x28], r13
xor r13d, r13d
mov qword [r11 - 0x30], r14
mov esi, r13d
mov dword [rsp + 0x78], r13d
mov edi, r13d
mov dword [rsp + 0x74], r13d
mov r14, rdx
mov dword [rsp + 0x70], r13d
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
mov qword [r11 - 0x38], r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x7ff72e2ef17f
test al, 0x50
jne 0x7ff72e2ef17f
call fcn.7ff72e2ee450
cmp eax, 1
je 0x7ff72e2eee26
lea esi, [r13 + 0x7e]
jmp 0x7ff72e2ef184
mov ecx, 0x23f0
call fcn.7ff72e2ea8f0
test eax, eax
jne 0x7ff72e2eefe6
mov rcx, r12
call fcn.7ff72e2ea5d0
test eax, eax
je 0x7ff72e2eefe6
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp + 0x30], rax
mov r15d, r13d
mov dword [rbp + 0x38], eax
mov rax, qword [0x7ff72e3c64e0]
movups xmmword [rbp + 0x20], xmm0
test rax, rax
jne 0x7ff72e2eee85
xor edx, edx
lea rcx, [0x7ff72e39b508]
call fcn.7ff72e2eab30
mov qword [0x7ff72e3c64e0], rax
test rax, rax
je 0x7ff72e2eefdc
cmp qword [0x7ff72e3c6508], rsi
jne 0x7ff72e2eeeb5
lea rdx, [0x7ff72e39b5c8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff72e3c6508], rax
test rax, rax
je 0x7ff72e2eefdc
mov rax, qword [0x7ff72e3c64e0]
cmp qword [0x7ff72e3c6510], rsi
jne 0x7ff72e2eeee5
lea rdx, [0x7ff72e39b5d8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff72e3c6510], rax
test rax, rax
je 0x7ff72e2eefdc
mov rax, qword [0x7ff72e3c64e0]
cmp qword [0x7ff72e3c6520], rsi
jne 0x7ff72e2eef15
lea rdx, str.QueryServiceStatus
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff72e3c6520], rax
test rax, rax
je 0x7ff72e2eefdc
mov rax, qword [0x7ff72e3c64e0]
cmp qword [0x7ff72e3c6528], rsi
jne 0x7ff72e2eef3e
lea rdx, [0x7ff72e39b600]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff72e3c6528], rax
test rax, rax
je 0x7ff72e2eefdc
mov rax, qword [0x7ff72e3c6508]
xor edx, edx
xor ecx, ecx
mov r8d, 0x80000000
call qword [0x7ff72e395670]
mov rdi, rax
test rax, rax
je 0x7ff72e2eefd7
mov rcx, rax
lea rdx, str.CryptSvc
mov rax, qword [0x7ff72e3c6510]
mov r8d, 4
call qword [0x7ff72e395670]
mov rbx, rax
test rax, rax
je 0x7ff72e2eefc7
mov rcx, rax
lea rdx, [rbp + 0x20]
mov rax, qword [0x7ff72e3c6520]
call qword [0x7ff72e395670]
test eax, eax
je 0x7ff72e2eefb7
mov ecx, dword [rbp + 0x24]
sub ecx, 4
je 0x7ff72e2eefb1
sub ecx, 1
je 0x7ff72e2eefb1
sub ecx, 1
je 0x7ff72e2eefb1
cmp ecx, 1
jne 0x7ff72e2eefb7
mov r15d, 1
mov rax, qword [0x7ff72e3c6528]
mov rcx, rbx
call qword [0x7ff72e395670]
mov rax, qword [0x7ff72e3c6528]
mov rcx, rdi
call qword [0x7ff72e395670]
test r15d, r15d
jne 0x7ff72e2eefe6
mov edi, 1
jmp 0x7ff72e2ef184
mov qword [rsp + 0x50], r13
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
mov r9d, 2
lea rax, [rsp + 0x60]
mov r8d, 0x400
mov qword [rsp + 0x40], rax
mov rdx, r12
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea ecx, [r9 - 1]
lea rax, [rsp + 0x74]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [0x7ff72e3c64c0]
mov dword [rsp + 0x20], r13d
call qword [0x7ff72e395670]
mov edi, eax
test eax, eax
jne 0x7ff72e2ef055
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x7ff72e2ef184
xorps xmm1, xmm1
mov qword [rbp], 0x20
xor eax, eax
movaps xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x70], xmm1
mov qword [rbp - 0x30], rax
mov ecx, 0x23f0
movups xmmword [rbp - 0x60], xmm1
mov qword [rbp + 8], r12
movups xmmword [rbp - 0x80], xmm1
mov dword [rbp - 0x80], 0x58
movups xmmword [rbp - 0x50], xmm1
mov dword [rbp - 0x50], 1
psrldq xmm1, 8
xorps xmm0, xmm0
movd eax, xmm1
movdqu xmmword [rbp + 0x10], xmm0
mov dword [rbp - 0x68], 2
bts eax, 0xc
mov dword [rbp - 0x64], 1
mov dword [rbp - 0x38], eax
lea rax, [rbp]
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x60], 1
call fcn.7ff72e2ea8f0
mov r8, qword [rsp + 0x68]
mov r9, r14
mov rdx, qword [rsp + 0x60]
lea rcx, [rbp - 0x80]
test eax, eax
jne 0x7ff72e2ef0fc
call fcn.7ff72e2eb9b0
mov edi, eax
test eax, eax
jne 0x7ff72e2ef184
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x7ff72e2ef184
xorps xmm0, xmm0
mov dword [rbp - 4], r13d
lea rax, [rbp - 0x20]
mov qword [rbp - 0x20], 0x20
movdqu xmmword [rbp - 0x14], xmm0
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x18], 3
call fcn.7ff72e2eb9b0
mov edi, eax
test eax, eax
jne 0x7ff72e2ef184
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ebx, 1
mov rax, qword [rbp - 0x30]
cmp dword [rax + 0xc], ebx
jb 0x7ff72e2ef184
mov qword [rbp - 0x48], r13
lea rcx, [rbp - 0x80]
mov dword [rbp - 0x50], 1
mov r9, r14
mov dword [rax + 4], ebx
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
call fcn.7ff72e2eb9b0
mov edi, eax
test eax, eax
jne 0x7ff72e2ef184
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
inc ebx
mov rax, qword [rbp - 0x30]
cmp ebx, dword [rax + 0xc]
jbe 0x7ff72e2ef140
jmp 0x7ff72e2ef184
mov esi, 2
mov rcx, qword [rsp + 0x60]
mov r15, qword [rsp + 0x150]
mov r14, qword [rsp + 0x158]
mov r13, qword [rsp + 0x160]
mov r12, qword [rsp + 0x168]
mov rbx, qword [rsp + 0x1a0]
test rcx, rcx
je 0x7ff72e2ef1c5
mov rax, qword [0x7ff72e3c64a0]
xor edx, edx
call qword [0x7ff72e395670]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x7ff72e2ef1dc
mov rax, qword [0x7ff72e3c6498]
call qword [0x7ff72e395670]
test edi, edi
jne 0x7ff72e2ef1e4
mov ecx, esi
jmp 0x7ff72e2ef1e6
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.7ff72e329d50
add rsp, 0x170
pop rdi
pop rsi
pop rbp
ret