Function at 0x4e1960
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589213
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5ca104]
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 edx, str.DLLRepairOfficialData
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
call fcn.004527f0
mov dword [ebp - 4], 0
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
cmp word [edx], ax
jne 0x4e19c5
xor ecx, ecx
jmp 0x4e19df
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e19d0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.0041d590
push 0x5aa60c
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004e16a0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x4e1a0b
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x18]
call fcn.00404e80
mov eax, dword [ebp - 0x58]
cmp eax, 8
jb 0x4e1a29
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.0041fd20
xor eax, eax
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x6c], ax
mov eax, dword [ebp - 0x28]
cmp eax, 8
jb 0x4e1a52
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.0041fd20
xor eax, eax
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
mov byte [ebp - 4], 6
or edi, 0xffffffff
mov ecx, dword [ebp - 0x20]
mov eax, edi
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jg 0x4e1ab0
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4e1aac
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4e1aac
push 0
push dword [edx + 4]
call ebx
jmp 0x4e1ab0
mov ecx, edx
call esi
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4e1adc
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
push eax
call fcn.00405650
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.004e1770
mov edx, str.DLLRepairOfficialData
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
call fcn.004527f0
mov byte [ebp - 4], 7
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
cmp word [edx], ax
jne 0x4e1b13
xor ecx, ecx
jmp 0x4e1b2f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e1b20
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.0041d590
push str.webviewcefCefView.exe
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004e16a0
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
jb 0x4e1b5e
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x14]
call fcn.00404e80
mov eax, dword [ebp - 0x70]
cmp eax, 8
jb 0x4e1b82
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.0041fd20
xor eax, eax
mov dword [ebp - 0x70], 7
mov dword [ebp - 0x74], 0
mov word [ebp - 0x84], ax
mov eax, dword [ebp - 0x40]
cmp eax, 8
jb 0x4e1bae
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0041fd20
xor eax, eax
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
mov byte [ebp - 4], 0xd
mov eax, edi
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4e1c03
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4e1bff
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4e1bff
push 0
push dword [edx + 4]
call ebx
jmp 0x4e1c03
mov ecx, edx
call esi
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4e1c2f
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x24], esi
call fcn.00405650
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.004e1770
mov byte [ebp - 4], 6
mov eax, edi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4e1c70
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4e1c6c
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4e1c6c
push 0
push dword [edx + 4]
call ebx
jmp 0x4e1c70
mov ecx, edx
call esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], edi
dec edi
test edi, edi
jg 0x4e1cb2
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4e1cae
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4e1cae
push 0
push dword [edx + 4]
call ebx
jmp 0x4e1cb2
mov ecx, edx
call esi
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.0051fefc
mov esp, ebp
pop ebp
ret