Function at 0x100a11d0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be340
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x100e87b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x20], esi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x100a1587
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100a1212
sub eax, edx
sar eax, 1
je 0x100a1587
lea ecx, [ebp - 0x4c]
call fcn.10086790
push ebx
push edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], ebx
call fcn.10086810
test eax, eax
jne 0x100a1254
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.100864e0
jmp 0x100a159a
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 1
call fcn.1008d5f0
add esp, 4
cmp eax, ebx
jne 0x100a1283
push 0x100d5204
lea eax, [ebp - 0x24]
push eax
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x24], 1
call sub.MSVCR80.dll__CxxThrowException
mov eax, dword [ebp + 0xc]
mov ebx, eax
and ebx, 0x200
jne 0x100a129b
test eax, 0x800
je 0x100a138c
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
test eax, eax
jne 0x100a12e9
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push 0x2000000
push 3
push 2
push 0x10000000
push edi
mov ecx, esi
call eax
test eax, eax
jge 0x100a12e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x100d5204
lea ecx, [ebp - 0x28]
push ecx
mov dword [esi + 0x10], eax
mov dword [ebp - 0x28], 0
call sub.MSVCR80.dll__CxxThrowException
mov dword [ebp - 0x14], 1
test ebx, ebx
je 0x100a132c
mov eax, dword [esi + 4]
push 0
lea edx, [ebp - 0x1c]
push edx
push 0
push 0
push 0
push 0
push 0x900c4
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100a132c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x100d5204
lea ecx, [ebp - 0x2c]
push ecx
mov dword [esi + 0x10], eax
mov dword [ebp - 0x2c], 0
call sub.MSVCR80.dll__CxxThrowException
test dword [ebp + 0xc], 0x800
je 0x100a137d
mov ecx, dword [esi + 4]
push 0
lea edx, [ebp - 0x1c]
push edx
push 0
push 0
push 2
lea eax, [ebp - 0x18]
push eax
push 0x9c040
push ecx
mov dword [ebp - 0x18], 1
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100a137d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x100d5204
lea edx, [ebp - 0x30]
push edx
mov dword [esi + 0x10], eax
mov dword [ebp - 0x30], 0
call sub.MSVCR80.dll__CxxThrowException
cmp dword [ebp - 0x14], 0
je 0x100a138c
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test dword [ebp + 0xc], 0x4000
je 0x100a13cb
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
test eax, eax
jne 0x100a13cb
push edi
call dword [sym.imp.ADVAPI32.dll_EncryptFileW]
test eax, eax
jne 0x100a13cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
push 0x100d5204
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], 0
call sub.MSVCR80.dll__CxxThrowException
mov dword [ebp - 4], 0
jmp 0x100a1494
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.100818a0
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.1007ee00
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x38]
mov ebx, eax
mov byte [ebp - 4], 0
call fcn.1007ece0
test ebx, ebx
jne 0x100a1562
cmp dword [esi + 8], ebx
je 0x100a1562
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp + 0xc]
mov dword [esi + 0x10], eax
call fcn.1007ecd0
mov edx, dword [esi + 0x10]
push edx
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 6
call fcn.1007fd30
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.1007ee00
mov ecx, dword [esi + 0x10]
push eax
push ecx
lea edx, [ebp + 0xc]
push str.__d___s
push edx
call fcn.10080e60
add esp, 0x10
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.1007ece0
mov eax, dword [esi + 8]
mov edi, dword [eax]
lea ecx, [ebp + 0xc]
call fcn.1007ee00
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 8]
push eax
mov eax, dword [edi + 0x34]
push ecx
push 0xfffffffffffffff8
push 0x100cf2f8
push 0x1ed
push str..WindowsLBWinBackupFile.cpp
push edx
call eax
add esp, 0x1c
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.1007ece0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.100864e0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x171
push 0x100cf364
push ebx
call fcn.10001230
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8