Function at 0x4257c0
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, 0xb0
mov ebx, dword [ebp + 0x10]
mov eax, dword [0x4c6f50]
xor eax, ebp
mov dword [esp + 0xa8], eax
lea esi, [esp + 0x54]
push 0xcd
push str..._.._base_process_launch_win.cc
push str.LaunchProcess
push esi
call fcn.0041fa10
add esp, 0x10
lea ecx, [esp + 0xa0]
push esi
call fcn.00432490
mov eax, dword [0x4c8680]
mov ecx, dword [0x4c8930]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x425d23
lea ecx, [esp + 0x54]
call fcn.00432770
cmp dword [ebx + 0x14], 1
mov esi, dword [ebx + 0x18]
sete al
mov edi, dword [ebx + 0x1c]
cmp esi, edi
je 0x4258a0
mov eax, edi
sub eax, esi
sar eax, 2
cmp eax, 0x3fffffff
ja 0x42593a
mov ebx, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
nop dword [eax]
push 1
push 1
push dword [esi]
call ebx
test eax, eax
je 0x425875
add esi, 4
cmp edi, esi
jne 0x425860
jmp 0x4258f0
push 0xe1
push str..._.._base_process_launch_win.cc
lea eax, [esp + 0x48]
push eax
call fcn.004328e0
add esp, 0xc
lea ecx, [esp + 0x40]
call fcn.004328b0
lea ecx, [esp + 0x40]
call fcn.004328c0
jmp 0x42586c
xor edi, edi
cmp byte [ebx + 0x11], 0
je 0x4258b0
or byte [esp + 0x84], 0x80
mov byte [esp + 0xf], al
cmp byte [ebx + 0x28], 0
je 0x4258c2
mov dword [esp + 0x60], 0x495a78
mov eax, dword [esp + 0x84]
mov ecx, eax
or ecx, 1
mov dword [esp + 0x84], ecx
movzx ecx, byte [ebx + 0x10]
xor ecx, 1
mov word [esp + 0x88], cx
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x42594b
mov edx, dword [ebx + 0x34]
jmp 0x425958
lea ecx, [esp + 0x54]
push 1
call fcn.004327d0
test al, al
je 0x42593a
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
sub edx, eax
lea ecx, [esp + 0x54]
push edx
push eax
push 0x20002
call fcn.00432880
test al, al
mov ebx, dword [ebp + 8]
je 0x42593d
mov al, 1
mov edi, 0x80000
mov ebx, dword [ebp + 0x10]
cmp byte [ebx + 0x11], 0
jne 0x4258a8
jmp 0x4258b0
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0
call fcn.00425d60
jmp 0x425cf6
mov edx, dword [ebx + 0x34]
test edx, edx
jne 0x425958
cmp dword [ebx + 0x38], 0
je 0x42597c
or eax, 0x101
mov dword [esp + 0x84], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x98], eax
cmp dword [ebx + 0x2c], 0
je 0x425998
call fcn.00432f70
mov edx, dword [ebp + 0x10]
lea ecx, [edi + 0x1000000]
cmp eax, 5
cmovl edi, ecx
jmp 0x42599a
mov edx, ebx
mov ebx, dword [ebp + 8]
mov esi, edi
or esi, 0x1000000
cmp byte [edx + 0x3c], 0
cmove esi, edi
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
movzx eax, byte [edx + 0xf]
mov ecx, eax
test al, al
jns 0x4259c1
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x4259d4
lea ecx, [edx + 4]
test al, al
jns 0x4259ce
mov ecx, dword [ecx]
mov dword [esp + 0x10], ecx
jmp 0x4259dc
mov dword [esp + 0x10], 0
lea edi, [esp + 0x34]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.00419b58
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x425a6c
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x18]
push 0
push eax
push ecx
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x425a5e
or esi, 0x400
mov ecx, dword [esp + 0x18]
movzx eax, byte [esp + 0xf]
cmp byte [esp + 0x3f], 0
jns 0x425a27
mov edi, dword [esp + 0x34]
lea edx, [esp + 0x40]
push edx
lea edx, [esp + 0x5c]
push edx
push dword [esp + 0x18]
push ecx
push esi
push eax
push 0
push 0
push edi
push 0
mov eax, dword [ebp + 0x10]
push dword [eax + 0x24]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov edi, eax
push dword [esp + 0x18]
call sub.USERENV.dll_DestroyEnvironmentBlock
test edi, edi
jne 0x425c0b
mov ecx, ebx
push 0
call fcn.00425d60
jmp 0x425ce3
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
cmp byte [ecx + 0x4c], 0
je 0x425ab7
lea eax, [ecx + 0x40]
lea ecx, [esp + 0x28]
push eax
push 0x495a7a
push ecx
call fcn.00432f90
add esp, 0xc
cmp byte [esp + 0x23], 0
js 0x425b04
mov edi, ebx
mov word [esp + 0x18], 0
mov byte [esp + 0x23], 0
jmp 0x425b32
cmp dword [ecx + 0x48], 0
je 0x425b56
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
je 0x425c8c
mov edx, eax
mov eax, dword [ebp + 0x10]
add eax, 0x40
lea ecx, [esp + 0x28]
push eax
mov dword [esp + 0x18], edx
push edx
push ecx
call fcn.00432f90
add esp, 0xc
cmp byte [esp + 0x23], 0
js 0x425b5a
mov edi, ebx
mov word [esp + 0x18], 0
mov byte [esp + 0x23], 0
jmp 0x425b88
mov edi, ebx
mov eax, dword [esp + 0x18]
mov word [eax], 0
mov dword [esp + 0x1c], 0
cmp byte [esp + 0x23], 0
jns 0x425b32
push dword [esp + 0x18]
call fcn.00468d46
add esp, 4
mov dword [esp + 0x20], 0
lea ebx, [esp + 0x18]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], eax
movsd xmm0, qword [esp + 0x28]
movsd qword [esp + 0x18], xmm0
cmp byte [ebx + 0xb], 0
jns 0x425bb0
mov eax, dword [esp + 0x18]
jmp 0x425bb4
xor eax, eax
jmp 0x425bbc
mov edi, ebx
mov eax, dword [esp + 0x18]
mov word [eax], 0
mov dword [esp + 0x1c], 0
cmp byte [esp + 0x23], 0
jns 0x425b88
push dword [esp + 0x18]
call fcn.00468d46
add esp, 4
mov dword [esp + 0x20], 0
lea ebx, [esp + 0x18]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], eax
movsd xmm0, qword [esp + 0x28]
movsd qword [esp + 0x18], xmm0
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
cmp byte [ebx + 0xb], 0
js 0x425b50
lea eax, [esp + 0x18]
mov ebx, edi
or esi, 0x400
movzx ecx, byte [esp + 0xf]
cmp byte [esp + 0x3f], 0
jns 0x425bce
mov edx, dword [esp + 0x34]
jmp 0x425bd2
lea edx, [esp + 0x34]
lea edi, [esp + 0x40]
push edi
lea edi, [esp + 0x5c]
push edi
push dword [esp + 0x18]
push eax
push esi
push ecx
push 0
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x425c8c
cmp byte [esp + 0x23], 0
jns 0x425c0b
push dword [esp + 0x18]
call fcn.00468d46
add esp, 4
lea eax, [esp + 0x40]
lea ecx, [esp + 0x18]
push eax
call fcn.00433430
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x425c35
push dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov ecx, dword [ebp + 0x10]
test eax, eax
je 0x425caa
cmp byte [ecx + 0x3d], 0
je 0x425c51
push dword [esp + 0x18]
call fcn.00430210
add esp, 4
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 0
je 0x425c62
push 0xffffffffffffffff
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x20]
mov ecx, dword [0x4c895c]
test ecx, ecx
je 0x425c79
push dword [ebp + 0xc]
push eax
call fcn.0042ea60
lea ecx, [esp + 0x18]
call fcn.00433630
mov ecx, ebx
push eax
call fcn.00425d60
jmp 0x425cda
mov ecx, ebx
push 0
call fcn.00425d60
cmp byte [esp + 0x23], 0
jns 0x425ce3
push dword [esp + 0x18]
call fcn.00468d46
add esp, 4
jmp 0x425ce3
lea ecx, [esp + 0x18]
call fcn.00433630
lea edi, [esp + 0x28]
mov ecx, edi
push eax
call fcn.00425d60
mov ecx, edi
push 1
push 1
call fcn.00425f00
mov ecx, ebx
push 0
call fcn.00425d60
mov ecx, edi
call fcn.00425dd0
lea ecx, [esp + 0x18]
call fcn.00433590
cmp byte [esp + 0x3f], 0
jns 0x425cf6
push dword [esp + 0x34]
call fcn.00468d46
add esp, 4
lea ecx, [esp + 0x54]
call fcn.004327a0
lea ecx, [esp + 0xa0]
call fcn.00432660
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.00468d81
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4c8680
call fcn.00468dc7
add esp, 4
cmp dword [0x4c8680], 0xffffffff
jne 0x42582a
lea ecx, [esp + 0xa0]
call fcn.004325a0
push 0x4c8680
call fcn.00468e3d
add esp, 4
jmp 0x42582a