Function at 0x41d590
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x437b1c
mov eax, dword fs:[0]
push eax
sub esp, 0xa64
mov eax, dword [0x4463d0]
xor eax, esp
mov dword [esp + 0xa60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4463d0]
xor eax, esp
push eax
lea eax, [esp + 0xa78]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
xor ebp, ebp
cmp esi, edi
je 0x41d7b3
push 0x206
lea eax, [esp + 0x72]
push edi
push eax
mov word [esp + 0x78], di
call fcn.00423fa0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x70]
push esi
push ecx
call fcn.00420441
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0xc
mov word [esp + 0x272], di
mov dword [esp + 0x18], str.Microsoft.VC80.CRT.manifest
mov dword [esp + 0x1c], str.msvcm80.dll
mov dword [esp + 0x20], str.msvcp80.dll
mov dword [esp + 0x24], str.msvcr80.dll
mov dword [esp + 0x28], str.zlib.dll
mov dword [esp + 0x14], 1
xor esi, esi
lea ebx, [ebx]
lea edx, [esp + 0x6c]
push edx
call ebx
mov eax, dword [esp + esi*4 + 0x18]
push eax
lea ecx, [esp + 0x70]
push ecx
call ebp
lea edx, [esp + 0x6c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d68e
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x41d68e
add esi, 1
cmp esi, 5
jb 0x41d650
jmp 0x41d7af
lea ecx, [esp + 0x6c]
push ecx
push str._Uninstall___CanLoadDataReportDll__szDependentFilePath___s_INVALID_r_n
push 0x400
lea edx, [esp + 0x280]
push 0x200
push edx
call fcn.0041f497
add esp, 0x14
lea ecx, [esp + 0x50]
call fcn.004105a0
mov dword [esp + 0xa80], edi
mov ebx, 7
lea eax, [esp + 0x274]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41d6e0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x278]
push eax
lea esi, [esp + 0x20]
call fcn.00409d70
mov ecx, esi
push edi
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x58]
mov byte [esp + 0xa88], 1
call fcn.00409c00
mov ebp, 8
cmp dword [esp + 0x30], ebp
jb 0x41d731
mov edx, dword [esp + 0x1c]
push edx
call fcn.0041f4b6
add esp, 4
cmp dword [esp + 0x68], ebp
mov edx, dword [esp + 0x54]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
jae 0x41d74c
lea edx, [esp + 0x54]
mov esi, dword [0x449a68]
cmp esi, edi
je 0x41d784
mov eax, edx
lea ebx, [eax + 2]
jmp 0x41d760
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41d760
sub eax, ebx
sar eax, 1
push esi
add eax, eax
push eax
push 1
push edx
call fcn.0041fe54
mov esi, dword [0x449a68]
add esp, 0x10
push esi
call fcn.004203e5
add esp, 4
mov dword [esp + 0xa80], 0xffffffff
cmp dword [esp + 0x68], ebp
jb 0x41d7ab
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0041f4b6
add esp, 4
mov dword [esp + 0x14], edi
mov ebp, dword [esp + 0x14]
push ebp
push str._Uninstall___CanLoadDataReportDll__bCanLoad___ld_r_n
push 0x400
lea edx, [esp + 0x680]
push 0x200
push edx
call fcn.0041f497
add esp, 0x14
lea ecx, [esp + 0x34]
call fcn.004105a0
mov dword [esp + 0xa80], 2
mov ebx, 7
lea eax, [esp + 0x674]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41d803
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x678]
push eax
lea esi, [esp + 0x20]
call fcn.00409d70
mov ecx, esi
push edi
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x3c]
mov byte [esp + 0xa88], 3
call fcn.00409c00
mov esi, 8
cmp dword [esp + 0x30], esi
jb 0x41d854
mov edx, dword [esp + 0x1c]
push edx
call fcn.0041f4b6
add esp, 4
cmp dword [esp + 0x4c], esi
mov edx, dword [esp + 0x38]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
jae 0x41d86f
lea edx, [esp + 0x38]
mov ebx, dword [0x449a68]
cmp ebx, edi
je 0x41d8a9
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41d880
sub eax, esi
sar eax, 1
push ebx
add eax, eax
push eax
push 1
push edx
call fcn.0041fe54
mov ebx, dword [0x449a68]
add esp, 0x10
mov esi, 8
push ebx
call fcn.004203e5
add esp, 4
cmp dword [esp + 0x4c], esi
jb 0x41d8c5
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0041f4b6
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0xa78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa60]
xor ecx, esp
call fcn.0041f488
add esp, 0xa70
ret