Function at 0x100b6c40
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022e49b
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x102db080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov edi, dword [ebp + 0xc]
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xe8], edi
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
cmp dword [esi + 8], 0
je 0x100b6ff2
push edi
lea ecx, [ebp - 0x10c]
call fcn.1008a290
push 0
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.100ae1f0
mov eax, dword [ebp - 0xe4]
add esp, 0xc
test eax, eax
je 0x100b6d06
mov byte [ebp - 0xd1], 0
cmp eax, 1
jne 0x100b6d0d
mov byte [ebp - 0xd1], 1
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 1
call fcn.10089a70
cmp byte [ebp - 0xd1], 0
jne 0x100b7013
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x28], xmm0
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x2c], 2
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x38], vtable.deepsoft::CDaclEx.0
cmp dword [edi + 0x14], 7
mov eax, edi
mov byte [ebp - 4], 3
jbe 0x100b6d5f
mov eax, dword [edi]
lea ecx, [ebp - 0x38]
push ecx
push 1
push eax
call fcn.100b6590
add esp, 0xc
test al, al
je 0x100b7034
xorps xmm0, xmm0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x70]
movups xmmword [ebp - 0x70], xmm0
movups xmmword [ebp - 0x60], xmm0
call fcn.100b62a0
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 4
mov dword [ebp - 0xe0], ecx
mov esi, dword [ecx]
nop dword [eax]
cmp esi, ecx
je 0x100b6ea5
push 0x60
lea eax, [ebp - 0xd0]
push 0
push eax
lea edi, [esi + 8]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xd0]
call fcn.100859e0
cmp dword [edi + 0x14], 7
mov eax, edi
mov byte [ebp - 4], 5
jbe 0x100b6dd7
mov eax, dword [edi]
push 0
push eax
lea ecx, [ebp - 0xd0]
call fcn.100823b0
test al, al
je 0x100b7064
push 0x12
push 1
lea eax, [ebp - 0x1c0]
push 0x102b2a84
push eax
call fcn.10081f30
or dword [ebp - 0xd8], 2
add esp, 0x10
cmp byte [ebp - 0x88], 0
je 0x100b6e6a
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x100b6e6a
cmp byte [ebp - 0x178], 0
je 0x100b6e6a
lea eax, [ebp - 0x1bc]
push eax
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x100b6e6a
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
lea ecx, [ebp - 0x1c0]
mov edi, eax
call fcn.10087290
test edi, edi
jne 0x100b6e89
lea edi, [esi + 8]
jmp 0x100b6e75
lea ecx, [ebp - 0x1c0]
call fcn.10087290
push 3
push dword [edi + 0x18]
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x70]
call fcn.1004c4c0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 4
call fcn.10087290
mov esi, dword [esi]
mov ecx, dword [ebp - 0xe0]
jmp 0x100b6da0
lea ecx, [ebp - 0x38]
call fcn.100855e0
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.100855e0
cmp eax, esi
je 0x100b6efc
mov edi, dword [ebp - 0xe8]
cmp dword [edi + 0x14], 7
jbe 0x100b6ec9
mov edi, dword [edi]
test edi, edi
je 0x100b7094
lea ecx, [ebp - 0x70]
call fcn.100855e0
push 0
push eax
push 0
push 0
push 4
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
jne 0x100b7094
lea ecx, [ebp - 0x70]
mov byte [ebp - 0x15], 1
call fcn.10086530
lea ecx, [ebp - 0x38]
call fcn.10086530
mov esi, dword [ebp - 0xec]
jmp 0x100b6f3a
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.100836c0
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 0x3c]
mov byte [esi + 0x18], al
cmp ecx, 0xf
jbe 0x100b6fd4
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b6fca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100b6fca
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0xf4]
push dword [eax]
lea eax, [ebp - 0x30]
push eax
call fcn.100b9320
push eax
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 7
push str.AtlException_HRESULT
push eax
call fcn.1004f0b0
add esp, 0x14
lea ecx, [ebp - 0x50]
push eax
call fcn.1007ce20
lea ecx, [ebp - 0x10c]
call fcn.100895a0
lea ecx, [ebp - 0x30]
call fcn.100895a0
mov eax, 0x100b6f34
ret
push ecx
push edx
call fcn.100b9c1b
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b9f43
mov esp, ebp
pop ebp
ret
push str.list_is_empty
lea ecx, [ebp - 0x118]
call fcn.10085150
push 0x102ca5a8
lea eax, [ebp - 0x118]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.file_folder_does_not_exist
lea ecx, [ebp - 0x124]
call fcn.10085150
push 0x102ca5a8
lea eax, [ebp - 0x124]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.10081d80
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Could_not_read_file_security
push esi
push eax
lea ecx, [ebp - 0x138]
call fcn.10081d90
push 0x102ca4a8
lea eax, [ebp - 0x138]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.10081d80
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Could_not_parse_user_name
push esi
push eax
lea ecx, [ebp - 0x14c]
call fcn.10081d90
push 0x102ca4a8
lea eax, [ebp - 0x14c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.10081d80
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Could_not_set_file_security
push esi
push eax
lea ecx, [ebp - 0x160]
call fcn.10081d90
push 0x102ca4a8
lea eax, [ebp - 0x160]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3