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

Disassembly:
push 0x2b8
mov eax, 0x4b660e
call fcn.004a285c
mov eax, dword [ebp + 0x14]
mov ebx, ecx
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], ebx
xor esi, esi
push 0x40
lea eax, [ebp - 0x2c0]
push esi
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x2c4], esi
call fcn.0049e2e0
xor eax, eax
mov dword [ebp - 0x278], esi
lea edi, [ebp - 0x274]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
cmp ebx, esi
jne 0x42a37e
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], eax
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x220], esp
mov ecx, esp
push eax
call fcn.00423ad0
lea eax, [ebp - 0x220]
push eax
call fcn.00461e50
mov eax, dword [eax]
push 0x4c6a00
push eax
call fcn.0049d8c3
mov ecx, dword [ebp - 0x220]
add esp, 0x10
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.0042101a
test bl, bl
je 0x42a439
call fcn.0048f565
push eax
lea ecx, [ebp - 0x220]
call fcn.0042149e
mov byte [ebp - 4], 3
call fcn.0048f565
push eax
lea ecx, [ebp - 0x22c]
call fcn.0042149e
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 8]
push eax
push ecx
mov dword [ebp - 0x27c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 4
call fcn.00423ad0
call fcn.004898e0
mov ecx, dword [ebp - 0x22c]
add esp, 0x14
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.0042101a
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c4], 0x44
mov ecx, 0x4c6a08
cmp dword [eax - 0xc], esi
jne 0x42a455
mov ecx, 0x4c4fbc
push eax
push ecx
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x4c6a0c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x2c4]
push eax
push dword [ebp - 0x228]
lea eax, [ebp - 0x21c]
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 0x42a4db
cmp dword [ebp + 0x18], esi
je 0x42a4ad
push 0xffffffffffffffff
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp - 0x270]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0042101a
mov eax, esi
jmp 0x42a670
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebx, dword [ebp - 0x224]
mov dword [ebx], eax
cmp eax, 0xc1
jne 0x42a57e
push 0x38
lea eax, [ebp - 0x264]
push esi
push eax
call fcn.0049e2e0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x254], eax
add esp, 0xc
xor edi, edi
lea eax, [ebp - 0x268]
inc edi
push eax
mov dword [ebp - 0x25c], str.open
mov dword [ebp - 0x268], 0x3c
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x260], esi
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x248], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42a4b3
cmp dword [ebp + 0x18], esi
je 0x42a577
push 0xffffffffffffffff
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, edi
jmp 0x42a4b3
cmp eax, 0x2e4
je 0x42a595
cmp eax, 0x4c7
je 0x42a595
call edi
mov dword [ebx], eax
jmp 0x42a4b3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, eax
call fcn.00460920
test eax, eax
je 0x42a5b6
push str.RunAsAdmin
push str.__COMPAT_LAYER
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x38
lea eax, [ebp - 0x264]
push esi
push eax
call fcn.0049e2e0
add esp, 0xc
push dword [ebp + 8]
mov dword [ebp - 0x25c], str.runas
mov dword [ebp - 0x268], 0x3c
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x260], esi
call fcn.0049eaed
pop ecx
push dword [ebp + 0x10]
mov dword [ebp - 0x258], eax
call fcn.0049eaed
pop ecx
push dword [ebp - 0x228]
mov dword [ebp - 0x254], eax
call fcn.0049eaed
pop ecx
push 6
push esi
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], 1
mov dword [ebp - 0x248], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42a649
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.0042101a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0042101a
xor eax, eax
call fcn.004a28df
ret