Function at 0x426d00
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x4497fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebp
push esi
mov esi, dword [esp + 0x6c]
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 0x60], ebp
jne 0x426d2e
mov esi, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov al, byte [esp + 0x68]
push ebp
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [esp + 0x18]
push eax
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
lea ecx, [esp + 0x18]
push ecx
call fcn.00426cc0
add esp, 4
lea ecx, [esp + 0x18]
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
cmp dword [esp + 0x70], ebp
jne 0x426d9d
push 1
lea ecx, [esp + 0x6c]
mov dword [esp + 0x64], 0xffffffff
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
pop esi
mov al, 1
pop ebp
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
mov dl, byte [esp + 0x68]
push ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0xc], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
lea edx, [esp + 0x68]
mov ecx, dword [eax]
push ecx
push ebp
push edx
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov eax, dword [esp + 0x70]
mov byte [esp + 0x60], 1
lea esi, [eax - 1]
cmp eax, esi
jb 0x426df1
cmp dword [esp + 0x6c], ebp
je 0x426df1
lea ecx, [esp + 0x68]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Freeze_void_]
mov eax, dword [esp + 0x6c]
lea eax, [eax + esi*2]
jmp 0x426df6
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
cmp word [eax], 0x5c
je 0x426e3e
lea ecx, [esp + 8]
push 0x4553bc
lea edx, [esp + 0x1c]
push ecx
push edx
call sub.MSVCP60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_short_int_const__
add esp, 0xc
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov byte [esp + 0x60], 2
mov edx, dword [ecx]
lea ecx, [esp + 8]
push edx
push ebp
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea eax, [esp + 8]
push 0x455f54
lea ecx, [esp + 0x2c]
push eax
push ecx
call sub.MSVCP60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_short_int_const__
push ebp
lea edx, [esp + 0x28]
push eax
push edx
mov byte [esp + 0x78], 3
call sub.MSVCP60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_short_int_
add esp, 0x18
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov byte [esp + 0x60], 4
mov edx, dword [ecx]
lea ecx, [esp + 8]
push edx
push ebp
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ecx, dword [esp + 0x2c]
cmp ecx, ebp
je 0x426eb7
mov al, byte [ecx - 1]
test al, al
je 0x426eab
cmp al, 0xff
je 0x426eab
dec al
mov byte [ecx - 1], al
jmp 0x426eb7
add ecx, 0xfffffffe
push ecx
call fcn.0043c8a0
add esp, 4
push edi
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], ebp
cmp eax, ebp
mov word [esp + 0x4c], 0x14
mov dword [esp + 0x40], 3
pop edi
jne 0x426ee8
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
lea ecx, [esp + 0x38]
mov dword [esp + 0x40], eax
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov eax, dword [esp + 0x6c]
cmp eax, ebp
jne 0x426f04
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [esp + 0xc]
cmp ecx, ebp
je 0x426f31
mov al, byte [ecx - 1]
test al, al
je 0x426f25
cmp al, 0xff
je 0x426f25
dec al
mov byte [ecx - 1], al
jmp 0x426f31
add ecx, 0xfffffffe
push ecx
call fcn.0043c8a0
add esp, 4
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc], ebp
cmp ecx, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
je 0x426f74
mov al, byte [ecx - 1]
test al, al
je 0x426f68
cmp al, 0xff
je 0x426f68
dec al
pop esi
mov byte [ecx - 1], al
mov al, 1
pop ebp
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
add ecx, 0xfffffffe
push ecx
call fcn.0043c8a0
add esp, 4
mov ecx, dword [esp + 0x58]
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x5c
ret