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

Disassembly:
push 0x2b4
mov eax, 0x4a46b3
call fcn.00490eb2
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.0048cb00
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 0x426092
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.00421360
lea eax, [ebp - 0x21c]
push eax
call fcn.00453d60
mov eax, dword [eax]
push 0x4b1cd4
push eax
call fcn.0048c876
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 0x426124
call fcn.0047dccb
push eax
lea ecx, [ebp - 0x21c]
call fcn.00434103
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.00421360
mov ecx, esi
call fcn.0046ea10
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, 0x4b1cdc
cmp dword [eax - 0xc], esi
jne 0x426140
mov ecx, 0x4b04e0
push eax
push ecx
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x4b1ce0
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 0x4261b3
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 0x426331
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebx, dword [ebp - 0x220]
mov dword [ebx], eax
cmp eax, 0xc1
jne 0x42623f
push 0x38
lea eax, [ebp - 0x25c]
push esi
push eax
call fcn.0048cb00
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 0x42618b
mov esi, edi
jmp 0x42618b
cmp eax, 0x2e4
je 0x426256
cmp eax, 0x4c7
je 0x426256
call edi
mov dword [ebx], eax
jmp 0x42618b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, eax
call fcn.00452ce0
test eax, eax
je 0x426277
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.0048cb00
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.0048cb7a
pop ecx
push dword [ebp + 0x10]
mov dword [ebp - 0x250], eax
call fcn.0048cb7a
pop ecx
push dword [ebp - 0x224]
mov dword [ebp - 0x24c], eax
call fcn.0048cb7a
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 0x42630a
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.00490f35
ret