Function at 0x425f40
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 [0x4be014]
xor eax, ebp
mov dword [esp + 0x118], eax
cmp byte [edx + 0x11], 0
mov dword [esp + 0x10], ecx
jne 0x4263fe
mov al, byte [0x4c0cd0]
xor ebx, ebx
test al, 0x19
mov byte [esp + 7], al
jne 0x426448
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.00445900
add esp, 0x10
mov ecx, edi
push 0x4ce9e4
push esi
call fcn.00429f90
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.0042a210
mov esi, dword [ebp + 0x10]
cmp byte [esi + 0x3e], 0
je 0x42601b
call fcn.00445940
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 0x4264c0
lea ecx, [esp + 0x60]
push eax
call fcn.0042a270
mov dword [esp + 8], 0x80000
test al, al
je 0x42633e
cmp byte [esi + 0x3e], 0
je 0x42607c
call fcn.00445940
cmp eax, 0x10
jl 0x42607c
lea eax, [esp + 0x100]
or byte [eax + 0xb], 0x20
lea ecx, [esp + 0x60]
push 0x10
push eax
push 0x20007
call fcn.0042a320
test al, al
je 0x42633e
cmp dword [esi + 0x14], 1
mov edi, dword [esi + 0x18]
sete cl
mov ebx, dword [esi + 0x1c]
cmp edi, ebx
je 0x4260d6
cmp ebx, edi
js 0x42633e
xor esi, esi
inc esi
push esi
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x42634f
add edi, 4
cmp edi, ebx
jne 0x426098
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.0042a320
mov cl, 1
test al, al
je 0x42633e
cmp byte [esi + 0x12], 0
jne 0x4264cd
mov ebx, ecx
cmp byte [esi + 0x28], 0
jne 0x4264da
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 0x426386
test edx, edx
jne 0x426386
test esi, esi
jne 0x426386
mov esi, dword [ebp + 0x10]
cmp dword [esi + 0x2c], 0
jne 0x4262ce
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 0x42616c
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
jmp 0x42616f
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 0x4264e7
lea ecx, [esp + 0x40]
push dword [edx + 4]
push dword [edx]
call fcn.0043d260
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x4264fd
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 0x4263ac
cmp dword [esi + 0x48], 0
jne 0x4263ac
movzx ecx, bl
cmp byte [esp + 0x4b], 0
jns 0x4261e6
mov edx, dword [esp + 0x40]
jmp 0x4261ea
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 0x42653c
cmp byte [esp + 0xcb], 0
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
js 0x426567
pcmpeqd xmm0, xmm0
lea ecx, [esp + 0x30]
movdqa xmmword [ecx], xmm0
lea eax, [esp + 0x50]
push eax
call fcn.0042abb0
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x4262ea
cmp byte [esi + 0x3d], 0
jne 0x42657b
cmp byte [esi], 0
jne 0x426593
mov eax, dword [esp + 0x38]
mov ecx, dword [0x4d0248]
test ecx, ecx
jne 0x4265ef
lea ecx, [esp + 0x30]
call fcn.0042ad60
mov ecx, ebx
push eax
call fcn.004401c0
lea ecx, [esp + 0x30]
call fcn.0042acc0
cmp byte [esp + 0x4b], 0
jns 0x426296
push dword [esp + 0x40]
call fcn.00452d9c
add esp, 4
lea ecx, [esp + 0x60]
call fcn.0042a240
lea ecx, [esp + 0xb0]
call fcn.0042a0c0
test byte [esp + 7], 0x19
jne 0x4265fd
mov ecx, dword [esp + 0x118]
xor ecx, ebp
call fcn.00453803
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00445940
mov edx, dword [esp + 8]
lea ecx, [edx + 0x1000000]
cmp eax, 5
mov eax, edx
cmovl eax, ecx
jmp 0x426140
push dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x426244
lea esi, [esp + 0xc0]
xor eax, eax
dec eax
mov dword [esi + 4], eax
mov dword [esi], eax
lea ecx, [esp + 0x30]
call fcn.0042ad60
mov ecx, esi
push eax
call fcn.004401c0
xor eax, eax
inc eax
mov ecx, esi
push eax
push eax
call fcn.00498da0
mov ecx, ebx
push 0
call fcn.004401c0
mov ecx, esi
call fcn.00440230
jmp 0x42627a
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0
call fcn.004401c0
jmp 0x426296
push 0x13f
push str..._.._base_process_launch_win.cc
lea eax, [esp + 0xc8]
push eax
call fcn.0049c520
add esp, 0xc
lea ecx, [esp + 0xc0]
call fcn.0049c460
lea ecx, [esp + 0xc0]
call fcn.0049c470
jmp 0x4260aa
or eax, 0x101
mov dword [esp + 0x90], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], esi
jmp 0x42612f
test cl, cl
je 0x426657
mov eax, dword [ebp + 0x10]
add eax, 0x40
lea esi, [esp + 0x30]
push eax
push 0x4b4132
push esi
call fcn.0049c540
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 0x426645
mov eax, dword [esp + 0xc0]
jmp 0x42664c
movzx esi, byte [edx]
movzx ebx, byte [edx + 0x10]
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x426419
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.004973c0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, edi
push esi
push ebx
mov ebx, ecx
call fcn.00498ab0
add esp, 8
mov ecx, edi
call fcn.004222c0
jmp 0x4262b6
call fcn.00440280
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.00445310
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], 0x4c0cd0
mov dword [esp], 0x58
call fcn.004461f0
add esp, 0x30
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], str.LaunchProcess
mov dword [esp + 0xc], 0x4c0cd0
jmp 0x425f9b
mov dword [esp + 8], 0
jmp 0x426048
or byte [esp + 0x90], 0x80
jmp 0x4260e0
mov dword [esp + 0x6c], 0x4b4130
jmp 0x4260ec
mov eax, dword [edx + 8]
mov dword [esp + 0x48], eax
movq xmm0, qword [edx]
movq qword [esp + 0x40], xmm0
jmp 0x42619f
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 0x4266e7
or edi, 0x400
mov ecx, dword [esp + 0xc0]
movzx esi, bl
cmp byte [esp + 0x4b], 0
jns 0x4266a3
mov edx, dword [esp + 0x40]
jmp 0x4266a7
mov ecx, dword [ebp + 8]
push 0
call fcn.004401c0
cmp byte [esp + 0xcb], 0
jns 0x42655f
push dword [esp + 0xc0]
call fcn.00452d9c
add esp, 4
mov ebx, dword [ebp + 8]
jmp 0x426283
push dword [esp + 0xc0]
call fcn.00452d9c
add esp, 4
jmp 0x426223
push dword [esp + 0x30]
call fcn.0042ad90
add esp, 4
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
jmp 0x42624e
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.00445900
add esp, 0x10
mov ecx, edi
push 0
push esi
call fcn.00445a90
push 0xffffffffffffffff
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, edi
call fcn.00445af0
jmp 0x426257
push dword [ebp + 0xc]
push eax
call fcn.0049af20
jmp 0x426269
mov eax, dword [esp + 0xc]
cmp byte [eax], 0
je 0x4262b6
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.00446c10
add esp, 0x10
jmp 0x4262b6
lea eax, [esp + 0xc0]
or edi, 0x400
jmp 0x4261d6
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
je 0x4266e7
mov esi, eax
mov eax, dword [ebp + 0x10]
add eax, 0x40
lea edx, [esp + 0x30]
push eax
push esi
push edx
call fcn.0049c540
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 0x4263e4
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 0x4266e7
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
jmp 0x426223
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0
call fcn.004401c0
jmp 0x426283