Function at 0x489a30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d895c
mov eax, dword fs:[0]
push eax
sub esp, 0x74
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
xor ebx, ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 4], ebx
lea eax, [ebx + 0x10]
call fcn.00549c70
mov dword [ebp - 0x10], esp
mov esi, esp
push 0xdead004d
push 0x41beef
lea eax, [ebp - 0x54]
push eax
call fcn.00404610
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x489a95
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00406010
mov eax, 4
call fcn.00549c70
mov dword [ebp - 0x10], esp
mov eax, esp
mov dword [ebp - 0x80], eax
cmp eax, ebx
je 0x489ad3
mov dword [eax], 0xabab0041
mov dword [ebp - 4], 0xffffffff
jmp 0x489aee
cmp eax, ebx
je 0x489af8
mov dword [eax], 0xcdcd0041
mov esi, 6
mov dword [ebp - 0x7c], esi
test byte [0x679728], 1
jne 0x489b30
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 eax, [ebp - 0x7c]
push eax
mov edi, 0x6796d8
call fcn.00418b90
test al, al
je 0x489c70
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 0x5c], 0
mov dword [ebp - 4], 4
mov dword [ebp - 0x40], ebx
mov dword [ebp - 4], 5
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 4], esi
lea edi, [ebp - 0x5c]
call fcn.004193b0
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
jne 0x489b8a
push 0xd
push str.EnterFunction
mov ecx, eax
call fcn.004044f0
jmp 0x489b98
push str.EnterFunction
push ecx
call fcn.004046b0
add esp, 8
push 0x1ff
push ebx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x3c]
call fcn.00403c90
mov esi, eax
mov ebx, 7
mov byte [ebp - 4], bl
test byte [0x679728], 1
jne 0x489bdd
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 dword [ebp - 0x7c], 0x6796dc
mov ecx, 0x6796dc
mov edx, dword [0x6796dc]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov ecx, dword [0x679724]
test ecx, ecx
je 0x489c24
cmp dword [esi + 0x14], 8
jb 0x489c0c
mov eax, dword [esi]
jmp 0x489c0e
mov eax, esi
mov edx, dword [ecx]
push 0x41
push str.UninstallManager::OnUninitDataFile
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 0x489c4e
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], 0
xor edx, edx
mov word [ebp - 0x30], dx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x5c]
push eax
call fcn.00419280
jmp 0x489c75
mov ebx, 7
push 0
lea ecx, [ebp - 0x78]
call fcn.00414b90
add esp, 4
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0
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 - 0x78]
push edx
lea ecx, [ebp - 0x30]
lea ebx, [ebp - 0x54]
call fcn.0040ec50
add esp, 4
mov byte [ebp - 4], 0xc
mov edi, eax
lea esi, [ebp - 0x78]
call fcn.00406850
mov byte [ebp - 4], 0xb
mov esi, 8
cmp dword [ebp - 0x40], esi
jb 0x489ce7
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, 7
mov dword [ebp - 0x40], edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
xor ecx, ecx
mov word [ebp - 0x54], cx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x1c], esi
jb 0x489d10
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
xor eax, eax
mov word [ebp - 0x30], ax
cmp dword [ebp - 0x68], ebx
je 0x489d41
cmp dword [ebp - 0x64], esi
mov eax, dword [ebp - 0x78]
jae 0x489d2c
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
cmp al, bl
jne 0x489e9c
mov eax, dword [ebp - 0x80]
cmp eax, ebx
je 0x489d4e
mov dword [eax], 0xcdcd0047
mov dword [ebp - 0x7c], 5
test byte [0x679728], 1
jne 0x489d7f
or dword [0x679728], 1
mov byte [ebp - 4], 0xd
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7c]
push ecx
mov edi, 0x6796d8
call fcn.00418b90
test al, al
je 0x489e78
mov eax, 0xf
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], al
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 0x10
lea edi, [ebp - 0x38]
call fcn.004193b0
mov edi, eax
mov eax, dword [edi + 0x1c]
cmp eax, ebx
jne 0x489dd5
push 0x14
push str.file_doesnt_exist.
mov ecx, edi
call fcn.004044f0
jmp 0x489de3
push str.file_doesnt_exist.
push eax
call fcn.004046b0
add esp, 8
mov eax, dword [edi + 0x1c]
cmp eax, ebx
jne 0x489dfa
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x78]
push edx
mov ecx, edi
call fcn.00406070
jmp 0x489e07
lea ecx, [ebp - 0x78]
push ecx
push eax
call fcn.004049a0
add esp, 8
push 0x1ff
push ebx
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00403c90
mov ebx, eax
mov byte [ebp - 4], 0x11
push 0x47
push str.UninstallManager::OnUninitDataFile
push str.UninstallManager.cpp
push 5
call fcn.00418640
mov ecx, eax
call fcn.00418c40
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x40], 8
jb 0x489e50
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
xor ecx, ecx
mov word [ebp - 0x54], cx
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x38]
push edx
call fcn.00419280
xor ebx, ebx
mov esi, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x64], esi
jb 0x489e91
mov eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov word [ebp - 0x78], cx
jmp 0x489fdd
call fcn.0048a010
lea edx, [ebp - 0x78]
push edx
call fcn.00408b50
add esp, 4
mov eax, dword [ebp - 0x80]
cmp eax, ebx
je 0x489eba
mov dword [eax], 0xcdcd004e
mov dword [ebp - 0x7c], 6
test byte [0x679728], 1
jne 0x489eeb
or dword [0x679728], 1
mov byte [ebp - 4], 0x12
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x7c]
push eax
mov edi, 0x6796d8
call fcn.00418b90
test al, al
je 0x489fbe
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 0x15
lea edi, [ebp - 0x38]
call fcn.004193b0
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
jne 0x489f3f
push 0xc
push 0x6131f8
mov ecx, eax
call fcn.004044f0
jmp 0x489f4d
push 0x6131f8
push ecx
call fcn.004046b0
add esp, 8
push 0x1ff
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00403c90
mov ebx, eax
mov byte [ebp - 4], 0x16
push 0x4e
push str.UninstallManager::OnUninitDataFile
push str.UninstallManager.cpp
push 6
call fcn.00418640
mov ecx, eax
call fcn.00418c40
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x40], 8
jb 0x489f96
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
xor eax, eax
mov word [ebp - 0x54], ax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x38]
push ecx
call fcn.00419280
xor ebx, ebx
mov esi, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x64], esi
jb 0x489fd7
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov word [ebp - 0x78], ax
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], 7
lea esp, [ebp - 0x90]
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