Function at 0x49fddd
Capabilities:
Move file

Disassembly:
push 0x604
mov eax, 0x54f7d0
call fcn.0053655e
mov esi, dword [ebp + 8]
push esi
call fcn.00402940
mov ecx, eax
call fcn.0049a7c0
lea ecx, [ebp - 0x560]
test al, al
jne 0x49fe72
push 1
push 3
call fcn.00404da4
and dword [ebp - 4], 0
lea eax, [ebp - 0x550]
push esi
push str.Stop____Removing_system_folder:
push eax
call fcn.0040446a
pop ecx
pop ecx
push eax
call fcn.0040a098
pop ecx
pop ecx
lea eax, [ebp - 0x560]
push eax
push str.Cleaner::removeFolder
push 0x156
push str.C:workprojects_rubilnik_srccoreCleaner.cpp
push 0
call fcn.00407c20
mov ecx, eax
call fcn.00412039
lea ecx, [ebp - 0x4f8]
call fcn.00404fea
lea ecx, [ebp - 0x4f8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
push 2
pop eax
jmp 0x4a0078
xor ebx, ebx
inc ebx
push ebx
push 3
call fcn.00404da4
push esi
lea eax, [ebp - 0x550]
mov dword [ebp - 4], ebx
push str.Removing_folder:
push eax
call fcn.0040b103
pop ecx
pop ecx
push eax
call fcn.0040a098
pop ecx
pop ecx
lea eax, [ebp - 0x560]
push eax
push str.Cleaner::removeFolder
push 0x15a
push str.C:workprojects_rubilnik_srccoreCleaner.cpp
push ebx
call fcn.00407c20
mov ecx, eax
call fcn.00412039
lea ecx, [ebp - 0x4f8]
call fcn.00404fea
lea ecx, [ebp - 0x4f8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
and dword [ebp - 0x54], 0
and dword [ebp - 0x50], 0
push 0x5c
pop eax
mov word [ebp - 0x58], ax
cmp dword [esi + 0x14], 8
mov eax, esi
push 2
pop ebx
mov dword [ebp - 4], ebx
jb 0x49fef5
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x4b0]
call fcn.0040c0e1
test eax, eax
je 0x4a0068
cmp dword [ebp - 0x50], 0
je 0x49ff1d
mov eax, dword [ebp - 0x4b0]
shr eax, 4
and eax, 1
jmp 0x49ff1f
xor eax, eax
test eax, eax
je 0x4a0068
push esi
lea ecx, [ebp - 0x4c]
call fcn.0040a686
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 3
push eax
call fcn.0040dbcf
pop ecx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.00403ae4
lea ecx, [ebp - 0x4c]
call fcn.0040257a
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x49ff5b
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x4b0]
call fcn.0040c0e1
test eax, eax
je 0x4a0064
push str.clntmp
lea ecx, [ebp - 0x40]
call fcn.00401cd4
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00406d34
pop ecx
pop ecx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.0040257a
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, esi
cmovae ecx, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x49ffb0
mov eax, dword [esi]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4a005c
push esi
call fcn.004a02ae
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x49ffdc
mov ecx, dword [esi]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4a005c
push 1
push 3
lea ecx, [ebp - 0x610]
call fcn.00404da4
push esi
lea eax, [ebp - 0x600]
mov byte [ebp - 4], 7
push str.Error:_Cant_remove_folder:
push eax
call fcn.0040b103
pop ecx
pop ecx
push eax
call fcn.0040a098
pop ecx
pop ecx
lea eax, [ebp - 0x610]
push eax
push str.Cleaner::removeFolder
push 0x174
push str.C:workprojects_rubilnik_srccoreCleaner.cpp
push 0
call fcn.00407c20
mov ecx, eax
call fcn.00412039
lea ecx, [ebp - 0x5a8]
call fcn.00404fea
lea ecx, [ebp - 0x5a8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x28]
call fcn.0040257a
jmp 0x4a006b
lea ecx, [ebp - 0x28]
call fcn.0040257a
xor ebx, ebx
jmp 0x4a006b
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x4b0]
call fcn.0040bf18
mov eax, ebx
call fcn.00536508
ret