Function at 0x4a31f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [0x53ac84]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x22c], str.chrome.dll
push 0
mov dword [ebp - 0x290], esi
mov dword [ebp - 0x228], str.chrome_child.dll
mov dword [ebp - 0x224], str.natives_blob.bin
mov dword [ebp - 0x220], str.icudtl.dat
mov dword [ebp - 0x21c], str.chrome_100_percent.pak
mov dword [ebp - 0x218], str.resources.pak
mov dword [ebp - 0x214], 0
call fcn.004a3070
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edi, [ebp - 0x22c]
mov ecx, eax
mov dword [ebp - 0x294], ecx
nop
test ecx, ecx
je 0x4a32a8
mov esi, dword [edi]
push str.chrome_child.dll
push esi
call fcn.004c7d74
add esp, 8
test eax, eax
je 0x4a344c
push str.natives_blob.bin
push esi
call fcn.004c7d74
mov esi, dword [ebp - 0x290]
add esp, 8
test eax, eax
je 0x4a3452
lea eax, [ebp - 0x25c]
mov ecx, esi
push eax
call fcn.004a2b60
cmp dword [ebp - 0x24c], 0
jne 0x4a32e7
xor eax, eax
mov dword [ebp - 0x234], 0
push eax
mov dword [ebp - 0x230], 7
mov word [ebp - 0x244], ax
push 0x50f7a0
jmp 0x4a339b
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004c49e0
add esp, 0xc
lea eax, [ebp - 0x25c]
cmp dword [ebp - 0x248], 8
jb 0x4a3312
mov eax, dword [ebp - 0x25c]
push eax
lea eax, [ebp - 0x210]
push eax
call ebx
push str.....
lea eax, [ebp - 0x210]
push eax
call ebx
cmp dword [esi + 0x2c], 0
je 0x4a3353
push 0x4fc8cc
lea eax, [ebp - 0x210]
push eax
call ebx
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x4a3349
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x210]
push eax
call ebx
push dword [edi]
lea eax, [ebp - 0x210]
push eax
call ebx
xor eax, eax
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x230], 7
mov word [ebp - 0x244], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a3384
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x244]
call fcn.00407020
mov edx, dword [ebp - 0x248]
cmp edx, 8
jb 0x4a33e6
mov ecx, dword [ebp - 0x25c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a33dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a35bd
push edx
push ecx
call fcn.004c1d47
add esp, 8
cmp dword [ebp - 0x230], 8
lea eax, [ebp - 0x244]
jb 0x4a33fb
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x230]
test eax, eax
je 0x4a3574
cmp edx, 8
jb 0x4a3452
mov ecx, dword [ebp - 0x244]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a3440
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a35c2
push edx
push ecx
call fcn.004c1d47
add esp, 8
jmp 0x4a3452
mov esi, dword [ebp - 0x290]
add edi, 4
cmp dword [edi], 0
je 0x4a3465
mov ecx, dword [ebp - 0x294]
jmp 0x4a3270
lea eax, [ebp - 0x28c]
mov ecx, esi
push eax
call fcn.004a1e00
lea eax, [ebp - 0x274]
mov ecx, esi
push eax
call fcn.004a1c60
cmp dword [ebp - 0x278], 8
lea eax, [ebp - 0x28c]
jb 0x4a3496
mov eax, dword [ebp - 0x28c]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
test eax, eax
jne 0x4a34c3
cmp dword [ebp - 0x260], 8
lea eax, [ebp - 0x274]
jb 0x4a34b8
mov eax, dword [ebp - 0x274]
push eax
call ebx
test eax, eax
jne 0x4a34c3
xor esi, esi
jmp 0x4a34c8
mov esi, 1
mov edx, dword [ebp - 0x260]
cmp edx, 8
jb 0x4a3508
mov ecx, dword [ebp - 0x274]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a34fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a35bd
push edx
push ecx
call fcn.004c1d47
add esp, 8
mov edx, dword [ebp - 0x278]
xor eax, eax
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 7
mov word [ebp - 0x274], ax
cmp edx, 8
jb 0x4a3561
mov ecx, dword [ebp - 0x28c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a3557
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a35bd
push edx
push ecx
call fcn.004c1d47
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
cmp edx, 8
jb 0x4a35aa
mov ecx, dword [ebp - 0x244]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a35a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a35c2
push edx
push ecx
call fcn.004c1d47
add esp, 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
call fcn.004c7ca1
call fcn.004c7ca1
int3