Function at 0x10027810
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d2a03
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x101120a8]
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.XNewLookSch.dll_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 0x10027880
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 0x10027872
cmp eax, 0x2f
jne 0x10027880
lea eax, [ecx - 1]
push 0
push eax
lea ecx, [ebp - 0x44]
call fcn.10011230
lea ecx, [ebp - 0x94]
call sym.XNewLookSch.dll_public:_void___thiscall_LDirSnap::constructor_void_
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x94], 1
call sym.XNewLookSch.dll_public:_void___thiscall_LDirSnap::set_file_class_LString_const__
lea ecx, [ebp - 0x94]
call sym.XNewLookSch.dll_public:_int___thiscall_LDirSnap::snap_void_
mov edi, dword [ebp - 0x90]
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
mov eax, 0x2e8ba2e9
mov ecx, dword [ebp - 0x8c]
xor esi, esi
sub ecx, edi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100279e6
xor ebx, ebx
nop
cmp byte [edi + ebx + 0x50], 0
lea eax, [edi + ebx]
je 0x100279aa
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call sym.XNewLookSch.dll_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.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], vtable.LString.0
test eax, eax
je 0x10027964
cmp edx, 8
jb 0x10027956
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002794c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10027b21
push edx
push ecx
call fcn.1008bfe4
add esp, 8
xor ecx, ecx
lea eax, [esi + 1]
test ecx, ecx
cmove eax, esi
mov esi, eax
jmp 0x100279b8
cmp edx, 8
jb 0x1002799b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10027991
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10027b21
push edx
push ecx
call fcn.1008bfe4
add esp, 8
or ecx, 0xffffffff
lea eax, [esi + 1]
test ecx, ecx
cmove eax, esi
mov esi, eax
jmp 0x100279b8
push eax
call sym.XNewLookSch.dll_int___cdecl_LFile::strong_delete_file_full_class_LString_const__
add esp, 4
test eax, eax
jne 0x100279b8
inc esi
mov ecx, dword [ebp - 0x8c]
mov eax, 0x2e8ba2e9
mov edi, dword [ebp - 0x90]
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 0x100278e0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
call sym.XNewLookSch.dll_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.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], vtable.LString.0
test eax, eax
je 0x10027a53
cmp edx, 8
jb 0x10027a4f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10027a45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10027b21
push edx
push ecx
call fcn.1008bfe4
add esp, 8
xor eax, eax
jmp 0x10027a8d
cmp edx, 8
jb 0x10027a8a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10027a80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10027b21
push edx
push ecx
call fcn.1008bfe4
add esp, 8
or eax, 0xffffffff
test eax, eax
lea edi, [esi + 1]
lea ecx, [ebp - 0x58]
cmove edi, esi
call fcn.10011ab0
lea ecx, [ebp - 0x64]
call fcn.10011ab0
lea ecx, [ebp - 0x70]
call fcn.10011ab0
lea ecx, [ebp - 0x7c]
call fcn.10011ab0
lea ecx, [ebp - 0x90]
call fcn.100310d0
dec dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x48], vtable.LString.0
cmp edx, 8
jb 0x10027b03
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10027af9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10027b26
push edx
push ecx
call fcn.1008bfe4
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.1008bffe
mov esp, ebp
pop ebp
ret
call fcn.10092486
call fcn.10092486
int3