Function at 0x40bf70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41726f
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x4241a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp + 8]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x40bfd2
push str.proc_is_Running_
call fcn.00406400
add esp, 4
jmp 0x40c2af
push str.Get_Explorer_Token_
call fcn.00406400
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
push 0x3e8
call esi
sub esp, 0x18
mov ecx, esp
push str.explorer.exe
call fcn.0040a660
lea eax, [ebp - 0x22c]
push eax
call fcn.00405a60
add esp, 0x1c
test eax, eax
je 0x40bfe5
push str.Get_Explorer_Token_Suc_
call fcn.00406400
add esp, 4
cmp dword [0x424094], 0
jne 0x40c057
push 0x100
lea eax, [ebp - 0x210]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x210]
push eax
call fcn.00405a00
add esp, 0x10
lea eax, [ebp - 0x210]
mov ecx, 0x424084
push eax
call fcn.00404440
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x228]
push 0x424084
push eax
call fcn.0040b7c0
add esp, 0xc
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40c0e2
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x214]
cmp edx, 8
jb 0x40c296
mov ecx, dword [ebp - 0x228]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c28c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40c28c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push str.Start_
call fcn.00406400
add esp, 4
cmp byte [0x42480c], 0
jne 0x40c207
cmp byte [0x424038], 0
je 0x40c207
cmp dword [ebp + 0x20], 0
je 0x40c1c0
xorps xmm0, xmm0
mov dword [ebp - 0x230], 0
movq qword [ebp - 0x238], xmm0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
sub esp, 0xc
mov byte [ebp - 4], 4
lea eax, [ebp - 0x238]
mov dword [ebp - 0x23c], esp
mov ecx, esp
push eax
call fcn.0040ba80
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x228]
mov ecx, esp
push eax
call fcn.00404380
mov byte [ebp - 4], 4
call fcn.00405c80
add esp, 0x24
test eax, eax
je 0x40c1a3
push str.RunProcessAsAdmin_Start_Success_
call fcn.00406400
add esp, 4
lea ecx, [ebp - 0x238]
call fcn.00405920
jmp 0x40c09e
push str.RunProcessAsAdmin_Start_Failed_
call fcn.00406400
add esp, 4
lea ecx, [ebp - 0x238]
call fcn.00405920
jmp 0x40c09e
sub esp, 0x18
lea eax, [ebp - 0x228]
mov ecx, esp
push eax
call fcn.00404380
push dword [ebp - 0x22c]
call fcn.00405ff0
add esp, 0x1c
test eax, eax
je 0x40c1f5
push str.RunProcessAsUser_Start_Success_
call fcn.00406400
add esp, 4
jmp 0x40c09e
push str.RunProcessAsUser_Start_Failed_
call fcn.00406400
add esp, 4
jmp 0x40c09e
xorps xmm0, xmm0
mov dword [ebp - 0x230], 0
movq qword [ebp - 0x238], xmm0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
sub esp, 0xc
mov byte [ebp - 4], 2
lea eax, [ebp - 0x238]
mov dword [ebp - 0x240], esp
mov ecx, esp
push eax
call fcn.0040ba80
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x228]
mov ecx, esp
push eax
call fcn.00404380
push dword [ebp - 0x22c]
mov byte [ebp - 4], 2
call fcn.004060f0
add esp, 0x28
lea ecx, [ebp - 0x238]
call fcn.00405920
jmp 0x40c09e
push edx
push ecx
call fcn.0040fd80
add esp, 8
xor eax, eax
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], ax
mov dword [ebp - 0x218], eax
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x40c2e9
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c2df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c0dc
push edx
push ecx
call fcn.0040fd80
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040fd3f
mov esp, ebp
pop ebp
ret