Function at 0x489160
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d8af9
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x669404]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x90], eax
xor esi, esi
mov dword [ebp - 0x94], esi
mov dword [ebp - 4], esi
lea eax, [esi + 0x10]
call fcn.00549c70
mov dword [ebp - 0x10], esp
mov edi, esp
push 0xdead004d
push 0x1ebeef
lea ecx, [ebp - 0x30]
push ecx
call fcn.00404610
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x4891d4
mov eax, dword [eax]
mov edx, dword [eax]
mov dword [edi], edx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov edx, dword [eax + 8]
mov dword [edi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [edi + 0xc], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00406010
mov eax, 4
call fcn.00549c70
mov dword [ebp - 0x10], esp
mov eax, esp
mov dword [ebp - 0x94], eax
cmp eax, esi
je 0x489215
mov dword [eax], 0xabab001e
mov dword [ebp - 4], 0xffffffff
jmp 0x489233
cmp eax, esi
je 0x48923d
mov dword [eax], 0xcdcd001e
mov ebx, 6
mov dword [ebp - 0x98], ebx
test byte [0x679728], 1
jne 0x489278
or dword [0x679728], 1
mov dword [ebp - 4], 3
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
push ecx
mov edi, 0x6796d8
call fcn.00418b90
test al, al
je 0x4893b5
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x54], 0
mov dword [ebp - 4], 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 4], 5
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], ebx
lea edi, [ebp - 0x54]
call fcn.004193b0
mov ecx, dword [eax + 0x1c]
cmp ecx, esi
jne 0x4892d5
push 0xd
push str.EnterFunction
mov ecx, eax
call fcn.004044f0
jmp 0x4892e3
push str.EnterFunction
push ecx
call fcn.004046b0
add esp, 8
push 0x1ff
push esi
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.00403c90
mov edi, eax
mov ebx, 7
mov byte [ebp - 4], bl
test byte [0x679728], 1
jne 0x489328
or dword [0x679728], 1
mov byte [ebp - 4], 8
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov byte [ebp - 4], bl
mov ecx, 0x6796dc
mov dword [ebp - 0x98], ecx
mov eax, dword [0x6796dc]
mov edx, dword [eax + 4]
call edx
mov byte [ebp - 4], 9
mov ecx, dword [0x679724]
cmp ecx, esi
je 0x48936d
cmp dword [edi + 0x14], 8
jb 0x489355
mov eax, dword [edi]
jmp 0x489357
mov eax, edi
mov edx, dword [ecx]
push 0x1e
push str.UninstallManager::Init
push str.UninstallManager.cpp
push eax
push 6
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], bl
mov edx, dword [0x6796dc]
mov ecx, 0x6796dc
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x1c], 8
jb 0x489397
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esi
xor edx, edx
mov word [ebp - 0x30], dx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x54]
push eax
call fcn.00419280
jmp 0x4893ba
mov ebx, 7
push esi
lea ecx, [ebp - 0x8c]
call fcn.00414b90
add esp, 4
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esi
xor ecx, ecx
mov word [ebp - 0x30], cx
push 0xa
push str.uninitData
lea ecx, [ebp - 0x30]
call fcn.00406180
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x30]
lea ebx, [ebp - 0x70]
call fcn.0040ec50
add esp, 4
mov byte [ebp - 4], 0xd
mov ebx, 8
cmp dword [ebp - 0x1c], ebx
jb 0x48941f
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x1c], 7
xor esi, esi
mov dword [ebp - 0x20], esi
xor ecx, ecx
mov word [ebp - 0x30], cx
cmp dword [ebp - 0x60], esi
je 0x489457
cmp dword [ebp - 0x5c], ebx
mov eax, dword [ebp - 0x70]
jae 0x489441
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x489457
call fcn.00489a30
mov edi, dword [ebp - 0x90]
push edi
lea edx, [ebp - 0x8c]
push edx
call fcn.00410ea0
add esp, 8
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x94]
cmp eax, esi
je 0x489480
mov dword [eax], 0xcdcd002a
mov dword [ebp - 0x90], 6
test byte [0x679728], 1
jne 0x4894b4
or dword [0x679728], 1
mov byte [ebp - 4], 0xe
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x90]
push eax
mov edi, 0x6796d8
call fcn.00418b90
test al, al
je 0x4895ee
mov eax, 0xf
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x54], 0
mov byte [ebp - 4], al
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0x11
lea edi, [ebp - 0x54]
call fcn.004193b0
mov ecx, dword [eax + 0x1c]
cmp ecx, esi
jne 0x48950c
push 0xc
push 0x6131f8
mov ecx, eax
call fcn.004044f0
jmp 0x48951a
push 0x6131f8
push ecx
call fcn.004046b0
add esp, 8
push 0x1ff
push esi
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.00403c90
mov edi, eax
mov bl, 0x12
mov byte [ebp - 4], bl
test byte [0x679728], 1
jne 0x48955c
or dword [0x679728], 1
mov byte [ebp - 4], 0x13
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov byte [ebp - 4], bl
mov ecx, 0x6796dc
mov dword [ebp - 0x90], ecx
mov edx, dword [0x6796dc]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x14
mov ecx, dword [0x679724]
cmp ecx, esi
je 0x4895a2
cmp dword [edi + 0x14], 8
jb 0x48958a
mov eax, dword [edi]
jmp 0x48958c
mov eax, edi
mov edx, dword [ecx]
push 0x2a
push str.UninstallManager::Init
push str.UninstallManager.cpp
push eax
push 6
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], bl
mov edx, dword [0x6796dc]
mov ecx, 0x6796dc
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x1c], 8
jb 0x4895cc
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], esi
xor edx, edx
mov word [ebp - 0x30], dx
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x54]
push eax
call fcn.00419280
mov ebx, 8
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x5c], ebx
jb 0x489604
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, 7
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], esi
xor edx, edx
mov word [ebp - 0x70], dx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x78], ebx
jb 0x489631
mov eax, dword [ebp - 0x8c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], esi
xor ecx, ecx
mov word [ebp - 0x8c], cx
lea esp, [ebp - 0xa8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00546bdc
mov esp, ebp
pop ebp
ret 4