Function at 0x4a7300
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74027e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 0x8d], 0
call fcn.004a8750
push 0xa
push 0x7f33c8
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00460700
mov dword [ebp - 0x4c], 0
xor ecx, ecx
mov dword [ebp - 0x48], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 2
call fcn.0044bf40
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a7798
call fcn.0046efe0
mov esi, dword [eax + 8]
test esi, esi
je 0x4a73d6
lock inc dword [esi + 4]
mov esi, dword [eax + 8]
mov edi, dword [eax + 4]
mov dword [ebp - 0x98], edi
or edi, 0xffffffff
mov byte [ebp - 4], 3
test esi, esi
je 0x4a7409
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4a7409
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4a7409
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 0x98], 0
mov byte [ebp - 4], 2
je 0x4a779f
call fcn.0046efe0
mov ecx, dword [eax + 8]
mov dword [ebp - 0x98], ecx
test ecx, ecx
je 0x4a7439
lock inc dword [ecx + 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x98], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
push 1
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 5
push 0x7f33e0
push eax
mov dword [ebp - 0x34], 1
call fcn.0070d750
add esp, 0xc
mov byte [ebp - 0x43], 0
push 0x5c
push 0x7f33e4
call fcn.0070c820
add esp, 8
test eax, eax
je 0x4a74a0
push 0x5c
push 0x7f3414
call fcn.0070c820
add esp, 8
inc eax
jmp 0x4a74a5
mov eax, str.d:_svn_trunkdrvrepairtoolclientcstartup.cpp
push eax
lea ecx, [ebp - 0x44]
call fcn.00463b90
mov edi, eax
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x4a74e7
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x4a74ce
mov eax, dword [edi]
push 1
lea esi, [eax + ecx]
push 0x7f3474
push esi
call fcn.0070d750
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x4a7506
push 1
push 0x7f3474
mov byte [ebp - 0x91], 0
mov ecx, edi
push dword [ebp - 0x91]
push 1
call fcn.004639e0
mov edi, eax
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 8
jb 0x4a753d
lea eax, [ecx + 8]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x4a7524
mov eax, dword [edi]
push 8
lea esi, [eax + ecx]
push str.CheckCef
push esi
call fcn.0070d750
add esp, 0xc
mov byte [esi + 8], 0
jmp 0x4a755c
push 8
push str.CheckCef
mov byte [ebp - 0x91], 0
mov ecx, edi
push dword [ebp - 0x91]
push 8
call fcn.004639e0
mov edi, eax
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 2
jb 0x4a7593
lea eax, [ecx + 2]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x4a757a
mov eax, dword [edi]
push 2
lea esi, [eax + ecx]
push 0x7f3484
push esi
call fcn.0070d750
add esp, 0xc
mov byte [esi + 2], 0
jmp 0x4a75b2
push 2
push 0x7f3484
mov byte [ebp - 0x91], 0
mov ecx, edi
push dword [ebp - 0x91]
push 2
call fcn.004639e0
mov edi, eax
mov edx, 0x16a
lea ecx, [ebp - 0x17]
call fcn.0046eeb0
mov ecx, eax
mov dword [ebp - 0x64], 0
lea eax, [ebp - 0x17]
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp ecx, eax
je 0x4a75e6
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x74]
call fcn.00460f20
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 6
push eax
mov ecx, edi
call fcn.00463880
mov edi, eax
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 2
jb 0x4a762e
lea eax, [ecx + 2]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x4a7615
mov eax, dword [edi]
push 2
lea esi, [eax + ecx]
push 0x7f3488
push esi
call fcn.0070d750
add esp, 0xc
mov byte [esi + 2], 0
jmp 0x4a764d
push 2
push 0x7f3488
mov byte [ebp - 0x91], 0
mov ecx, edi
push dword [ebp - 0x91]
push 2
call fcn.004639e0
mov edi, eax
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0x15
jb 0x4a7684
lea eax, [ecx + 0x15]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x4a766b
mov eax, dword [edi]
push 0x15
lea esi, [eax + ecx]
push str.libcef.dll_not_exists
push esi
call fcn.0070d750
add esp, 0xc
mov byte [esi + 0x15], 0
jmp 0x4a76a3
push 0x15
push str.libcef.dll_not_exists
mov byte [ebp - 0x91], 0
mov ecx, edi
push dword [ebp - 0x91]
push 0x15
call fcn.004639e0
mov edi, eax
cmp dword [edi + 0x14], 0x10
jb 0x4a76ab
mov edi, dword [edi]
mov ecx, dword [ebp - 0x9c]
push edi
push 4
sub esp, 0xc
mov dword [ebp - 0xb0], 0x8048bc
mov eax, esp
mov dword [ebp - 0xac], 0
movq xmm0, qword [ebp - 0xb0]
movq qword [eax], xmm0
mov dword [eax + 8], 0x8048bc
call fcn.0046ec20
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x4a771d
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a7713
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a77cb
push edx
push ecx
call fcn.006f4f2f
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x4a7755
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a774b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a77d0
push edx
push ecx
call fcn.006f4f2f
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov esi, dword [ebp - 0x98]
mov byte [ebp - 4], 7
test esi, esi
je 0x4a779f
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4a779f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4a779f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x4a779f
mov byte [ebp - 0x8d], 1
lea ecx, [ebp - 0x5c]
call fcn.0044bf40
mov al, byte [ebp - 0x8d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006f4f1e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00710a9c
call fcn.00710a9c
int3