Function at 0x44d050
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4611c6
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x47ea94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c8], ecx
push 0
push 0
push 0
push 0
push 0
push 0x46a400
lea ecx, [ebp - 0x2cc]
call fcn.00407b80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00405dc0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x2c8]
call fcn.0044c190
lea ecx, [ebp - 0x230]
push ecx
lea ecx, [ebp - 0x278]
call fcn.00405de0
mov byte [ebp - 4], 2
push str.session.restore_on_startup4
lea ecx, [ebp - 0x2c0]
call fcn.00405d80
mov byte [ebp - 4], 3
push str.session.startup_urls__
lea ecx, [ebp - 0x2a8]
call fcn.00405d80
mov byte [ebp - 4], 4
push 0x46a11c
lea ecx, [ebp - 0x290]
call fcn.00405d80
mov byte [ebp - 4], 5
lea edx, [ebp - 0x2a8]
push edx
lea ecx, [ebp - 0x230]
call fcn.004261e0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x230]
call fcn.004261e0
lea ecx, [ebp - 0x290]
push ecx
lea ecx, [ebp - 0x230]
call fcn.004261e0
lea edx, [ebp - 0x2c0]
push edx
lea ecx, [ebp - 0x278]
call fcn.004261e0
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2e0], 0x47e9d0
mov dword [ebp - 0x314], 0x672
mov dword [ebp - 0x310], 0x20
mov dword [ebp - 0x30c], 0
mov dword [ebp - 0x2fc], 0x40
mov dword [ebp - 0x2f8], 0x70
mov dword [ebp - 0x2dc], 0x40
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 0
push 0x469c06
lea ecx, [ebp - 0x260]
call fcn.00405d80
mov byte [ebp - 4], 6
push 0x469c07
lea ecx, [ebp - 0x248]
call fcn.00405d80
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2d4]
push eax
mov ecx, dword [ebp - 0x2d8]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00405f70
push eax
lea ecx, [ebp - 0x230]
call fcn.00405c00
push eax
mov edx, dword [ebp - 0x2dc]
push edx
mov eax, dword [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x314]
push ecx
call fcn.00445670
add esp, 0x1c
mov dword [ebp - 0x2d0], eax
lea edx, [ebp - 0x260]
push edx
push 0x20
mov eax, dword [ebp - 0x2d0]
push eax
call fcn.00449da0
add esp, 0xc
lea ecx, [ebp - 0x2d4]
push ecx
mov edx, dword [ebp - 0x2d8]
push edx
lea ecx, [ebp - 0x278]
call fcn.00405f70
push eax
lea ecx, [ebp - 0x278]
call fcn.00405c00
push eax
mov eax, dword [ebp - 0x2dc]
push eax
mov ecx, dword [ebp - 0x2e0]
push ecx
lea edx, [ebp - 0x314]
push edx
call fcn.00445670
add esp, 0x1c
mov dword [ebp - 0x2e4], eax
lea eax, [ebp - 0x248]
push eax
push 0x20
mov ecx, dword [ebp - 0x2e4]
push ecx
call fcn.00449da0
add esp, 0xc
push 0x208
push 0
lea edx, [ebp - 0x218]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0
push 0x1c
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x2c4], eax
cmp dword [ebp - 0x2c4], 0
jne 0x44d3c3
push 4
call fcn.00408fa0
mov ecx, eax
call fcn.0040a870
test eax, eax
je 0x44d32a
push 0x46a448
push str._s_SHGetSpecialFolderPathW_CSIDL_LOCAL_APPDATA__fail
push 0x46a510
push 0x7e
push 0x46a558
push 0
push 4
push 0
call fcn.00408fa0
push eax
call fcn.0040a910
add esp, 0x24
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x7f
mov dword [ebp - 0x2e8], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x248]
call fcn.00405c70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x260]
call fcn.00405c70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x290]
call fcn.00405c70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2a8]
call fcn.00405c70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c0]
call fcn.00405c70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
call fcn.00405c70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00405c70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2cc]
call fcn.00407aa0
mov eax, dword [ebp - 0x2e8]
jmp 0x44d7a3
push str.MicrosoftEdgeUser_DataDefaultPreferences
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44d4c9
push 4
call fcn.00408fa0
mov ecx, eax
call fcn.0040a870
test eax, eax
je 0x44d430
lea ecx, [ebp - 0x218]
push ecx
push 0x46a6e8
push str._s_no_found_file__s
push 0x46a730
push 0x85
push 0x46a778
push 0
push 4
push 0
call fcn.00408fa0
push eax
call fcn.0040a910
add esp, 0x28
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x86
mov dword [ebp - 0x2ec], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x248]
call fcn.00405c70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x260]
call fcn.00405c70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x290]
call fcn.00405c70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2a8]
call fcn.00405c70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c0]
call fcn.00405c70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
call fcn.00405c70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00405c70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2cc]
call fcn.00407aa0
mov eax, dword [ebp - 0x2ec]
jmp 0x44d7a3
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x46a84c
push 0x46a274
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x2c8]
call fcn.0044c880
mov dword [ebp - 0x2c4], eax
cmp dword [ebp - 0x2c4], 0
jne 0x44d6c9
lea ecx, [ebp - 0x260]
push ecx
lea edx, [ebp - 0x248]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x46a85c
push 0x46a3ec
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x2c8]
call fcn.0044c880
mov dword [ebp - 0x2c4], eax
cmp dword [ebp - 0x2c4], 0
jne 0x44d6c9
push 4
call fcn.00408fa0
mov ecx, eax
call fcn.0040a870
test eax, eax
je 0x44d591
lea edx, [ebp - 0x218]
push edx
push 0x46a8b8
push str._s_SetSettingByJson_ret_false__s
push 0x46a950
push 0x8f
push 0x46a998
push 0
push 4
push 0
call fcn.00408fa0
push eax
call fcn.0040a910
add esp, 0x28
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.Secure_Preferences
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x260]
push edx
lea eax, [ebp - 0x248]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.startup_urls
push str.restore_on_startup
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [ebp - 0x2c8]
call fcn.0044c880
mov dword [ebp - 0x2c4], eax
cmp dword [ebp - 0x2c4], 0
jne 0x44d6c9
push 4
call fcn.00408fa0
mov ecx, eax
call fcn.0040a870
test eax, eax
je 0x44d630
push 0x46aad0
push str._s_SetSettingByJson_ret_false
push 0x46ab18
push 0x95
push 0x46ab60
push 0
push 4
push 0
call fcn.00408fa0
push eax
call fcn.0040a910
add esp, 0x24
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x96
mov dword [ebp - 0x2f0], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x248]
call fcn.00405c70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x260]
call fcn.00405c70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x290]
call fcn.00405c70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2a8]
call fcn.00405c70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c0]
call fcn.00405c70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
call fcn.00405c70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00405c70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2cc]
call fcn.00407aa0
mov eax, dword [ebp - 0x2f0]
jmp 0x44d7a3
push 4
call fcn.00408fa0
mov ecx, eax
call fcn.0040a870
test eax, eax
je 0x44d70f
lea ecx, [ebp - 0x218]
push ecx
push 0x46ac48
push str._s_SetSettingByJson_ret_success__s
push str.CalcuteMachineID::SetEdgeChromeUrl
push 0x9c
push str.e:qci_workspace_root_workspaces__qci_pipeline_603700_2_ftsafeappqqpcrepairqqrepairlockchromeurl.cpp
push 0
push 4
push 0
call fcn.00408fa0
push eax
call fcn.0040a910
add esp, 0x28
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x9d
mov dword [ebp - 0x2f4], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x248]
call fcn.00405c70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x260]
call fcn.00405c70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x290]
call fcn.00405c70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2a8]
call fcn.00405c70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c0]
call fcn.00405c70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
call fcn.00405c70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00405c70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2cc]
call fcn.00407aa0
mov eax, dword [ebp - 0x2f4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045be1b
mov esp, ebp
pop ebp
ret 8