Function at 0x426295
Capabilities:
Create process on windows
Set environment variable
Terminate process

Disassembly:
push 0x2b4
mov eax, 0x4a690f
call fcn.0049322c
mov eax, dword [ebp + 0x14]
mov ebx, ecx
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], ebx
xor esi, esi
push 0x40
lea eax, [ebp - 0x2bc]
push esi
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x2c0], esi
call fcn.0048ea70
xor eax, eax
mov dword [ebp - 0x274], esi
lea edi, [ebp - 0x270]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
cmp ebx, esi
jne 0x4262f7
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], eax
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x21c], esp
mov ecx, esp
push eax
call fcn.00421e00
lea eax, [ebp - 0x21c]
push eax
call fcn.00455ae0
mov eax, dword [eax]
push 0x4b4200
push eax
call fcn.0048ef19
mov ecx, dword [ebp - 0x21c]
add esp, 0x10
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.0042001a
test bl, bl
je 0x426389
call fcn.00480035
push eax
lea ecx, [ebp - 0x21c]
call fcn.00420985
push ecx
lea edi, [ebp + 8]
mov eax, edi
mov dword [ebp - 0x264], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 3
lea esi, [ebp - 0x21c]
lea ebx, [ebp + 0x10]
call fcn.00421e00
mov ecx, esi
call fcn.00471e10
pop ecx
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.0042001a
xor esi, esi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c0], 0x44
mov ecx, 0x4b4208
cmp dword [eax - 0xc], esi
jne 0x4263a5
mov ecx, 0x4b263c
push eax
push ecx
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x4b420c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x2c0]
push eax
push dword [ebp - 0x224]
lea eax, [ebp - 0x218]
push esi
push esi
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x426418
mov esi, dword [ebp - 0x26c]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0042001a
mov eax, esi
jmp 0x426596
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebx, dword [ebp - 0x220]
mov dword [ebx], eax
cmp eax, 0xc1
jne 0x4264a4
push 0x38
lea eax, [ebp - 0x25c]
push esi
push eax
call fcn.0048ea70
mov eax, dword [ebp + 8]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24c], eax
add esp, 0xc
xor edi, edi
lea eax, [ebp - 0x260]
inc edi
push eax
mov dword [ebp - 0x254], str.open
mov dword [ebp - 0x260], 0x3c
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x244], edi
mov dword [ebp - 0x240], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4263f0
mov esi, edi
jmp 0x4263f0
cmp eax, 0x2e4
je 0x4264bb
cmp eax, 0x4c7
je 0x4264bb
call edi
mov dword [ebx], eax
jmp 0x4263f0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, eax
call fcn.004549e0
test eax, eax
je 0x4264dc
push str.RunAsAdmin
push str.__COMPAT_LAYER
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x38
lea eax, [ebp - 0x25c]
push esi
push eax
call fcn.0048ea70
add esp, 0xc
push dword [ebp + 8]
mov dword [ebp - 0x254], str.runas
mov dword [ebp - 0x260], 0x3c
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x258], esi
call fcn.0048f20a
pop ecx
push dword [ebp + 0x10]
mov dword [ebp - 0x250], eax
call fcn.0048f20a
pop ecx
push dword [ebp - 0x224]
mov dword [ebp - 0x24c], eax
call fcn.0048f20a
pop ecx
push 6
push esi
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], 1
mov dword [ebp - 0x240], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42656f
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call edi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov dword [ebx], eax
call fcn.0042001a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0042001a
xor eax, eax
call fcn.004932af
ret