Function at 0x410ab0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41532c
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x41e130]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x24]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_void_]
xor ebx, ebx
push ebx
lea eax, [ebp - 0x24]
push 0x4182b0
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.Common.dll_public:_void___cdecl_CTXStringW::Format_wchar_t_const__]
lea ecx, [ebp - 0x20]
push ecx
call fcn.00411f40
add esp, 0x10
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call dword [sym.imp.Common.dll_public:_bool___thiscall_CTXStringW::IsEmpty_void_const]
test al, al
jne 0x410b52
mov edi, dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
lea ecx, [ebp - 0x20]
call edi
push eax
lea ecx, [ebp - 0x24]
call edi
push eax
push str.NeedImport
push str.UserDataImportSet
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x20]
call edi
push eax
push 0x41672c
push str.OldVersion
push str.UserDataImportSet
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [esi + 0x30]
cmp eax, 0x14
mov ecx, 1
mov dword [esi + 0x50], ecx
jb 0x410b7e
jne 0x410b6a
cmp dword [esi + 0x34], 0x5e
jb 0x410b7e
lea ecx, [esi + 0x3c]
call dword [sym.imp.Common.dll_public:_bool___thiscall_CTXStringW::IsEmpty_void_const]
neg al
sbb eax, eax
neg eax
mov dword [esi + 0x50], eax
jmp 0x410b81
mov dword [esi + 0x50], ecx
lea edi, [esi + 0x3c]
push edi
lea ecx, [esi + 0x4c]
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
lea edx, [ebp - 0x18]
push edx
call fcn.004121d0
add esp, 4
mov eax, dword [esi + 0x50]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push edi
mov byte [ebp - 4], 2
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
push str.HandleFileMoveForSetUp__SrcPath_s__bOldVer_d
push str.StorageTool
push 2
push str.func
push 0xb8a
push str.file
call fcn.004097e0
add esp, 0x20
lea ecx, [ebp - 0x44]
call fcn.0040d480
mov dword [ebp - 0x40], eax
mov byte [eax + 0x11], 1
mov eax, dword [ebp - 0x40]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [eax], eax
mov eax, dword [ebp - 0x40]
mov dword [eax + 8], eax
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x30], 0x418218
mov dword [ebp - 0x50], str.file
mov dword [ebp - 0x4c], str.func
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x7c], 0xb8e
mov dword [ebp - 0x78], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x80], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x64]
push ecx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.MSVCR80.dll__time64]
lea edx, [ebp - 0x30]
push edx
push 0x4164dc
lea eax, [ebp - 0x84]
push str.StorageTool
push eax
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
call dword [sym.imp.Common.dll_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__]
add esp, 0x14
cmp dword [esi + 0x50], ebx
je 0x410c7a
mov ecx, dword [esi + 0x54]
push ecx
mov ecx, esi
call fcn.0040cb50
jmp 0x410c9a
mov eax, dword [esi + 0x54]
lea edx, [ebp - 0x44]
push edx
push eax
push ecx
lea edx, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x30], esp
push edx
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
push edi
mov ecx, esi
call fcn.0040fc20
push eax
push 0x4181dc
push str.StorageTool
push 2
push str.func
push 0xb9c
push str.file
mov dword [ebp - 0x2c], eax
call fcn.00402c30
mov eax, dword [ebp - 0x2c]
add esp, 0x1c
cmp eax, 1
je 0x410d5c
cmp eax, 2
je 0x410d5c
cmp dword [esi + 0x50], ebx
jne 0x410ce5
mov ecx, esi
call fcn.0040d250
mov eax, dword [ebp - 0x2c]
mov esi, dword [esi + 0x54]
mov edx, dword [esi]
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
mov eax, dword [edx]
push 5
mov ecx, esi
call eax
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
push eax
lea ecx, [ebp - 0x44]
push ecx
mov esi, ecx
push edx
push esi
lea ecx, [ebp - 0x38]
push ecx
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0040fff0
mov edx, dword [ebp - 0x40]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x30], 0x4181c8
mov dword [ebp - 0x50], str.file
mov dword [ebp - 0x4c], str.func
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x7c], 0xbaf
mov dword [ebp - 0x78], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x80], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.MSVCR80.dll__time64]
lea ecx, [ebp - 0x30]
push ecx
push 0x4164dc
lea edx, [ebp - 0x84]
push str.StorageTool
push edx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
call dword [sym.imp.Common.dll_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__]
add esp, 0x14
cmp dword [esi + 0x50], ebx
je 0x410ddd
mov eax, dword [esi + 0x54]
push eax
mov ecx, esi
call fcn.0040c7a0
jmp 0x410dfd
mov edx, dword [esi + 0x54]
lea ecx, [ebp - 0x44]
push ecx
push edx
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
push edi
mov ecx, esi
call fcn.0040f680
mov ecx, eax
push ecx
push 0x418198
push str.StorageTool
push 2
push str.func
push 0xbba
push str.file
mov dword [ebp - 0x14], eax
call fcn.00402c30
mov eax, dword [ebp - 0x14]
add esp, 0x1c
cmp eax, 1
je 0x410e66
cmp eax, 2
je 0x410e66
cmp dword [esi + 0x50], ebx
jne 0x410e42
mov ecx, esi
call fcn.0040d250
mov eax, dword [ebp - 0x14]
mov esi, dword [esi + 0x54]
mov edx, dword [esi]
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
mov eax, dword [edx]
push 5
mov ecx, esi
call eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.004100c0
jmp 0x410d27
cmp dword [esi + 0x50], ebx
jne 0x410e84
lea ecx, [ebp - 0x44]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push edi
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
call fcn.0040f9f0
add esp, 8
mov ecx, dword [esi + 0x54]
lea eax, [ebp - 0x28]
push eax
push ebx
push 0x64
push ebx
push 0x64
mov dword [ebp - 0x28], ebx
mov edx, dword [ecx]
mov edx, dword [edx]
push 1
push 3
call edx
cmp dword [ebp - 0x28], ebx
je 0x410ed9
mov dword [ebp - 0x10], 3
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x28]
push edx
push ebx
push 0x64
push ebx
push 0x64
mov dword [ebp - 0x28], ebx
mov eax, dword [ecx]
mov eax, dword [eax]
push 1
push 4
call eax
cmp dword [ebp - 0x28], ebx
je 0x410fe0
mov dword [ebp - 0x1c], 3
jmp 0x4110f4
mov dword [ebp - 0x30], 0x418188
mov dword [ebp - 0x50], str.file
mov dword [ebp - 0x4c], str.func
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x7c], 0xbdc
mov dword [ebp - 0x78], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x80], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.MSVCR80.dll__time64]
lea ecx, [ebp - 0x30]
push ecx
push 0x4164dc
lea edx, [ebp - 0x84]
push str.StorageTool
push edx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
call dword [sym.imp.Common.dll_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__]
add esp, 0x14
cmp dword [esi + 0x50], ebx
je 0x410f5a
mov eax, dword [esi + 0x54]
push eax
mov ecx, esi
call fcn.0040c3e0
jmp 0x410f76
mov ecx, dword [esi + 0x54]
push ecx
push ecx
lea edx, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x30], esp
push edx
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
push edi
mov ecx, esi
call fcn.00410130
push eax
push 0x418158
push str.StorageTool
push 2
push str.func
push 0xbe7
push str.file
mov dword [ebp - 0x10], eax
call fcn.00402c30
add esp, 0x1c
cmp dword [ebp - 0x10], 1
je 0x410eaa
cmp dword [ebp - 0x10], 2
je 0x410eaa
cmp dword [ebp - 0x10], 3
je 0x410eaa
mov ecx, dword [esi + 0x54]
mov eax, dword [ebp - 0x10]
mov edx, dword [ecx]
mov edx, dword [edx]
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push 5
call edx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.004100c0
jmp 0x410d27
mov dword [ebp - 0x30], 0x41813c
mov dword [ebp - 0x50], str.file
mov dword [ebp - 0x4c], str.func
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x7c], 0xc01
mov dword [ebp - 0x78], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x80], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x64]
push ecx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.MSVCR80.dll__time64]
lea edx, [ebp - 0x30]
push edx
push 0x4164dc
lea eax, [ebp - 0x84]
push str.StorageTool
push eax
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
call dword [sym.imp.Common.dll_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__]
add esp, 0x14
cmp dword [esi + 0x50], ebx
je 0x411064
mov ecx, dword [esi + 0x54]
push ecx
mov ecx, esi
call fcn.0040c0e0
mov dword [ebp - 0x1c], eax
jmp 0x4110cd
mov edx, dword [esi + 0x54]
push edx
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
push edi
mov ecx, esi
call fcn.00410760
mov ecx, edi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4110cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push edi
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
push 0x417e08
push str.StorageTool
push 2
push str.func
push 0xc0f
push str.file
call fcn.004097e0
add esp, 0x20
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x418100
push str.StorageTool
push 2
push str.func
push 0xc13
push str.file
call fcn.00402c30
add esp, 0x1c
cmp dword [esi + 0x38], ebx
jne 0x41118b
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push edi
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
call edi
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_Util::FS::GetParentDir_class_CTXStringW_]
add esp, 8
push ebx
push str.QQ2009
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringW::Find_wchar_t_const___int_const]
test eax, eax
jl 0x41117a
lea ecx, [ebp - 0x30]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x41117a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call edi
push 0x417e08
push str.StorageTool
push 2
push str.func
push 0xc21
push str.file
call fcn.004097e0
add esp, 0x20
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call edi
jmp 0x411191
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov ecx, dword [ebp - 0x2c]
cmp ecx, ebx
mov eax, 1
je 0x41122d
cmp dword [ebp - 0x14], ebx
je 0x41122d
cmp dword [ebp - 0x10], ebx
je 0x41122d
cmp dword [ebp - 0x1c], ebx
je 0x41122d
cmp ecx, 0xffffffff
je 0x411228
cmp dword [ebp - 0x14], 0xffffffff
je 0x411228
cmp dword [ebp - 0x10], 0xffffffff
je 0x411228
cmp dword [ebp - 0x1c], 0xffffffff
je 0x411228
cmp ecx, 0xfffffffd
je 0x411221
cmp dword [ebp - 0x14], 0xfffffffd
je 0x411221
cmp dword [ebp - 0x10], 0xfffffffd
je 0x411221
cmp dword [ebp - 0x1c], 0xfffffffd
je 0x411221
cmp ecx, 3
je 0x41121a
cmp dword [ebp - 0x14], 3
je 0x41121a
cmp dword [ebp - 0x10], 3
je 0x41121a
mov edx, dword [ebp - 0x1c]
cmp edx, 3
je 0x41121a
cmp ecx, 2
je 0x411213
mov ecx, 2
cmp dword [ebp - 0x14], ecx
je 0x411213
cmp dword [ebp - 0x10], ecx
je 0x411213
cmp edx, ecx
jne 0x41122f
mov eax, 2
jmp 0x41122f
mov eax, 3
jmp 0x41122f
mov eax, 0xfffffffd
jmp 0x41122f
or eax, 0xffffffff
jmp 0x41122f
xor eax, eax
mov esi, dword [esi + 0x54]
mov edx, dword [esi]
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
mov eax, dword [edx]
push 5
mov ecx, esi
call eax
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
push eax
lea ecx, [ebp - 0x44]
push ecx
mov esi, ecx
push edx
push esi
lea ecx, [ebp - 0x38]
push ecx
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0040fff0
mov edx, dword [ebp - 0x40]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 4], 1
call edi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret