Function at 0x46a120
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4910c6
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x4b6798]
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 eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x43c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x42c], ebx
push 0x4a3ff4
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [eax + eax + 2]
mov eax, edi
call fcn.00486070
mov esi, esp
cmp esi, ebx
je 0x46a1c2
push edi
push esi
push 0xffffffffffffffff
push 0x4a3ff4
push ebx
xor ecx, ecx
push 0xfde9
mov word [esi], cx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x46a1c4
xor eax, eax
mov edi, eax
mov eax, dword [ebp - 0x438]
call fcn.0046a0a0
lea edx, [ebp - 0x424]
push edx
push 0x20019
push ebx
push str.SOFTWAREIE_Tab
push SysReAllocString
mov dword [ebp - 0x424], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x46a240
mov eax, dword [ebp - 0x424]
push str.CurrentVersion
lea ecx, [ebp - 0x444]
push ecx
lea edi, [ebp - 0x428]
lea esi, [ebp - 0x218]
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x428], 0x104
call fcn.00423960
test eax, eax
je 0x46a24d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x46a2f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x46a36f
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax*4 + 1]
cmp edi, 0x3fffffff
jle 0x46a26d
xor eax, eax
jmp 0x46a284
mov eax, edi
call fcn.00486070
mov esi, esp
lea ecx, [edi + edi]
lea eax, [ebp - 0x218]
call fcn.00422b80
push eax
push 0x4a3ff4
call fcn.0046ed00
add esp, 8
test eax, eax
jg 0x46a2f3
push 0x20019
lea eax, [ebp - 0x434]
push eax
mov eax, str.SOFTWAREGoogleChromeNativeMessagingHosts_net.ietab.ietabhelper.peruser
mov ecx, SysReAllocString
call fcn.0040f3d0
test eax, eax
jne 0x46a2dc
push ebx
lea ecx, [ebp - 0x434]
push ecx
lea edi, [ebp - 0x428]
lea esi, [ebp - 0x420]
mov dword [ebp - 0x428], 0x104
call fcn.00423960
test eax, eax
je 0x46a308
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x434]
cmp eax, ebx
je 0x46a2f3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x424]
cmp eax, ebx
je 0x46a304
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x46a36f
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea edx, [ebp - 0x420]
push edx
call esi
cmp eax, 0xffffffff
je 0x46a320
test al, 0x10
je 0x46a33a
lea esi, [ebp - 0x434]
call fcn.0040f580
lea esi, [ebp - 0x444]
call fcn.0040f580
xor al, al
jmp 0x46a36f
mov eax, dword [ebp - 0x438]
add eax, 0x3c
cmp dword [eax + 0x14], 8
jb 0x46a34b
mov eax, dword [eax]
push eax
call esi
cmp eax, 0xffffffff
je 0x46a320
test al, 0x10
jne 0x46a320
lea esi, [ebp - 0x434]
call fcn.0040f580
lea esi, [ebp - 0x444]
call fcn.0040f580
mov al, 1
lea esp, [ebp - 0x454]
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.004736db
mov esp, ebp
pop ebp
ret 4