Function at 0x46dc30
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x85ae76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x290
push ebx
push ebp
push esi
push edi
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00469e90
xor ebx, ebx
mov ecx, 0x1d
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], bl
mov ebp, dword [esp + 0x2b8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x2b4]
mov eax, dword [ebp + 8]
push edi
mov dword [esp + 0x2ac], ebx
mov dword [esp + 0x90], 1
mov dword [esp + 0x94], eax
call fcn.0046c860
add esp, 4
test eax, eax
jne 0x46dcec
cmp dword [0x9dce80], ebx
je 0x46dcd1
mov eax, dword [esp + 0x2b0]
push edi
push eax
push str.CEncryptDiskBackupMgr::EncryptFile_1___s____s_...
push str.EDBackup_DBG
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x18
lea ecx, [esp + 0x10]
mov dword [esp + 0x2a8], 0xffffffff
call fcn.00469ec0
xor eax, eax
jmp 0x46df85
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x94]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*2]
lea eax, [edx + edx + 0x7a]
push eax
call fcn.008325b4
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x46dd62
cmp dword [0x9dce80], ebx
je 0x46dd47
mov ecx, dword [esp + 0x2b0]
push edi
push ecx
push str.CEncryptDiskBackupMgr::EncryptFile_2___s____s__...
push str.EDBackup_DBG
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x18
lea ecx, [esp + 0x10]
mov dword [esp + 0x2a8], 0xffffffff
call fcn.00469ec0
xor eax, eax
jmp 0x46df85
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x2b0]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x46dde1
and eax, 1
cmp al, 1
jne 0x46dde1
push 0
push ebx
mov dword [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x46dde1
mov eax, dword [0x9dce80]
test eax, eax
je 0x46ddbd
push edi
push ebx
push str.CEncryptDiskBackupMgr::EncryptFile_3___s____s__...
push str.EDBackup_DBG
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x18
push esi
call fcn.008325dd
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x2a8], 0xffffffff
call fcn.00469ec0
xor eax, eax
jmp 0x46df85
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
add eax, edx
mov edx, dword [esp + 0x94]
mov edi, esi
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*2]
lea ecx, [eax + eax + 0x7a]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x2c0]
mov dword [esi + 0x6c], 1
lea eax, [esi + 0x78]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x2c4]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov dword [esi + 0x88], edx
mov ecx, dword [ebp + 8]
xor eax, eax
test ecx, ecx
mov dword [esi + 0x70], ecx
jbe 0x46deb0
xor edx, edx
mov ecx, dword [ebp + 4]
mov edi, edx
add edi, ecx
mov ecx, dword [esi + 0x6c]
add edx, 0x10
mov ebx, dword [edi]
lea ecx, [eax + ecx + 6]
lea ecx, [ecx + ecx*4]
lea ecx, [esi + ecx*4]
mov dword [ecx], ebx
mov ebx, dword [edi + 4]
mov dword [ecx + 4], ebx
mov ebx, dword [edi + 8]
mov dword [ecx + 8], ebx
mov edi, dword [edi + 0xc]
mov dword [ecx + 0xc], edi
mov ecx, dword [esp + 0x2bc]
mov ebx, dword [esi + 0x6c]
mov edi, dword [ecx + 4]
mov ecx, eax
add ecx, ebx
mov edi, dword [edi + eax*4]
inc eax
lea ecx, [ecx + ecx*4]
mov dword [esi + ecx*4 + 0x88], edi
mov ecx, dword [esi + 0x70]
cmp eax, ecx
jb 0x46de56
mov ebx, dword [esp + 0x2b0]
xor ebp, ebp
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x9a]
mov word [esp + 0x98], bp
push 0xffff4401
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0x20], 0x8940c0
call fcn.0067b730
mov byte [esp + 0x2ac], 1
call fcn.00517960
mov edi, dword [esp + 0x2b8]
push eax
lea edx, [esp + 0xa0]
push ebp
push edx
push esi
push ebp
push edi
push ebx
call fcn.00679ee0
add esp, 0x20
test eax, eax
jne 0x46df13
mov ebp, 1
jmp 0x46df37
mov eax, dword [0x9dce80]
test eax, eax
je 0x46df37
push edi
push ebx
push str.CEncryptDiskBackupMgr::EncryptFile_4___s____s_...
push str.EDBackup_DBG
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x18
push 0
mov byte [esp + 0x2ac], 0
call fcn.0067b730
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x46df5f
mov eax, dword [esp + 0x18]
or al, 1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
push ebx
call fcn.0046cae0
push esi
call fcn.008325dd
add esp, 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2a8], 0xffffffff
call fcn.00469ec0
mov eax, ebp
mov ecx, dword [esp + 0x2a0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x29c
ret 0x18