Function at 0x1401c2090
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 [0x14039a678]
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 0x1401c2115
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400d34f5.0]
mov byte [r15 + 0x10], 1
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1401e3ce0
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.1401c0140
nop
xor esi, esi
mov ebx, esi
mov qword [rsp + 0x20], rbx
mov rcx, qword [r15 + 8]
call fcn.1401e344a
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 0x1401c2584
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 0x1401c2584
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 0x1401c255b
lea r8, [rsp + 0x40]
mov edx, r13d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
je 0x1401c2584
mov rdx, qword [rsp + 0x40]
mov r12d, dword [rdx + 4]
mov dword [rsp + 0x3c], r12d
movzx ecx, byte [rdx]
test ecx, ecx
je 0x1401c2434
sub ecx, 1
je 0x1401c2434
sub ecx, 4
je 0x1401c21e9
cmp ecx, 1
jne 0x1401c2427
mov r12, rsi
mov r14, rsi
lea rbx, [rdx + 0x2c]
mov r8d, dword [rdx + 8]
mov ecx, r8d
and ecx, 1
je 0x1401c2203
lea r12, [rdx + 0xc]
lea rax, [rbx - 0x10]
test ecx, ecx
cmove rbx, rax
test r8b, 2
je 0x1401c2225
mov r14d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
test r12, r12
cmovne r14, rdi
add r14, rdx
jmp 0x1401c2229
add rbx, 0xfffffffffffffff0
cmp byte [rsp + 0xac], 0
je 0x1401c2241
lea rax, [rsp + 0x68]
cmp rax, rbx
je 0x1401c22d9
mov dword [rsp + 0xb0], 7
lea rcx, [rsp + 0xb8]
call fcn.1401c4ed0
lea rcx, [rsp + 0xc0]
call fcn.1401c4ed0
lea rcx, [rsp + 0xc8]
call fcn.1401c4ed0
lea rcx, [rsp + 0xd0]
call fcn.1401c4ed0
mov byte [rsp + 0xac], 0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x1401c25fa
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_GetLengthSid]
cmp eax, 0x44
ja 0x1401c25fa
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 0x1401c258a
mov dword [rsp + 0xb0], 8
mov ecx, 0xa8
call fcn.1401e3748
mov rdi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1401c23b4
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.1401c0020
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 0x1401c2380
lea rdx, [0x1402bd950]
mov ecx, SafeArrayGetLBound
call fcn.1401e4510
test rax, rax
je 0x1401c259f
movups xmm0, xmmword [r12]
movups xmmword [rax], xmm0
mov qword [rdi + 0x98], rax
test r14, r14
je 0x1401c23ad
lea rdx, [0x1402bd950]
mov ecx, SafeArrayGetLBound
call fcn.1401e4510
test rax, rax
je 0x1401c25b0
movups xmm0, xmmword [r14]
movups xmmword [rax], xmm0
mov qword [rdi + 0xa0], rax
mov r15, qword [rsp + 0x30]
jmp 0x1401c23b7
mov rdi, rsi
mov qword [rsp + 0x20], rdi
jmp 0x1401c2556
test rdi, rdi
je 0x1401c25ef
lea r14, [r15 + 0x18]
mov r15, qword [r14 + 8]
cmp r15, qword [r14 + 0x10]
jb 0x1401c240a
lfence
lea rdx, [r15 + 1]
mov rcx, r14
call fcn.1401cab60
test al, al
je 0x1401c25ef
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 0x1401c2190
lea rbx, [rdx + 8]
cmp byte [rsp + 0xac], 0
je 0x1401c2450
lea rax, [rsp + 0x68]
cmp rax, rbx
je 0x1401c24e8
mov dword [rsp + 0xb0], 7
lea rcx, [rsp + 0xb8]
call fcn.1401c4ed0
lea rcx, [rsp + 0xc0]
call fcn.1401c4ed0
lea rcx, [rsp + 0xc8]
call fcn.1401c4ed0
lea rcx, [rsp + 0xd0]
call fcn.1401c4ed0
mov byte [rsp + 0xac], 0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x1401c25fa
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_GetLengthSid]
cmp eax, 0x44
ja 0x1401c25fa
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 0x1401c25da
mov dword [rsp + 0xb0], 8
mov ecx, 0x98
call fcn.1401e3748
mov rdi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1401c254e
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.1401c0020
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 0x1401c2551
mov rdi, rsi
mov qword [rsp + 0x20], rdi
jmp 0x1401c23d7
test rbx, rbx
je 0x1401c2575
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1400d34f5.0]
nop
lea rcx, [rsp + 0x60]
call fcn.1401c05d0
jmp 0x1401c20e8
call fcn.1401c17d0
int3
call fcn.1401c1780
mov byte [rsp + 0xac], 0
mov ecx, eax
call fcn.1401c17a0
nop
mov qword [rdi + 0x98], rsi
mov ecx, 0x8007000e
call fcn.1401c17a0
mov qword [rdi + 0xa0], rsi
mov edx, SafeArrayGetLBound
mov rcx, qword [rdi + 0x98]
call fcn.1401e3784
mov qword [rdi + 0x98], rsi
mov ecx, 0x8007000e
call fcn.1401c17a0
nop
call fcn.1401c1780
mov byte [rsp + 0xac], 0
mov ecx, eax
call fcn.1401c17a0
int3
mov ecx, 0x8007000e
call fcn.1401c17a0
int3
mov ecx, 0x80070057
call fcn.1401c17a0
int3