Function at 0x4345f0
Capabilities:
Check if file exists
Create process on windows
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x45d847
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x868
push ebx
push esi
push edi
push 0x473258
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString_1
push 0x473258
lea ecx, [esp + 0x14]
mov dword [esp + 0x880], 0
call sub.MFC42u.DLL_CString::CString_1
push 0x473258
lea ecx, [esp + 0x18]
mov byte [esp + 0x880], 1
call sub.MFC42u.DLL_CString::CString_1
mov bl, 2
mov byte [esp + 0x87c], bl
call sub.MFC42u.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
push str.utils360preview.exe
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00414870
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x880], 3
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0xc]
mov byte [esp + 0x87c], bl
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x884]
test eax, eax
je 0x4346b6
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x1c]
push str.__s___s
push edx
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
jmp 0x4346cd
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push str.__s_
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
call sub.MFC42u.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
push str.utils
lea edx, [esp + 0x10]
push eax
push edx
call fcn.00414870
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x880], 4
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0xc]
mov byte [esp + 0x87c], bl
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], ecx
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x34]
xor edx, edx
mov dword [esp + 0x20], eax
rep stosd dword es:[edi], eax
mov eax, dword [0x473100]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], 0x44
test eax, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x5c], 1
mov word [esp + 0x60], 5
jne 0x434849
mov eax, dword [0x473104]
test eax, eax
jne 0x4347de
lea eax, [esp + 0x74]
push 0x400
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x74]
push ecx
call edi
mov eax, dword [0x473108]
xor esi, esi
test eax, eax
jle 0x4347a4
lea edx, [esp + 0x74]
push edx
call edi
mov eax, dword [0x473108]
inc esi
cmp esi, eax
jl 0x434793
lea eax, [esp + 0x74]
push str.360Common.dll
lea ecx, [esp + 0x78]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x74]
push edx
call fcn.00401560
add esp, 4
test eax, eax
je 0x4347d5
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x473104], eax
je 0x43483c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Get360CommonInstance
push eax
call esi
mov ecx, dword [0x473104]
push str.Get360ProductHistoryManager
push ecx
mov dword [0x473100], eax
call esi
mov edx, dword [0x473104]
push str.Create360FireWareStateFunction
push edx
mov dword [0x4730fc], eax
call esi
mov dword [0x4730f8], eax
mov eax, dword [0x473104]
push str.GetFireWallState
push eax
call esi
mov ecx, dword [0x473104]
push str.Create360FireWareStateFunction2
push ecx
mov dword [0x4730f4], eax
call esi
mov dword [0x4730f0], eax
mov eax, dword [0x473100]
test eax, eax
je 0x434900
call eax
test eax, eax
je 0x434900
mov edx, dword [eax]
push eax
call dword [edx + 4]
test eax, eax
je 0x434900
test ebx, ebx
je 0x434900
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x434892
push ebx
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x434892
call fcn.00456be0
push eax
push ebx
call fcn.00456bf0
add esp, 8
jmp 0x434900
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4348fa
mov ecx, dword [esp + 0x20]
push 0x3e8
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push 0
push str.Q360FunPre
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x4348e4
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov edx, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x20]
push eax
call esi
jmp 0x434900
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x14]
mov byte [esp + 0x87c], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x87c], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x87c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x874]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x874
ret 4