Function at 0x4a3190
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.004a3010
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 0x4a3248
mov esi, dword [edi]
push str.chrome_child.dll
push esi
call fcn.004c7e54
add esp, 8
test eax, eax
je 0x4a33ec
push str.natives_blob.bin
push esi
call fcn.004c7e54
mov esi, dword [ebp - 0x290]
add esp, 8
test eax, eax
je 0x4a33f2
lea eax, [ebp - 0x25c]
mov ecx, esi
push eax
call fcn.004a2b00
cmp dword [ebp - 0x24c], 0
jne 0x4a3287
xor eax, eax
mov dword [ebp - 0x234], 0
push eax
mov dword [ebp - 0x230], 7
mov word [ebp - 0x244], ax
push 0x50f730
jmp 0x4a333b
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004c4ac0
add esp, 0xc
lea eax, [ebp - 0x25c]
cmp dword [ebp - 0x248], 8
jb 0x4a32b2
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 0x4a32f3
push 0x4fc8ac
lea eax, [ebp - 0x210]
push eax
call ebx
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x4a32e9
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 0x4a3324
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 0x4a3386
mov ecx, dword [ebp - 0x25c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a337c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a355d
push edx
push ecx
call fcn.004c1e27
add esp, 8
cmp dword [ebp - 0x230], 8
lea eax, [ebp - 0x244]
jb 0x4a339b
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x230]
test eax, eax
je 0x4a3514
cmp edx, 8
jb 0x4a33f2
mov ecx, dword [ebp - 0x244]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a33e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a3562
push edx
push ecx
call fcn.004c1e27
add esp, 8
jmp 0x4a33f2
mov esi, dword [ebp - 0x290]
add edi, 4
cmp dword [edi], 0
je 0x4a3405
mov ecx, dword [ebp - 0x294]
jmp 0x4a3210
lea eax, [ebp - 0x28c]
mov ecx, esi
push eax
call fcn.004a1da0
lea eax, [ebp - 0x274]
mov ecx, esi
push eax
call fcn.004a1c00
cmp dword [ebp - 0x278], 8
lea eax, [ebp - 0x28c]
jb 0x4a3436
mov eax, dword [ebp - 0x28c]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
test eax, eax
jne 0x4a3463
cmp dword [ebp - 0x260], 8
lea eax, [ebp - 0x274]
jb 0x4a3458
mov eax, dword [ebp - 0x274]
push eax
call ebx
test eax, eax
jne 0x4a3463
xor esi, esi
jmp 0x4a3468
mov esi, 1
mov edx, dword [ebp - 0x260]
cmp edx, 8
jb 0x4a34a8
mov ecx, dword [ebp - 0x274]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a349e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a355d
push edx
push ecx
call fcn.004c1e27
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 0x4a3501
mov ecx, dword [ebp - 0x28c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a34f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a355d
push edx
push ecx
call fcn.004c1e27
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c20c9
mov esp, ebp
pop ebp
ret
cmp edx, 8
jb 0x4a354a
mov ecx, dword [ebp - 0x244]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a3540
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a3562
push edx
push ecx
call fcn.004c1e27
add esp, 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c20c9
mov esp, ebp
pop ebp
ret
call fcn.004c7d81
call fcn.004c7d81
int3