Function at 0x4dcc80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583953
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5c4104]
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.00455460
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 0x4dcce5
xor ecx, ecx
jmp 0x4dccff
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4dccf0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.0041c830
push 0x5a472c
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004dc9c0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x4dcd2b
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x18]
call fcn.00404e80
mov eax, dword [ebp - 0x58]
cmp eax, 8
jb 0x4dcd49
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.0041ecb0
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 0x4dcd72
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.0041ecb0
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 0x4dcdd0
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4dcdcc
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4dcdcc
push 0
push dword [edx + 4]
call ebx
jmp 0x4dcdd0
mov ecx, edx
call esi
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4dcdfc
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.004dca90
mov edx, str.DLLRepairOfficialData
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
call fcn.00455460
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 0x4dce33
xor ecx, ecx
jmp 0x4dce4f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4dce40
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.0041c830
push str.webviewcefCefView.exe
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004dc9c0
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
jb 0x4dce7e
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x14]
call fcn.00404e80
mov eax, dword [ebp - 0x70]
cmp eax, 8
jb 0x4dcea2
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.0041ecb0
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 0x4dcece
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0041ecb0
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 0x4dcf23
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4dcf1f
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4dcf1f
push 0
push dword [edx + 4]
call ebx
jmp 0x4dcf23
mov ecx, edx
call esi
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4dcf4f
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.004dca90
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 0x4dcf90
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4dcf8c
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4dcf8c
push 0
push dword [edx + 4]
call ebx
jmp 0x4dcf90
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 0x4dcfd2
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4dcfce
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4dcfce
push 0
push dword [edx + 4]
call ebx
jmp 0x4dcfd2
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.0051b15a
mov esp, ebp
pop ebp
ret