Function at 0x457650
Capabilities:
Check if file exists
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62b621
mov eax, dword fs:[0]
push eax
sub esp, 0x538
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x534], 0
xor eax, eax
mov word [ebp - 0x224], ax
push 0x206
push 0
lea ecx, [ebp - 0x222]
push ecx
call fcn.005b4de0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x44c], dx
push 0x206
push 0
lea eax, [ebp - 0x44a]
push eax
call fcn.005b4de0
add esp, 0xc
mov dword [ebp - 0x14], 0x6476e8
push 0
lea ecx, [ebp - 0x224]
push ecx
push 0x6476fc
call fcn.00456980
add esp, 0xc
movzx edx, al
test edx, edx
je 0x457788
lea eax, [ebp - 0x224]
push eax
call fcn.005b50b1
add esp, 4
test eax, eax
jbe 0x457788
push 0x5c
lea ecx, [ebp - 0x224]
push ecx
call fcn.0040e2a0
add esp, 8
xor edx, edx
mov word [eax], dx
push 0x5c
lea eax, [ebp - 0x224]
push eax
call fcn.0040e2a0
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0x224]
push edx
push 0x647710
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x44c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x457788
lea edx, [ebp - 0x44c]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x534]
or eax, 1
mov dword [ebp - 0x534], eax
mov eax, dword [ebp + 8]
jmp 0x457d27
lea ecx, [ebp - 0x224]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 9
push reloc.WS2_32.dll_accept
call fcn.00456f70
add esp, 0x10
movzx eax, al
test eax, eax
jne 0x45780b
lea ecx, [ebp - 0x224]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 9
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00456f70
add esp, 0x10
movzx eax, al
test eax, eax
jne 0x45780b
lea ecx, [ebp - 0x224]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0x109
push reloc.WS2_32.dll_accept
call fcn.00456f70
add esp, 0x10
movzx eax, al
test eax, eax
jne 0x45780b
lea ecx, [ebp - 0x224]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0x109
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00456f70
add esp, 0x10
lea eax, [ebp - 0x224]
push eax
call fcn.005b50b1
add esp, 4
test eax, eax
jbe 0x45788e
push 0x5c
lea ecx, [ebp - 0x224]
push ecx
call fcn.0040e2a0
add esp, 8
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x224]
push eax
push str._sUser_DataDefaultHistory
lea ecx, [ebp - 0x44c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0x44c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45788e
lea eax, [ebp - 0x44c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x534]
or ecx, 1
mov dword [ebp - 0x534], ecx
mov eax, dword [ebp + 8]
jmp 0x457d27
push 0
push 0x1c
lea edx, [ebp - 0x224]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.360ChromeChromeUser_DataDefaultHistory
lea eax, [ebp - 0x44c]
push eax
call fcn.005b4d90
add esp, 8
lea ecx, [ebp - 0x44c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4578f3
lea edx, [ebp - 0x44c]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x534]
or eax, 1
mov dword [ebp - 0x534], eax
mov eax, dword [ebp + 8]
jmp 0x457d27
mov dword [ebp - 0x450], 0x104
push 0x6477e0
lea ecx, [ebp - 0x240]
call fcn.0040e4b0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x450]
push ecx
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x10]
push eax
push 0x647814
push str.360ChromeURL_shellopencommand
push connect
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x457afd
lea ecx, [ebp - 0x224]
push ecx
call fcn.005b50b1
add esp, 4
cmp eax, 5
jb 0x457afd
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x46c]
call fcn.0040e4b0
mov byte [ebp - 4], 2
push 0
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x46c]
call fcn.00441110
cmp dword [0x63f3a0], eax
je 0x457aee
push 0
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x46c]
call fcn.00441110
push eax
push 0
lea edx, [ebp - 0x4a4]
push edx
lea ecx, [ebp - 0x46c]
call fcn.0041c700
mov dword [ebp - 0x538], eax
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x53c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x53c]
push ecx
lea ecx, [ebp - 0x46c]
call fcn.0040e550
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4a4]
call fcn.0040e530
push 0x647858
lea ecx, [ebp - 0x4c0]
call fcn.0040e4b0
mov byte [ebp - 4], 4
push 0x64785c
lea ecx, [ebp - 0x4dc]
call fcn.0040e4b0
mov byte [ebp - 4], 5
push 1
lea edx, [ebp - 0x4c0]
push edx
lea eax, [ebp - 0x4dc]
push eax
lea ecx, [ebp - 0x46c]
push ecx
call fcn.0043b560
add esp, 0x10
push eax
lea ecx, [ebp - 0x46c]
call fcn.0040e550
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4dc]
call fcn.0040e530
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c0]
call fcn.0040e530
lea ecx, [ebp - 0x46c]
call fcn.0040e5d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x457aee
lea ecx, [ebp - 0x46c]
call fcn.0040e5d0
push eax
push 0x647860
lea edx, [ebp - 0x44c]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x457aee
lea ecx, [ebp - 0x44c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov edx, dword [ebp - 0x534]
or edx, 1
mov dword [ebp - 0x534], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x46c]
call fcn.0040e530
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.0040e530
mov eax, dword [ebp + 8]
jmp 0x457d27
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x46c]
call fcn.0040e530
push 0x104
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.005b4de0
add esp, 0xc
lea ecx, [ebp - 0x450]
push ecx
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x10]
push eax
push 0x647898
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360chrome.exe
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x457cf9
lea ecx, [ebp - 0x224]
push ecx
call fcn.005b50b1
add esp, 4
cmp eax, 5
jb 0x457cf9
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x488]
call fcn.0040e4b0
mov byte [ebp - 4], 6
push 0
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x488]
call fcn.00441110
cmp dword [0x63f3a0], eax
je 0x457cea
push 0
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x488]
call fcn.00441110
push eax
push 0
lea edx, [ebp - 0x4f8]
push edx
lea ecx, [ebp - 0x488]
call fcn.0041c700
mov dword [ebp - 0x540], eax
mov eax, dword [ebp - 0x540]
mov dword [ebp - 0x544], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x544]
push ecx
lea ecx, [ebp - 0x488]
call fcn.0040e550
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4f8]
call fcn.0040e530
push 0x647924
lea ecx, [ebp - 0x514]
call fcn.0040e4b0
mov byte [ebp - 4], 8
push 0x647928
lea ecx, [ebp - 0x530]
call fcn.0040e4b0
mov byte [ebp - 4], 9
push 1
lea edx, [ebp - 0x514]
push edx
lea eax, [ebp - 0x530]
push eax
lea ecx, [ebp - 0x488]
push ecx
call fcn.0043b560
add esp, 0x10
push eax
lea ecx, [ebp - 0x488]
call fcn.0040e550
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x530]
call fcn.0040e530
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x514]
call fcn.0040e530
lea ecx, [ebp - 0x488]
call fcn.0040e5d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x457cea
lea ecx, [ebp - 0x488]
call fcn.0040e5d0
push eax
push 0x64792c
lea edx, [ebp - 0x44c]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x457cea
lea ecx, [ebp - 0x44c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov edx, dword [ebp - 0x534]
or edx, 1
mov dword [ebp - 0x534], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x488]
call fcn.0040e530
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.0040e530
mov eax, dword [ebp + 8]
jmp 0x457d27
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x488]
call fcn.0040e530
push 0x647964
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov eax, dword [ebp - 0x534]
or eax, 1
mov dword [ebp - 0x534], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.0040e530
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret