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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10016ec0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x10020008]
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 + 0x14]
push str.mainkey
push str.WIN_Clear
push str.Software_s_s
mov dword [eax], 0
lea eax, [ebp - 0x40]
push eax
call fcn.100014c0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x28]
cmovae eax, dword [ebp - 0x40]
add esp, 0xc
push eax
call section..text
sub esp, 0x10
mov byte [ebp - 4], 1
mov ecx, esp
xor eax, eax
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x1001d018
mov word [ecx], ax
call fcn.10001170
lea ecx, [ebp - 0x28]
call fcn.10001320
add esp, 0x18
lea ecx, [ebp - 0x28]
push 0x1001caec
call fcn.10001650
push str.WinClear.exe
lea ecx, [ebp - 0x28]
call fcn.10001650
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10004a98
cmp dword [ebp - 0x14], 8
lea ebx, [ebp - 0x28]
cmovae ebx, dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor esi, esi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
test eax, eax
je 0x10004a2b
lea ecx, [ebp - 0x44]
push ecx
push 0x18
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x10004a2b
lea ecx, [ebp - 0x48]
push ecx
push esi
push esi
push 0x19
push eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x10004a0a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
push edi
push 0x19
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov esi, eax
test esi, esi
je 0x10004a03
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
movzx eax, byte [eax]
dec eax
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
mov esi, dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x10004a2b
cmp esi, 0x3000
je 0x10004a2b
cmp esi, 0x4000
je 0x10004a2b
xor ecx, ecx
jmp 0x10004a30
mov ecx, 1
test ecx, ecx
mov dword [ebp - 0x7c], 0
mov edx, str.runas
mov dword [ebp - 0x4c], 0
mov eax, str.open
mov dword [ebp - 0x84], 0x3c
cmove eax, edx
mov dword [ebp - 0x74], ebx
xorps xmm0, xmm0
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x84]
movlpd qword [ebp - 0x64], xmm0
push eax
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
mov dword [ebp - 0x80], 0x40
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10004ace
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004ac4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004b3b
push edx
push ecx
call fcn.10006570
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x10004b18
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004b0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004b40
push edx
push ecx
call fcn.10006570
add esp, 8
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.1000655f
mov esp, ebp
pop ebp
ret 0x10
call fcn.1000a40f
call fcn.1000a40f
int3