Function at 0x451f20
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba5a2
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x5603e8]
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 + 0xc]
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xac], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x452371
cmp word [edi], bx
je 0x452371
push eax
push edi
push str.Running_elevated:__s___s.
push str.KProcessUtils::RunElevated
push 0x15a
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomisckprocessutils.cpp
push 7
call fcn.00487a00
add esp, 0x1c
call fcn.00451670
test al, al
jne 0x451fab
cmp dword [ebp + 0x18], ebx
je 0x452337
lea edx, [ebp - 0xa8]
push edx
call dword [sym.imp.ksolite.dll_class_QString___cdecl_krt::dirs::launchExePath_void_]
add esp, 4
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call dword [sym.imp.QtCore4.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_QString::toStdWString_void_]
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [ebp - 0x48]
mov esi, 8
cmp dword [ebp - 0x34], esi
jae 0x451feb
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45220a
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x1c]
xor edx, edx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.00405560
mov byte [ebp - 4], 4
cmp dword [ebp + 0x10], ebx
jne 0x452037
push 5
push str.__Rep
lea ecx, [ebp - 0x2c]
call fcn.00409380
push 0x4d1f38
lea ecx, [ebp - 0x9c]
call fcn.00405cd0
push edi
push eax
lea ecx, [ebp - 0x64]
push ecx
mov byte [ebp - 4], 5
call fcn.0040ca00
push 0x4d1f34
push eax
lea edx, [ebp - 0x80]
push edx
mov byte [ebp - 4], 6
call fcn.0040ca00
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.00409270
cmp dword [ebp - 0x6c], esi
jb 0x45208d
mov eax, dword [ebp - 0x80]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
cmp dword [ebp - 0x50], esi
jb 0x4520ae
mov edx, dword [ebp - 0x64]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x88], esi
jb 0x4520d9
mov ecx, dword [ebp - 0x9c]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0xa0]
cmp eax, ebx
je 0x452148
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4520e6
sub eax, edx
sar eax, 1
cmp eax, ebx
jbe 0x452148
push 0x4cbc88
lea ecx, [ebp - 0x64]
call fcn.00405cd0
mov edx, dword [ebp - 0xa0]
push edx
push eax
lea eax, [ebp - 0x9c]
push eax
mov byte [ebp - 4], 8
call fcn.0040ca00
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.00409270
lea ecx, [ebp - 0x9c]
call fcn.004a9f30
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.004a9f30
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x452153
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x45215e
lea eax, [ebp - 0x48]
push ecx
push eax
push str.Running_elevated_through_wpscloudsvr:__s___s.
push str.KProcessUtils::RunElevated
push 0x169
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomisckprocessutils.cpp
push 7
call fcn.00487a00
mov ecx, dword [ebp - 0x2c]
add esp, 0x1c
cmp dword [ebp - 0x18], esi
jae 0x452189
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x452194
lea eax, [ebp - 0x48]
lea edx, [ebp - 0xa4]
push edx
push ecx
push eax
call fcn.0044ff30
add esp, 0xc
cmp eax, ebx
jl 0x4521d9
movzx esi, word [ebp - 0xa4]
neg esi
sbb esi, esi
lea ecx, [ebp - 0x2c]
and esi, 0x80004005
call fcn.004a9f30
lea ecx, [ebp - 0x48]
call fcn.004a9f30
lea ecx, [ebp + 0x1c]
call fcn.004a9f30
mov eax, esi
jmp 0x4523a5
mov ecx, dword [ebp - 0xa4]
push ecx
push eax
push str.Failed_run_through_wpscloudsvr:_0x_08x__exit_code:_d
push str.KProcessUtils::RunElevated
push 0x170
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomisckprocessutils.cpp
push ebx
call fcn.00487a00
add esp, 0x1c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004a9f30
cmp dword [ebp + 0x10], ebx
jne 0x452321
call fcn.00451670
test al, al
je 0x452321
push 0x38
lea edx, [ebp - 0xe4]
push ebx
push edx
mov dword [ebp - 0xe8], 0x3c
call sub.MSVCR100.dll_memset
mov esi, dword [ebp - 0xac]
add esp, 0xc
mov dword [ebp - 0xe4], 0x500
cmp esi, ebx
je 0x45225a
mov dword [ebp - 0xe4], 0x540
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0xe8]
push ecx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xdc], str.runas
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xcc], 1
mov dword [ebp - 0xc8], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4522dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x4522b7
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push esi
push str.Failed_ShellExecuteEx:_0x_08x.
push str.KProcessUtils::RunElevated
push 0x184
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomisckprocessutils.cpp
push ebx
call fcn.00487a00
add esp, 0x18
jmp 0x4521c2
cmp esi, ebx
je 0x45230a
mov edx, dword [ebp - 0xb0]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0xb0]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0xb0]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x48]
call fcn.004a9f30
lea ecx, [ebp + 0x1c]
call fcn.004a9f30
xor eax, eax
jmp 0x4523a5
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], esi
jb 0x45233c
mov edx, dword [ebp - 0x48]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x45233c
mov esi, 8
push str.Can_not_be_elevated.
push str.KProcessUtils::RunElevated
push 0x191
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomisckprocessutils.cpp
push ebx
call fcn.00487a00
add esp, 0x14
cmp dword [ebp + 0x30], esi
jb 0x45236a
mov eax, dword [ebp + 0x1c]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 0x80070032
jmp 0x4523a5
push str.Invalid_Arg.
push str.KProcessUtils::RunElevated
push 0x156
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomisckprocessutils.cpp
push ebx
call fcn.00487a00
add esp, 0x14
cmp dword [ebp + 0x30], 8
jb 0x4523a0
mov ecx, dword [ebp + 0x1c]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 0x80070057
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.004b12f6
mov esp, ebp
pop ebp
ret