Function at 0x1002ee40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018c4e9
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x101ebb68]
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 eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, edx
xor ebx, ebx
mov dword [ebp - 0xdc], eax
xor edx, edx
mov eax, esi
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], dx
lea ecx, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x1002eeb0
sub eax, ecx
sar eax, 1
push eax
mov eax, esi
lea esi, [ebp - 0x9c]
call fcn.1000b950
mov dword [ebp - 4], ebx
xor eax, eax
mov word [ebp - 0x64], ax
mov eax, edi
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1002eee5
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [ebp - 0x64]
call fcn.1000b950
push ebx
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0x80]
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.MGCore.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_MGStringUtil::convertUnicodeToANSI_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___enum_MGStringUtil::eSrcCodePage_]
push edx
call edi
add esp, 0xc
mov esi, eax
push ebx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0xd4]
push ecx
mov byte [ebp - 4], 2
call edi
add esp, 0xc
mov edi, 0x10
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], edi
jb 0x1002ef41
mov esi, dword [esi]
cmp dword [eax + 0x14], edi
jb 0x1002ef48
mov eax, dword [eax]
push esi
push eax
push str.Unzip_the_File_:__s__UnzipPath___s
lea esi, [ebp - 0xb8]
call fcn.1000c270
add esp, 0xc
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], edi
jb 0x1002ef68
mov eax, dword [eax]
push str.APP_INSTALL_TASK
push eax
call dword [sym.imp.MGCore.dll_public:_static_class_MGDecorateLog____cdecl_MGSingleton_class_MGDecorateLog__0_::getInstance_void_]
mov ecx, eax
call dword [sym.imp.MGCore.dll_public:_void___thiscall_MGDecorateLog::trace_char_const___char_const__]
cmp dword [ebp - 0xa4], edi
jb 0x1002ef94
mov edx, dword [ebp - 0xb8]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, 0xf
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
cmp dword [ebp - 0xc0], edi
jb 0x1002efc3
mov eax, dword [ebp - 0xd4]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xc4], ebx
mov byte [ebp - 0xd4], bl
cmp dword [ebp - 0x6c], edi
jb 0x1002efe7
mov ecx, dword [ebp - 0x80]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x6c], esi
mov esi, 8
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
cmp dword [ebp - 0x50], esi
jb 0x1002f007
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov edi, 7
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
cmp dword [ebp - 0x88], esi
jb 0x1002f037
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [ebp - 0xe0]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002f1d2
xor edx, edx
mov eax, esi
mov word [ebp - 0x48], dx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1002f060
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [ebp - 0x48]
call fcn.1000b950
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0xd8]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
lea esi, [eax + 2]
jmp 0x1002f0a0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1002f0a0
sub eax, esi
sar eax, 1
push eax
mov eax, edx
lea esi, [ebp - 0x2c]
call fcn.1000b950
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.10037130
mov eax, esi
call fcn.10037130
lea ebx, [ebp - 0xd8]
mov edi, esi
mov dword [ebp - 0xd8], 0x5c
call fcn.1002f410
test eax, eax
je 0x1002f0f6
push 1
mov eax, 0x101a37bc
mov ecx, esi
call fcn.1000fa50
xor esi, esi
push esi
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0xdc]
add ecx, 0x34
or eax, 0xffffffff
call fcn.1000b5b0
mov eax, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x1002f11e
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002f1d9
mov eax, dword [0x101feda4]
cmp eax, esi
jne 0x1002f13b
call fcn.10006d40
lea edx, [ebp - 0x2c]
push edx
mov ecx, eax
call fcn.100630e0
test al, al
jne 0x1002f1d9
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x1002f159
lea eax, [ebp - 0x2c]
push eax
push str.We_need_delete_the_Directory_____s
lea esi, [ebp - 0x80]
call fcn.1000c270
add esp, 8
mov ebx, 7
mov esi, 0x10
mov byte [ebp - 4], bl
cmp dword [eax + 0x14], esi
jb 0x1002f17e
mov eax, dword [eax]
push str.APP_INSTALL_TASK
push eax
call dword [sym.imp.MGCore.dll_public:_static_class_MGDecorateLog____cdecl_MGSingleton_class_MGDecorateLog__0_::getInstance_void_]
mov ecx, eax
call dword [sym.imp.MGCore.dll_public:_void___thiscall_MGDecorateLog::trace_char_const___char_const__]
cmp dword [ebp - 0x6c], esi
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
jb 0x1002f1a6
mov eax, dword [ebp - 0x80]
push eax
call esi
add esp, 4
cmp dword [ebp - 0x18], edi
jb 0x1002f1b4
mov ecx, dword [ebp - 0x2c]
push ecx
call esi
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x34], edi
jb 0x1002f1d2
mov eax, dword [ebp - 0x48]
push eax
call esi
add esp, 4
xor al, al
jmp 0x1002f2c9
cmp dword [0x101feda4], esi
jne 0x1002f1e6
call fcn.10006d40
lea ecx, [ebp - 0x2c]
push ecx
call fcn.10062d20
test al, al
jne 0x1002f22e
cmp dword [ebp - 0x18], edi
jb 0x1002f205
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], edi
jb 0x1002f1d2
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor al, al
jmp 0x1002f2c9
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x1002f239
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x1002f244
lea edx, [ebp - 0x48]
mov ecx, dword [ebp - 0xe4]
push eax
call fcn.1011d810
add esp, 4
test al, al
jne 0x1002f293
cmp dword [ebp - 0x18], edi
jb 0x1002f269
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], edi
jb 0x1002f1d2
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor al, al
jmp 0x1002f2c9
cmp dword [ebp - 0x18], edi
jb 0x1002f2a5
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], edi
jb 0x1002f2c7
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
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.10178946
mov esp, ebp
pop ebp
ret 8