Function at 0x1401f8740
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x100
mov rax, qword [0x1404779b8]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rdi, rdx
mov r15, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdx
test rdx, rdx
jne 0x1401f87c5
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400ed125.0]
mov byte [r15 + 0x10], 1
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.14021f250
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, [rsp + 0x60]
call fcn.1401f5070
nop
xor esi, esi
mov ebx, esi
mov qword [rsp + 0x20], rbx
mov rcx, qword [r15 + 8]
call fcn.14027bb78
mov qword [r15 + 8], rsi
lea r9d, [rsi + 2]
lea r8d, [rsi + 0xc]
lea rdx, [rsp + 0xe0]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_GetAclInformation]
test eax, eax
je 0x1401f8c34
lea r9d, [rsi + 1]
lea r8d, [rsi + 4]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_GetAclInformation]
test eax, eax
je 0x1401f8c34
mov eax, dword [rsp + 0x38]
mov dword [r15 + 0x14], eax
mov r13d, esi
mov dword [rsp + 0x28], esi
lea edi, [rsi + 0x1c]
nop word [rax + rax]
cmp r13d, dword [rsp + 0xe0]
jae 0x1401f8c0b
lea r8, [rsp + 0x40]
mov edx, r13d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
je 0x1401f8c34
mov rdx, qword [rsp + 0x40]
mov r12d, dword [rdx + 4]
mov dword [rsp + 0x3c], r12d
movzx ecx, byte [rdx]
test ecx, ecx
je 0x1401f8ae4
sub ecx, 1
je 0x1401f8ae4
sub ecx, 4
je 0x1401f8899
cmp ecx, 1
jne 0x1401f8ad7
mov r12, rsi
mov r14, rsi
lea rbx, [rdx + 0x2c]
mov r8d, dword [rdx + 8]
mov ecx, r8d
and ecx, 1
je 0x1401f88b3
lea r12, [rdx + 0xc]
lea rax, [rbx - 0x10]
test ecx, ecx
cmove rbx, rax
test r8b, 2
je 0x1401f88d5
mov r14d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
test r12, r12
cmovne r14, rdi
add r14, rdx
jmp 0x1401f88d9
add rbx, 0xfffffffffffffff0
cmp byte [rsp + 0xac], 0
je 0x1401f88f1
lea rax, [rsp + 0x68]
cmp rax, rbx
je 0x1401f8989
mov dword [rsp + 0xb0], 7
lea rcx, [rsp + 0xb8]
call fcn.1401fba90
lea rcx, [rsp + 0xc0]
call fcn.1401fba90
lea rcx, [rsp + 0xc8]
call fcn.1401fba90
lea rcx, [rsp + 0xd0]
call fcn.1401fba90
mov byte [rsp + 0xac], 0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x1401f8caa
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_GetLengthSid]
cmp eax, 0x44
ja 0x1401f8caa
lfence
mov byte [rsp + 0xac], 1
mov r8, rbx
lea rdx, [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.ADVAPI32.dll_CopySid]
test eax, eax
je 0x1401f8c3a
mov dword [rsp + 0xb0], 8
mov ecx, 0xa8
call fcn.14021ecb0
mov rdi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1401f8a64
mov rcx, qword [rsp + 0x40]
cmp byte [rcx], 5
sete bl
movzx r15d, byte [rcx + 1]
lea rax, vtable.ATL::CAcl::CAce.0
mov qword [rdi], rax
lea rcx, [rdi + 8]
lea rdx, [rsp + 0x60]
call fcn.1401f4f50
mov eax, dword [rsp + 0x3c]
mov dword [rdi + 0x80], eax
mov byte [rdi + 0x84], r15b
mov qword [rdi + 0x88], rsi
mov byte [rdi + 0x90], bl
lea rax, vtable.ATL::CDacl::CAccessObjectAce.0
mov qword [rdi], rax
mov qword [rdi + 0x98], rsi
mov qword [rdi + 0xa0], rsi
test r12, r12
je 0x1401f8a30
lea rdx, [0x140371080]
mov ecx, SafeArrayLock
call fcn.14021fa80
test rax, rax
je 0x1401f8c4f
movups xmm0, xmmword [r12]
movups xmmword [rax], xmm0
mov qword [rdi + 0x98], rax
test r14, r14
je 0x1401f8a5d
lea rdx, [0x140371080]
mov ecx, SafeArrayLock
call fcn.14021fa80
test rax, rax
je 0x1401f8c60
movups xmm0, xmmword [r14]
movups xmmword [rax], xmm0
mov qword [rdi + 0xa0], rax
mov r15, qword [rsp + 0x30]
jmp 0x1401f8a67
mov rdi, rsi
mov qword [rsp + 0x20], rdi
jmp 0x1401f8c06
test rdi, rdi
je 0x1401f8c9f
lea r14, [r15 + 0x18]
mov r15, qword [r14 + 8]
cmp r15, qword [r14 + 0x10]
jb 0x1401f8aba
lfence
lea rdx, [r15 + 1]
mov rcx, r14
call fcn.140203fc0
test al, al
je 0x1401f8c9f
mov rdi, qword [rsp + 0x20]
mov rax, qword [r14]
mov qword [rax + r15*8], rdi
mov rbx, rsi
mov edi, 0x1c
mov r15, qword [rsp + 0x30]
inc qword [r14 + 8]
mov qword [rsp + 0x20], rbx
inc r13d
mov dword [rsp + 0x28], r13d
jmp 0x1401f8840
lea rbx, [rdx + 8]
cmp byte [rsp + 0xac], 0
je 0x1401f8b00
lea rax, [rsp + 0x68]
cmp rax, rbx
je 0x1401f8b98
mov dword [rsp + 0xb0], 7
lea rcx, [rsp + 0xb8]
call fcn.1401fba90
lea rcx, [rsp + 0xc0]
call fcn.1401fba90
lea rcx, [rsp + 0xc8]
call fcn.1401fba90
lea rcx, [rsp + 0xd0]
call fcn.1401fba90
mov byte [rsp + 0xac], 0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x1401f8caa
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_GetLengthSid]
cmp eax, 0x44
ja 0x1401f8caa
lfence
mov byte [rsp + 0xac], 1
mov r8, rbx
lea rdx, [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.ADVAPI32.dll_CopySid]
test eax, eax
je 0x1401f8c8a
mov dword [rsp + 0xb0], 8
mov ecx, 0x98
call fcn.14021ecb0
mov rdi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1401f8bfe
mov rcx, qword [rsp + 0x40]
cmp byte [rcx], 0
sete bl
movzx r14d, byte [rcx + 1]
lea rax, vtable.ATL::CAcl::CAce.0
mov qword [rdi], rax
lea rcx, [rdi + 8]
lea rdx, [rsp + 0x60]
call fcn.1401f4f50
mov dword [rdi + 0x80], r12d
mov byte [rdi + 0x84], r14b
mov qword [rdi + 0x88], rsi
lea r14, vtable.ATL::CDacl::CAccessAce.0
mov qword [rdi], r14
mov byte [rdi + 0x90], bl
jmp 0x1401f8c01
mov rdi, rsi
mov qword [rsp + 0x20], rdi
jmp 0x1401f8a87
test rbx, rbx
je 0x1401f8c25
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1400ed125.0]
nop
lea rcx, [rsp + 0x60]
call fcn.1401f55d0
jmp 0x1401f8798
call fcn.1401f6810
int3
call fcn.1401f67c0
mov byte [rsp + 0xac], 0
mov ecx, eax
call fcn.1401f67e0
nop
mov qword [rdi + 0x98], rsi
mov ecx, 0x8007000e
call fcn.1401f67e0
mov qword [rdi + 0xa0], rsi
mov edx, SafeArrayLock
mov rcx, qword [rdi + 0x98]
call fcn.14021ecec
mov qword [rdi + 0x98], rsi
mov ecx, 0x8007000e
call fcn.1401f67e0
nop
call fcn.1401f67c0
mov byte [rsp + 0xac], 0
mov ecx, eax
call fcn.1401f67e0
int3
mov ecx, 0x8007000e
call fcn.1401f67e0
int3
mov ecx, 0x80070057
call fcn.1401f67e0
int3