Function at 0x4422b0
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x120
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x4fc014]
xor eax, ebp
mov dword [esp + 0x118], eax
cmp byte [edx + 0x11], 0
mov dword [esp + 0x10], ecx
jne 0x44276e
mov al, byte [0x4feccc]
xor ebx, ebx
test al, 0x19
mov byte [esp + 7], al
jne 0x4427b8
xor eax, eax
dec eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
pcmpeqd xmm0, xmm0
lea edi, [esp + 0xb0]
movdqa xmmword [edi], xmm0
lea esi, [esp + 0x60]
push 0x104
push str..._.._base_process_launch_win.cc
push str.LaunchProcess
push esi
call fcn.0045b4f0
add esp, 0x10
mov ecx, edi
push 0x50d670
push esi
call fcn.00449470
pxor xmm0, xmm0
movdqa xmmword [esp + 0x100], xmm0
pcmpeqd xmm0, xmm0
movdqu xmmword [esi + 0x3c], xmm0
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea ecx, [esp + 0x60]
call fcn.004496f0
mov esi, dword [ebp + 0x10]
cmp byte [esi + 0x3e], 0
je 0x44238b
call fcn.00465070
xor ebx, ebx
cmp eax, 0x10
setge bl
mov ecx, dword [esi + 0x18]
xor eax, eax
cmp ecx, dword [esi + 0x1c]
setne al
add eax, ebx
je 0x442830
lea ecx, [esp + 0x60]
push eax
call fcn.00449750
mov dword [esp + 8], 0x80000
test al, al
je 0x4426ae
cmp byte [esi + 0x3e], 0
je 0x4423ec
call fcn.00465070
cmp eax, 0x10
jl 0x4423ec
lea eax, [esp + 0x100]
or byte [eax + 0xb], 0x20
lea ecx, [esp + 0x60]
push 0x10
push eax
push 0x20007
call fcn.00449800
test al, al
je 0x4426ae
cmp dword [esi + 0x14], 1
mov edi, dword [esi + 0x18]
sete cl
mov ebx, dword [esi + 0x1c]
cmp edi, ebx
je 0x442446
cmp ebx, edi
js 0x4426ae
xor esi, esi
inc esi
push esi
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x4426bf
add edi, 4
cmp edi, ebx
jne 0x442408
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
sub edx, eax
lea ecx, [esp + 0x60]
push edx
push eax
push 0x20002
call fcn.00449800
mov cl, 1
test al, al
je 0x4426ae
cmp byte [esi + 0x12], 0
jne 0x44283d
mov ebx, ecx
cmp byte [esi + 0x28], 0
jne 0x44284a
mov eax, dword [esp + 0x90]
mov ecx, eax
or ecx, 1
mov dword [esp + 0x90], ecx
movzx ecx, byte [esi + 0x10]
xor ecx, 1
mov word [esp + 0x94], cx
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov esi, dword [esi + 0x38]
test ecx, ecx
jne 0x4426f6
test edx, edx
jne 0x4426f6
test esi, esi
jne 0x4426f6
mov esi, dword [ebp + 0x10]
cmp dword [esi + 0x2c], 0
jne 0x44263e
mov eax, dword [esp + 8]
mov edi, eax
or edi, 0x1000000
cmp byte [esi + 0x3c], 0
cmove edi, eax
pxor xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movzx eax, byte [esi + 0xf]
test al, al
mov edx, dword [ebp + 0xc]
jns 0x4424dc
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
jmp 0x4424df
lea ecx, [esi + 4]
test eax, eax
cmove ecx, eax
mov dword [esp + 8], ecx
xor eax, eax
dec eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
cmp byte [edx + 0xb], 0
jns 0x442857
lea ecx, [esp + 0x40]
push dword [edx + 4]
push dword [edx]
call fcn.00459450
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x44286d
xor eax, eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc8], eax
mov cl, byte [esi + 0x4c]
test cl, cl
jne 0x44271c
cmp dword [esi + 0x48], 0
jne 0x44271c
movzx ecx, bl
cmp byte [esp + 0x4b], 0
jns 0x442556
mov edx, dword [esp + 0x40]
jmp 0x44255a
lea edx, [esp + 0x40]
lea esi, [esp + 0x50]
xor ebx, ebx
push esi
lea esi, [esp + 0x68]
push esi
push dword [esp + 0x10]
push eax
push edi
push ecx
push ebx
push ebx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4428ac
cmp byte [esp + 0xcb], 0
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
js 0x4428d7
pcmpeqd xmm0, xmm0
lea ecx, [esp + 0x30]
movdqa xmmword [ecx], xmm0
lea eax, [esp + 0x50]
push eax
call fcn.0044a090
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x44265a
cmp byte [esi + 0x3d], 0
jne 0x4428eb
cmp byte [esi], 0
jne 0x442903
mov eax, dword [esp + 0x38]
mov ecx, dword [0x50f168]
test ecx, ecx
jne 0x44295f
lea ecx, [esp + 0x30]
call fcn.0044a240
mov ecx, ebx
push eax
call fcn.0045ec90
lea ecx, [esp + 0x30]
call fcn.0044a1a0
cmp byte [esp + 0x4b], 0
jns 0x442606
push dword [esp + 0x40]
call fcn.0046ece1
add esp, 4
lea ecx, [esp + 0x60]
call fcn.00449720
lea ecx, [esp + 0xb0]
call fcn.004495a0
test byte [esp + 7], 0x19
jne 0x44296d
mov ecx, dword [esp + 0x118]
xor ecx, ebp
call fcn.0046fc53
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00465070
mov edx, dword [esp + 8]
lea ecx, [edx + 0x1000000]
cmp eax, 5
mov eax, edx
cmovl eax, ecx
jmp 0x4424b0
push dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x4425b4
lea esi, [esp + 0xc0]
xor eax, eax
dec eax
mov dword [esi + 4], eax
mov dword [esi], eax
lea ecx, [esp + 0x30]
call fcn.0044a240
mov ecx, esi
push eax
call fcn.0045ec90
xor eax, eax
inc eax
mov ecx, esi
push eax
push eax
call fcn.004bb800
mov ecx, ebx
push 0
call fcn.0045ec90
mov ecx, esi
call fcn.0045ed00
jmp 0x4425ea
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0
call fcn.0045ec90
jmp 0x442606
push 0x13f
push str..._.._base_process_launch_win.cc
lea eax, [esp + 0xc8]
push eax
call fcn.004c1480
add esp, 0xc
lea ecx, [esp + 0xc0]
call fcn.004c13c0
lea ecx, [esp + 0xc0]
call fcn.004c13d0
jmp 0x44241a
or eax, 0x101
mov dword [esp + 0x90], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], esi
jmp 0x44249f
test cl, cl
je 0x4429c7
mov eax, dword [ebp + 0x10]
add eax, 0x40
lea esi, [esp + 0x30]
push eax
push 0x4f0088
push esi
call fcn.004c14a0
add esp, 0xc
mov eax, dword [esi + 8]
mov dword [esp + 0xc8], eax
movq xmm0, qword [esi]
movq qword [esp + 0xc0], xmm0
cmp byte [esp + 0xcb], 0
jns 0x4429b5
mov eax, dword [esp + 0xc0]
jmp 0x4429bc
movzx esi, byte [edx]
movzx ebx, byte [edx + 0x10]
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x442789
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x10], ecx
lea edi, [esp + 0x60]
push eax
push dword [esp + 0x14]
push edi
call fcn.004b96c0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, edi
push esi
push ebx
mov ebx, ecx
call fcn.004bb510
add esp, 8
mov ecx, edi
call fcn.0043ca60
jmp 0x442626
call fcn.0045ef70
mov edi, eax
xor eax, eax
dec eax
lea esi, [esp + 0x60]
mov dword [esi + 4], eax
mov dword [esi], eax
push esi
call fcn.004613f0
sub esp, 0x2c
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], eax
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 8], str.LaunchProcess
mov dword [esp + 4], 0x4feccc
mov dword [esp], 0x58
call fcn.00462090
add esp, 0x30
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], str.LaunchProcess
mov dword [esp + 0xc], 0x4feccc
jmp 0x44230b
mov dword [esp + 8], 0
jmp 0x4423b8
or byte [esp + 0x90], 0x80
jmp 0x442450
mov dword [esp + 0x6c], 0x4ed936
jmp 0x44245c
mov eax, dword [edx + 8]
mov dword [esp + 0x48], eax
movq xmm0, qword [edx]
movq qword [esp + 0x40], xmm0
jmp 0x44250f
xor ecx, ecx
lea edx, [esp + 0xc0]
mov dword [edx], ecx
push ecx
push eax
push edx
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x442a57
or edi, 0x400
mov ecx, dword [esp + 0xc0]
movzx esi, bl
cmp byte [esp + 0x4b], 0
jns 0x442a13
mov edx, dword [esp + 0x40]
jmp 0x442a17
mov ecx, dword [ebp + 8]
push 0
call fcn.0045ec90
cmp byte [esp + 0xcb], 0
jns 0x4428cf
push dword [esp + 0xc0]
call fcn.0046ece1
add esp, 4
mov ebx, dword [ebp + 8]
jmp 0x4425f3
push dword [esp + 0xc0]
call fcn.0046ece1
add esp, 4
jmp 0x442593
push dword [esp + 0x30]
call fcn.00448080
add esp, 4
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
jmp 0x4425be
pcmpeqd xmm0, xmm0
lea edi, [esp + 0xc0]
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea esi, [esp + 0x20]
push 0x1bc
push str..._.._base_process_launch_win.cc
push str.LaunchProcess
push esi
call fcn.0045b4f0
add esp, 0x10
mov ecx, edi
push 0
push esi
call fcn.0045e2d0
push 0xffffffffffffffff
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, edi
call fcn.0045e330
jmp 0x4425c7
push dword [ebp + 0xc]
push eax
call fcn.004bfbe0
jmp 0x4425d9
mov eax, dword [esp + 0xc]
cmp byte [eax], 0
je 0x442626
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], eax
sub esp, 0x10
movq xmm0, qword [esp + 0x70]
movq qword [esp + 8], xmm0
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.00462ab0
add esp, 0x10
jmp 0x442626
lea eax, [esp + 0xc0]
or edi, 0x400
jmp 0x442546
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
je 0x442a57
mov esi, eax
mov eax, dword [ebp + 0x10]
add eax, 0x40
lea edx, [esp + 0x30]
push eax
push esi
push edx
call fcn.004c14a0
add esp, 0xc
lea ecx, [esp + 0x30]
mov eax, dword [ecx + 8]
mov dword [esp + 0xc8], eax
movq xmm0, qword [ecx]
movq qword [esp + 0xc0], xmm0
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x442754
lea edx, [esp + 0x40]
lea ebx, [esp + 0x50]
xor eax, eax
push ebx
lea ebx, [esp + 0x68]
push ebx
push dword [esp + 0x10]
push ecx
push edi
push esi
push eax
push eax
push edx
push eax
mov eax, dword [ebp + 0x10]
push dword [eax + 0x24]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
push dword [esp + 0xc0]
call sub.USERENV.dll_DestroyEnvironmentBlock
test esi, esi
je 0x442a57
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
jmp 0x442593
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0
call fcn.0045ec90
jmp 0x4425f3