Function at 0x42f4d0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc773
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4f9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x48]
push eax
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_fix_to_path_slash_void_
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x42f540
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
movzx eax, word [eax + ecx*2 - 2]
cmp eax, 0x5c
je 0x42f532
cmp eax, 0x2f
jne 0x42f540
lea eax, [ecx - 1]
push 0
push eax
lea ecx, [ebp - 0x44]
call fcn.00421300
lea ecx, [ebp - 0x98]
call sym.XNewLook.exe_public:_void___thiscall_LDirSnap::constructor_void_
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 0x98], 1
call sym.XNewLook.exe_public:_void___thiscall_LDirSnap::set_file_class_LString_const__
lea ecx, [ebp - 0x98]
call sym.XNewLook.exe_public:_int___thiscall_LDirSnap::snap_void_
mov edi, dword [ebp - 0x94]
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
mov eax, 0x2e8ba2e9
mov ecx, dword [ebp - 0x90]
xor esi, esi
sub ecx, edi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x42f6a6
xor ebx, ebx
nop
cmp byte [edi + ebx + 0x50], 0
lea eax, [edi + ebx]
je 0x42f66a
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_fix_to_path_slash_void_
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
dec dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], vtable.LString.0
test eax, eax
je 0x42f624
cmp edx, 8
jb 0x42f616
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f60c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f7f1
push edx
push ecx
call fcn.00475891
add esp, 8
xor ecx, ecx
lea eax, [esi + 1]
test ecx, ecx
cmove eax, esi
mov esi, eax
jmp 0x42f678
cmp edx, 8
jb 0x42f65b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f651
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f7f1
push edx
push ecx
call fcn.00475891
add esp, 8
or ecx, 0xffffffff
lea eax, [esi + 1]
test ecx, ecx
cmove eax, esi
mov esi, eax
jmp 0x42f678
push eax
call sym.XNewLook.exe_int___cdecl_LFile::strong_delete_file_full_class_LString_const__
add esp, 4
test eax, eax
jne 0x42f678
inc esi
mov ecx, dword [ebp - 0x90]
mov eax, 0x2e8ba2e9
mov edi, dword [ebp - 0x94]
add ebx, 0x58
inc dword [ebp - 0x4c]
sub ecx, edi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x4c], eax
jb 0x42f5a0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_fix_to_path_slash_void_
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
dec dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], vtable.LString.0
test eax, eax
je 0x42f713
cmp edx, 8
jb 0x42f70f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f705
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f7f1
push edx
push ecx
call fcn.00475891
add esp, 8
xor eax, eax
jmp 0x42f74d
cmp edx, 8
jb 0x42f74a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f740
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f7f1
push edx
push ecx
call fcn.00475891
add esp, 8
or eax, 0xffffffff
test eax, eax
lea edi, [esi + 1]
cmove edi, esi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.004061f0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.004061f0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.004061f0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 5
call fcn.004061f0
lea ecx, [ebp - 0x94]
call fcn.0040fd20
dec dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x48], vtable.LString.0
cmp edx, 8
jb 0x42f7d3
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f7c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f7f6
push edx
push ecx
call fcn.00475891
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00475880
mov esp, ebp
pop ebp
ret
call fcn.0047cd61
call fcn.0047cd61
int3