Function at 0x42e960
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452581
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x465100]
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]
push 0x206
xor ebx, ebx
lea edx, [ebp - 0x216]
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 0x270], eax
mov word [ebp - 0x218], cx
call fcn.0043f7e0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor ecx, ecx
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42e9f0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x234]
call fcn.004017a0
lea edx, [ebp - 0x274]
push edx
mov eax, esi
mov dword [ebp - 4], ebx
push eax
mov edi, 1
mov dword [ebp - 0x274], 0x5c
call fcn.00412a40
cmp eax, 0xffffffff
je 0x42ea7d
push eax
xor ecx, ecx
lea esi, [ebp - 0x26c]
lea edx, [ebp - 0x234]
call fcn.004129a0
mov edi, eax
lea esi, [ebp - 0x234]
mov byte [ebp - 4], 1
call fcn.004129d0
mov esi, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x258], esi
jb 0x42ea82
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.0043bc47
add esp, 4
jmp 0x42ea82
mov esi, 8
push 1
mov eax, 0x45812c
lea ecx, [ebp - 0x234]
call fcn.00401560
push ebx
lea eax, [ebp - 0x234]
xor edx, edx
push eax
or eax, 0xffffffff
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], dx
call fcn.00401690
push 0xa
mov eax, 0x45c01c
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call fcn.00401560
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], esi
jae 0x42eaed
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42eb89
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], esi
jae 0x42eb10
lea eax, [ebp - 0x234]
push eax
push str.dlcore_dll_not_exist__file:_s
push str.CBizInstallerMgr::GetWorkDllDir
mov ebx, str.CBizInstallerMgr::GetWorkDll
mov edi, 3
mov ecx, 0x399
mov edx, str.R:TempViewMiscSetup3BackupDownloaderNetworkBizInstallerMgr.cpp
call fcn.00408be0
add esp, 0xc
cmp dword [ebp - 0x23c], esi
jb 0x42eb4e
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.0043bc47
add esp, 4
xor edx, edx
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], dx
cmp dword [ebp - 0x220], esi
jb 0x42eb82
mov eax, dword [ebp - 0x234]
push eax
call fcn.0043bc47
add esp, 4
xor eax, eax
jmp 0x42ec55
cmp dword [ebp - 0x23c], esi
jb 0x42eba1
mov eax, dword [ebp - 0x250]
mov edx, eax
cmp eax, ebx
jne 0x42eba7
xor eax, eax
jmp 0x42ebbf
lea edx, [ebp - 0x250]
mov eax, edx
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42ebb0
sub eax, edi
sar eax, 1
mov ecx, dword [ebp - 0x270]
push edx
push ecx
mov ebx, eax
call fcn.004088e0
lea edx, [ebp - 0x270]
push edx
push 0x39e
push str.R:TempViewMiscSetup3BackupDownloaderNetworkBizInstallerMgr.cpp
mov edx, 0x457798
mov ebx, str.CBizInstallerMgr::GetWorkDll
mov edi, 3
mov ecx, str.CBizInstallerMgr::GetWorkDllDir
mov dword [ebp - 0x270], str.check_dlcore_ok_
call fcn.00407520
add esp, 0xc
cmp dword [ebp - 0x23c], esi
jb 0x42ec1c
mov eax, dword [ebp - 0x250]
push eax
call fcn.0043bc47
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], cx
cmp dword [ebp - 0x220], esi
jb 0x42ec50
mov edx, dword [ebp - 0x234]
push edx
call fcn.0043bc47
add esp, 4
mov eax, 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.0043b634
mov esp, ebp
pop ebp
ret 4