Function at 0x402b05
Capabilities:
Delete file

Disassembly:
mov eax, 0x4624d4
call fcn.00461c40
sub esp, 0x278
push ebx
push esi
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ecx + 0x10]
mov dword [ebp - 0x10], ecx
mov esi, dword [edi]
cmp esi, edi
je 0x402b41
lea eax, [esi + 8]
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
pop ecx
test al, al
pop ecx
jne 0x402b3e
mov esi, dword [esi]
cmp esi, edi
jne 0x402b27
mov ecx, dword [ebp - 0x10]
cmp esi, edi
jne 0x402bf1
mov eax, dword [ecx + 0x10]
lea esi, [ecx + 0xc]
push ebx
push eax
lea eax, [ebp + 8]
mov ecx, esi
push eax
mov dword [ebp - 0x14], esi
call fcn.0040300a
mov edi, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x40]
cmp edi, eax
je 0x402bd3
lea eax, [edi + 4]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x1c]
cmp esi, dword [eax + 0x20]
je 0x402bc4
mov eax, dword [esi + 4]
mov edx, 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]
test eax, eax
jne 0x402b89
mov eax, edx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x402b94
mov ecx, edx
push eax
push ecx
call dword [sym.imp.Ht4Dll.dll_public:_static_int___cdecl_CHT4StrTool::Equal_unsigned_short_int_const___unsigned_short_int_const__]
pop ecx
test eax, eax
pop ecx
je 0x402bbc
mov ecx, dword [ebp - 0x10]
push esi
call fcn.00402e13
test eax, eax
jne 0x402bc4
mov ecx, dword [ebp - 0x10]
push esi
call fcn.00402b05
test eax, eax
je 0x402bf9
mov eax, dword [ebp - 0x10]
add esi, 0x48
jmp 0x402b75
add dword [ebp + 8], 0x10
add edi, 0x10
cmp edi, dword [ebx + 0x40]
jne 0x402b6f
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.00402e13
test eax, eax
je 0x402c12
mov eax, dword [esi + 4]
mov ecx, esi
push dword [eax + 4]
lea eax, [ebp + 8]
push eax
call fcn.00403044
push 1
pop eax
jmp 0x402e02
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
push dword [eax + 4]
lea eax, [ebp + 8]
push eax
call fcn.00403044
xor eax, eax
jmp 0x402e02
lea ecx, [ebp - 0x7c]
call fcn.00452006
mov eax, dword [ebx + 0x24]
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], edi
jne 0x402c2b
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
lea ecx, [ebp - 0x7c]
call fcn.004520e0
test eax, eax
je 0x402dcf
mov ecx, dword [ebp - 0x10]
lea eax, [ebx + 0x10]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004028e8
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 1
cmp eax, edi
jne 0x402c5c
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.Ht4Dll.dll_public:_static_int___cdecl_CHtPath::CreateDirTreeForFile_unsigned_short_int_const__]
test eax, eax
pop ecx
je 0x402dc0
cmp dword [ebx + 0x34], edi
jne 0x402cc6
mov edi, dword [ebp - 0x30]
test edi, edi
jne 0x402c7e
mov edi, 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 [ebp + 0xb]
push 0
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], 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 edi
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
push edi
lea ecx, [ebp - 0x24]
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 eax, [ebp - 0x24]
lea ecx, [ebp - 0x7c]
push eax
mov byte [ebp - 4], 2
call fcn.00452436
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 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_]
jmp 0x402dc0
mov al, byte [ebp + 0xb]
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], 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_]
mov word [ebp - 0x284], di
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x282]
rep stosd dword es:[edi], eax
xor esi, esi
mov byte [ebp - 4], 3
stosw word es:[edi], ax
push esi
lea eax, [ebp - 0x24]
push 0x4845cc
push eax
call dword [sym.imp.Ht4Dll.dll_public:_static_int___cdecl_CHtPath::CreateMyTmpFile_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____unsigned_short_int_const___unsigned_short_int_const__]
mov eax, dword [ebp - 0x30]
add esp, 0xc
cmp eax, esi
jne 0x402d13
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
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edi, dword [ebp - 0x20]
cmp edi, esi
jne 0x402d3b
mov edi, 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 [ebp + 0xb]
push esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x44], 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 edi
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
push edi
lea ecx, [ebp - 0x44]
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 eax, [ebp - 0x44]
lea ecx, [ebp - 0x7c]
push eax
mov byte [ebp - 4], 4
call fcn.00452436
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 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 eax, dword [ebp - 0x20]
cmp eax, esi
jne 0x402d89
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, [ebp - 0x284]
push esi
push ecx
push eax
call dword [sym.imp.Ht4Dll.dll_int___cdecl_UnzipToDir_unsigned_short_int_const___unsigned_short_int_const___struct_IUnzipCbk__]
mov eax, dword [ebp - 0x20]
add esp, 0xc
cmp eax, esi
jne 0x402da7
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_DeleteFileW]
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 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_]
mov esi, dword [ebp - 0x14]
and byte [ebp - 4], 0
push 1
lea ecx, [ebp - 0x34]
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 [esi + 4]
mov ecx, esi
push dword [eax + 4]
lea eax, [ebp - 0x48]
push eax
call fcn.00403044
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.00402e13
test eax, eax
je 0x402df2
push 1
pop esi
jmp 0x402df4
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.0045207a
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4