Function at 0x4536cc
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push 0x84
mov eax, 0x619799
call fcn.00429e48
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
mov ecx, vtable.ClassPtr_class_FSItem_.0
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
xor eax, eax
mov edi, eax
movlpd qword [ebp - 0x80], xmm0
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x7c], edi
movlpd qword [ebp - 0x88], xmm0
mov dword [ebp - 0x88], ecx
mov ecx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x84], ecx
push esi
mov byte [ebp - 4], 1
mov ebx, eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x453754
mov ebx, 0x80070002
push 0x52a
push str.D:dbs_shodct0216_182312_0cmd7clientonedriveSetupStandalone_fsmanager_fsmanagerimpl.cpp
push ebx
call fcn.0044e23a
jmp 0x453c28
push dword [ebp - 0x38]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne byte [ebp - 0x3d]
test eax, eax
je 0x453779
test byte [ebp - 0x68], 1
je 0x453779
mov ebx, 0x80070050
push 0x52e
jmp 0x453744
mov edi, dword [ebp - 0x3c]
lea eax, [edi + 0x70]
push eax
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x74], 1
lea eax, [edi + 8]
mov byte [ebp - 4], 2
push esi
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x44], eax
call fcn.00411838
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [edi + 8]
call fcn.004507c0
mov edi, dword [edi + 0xc]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
mov esi, dword [eax]
call fcn.0041395f
cmp esi, edi
je 0x45380c
push dword [ebp - 0x34]
lea ecx, [ebp - 0x60]
call fcn.00411838
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 4
call fcn.00457315
mov edi, dword [eax + 4]
mov dword [ebp - 0x64], edi
test edi, edi
je 0x4537fd
mov eax, dword [edi]
push edi
mov esi, dword [eax]
mov ecx, esi
call dword [0x63a7a0]
call esi
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x7c], edi
mov byte [ebp - 4], 2
call fcn.0041395f
push dword [ebp - 0x38]
lea ecx, [ebp - 0x60]
call fcn.00411838
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 5
push eax
call fcn.004507c0
mov edi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
mov esi, dword [eax]
mov edi, dword [edi + 0xc]
call fcn.0041395f
cmp esi, edi
je 0x453885
push dword [ebp - 0x38]
lea ecx, [ebp - 0x60]
call fcn.00411838
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 6
call fcn.00457315
mov edi, dword [eax + 4]
mov dword [ebp - 0x48], edi
test edi, edi
je 0x453877
mov eax, dword [edi]
push edi
mov esi, dword [eax]
mov ecx, esi
call dword [0x63a7a0]
call esi
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x84], edi
call fcn.0041395f
push dword [ebp - 0x78]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp - 0x64]
mov byte [ebp - 0x74], 0
test edi, edi
je 0x4538a7
cmp byte [edi + 0x6c], 0
jne 0x45397c
mov ecx, dword [ebp - 0x3c]
push dword [ebp - 0x34]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x63a7a0]
call esi
mov ebx, eax
test ebx, ebx
jns 0x4538cd
push 0x541
jmp 0x453744
test edi, edi
jne 0x45398f
mov eax, dword [ebp - 0x78]
push eax
mov dword [ebp - 0x90], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x8c], 1
push dword [ebp - 0x34]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 7
call fcn.00411838
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 8
push eax
call fcn.004507c0
mov edi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 7
mov esi, dword [eax]
mov edi, dword [edi + 0xc]
call fcn.0041395f
cmp esi, edi
je 0x453965
push dword [ebp - 0x34]
lea ecx, [ebp - 0x60]
call fcn.00411838
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 9
call fcn.00457315
mov edi, dword [eax + 4]
test edi, edi
je 0x453958
mov eax, dword [edi]
push edi
mov esi, dword [eax]
mov ecx, esi
call dword [0x63a7a0]
call esi
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x7c], edi
call fcn.0041395f
jmp 0x453968
mov edi, dword [ebp - 0x64]
push dword [ebp - 0x78]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 0x8c], 0
test edi, edi
jne 0x45398f
mov ebx, 0x80040b02
push 0x54f
jmp 0x453744
mov esi, dword [ebp - 0x34]
cmp edi, dword [ebp - 0x48]
je 0x453b2c
cmp dword [ebp + 8], 0
jne 0x4539aa
mov ecx, dword [ebp - 0x3c]
push esi
call fcn.00456455
mov ebx, dword [ebp - 0x68]
and ebx, 1
jne 0x4539ef
cmp byte [ebp - 0x3d], bl
je 0x4539ef
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4539ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, ebx
shr eax, 0x1f
test al, al
je 0x453c28
push 0x560
jmp 0x453744
cmp dword [ebp + 8], 0
jne 0x453a33
push ebx
push dword [ebp - 0x38]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x453b25
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, ebx
shr eax, 0x1f
test al, al
je 0x453c28
push 0x567
jmp 0x453744
push 2
push dword [ebp - 0x38]
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x453b25
push ebx
push dword [ebp - 0x38]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x453a81
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, ebx
shr eax, 0x1f
test al, al
je 0x453c28
push 0x570
jmp 0x453744
test edi, edi
je 0x453a9c
mov ecx, edi
call fcn.00457cf6
mov ebx, eax
test ebx, ebx
jns 0x453a9c
push 0x575
jmp 0x453744
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x453b25
mov ebx, dword [ebp - 0x68]
test bl, 4
jne 0x453b25
push esi
lea ecx, [ebp - 0x60]
call fcn.00411838
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x30]
call fcn.00411873
shr ebx, 1
and bl, 1
mov dword [ebp - 0x18], reloc.WS2_32.dll_accept
mov byte [ebp - 0x14], bl
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xc
call fcn.0041395f
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx]
mov esi, dword [eax + 0x70]
lea eax, [ebp - 0x30]
push eax
push ecx
mov ecx, esi
call dword [0x63a7a0]
call esi
mov ebx, eax
test ebx, ebx
jns 0x453b1d
push 0x57a
push str.D:dbs_shodct0216_182312_0cmd7clientonedriveSetupStandalone_fsmanager_fsmanagerimpl.cpp
push ebx
call fcn.0044e23a
lea ecx, [ebp - 0x30]
call fcn.0041395f
jmp 0x453c28
lea ecx, [ebp - 0x30]
call fcn.0041395f
xor ebx, ebx
jmp 0x453c28
cmp dword [ebp + 8], 0
je 0x453ba6
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x453ba2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x453b69
cmp eax, 0x20
je 0x453b69
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x453ba6
push 0x595
jmp 0x453744
test edi, edi
jne 0x453b6e
int3
push esi
lea ecx, [ebp - 0x60]
call fcn.00411838
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0xd
push eax
mov ecx, edi
call fcn.0045783d
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
mov ebx, eax
call fcn.0041395f
test ebx, ebx
jns 0x453ba6
push 0x590
jmp 0x453744
mov byte [ebp - 0x6c], 1
cmp edi, dword [ebp - 0x48]
je 0x453be2
push dword [ebp - 0x38]
lea ecx, [ebp - 0x60]
call fcn.00411838
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x60]
push edi
push eax
mov byte [ebp - 4], 0xe
call fcn.00453177
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
mov ebx, eax
call fcn.0041395f
test ebx, ebx
jns 0x453be2
mov esi, ebx
mov eax, 0x5b1
jmp 0x453c1b
cmp byte [ebp - 0x6c], 0
je 0x453c28
push esi
lea ecx, [ebp - 0x60]
call fcn.00411838
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x60]
push edi
push eax
mov byte [ebp - 4], 0xf
call fcn.00455c69
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
mov ebx, eax
mov esi, eax
call fcn.0041395f
test ebx, ebx
jns 0x453c28
mov eax, 0x5b7
push eax
push str.D:dbs_shodct0216_182312_0cmd7clientonedriveSetupStandalone_fsmanager_fsmanagerimpl.cpp
push esi
call fcn.0044e23a
int3
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 0x11
test ecx, ecx
je 0x453c43
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x63a7a0]
call esi
mov dword [ebp - 4], 0x12
test edi, edi
je 0x453c5e
mov ecx, dword [edi]
push edi
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x63a7a0]
call esi
mov eax, ebx
call fcn.00429df7
ret 0x10