Function at 0x100070d0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ec965
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x1011f07c]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x1011f07c]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
lea esi, [esp + 0x1c]
mov ebx, ecx
call fcn.100017e0
push eax
lea eax, [esp + 0x1c]
xor esi, esi
push eax
mov edi, str.UpdateGMInstall.exe
mov dword [esp + 0xb0], esi
call fcn.10008ef0
add esp, 8
push eax
mov ecx, ebx
mov byte [esp + 0xac], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xa8], 0xffffffff
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000717c
lea eax, [esi - 0x31]
jmp 0x100073c6
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], esi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov dword [esp + 0xa8], 2
lea ecx, [esp + 0x44]
mov dword [esp + 0x40], esi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esp + 0x40]
mov byte [esp + 0xa8], 3
mov edi, dword [ebx]
push ecx
call fcn.100109e0
test eax, eax
je 0x10007216
mov byte [esp + 0xa8], 2
mov eax, dword [esp + 0x40]
cmp eax, esi
je 0x100071d8
push eax
call sub.mfc90u.dll_delete__
add esp, 4
mov dword [esp + 0x40], esi
lea ecx, [esp + 0x44]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov dword [esp + 0xa8], 0xffffffff
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x10007202
push eax
call sub.mfc90u.dll_delete__
add esp, 4
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, 0xffffffce
jmp 0x100073c6
push 0x100f5bb4
lea ecx, [esp + 0x64]
lea edi, [esp + 0x44]
call fcn.10010a90
mov byte [esp + 0xa8], 4
cmp dword [esp + 0x74], esi
jne 0x1000725f
mov ebx, dword [ebx]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10007248
call fcn.100048c0
lea ecx, [esp + 0x60]
mov byte [esp + 0xa8], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x100071bb
lea edx, [esp + 0x14]
push edx
call fcn.10001890
add esp, 4
mov byte [esp + 0xa8], 5
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push ecx
mov edi, eax
call fcn.100109e0
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x100f5bb4
lea ecx, [esp + 0x80]
lea edi, [esp + 0x24]
call fcn.10010a90
mov byte [esp + 0xa8], 6
mov ecx, dword [esp + 0x80]
mov eax, 8
cmp dword [esp + 0x94], eax
jae 0x100072cd
lea ecx, [esp + 0x80]
cmp dword [esp + 0x78], eax
mov eax, dword [esp + 0x64]
jae 0x100072db
lea eax, [esp + 0x64]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpLogicalW]
mov ebx, dword [ebx]
push ebx
test eax, eax
jg 0x10007349
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100072f9
call fcn.100048c0
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa8], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x60]
mov byte [esp + 0xa8], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea esi, [esp + 0x40]
mov byte [esp + 0xa8], 2
call fcn.100108b0
lea esi, [esp + 0x20]
mov dword [esp + 0xa8], 0xffffffff
call fcn.100108b0
mov eax, 0xffffffce
jmp 0x100073c6
lea edx, [esp + 0x14]
push edx
call fcn.10013df0
add esp, 8
push str.Glarysoft_LTD
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
lea ecx, [esp + 0x10]
test eax, eax
je 0x10007375
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x100072f9
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa8], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x60]
mov byte [esp + 0xa8], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea esi, [esp + 0x40]
mov byte [esp + 0xa8], 2
call fcn.100108b0
lea esi, [esp + 0x20]
mov dword [esp + 0xa8], 0xffffffff
call fcn.100108b0
xor eax, eax
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.100e78b2
mov esp, ebp
pop ebp
ret