Function at 0x41db30
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, 0xd0
mov ebx, dword [ebp + 0x10]
mov eax, dword [0x4b6014]
xor eax, ebp
mov dword [esp + 0xc8], eax
pcmpeqd xmm0, xmm0
lea edi, [esp + 0xa0]
movdqa xmmword [edi], xmm0
lea esi, [esp + 0x50]
push 0xdb
push str..._.._base_process_launch_win.cc
push str.LaunchProcess
push esi
call fcn.0043a0c0
add esp, 0x10
mov ecx, edi
push 0x4bb530
push esi
call fcn.004201f0
pxor xmm0, xmm0
movdqa xmmword [esp + 0xb0], 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 + 0x50]
call fcn.00420410
xor esi, esi
cmp byte [ebx + 0x3e], 0
mov ecx, 0
je 0x41dbd4
call fcn.0043a100
xor ecx, ecx
cmp eax, 0x10
setge cl
mov edx, dword [ebx + 0x18]
xor eax, eax
cmp edx, dword [ebx + 0x1c]
setne al
add eax, ecx
je 0x41dbfa
lea ecx, [esp + 0x50]
push eax
call fcn.00420470
mov esi, 0x80000
test al, al
je 0x41e0a5
mov dword [esp + 8], esi
cmp byte [ebx + 0x3e], 0
je 0x41dc12
call fcn.0043a100
cmp eax, 0x10
jge 0x41e081
cmp dword [ebx + 0x14], 1
mov esi, dword [ebx + 0x18]
sete cl
mov edi, dword [ebx + 0x1c]
cmp esi, edi
je 0x41dc6c
cmp edi, esi
js 0x41e0a5
xor ebx, ebx
inc ebx
push ebx
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x41debc
add esi, 4
cmp esi, edi
jne 0x41dc2e
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
sub edx, eax
lea ecx, [esp + 0x50]
push edx
push eax
push 0x20002
call fcn.00420520
mov cl, 1
test al, al
je 0x41e0a5
cmp byte [ebx + 0x11], 0
jne 0x41df55
mov byte [esp + 7], cl
cmp byte [ebx + 0x28], 0
jne 0x41df62
mov eax, dword [esp + 0x80]
mov ecx, eax
or ecx, 1
mov dword [esp + 0x80], ecx
movzx ecx, byte [ebx + 0x10]
xor ecx, 1
mov word [esp + 0x84], cx
mov ecx, dword [ebx + 0x30]
mov edx, dword [ebx + 0x34]
mov esi, dword [ebx + 0x38]
test ecx, ecx
jne 0x41deea
test edx, edx
jne 0x41deea
test esi, esi
jne 0x41deea
cmp dword [ebx + 0x2c], 0
jne 0x41de51
mov esi, dword [esp + 8]
mov edx, dword [ebp + 0xc]
mov eax, esi
or eax, 0x1000000
cmp byte [ebx + 0x3c], 0
cmove eax, esi
mov dword [esp + 8], eax
pxor xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movzx eax, byte [ebx + 0xf]
test al, al
jns 0x41dd04
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
jmp 0x41dd07
lea ecx, [ebx + 4]
test eax, eax
cmove ecx, eax
mov dword [esp + 0xc], ecx
xor eax, eax
dec eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
cmp byte [edx + 0xb], 0
jns 0x41df6f
lea ecx, [esp + 0x30]
push dword [edx + 4]
push dword [edx]
call fcn.00433d50
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x41df85
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov cl, byte [ebx + 0x4c]
test cl, cl
jne 0x41df10
cmp dword [ebx + 0x48], 0
jne 0x41df10
movzx ecx, byte [esp + 7]
cmp byte [esp + 0x3b], 0
jns 0x41dd77
mov edx, dword [esp + 0x30]
jmp 0x41dd7b
lea edx, [esp + 0x30]
lea esi, [esp + 0x40]
xor edi, edi
push esi
lea esi, [esp + 0x58]
push esi
push dword [esp + 0x14]
push eax
push dword [esp + 0x18]
push ecx
push edi
push edi
push edx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41dfc2
cmp byte [esp + 0x1b], 0
mov edi, dword [ebp + 8]
js 0x41dfe7
pcmpeqd xmm0, xmm0
lea ecx, [esp + 0x10]
movdqa xmmword [ecx], xmm0
lea eax, [esp + 0x40]
push eax
call fcn.00420e10
mov eax, dword [ebx + 0x2c]
test eax, eax
jne 0x41de6b
cmp byte [ebx + 0x3d], 0
jne 0x41dff8
cmp byte [ebx], 0
jne 0x41e010
mov eax, dword [esp + 0x18]
mov ecx, dword [0x4bb53c]
test ecx, ecx
jne 0x41e021
lea ecx, [esp + 0x10]
call fcn.00420fc0
mov ecx, edi
push eax
call fcn.00437790
lea ecx, [esp + 0x10]
call fcn.00420f20
cmp byte [esp + 0x3b], 0
jns 0x41de24
push dword [esp + 0x30]
call fcn.0044c0c5
add esp, 4
lea ecx, [esp + 0x50]
call fcn.00420440
lea ecx, [esp + 0xa0]
call fcn.004202f0
mov ecx, dword [esp + 0xc8]
xor ecx, ebp
call fcn.0044c6d8
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.0043a100
mov esi, dword [esp + 8]
lea ecx, [esi + 0x1000000]
cmp eax, 5
cmovl esi, ecx
jmp 0x41dcd5
push dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x41ddd2
lea esi, [esp + 0x24]
xor eax, eax
dec eax
mov dword [esi + 4], eax
mov dword [esi], eax
lea ecx, [esp + 0x10]
call fcn.00420fc0
mov ecx, esi
push eax
call fcn.00437790
xor eax, eax
inc eax
mov ecx, esi
push eax
push eax
call fcn.00489ed0
mov ecx, edi
push 0
call fcn.00437790
mov ecx, esi
call fcn.00437800
jmp 0x41de08
push 0x116
push str..._.._base_process_launch_win.cc
lea eax, [esp + 0x48]
push eax
call fcn.0048cb50
add esp, 0xc
lea ecx, [esp + 0x40]
call fcn.0048ca90
lea ecx, [esp + 0x40]
call fcn.0048caa0
jmp 0x41dc40
or eax, 0x101
mov dword [esp + 0x80], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], esi
jmp 0x41dcc7
mov edi, ebx
test cl, cl
je 0x41e042
lea eax, [edi + 0x40]
lea ebx, [esp + 0x24]
push eax
push 0x4ab8a4
push ebx
call fcn.0048cb70
add esp, 0xc
mov eax, dword [ebx + 8]
mov dword [esp + 0x18], eax
movq xmm0, qword [ebx]
movq qword [esp + 0x10], xmm0
cmp byte [esp + 0x1b], 0
jns 0x41e02f
mov eax, dword [esp + 0x10]
jmp 0x41e033
or byte [esp + 0x80], 0x80
jmp 0x41dc76
mov dword [esp + 0x5c], 0x4ab8a2
jmp 0x41dc84
mov eax, dword [edx + 8]
mov dword [esp + 0x38], eax
movq xmm0, qword [edx]
movq qword [esp + 0x30], xmm0
jmp 0x41dd37
xor ecx, ecx
lea edx, [esp + 0x10]
mov dword [edx], ecx
push ecx
push eax
push edx
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x41e0fa
or dword [esp + 8], 0x400
mov ecx, dword [esp + 0x10]
movzx ebx, byte [esp + 7]
cmp byte [esp + 0x3b], 0
jns 0x41e0b6
mov edx, dword [esp + 0x30]
jmp 0x41e0ba
mov ecx, dword [ebp + 8]
push 0
call fcn.00437790
cmp byte [esp + 0x1b], 0
jns 0x41dfdf
push dword [esp + 0x10]
call fcn.0044c0c5
add esp, 4
mov edi, dword [ebp + 8]
jmp 0x41de11
push dword [esp + 0x10]
call fcn.0044c0c5
add esp, 4
jmp 0x41ddb1
push dword [esp + 0x10]
call fcn.00420ff0
add esp, 4
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
jmp 0x41dddc
push 0xffffffffffffffff
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x41dde5
push dword [ebp + 0xc]
push eax
call fcn.0048b860
jmp 0x41ddf7
lea eax, [esp + 0x10]
or dword [esp + 8], 0x400
mov ebx, edi
jmp 0x41dd65
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
je 0x41e0fa
mov esi, eax
lea eax, [edi + 0x40]
lea ebx, [esp + 0x24]
push eax
push esi
push ebx
call fcn.0048cb70
add esp, 0xc
mov eax, dword [ebx + 8]
mov dword [esp + 0x18], eax
movq xmm0, qword [ebx]
movq qword [esp + 0x10], xmm0
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x41df41
lea eax, [esp + 0xb0]
or byte [eax + 0xb], 0x20
lea ecx, [esp + 0x50]
push 0x10
push eax
push 0x20007
call fcn.00420520
test al, al
jne 0x41dc12
mov edi, dword [ebp + 8]
mov ecx, edi
push 0
call fcn.00437790
jmp 0x41de24
lea edx, [esp + 0x30]
lea esi, [esp + 0x40]
xor eax, eax
push esi
lea esi, [esp + 0x58]
push esi
push dword [esp + 0x14]
push ecx
push dword [esp + 0x18]
push ebx
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 + 0x10]
call sub.USERENV.dll_DestroyEnvironmentBlock
test esi, esi
je 0x41e0fa
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
jmp 0x41ddb1
mov edi, dword [ebp + 8]
mov ecx, edi
push 0
call fcn.00437790
jmp 0x41de11