Function at 0x4b8310
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 + 8]
mov edi, dword [ebp + 0x10]
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], 0xffffffff
mov dword [esp + 0xa0], 0xffffffff
mov dword [esp + 0x9c], 0xffffffff
lea esi, [esp + 0x50]
push 0x14f
push str..._.._base_process_launch_win.cc
push str.LaunchProcess
push esi
call fcn.004994e0
add esp, 0x10
lea ecx, [esp + 0x9c]
push 0x7051a0
push esi
call fcn.0056c680
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x8c], xmm0
movdqa xmmword [esp + 0x80], xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
lea ecx, [esp + 0x50]
call fcn.0056c9e0
cmp dword [edi + 0x14], 1
mov esi, dword [edi + 0x18]
sete al
mov edi, dword [edi + 0x1c]
cmp esi, edi
je 0x4b8420
mov eax, edi
sub eax, esi
sar eax, 2
cmp eax, 0x3fffffff
ja 0x4b8665
mov ebx, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
nop dword [eax]
push 1
push 1
push dword [esi]
call ebx
test eax, eax
je 0x4b83f5
add esi, 4
cmp edi, esi
jne 0x4b83e0
jmp 0x4b8473
push 0x163
push str..._.._base_process_launch_win.cc
lea eax, [esp + 0x48]
push eax
call fcn.0056cb50
add esp, 0xc
lea ecx, [esp + 0x40]
call fcn.0056cb20
lea ecx, [esp + 0x40]
call fcn.0056cb30
jmp 0x4b83ec
xor edi, edi
mov esi, dword [ebp + 0x10]
cmp byte [esi + 0x11], 0
je 0x4b8433
or byte [esp + 0x80], 0x80
mov byte [esp + 7], al
cmp byte [esi + 0x28], 0
je 0x4b8445
mov dword [esp + 0x5c], 0x6733b0
mov eax, dword [esp + 0x80]
mov ecx, eax
or ecx, 1
mov dword [esp + 0x80], ecx
movzx edx, byte [esi + 0x10]
xor edx, 1
mov word [esp + 0x84], dx
mov edx, dword [esi + 0x30]
test edx, edx
je 0x4b84c2
mov ebx, dword [esi + 0x34]
jmp 0x4b84cf
lea ecx, [esp + 0x50]
push 1
call fcn.0056ca40
test al, al
je 0x4b8662
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
sub edx, eax
lea ecx, [esp + 0x50]
push edx
push eax
push 0x20002
call fcn.0056caf0
test al, al
mov ebx, dword [ebp + 8]
je 0x4b8665
mov al, 1
mov edi, 0x80000
cmp byte [esi + 0x11], 0
jne 0x4b842b
jmp 0x4b8433
mov ebx, dword [esi + 0x34]
test ebx, ebx
jne 0x4b84cf
cmp dword [esi + 0x38], 0
je 0x4b84f5
or eax, 0x101
mov dword [esp + 0x80], eax
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ebx
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, eax
cmp byte [esi + 0x3e], 0
je 0x4b8508
or ecx, 0x80
mov dword [esp + 0x80], ecx
cmp dword [esi + 0x2c], 0
mov ebx, dword [ebp + 8]
je 0x4b8522
call fcn.004bc470
lea ecx, [edi + 0x1000000]
cmp eax, 5
cmovl edi, ecx
mov esi, edi
or esi, 0x1000000
mov eax, dword [ebp + 0x10]
cmp byte [eax + 0x3c], 0
cmove esi, edi
pxor xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movzx eax, byte [eax + 0xf]
mov ecx, eax
test al, al
jns 0x4b854e
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x4b8564
mov ecx, dword [ebp + 0x10]
add ecx, 4
test al, al
jns 0x4b855e
mov ecx, dword [ecx]
mov dword [esp + 8], ecx
jmp 0x4b856c
mov dword [esp + 8], 0
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x3c], 0xffffffff
lea edi, [esp + 0x34]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.0048e960
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x4b8614
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x10]
push 0
push eax
push ecx
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x4b8606
or esi, 0x400
mov ecx, dword [esp + 0x10]
movzx eax, byte [esp + 7]
cmp byte [esp + 0x3f], 0
jns 0x4b85cf
mov edi, dword [esp + 0x34]
lea edx, [esp + 0x40]
push edx
lea edx, [esp + 0x58]
push edx
push dword [esp + 0x10]
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 + 0x10]
call sub.USERENV.dll_DestroyEnvironmentBlock
test edi, edi
jne 0x4b87c7
mov ecx, ebx
push 0
call fcn.004b8ea0
jmp 0x4b88b3
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
cmp byte [ecx + 0x4c], 0
je 0x4b8673
lea eax, [ecx + 0x40]
lea ecx, [esp + 0x28]
push eax
push 0x68a55c
push ecx
call fcn.0056cbc0
add esp, 0xc
cmp byte [esp + 0x1b], 0
js 0x4b86c0
mov edi, ebx
mov word [esp + 0x10], 0
mov byte [esp + 0x1b], 0
jmp 0x4b86ee
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0
call fcn.004b8ea0
jmp 0x4b88c6
cmp dword [ecx + 0x48], 0
je 0x4b8712
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
je 0x4b884c
mov edx, eax
mov eax, dword [ebp + 0x10]
add eax, 0x40
lea ecx, [esp + 0x28]
push eax
mov dword [esp + 0x10], edx
push edx
push ecx
call fcn.0056cbc0
add esp, 0xc
cmp byte [esp + 0x1b], 0
js 0x4b8716
mov edi, ebx
mov word [esp + 0x10], 0
mov byte [esp + 0x1b], 0
jmp 0x4b8744
mov edi, ebx
mov eax, dword [esp + 0x10]
mov word [eax], 0
mov dword [esp + 0x14], 0
cmp byte [esp + 0x1b], 0
jns 0x4b86ee
push dword [esp + 0x10]
call fcn.006417be
add esp, 4
mov dword [esp + 0x18], 0
lea ebx, [esp + 0x10]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
movq xmm0, qword [esp + 0x28]
movq qword [esp + 0x10], xmm0
cmp byte [ebx + 0xb], 0
jns 0x4b876c
mov eax, dword [esp + 0x10]
jmp 0x4b8770
xor eax, eax
jmp 0x4b8778
mov edi, ebx
mov eax, dword [esp + 0x10]
mov word [eax], 0
mov dword [esp + 0x14], 0
cmp byte [esp + 0x1b], 0
jns 0x4b8744
push dword [esp + 0x10]
call fcn.006417be
add esp, 4
mov dword [esp + 0x18], 0
lea ebx, [esp + 0x10]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
movq xmm0, qword [esp + 0x28]
movq qword [esp + 0x10], xmm0
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
cmp byte [ebx + 0xb], 0
js 0x4b870c
lea eax, [esp + 0x10]
mov ebx, edi
or esi, 0x400
movzx ecx, byte [esp + 7]
cmp byte [esp + 0x3f], 0
jns 0x4b878a
mov edx, dword [esp + 0x34]
jmp 0x4b878e
lea edx, [esp + 0x34]
lea edi, [esp + 0x40]
push edi
lea edi, [esp + 0x58]
push edi
push dword [esp + 0x10]
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 0x4b884c
cmp byte [esp + 0x1b], 0
jns 0x4b87c7
push dword [esp + 0x10]
call fcn.006417be
add esp, 4
mov esi, dword [ebp + 0x10]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x10], xmm0
lea eax, [esp + 0x40]
lea ecx, [esp + 0x10]
push eax
call fcn.0056d060
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4b87f8
push dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x4b886a
cmp byte [esi + 0x3d], 0
je 0x4b8811
push dword [esp + 0x10]
call fcn.004b8e70
add esp, 4
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
cmp byte [esi], 0
je 0x4b8822
push 0xffffffffffffffff
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x18]
mov ecx, dword [0x7058a4]
test ecx, ecx
je 0x4b8839
push dword [ebp + 0xc]
push eax
call fcn.005571e0
lea ecx, [esp + 0x10]
call fcn.0056d260
mov ecx, ebx
push eax
call fcn.004b8ea0
jmp 0x4b88aa
mov ecx, ebx
push 0
call fcn.004b8ea0
cmp byte [esp + 0x1b], 0
jns 0x4b88b3
push dword [esp + 0x10]
call fcn.006417be
add esp, 4
jmp 0x4b88b3
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0056d260
lea edi, [esp + 0x28]
mov ecx, edi
push eax
call fcn.004b8ea0
mov ecx, edi
push 1
push 1
call fcn.004b9210
mov ecx, ebx
push 0
call fcn.004b8ea0
mov ecx, edi
call fcn.004b8fc0
lea ecx, [esp + 0x10]
call fcn.0056d1c0
cmp byte [esp + 0x3f], 0
jns 0x4b88c6
push dword [esp + 0x34]
call fcn.006417be
add esp, 4
lea ecx, [esp + 0x50]
call fcn.0056ca10
lea ecx, [esp + 0x9c]
call fcn.0056c870
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.0064180a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret