Function at 0x42f7dc
Capabilities:
Copy file
Create process on windows

Disassembly:
push ebp
sub esp, 0x44
mov eax, 0x66e5a4
call fcn.0062921c
sub esp, 0x888
push ebx
push esi
mov esi, dword [ebp + 0x50]
push edi
push dword [ebp + 0x54]
push esi
push str.RunElevatedInstall:__s_with_params___s__n
call fcn.00409944
push 0x30
pop edi
push edi
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0062e010
mov eax, dword [0x79fb18]
add esp, 0x18
and dword [ebp - 0x38], 0
mov ebx, str.utinstall4823DF041B0
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push 0xc
pop edi
push eax
mov dword [ebp - 0x34], 0x435575
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], edi
call dword [sym.imp.USER32.dll_RegisterClassExW]
xor eax, eax
push eax
push dword [0x79fb18]
push eax
push 0xfffffffffffffffd
push eax
push eax
push eax
push eax
push 0x10000000
push str.utinstall
push ebx
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
jne 0x42f874
push 8
pop eax
jmp 0x42faac
push 0x3c
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.0062e010
mov eax, dword [ebp + 0x54]
add esp, 0xc
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 0x3c
mov dword [ebp - 0x6c], str.runas
push eax
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x74], 0x540
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x42fa92
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp edi, 0x4c7
je 0x42fa8b
test edi, edi
je 0x42fa8b
cmp edi, 3
je 0x42f9a6
cmp edi, 0x490
je 0x42f9a6
cmp edi, 0xa1
je 0x42f9a6
cmp edi, 0x35
je 0x42f9a6
cmp edi, 0x43
je 0x42f9a6
push 0x400
lea eax, [ebp - 0x894]
push eax
push edi
call fcn.0045d7b1
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov esi, eax
lea eax, [ebp - 0x894]
push edi
push eax
push ebx
lea eax, [ebp]
push str._elevated_:_d___message_:__S____error_code_:_d
push eax
call fcn.004607cf
add esp, 0x14
push str.runelevatedinstall
lea ecx, [ebp + 0x18]
mov dword [ebp - 4], 3
call fcn.0040a58f
push ebx
push esi
push 0x42c493
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp]
push eax
push 0x17
call fcn.004827b0
push ebx
push 1
lea ecx, [ebp + 0x18]
call fcn.0040abbf
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
push 1
lea ecx, [ebp]
call fcn.0040abbf
push 7
jmp 0x42f86e
push 0x68e6ec
xor ebx, ebx
lea eax, [ebp + 0x30]
push ebx
push eax
call fcn.0045b92c
cmp dword [ebp + 0x44], 8
mov eax, dword [ebp + 0x30]
mov dword [ebp - 4], ebx
jae 0x42f9c6
lea eax, [ebp + 0x30]
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
test eax, eax
jne 0x42fa65
push 0x400
lea eax, [ebp - 0x894]
push eax
push edi
call fcn.0045d7b1
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov esi, eax
lea eax, [ebp - 0x894]
push edi
push eax
push ebx
lea eax, [ebp + 0x18]
push str._elevated_:_d___message_:__S____error_code_:_d
push eax
call fcn.004607cf
add esp, 0x14
push str.runelevatedinstall
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.0040a58f
push ebx
push esi
push 0x42c493
lea eax, [ebp]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp + 0x18]
push eax
push 0x17
call fcn.004827b0
push ebx
push 1
lea ecx, [ebp]
call fcn.0040abbf
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
push 1
lea ecx, [ebp + 0x18]
call fcn.0040abbf
push 6
pop esi
jmp 0x42fa7c
cmp dword [ebp + 0x44], 8
mov eax, dword [ebp + 0x30]
jae 0x42fa71
lea eax, [ebp + 0x30]
push dword [ebp + 0x54]
push eax
call fcn.0042f7dc
mov esi, eax
push ebx
push 1
lea ecx, [ebp + 0x30]
call fcn.0042386b
mov eax, esi
jmp 0x42faac
push 4
jmp 0x42f86e
cmp dword [ebp - 0x40], 0
jne 0x42fadd
mov esi, dword [ebp + 0x54]
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
neg esi
sbb esi, esi
and esi, 3
lea eax, [esi + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x48]
pop ebp
ret 8
cmp esi, 0xffffffff
je 0x42fb05
cmp dword [ebp - 0x90], 0x80a8
je 0x42fb00
cmp dword [ebp - 0x90], 0x80b4
je 0x42fb08
push 0
push 0
push ebx
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
mov esi, eax
test esi, esi
jne 0x42fac0
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x42fa9b
xor edi, edi
inc edi
jmp 0x42fb08
push 9
pop edi
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, edi
jmp 0x42faac