Function at 0x40dbcf
Capabilities:
Delete directory

Disassembly:
push 0x558
mov eax, 0x5397d4
call fcn.0053655e
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x1c]
jne 0x40dbf0
xor al, al
jmp 0x40de13
xor edi, edi
lea ecx, [ebp - 0x28]
push esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.00403913
lea eax, [ebp - 0x28]
mov dword [ebp - 4], edi
push eax
call fcn.00402940
mov ecx, eax
call fcn.0049a7c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
mov bl, al
call fcn.0040257a
test bl, bl
jne 0x40dcbd
push 1
push 3
lea ecx, [ebp - 0x564]
call fcn.00404da4
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.00403913
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x554]
push str.____Removing_system_folder:
push eax
call fcn.0040446a
pop ecx
pop ecx
push eax
call fcn.0040a098
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040257a
lea eax, [ebp - 0x564]
push eax
push str.FileSystem::removeDir
push 0x18e
push str.C:workprojects_rubilnik_srccommonFileSystem.cpp
push edi
call fcn.00407c20
mov ecx, eax
call fcn.00412039
lea ecx, [ebp - 0x4fc]
call fcn.00404fea
lea ecx, [ebp - 0x4fc]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
jmp 0x40dbe9
push 0x5c
pop eax
mov word [ebp - 0x58], ax
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
push 8
pop ebx
mov eax, esi
mov dword [ebp - 4], 3
cmp dword [esi + 0x14], ebx
jb 0x40dcdd
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x4b0]
call fcn.0040c0e1
test eax, eax
je 0x40dd15
cmp dword [ebp - 0x50], 0
je 0x40dd01
mov eax, dword [ebp - 0x4b0]
shr eax, 4
and eax, 1
jmp 0x40dd03
mov eax, edi
test eax, eax
jne 0x40dd15
push esi
call fcn.0040de19
pop ecx
mov bl, al
jmp 0x40de06
push 0x55ab80
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.0040a8e0
cmp dword [ebp - 0x38], ebx
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x4c]
push eax
call fcn.0040c0e1
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x40dddc
lea ecx, [ebp - 0x4b0]
call fcn.0040c569
lea ecx, [ebp - 0x4b0]
test eax, eax
jne 0x40ddca
lea eax, [ebp - 0x4b4]
push eax
call fcn.0040c310
push dword [eax]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.0040a729
lea ecx, [ebp - 0x4b4]
mov byte [ebp - 4], 4
call fcn.0040ba1a
cmp dword [ebp - 0x50], 0
je 0x40dd9f
mov eax, dword [ebp - 0x4b0]
shr eax, 4
and eax, 1
jmp 0x40dda1
xor eax, eax
test eax, eax
lea eax, [ebp - 0x4c]
push eax
je 0x40ddbe
call fcn.0040dbcf
cmp dword [ebp - 0x38], ebx
lea eax, [ebp - 0x4c]
pop ecx
cmovae eax, dword [ebp - 0x4c]
push eax
call edi
jmp 0x40ddc4
call fcn.0040de19
pop ecx
lea ecx, [ebp - 0x4b0]
call fcn.0040c1a4
test eax, eax
setne al
test al, al
jne 0x40dd4d
lea ecx, [ebp - 0x4b0]
call fcn.0040bf18
cmp dword [esi + 0x14], ebx
jb 0x40ddee
mov esi, dword [esi]
push esi
call edi
test eax, eax
lea ecx, [ebp - 0x34]
setne bl
call fcn.00403ae4
lea ecx, [ebp - 0x4c]
call fcn.0040257a
lea ecx, [ebp - 0x4b0]
call fcn.0040bf18
mov al, bl
call fcn.00536508
ret