Function at 0x431d10
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4419a0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x459310]
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 0x4320c7
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x431d52
sub eax, edx
sar eax, 1
je 0x4320c7
lea ecx, [ebp - 0x4c]
call fcn.0042b7b0
push ebx
push edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], ebx
call fcn.0042b830
test eax, eax
jne 0x431d94
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.0042b500
jmp 0x4320da
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 1
call fcn.004233d0
add esp, 4
cmp eax, ebx
jne 0x431dc3
push 0x44fc14
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 0x431ddb
test eax, 0x800
je 0x431ecc
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
test eax, eax
jne 0x431e29
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 0x431e22
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x44fc14
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 0x431e6c
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 0x431e6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x44fc14
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 0x431ebd
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 0x431ebd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x44fc14
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 0x431ecc
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test dword [ebp + 0xc], 0x4000
je 0x431f0b
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
test eax, eax
jne 0x431f0b
push edi
call dword [sym.imp.ADVAPI32.dll_EncryptFileW]
test eax, eax
jne 0x431f0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
push 0x44fc14
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], 0
call sub.MSVCR80.dll__CxxThrowException
mov dword [ebp - 4], 0
jmp 0x431fd4
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00426b00
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.004195a0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x38]
mov ebx, eax
mov byte [ebp - 4], 0
call fcn.00419480
test ebx, ebx
jne 0x4320a2
cmp dword [esi + 8], ebx
je 0x4320a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp + 0xc]
mov dword [esi + 0x10], eax
call fcn.00419470
mov edx, dword [esi + 0x10]
push edx
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 6
call fcn.0041a530
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.004195a0
mov ecx, dword [esi + 0x10]
push eax
push ecx
lea edx, [ebp + 0xc]
push str.__d___s
push edx
call fcn.0041b950
add esp, 0x10
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.00419480
mov eax, dword [esi + 8]
mov edi, dword [eax]
lea ecx, [ebp + 0xc]
call fcn.004195a0
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 8]
push eax
mov eax, dword [edi + 0x34]
push ecx
push 0xfffffffffffffff8
push 0x449434
push 0x1ed
push str..WindowsLBWinBackupFile.cpp
push edx
call eax
add esp, 0x1c
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.00419480
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.0042b500
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 0x4494a0
push ebx
call fcn.0041ac80
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