Function at 0x448970
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 ebx, dword [ebp + 0x10]
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0x118], eax
mov al, byte [0x521c5c]
mov byte [esp + 0xb], al
test al, 0x19
jne 0x448df8
xor eax, eax
dec eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
cmp byte [ebx + 0x1d], 0
jne 0x448e70
pcmpeqd xmm0, xmm0
lea esi, [esp + 0xb0]
movdqa xmmword [esi], xmm0
lea edi, [esp + 0x60]
push 0xe0
push str..._.._base_process_launch_win.cc
push str.LaunchProcess
push edi
call fcn.0046dd60
add esp, 0x10
mov ecx, esi
push 0x526ad8
push edi
call fcn.00453710
pxor xmm0, xmm0
movdqa xmmword [esp + 0x100], xmm0
pcmpeqd xmm0, xmm0
movdqu xmmword [edi + 0x3c], xmm0
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea ecx, [esp + 0x60]
call fcn.00453990
xor esi, esi
cmp byte [ebx + 0x4a], 0
mov ecx, 0
je 0x448a46
call fcn.00470da0
xor ecx, ecx
cmp eax, 0x10
setge cl
mov edi, dword [ebp + 8]
mov edx, dword [ebx + 0x24]
xor eax, eax
cmp edx, dword [ebx + 0x28]
setne al
add eax, ecx
je 0x448a6f
lea ecx, [esp + 0x60]
push eax
call fcn.004539f0
mov esi, 0x80000
test al, al
je 0x44906b
mov dword [esp + 0xc], esi
cmp byte [ebx + 0x4a], 0
je 0x448a87
call fcn.00470da0
cmp eax, 0x10
jge 0x449044
cmp dword [ebx + 0x20], 1
mov edi, dword [ebx + 0x24]
sete cl
mov esi, dword [ebx + 0x28]
cmp edi, esi
je 0x448ae1
cmp esi, edi
js 0x449068
xor ebx, ebx
inc ebx
push ebx
push ebx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x448d4c
add edi, 4
cmp edi, esi
jne 0x448aa3
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x24]
mov edx, dword [ebx + 0x28]
sub edx, eax
lea ecx, [esp + 0x60]
push edx
push eax
push 0x20002
call fcn.00453aa0
mov cl, 1
test al, al
je 0x449068
cmp byte [ebx + 0x1e], 0
jne 0x448e73
mov byte [esp + 0xa], cl
cmp byte [ebx + 0x34], 0
jne 0x448e80
mov eax, dword [esp + 0x90]
mov ecx, eax
or ecx, 1
mov dword [esp + 0x90], ecx
movzx ecx, byte [ebx + 0x1c]
xor ecx, 1
mov word [esp + 0x94], cx
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x40]
mov esi, dword [ebx + 0x44]
test ecx, ecx
jne 0x448d83
test edx, edx
jne 0x448d83
test esi, esi
jne 0x448d83
cmp dword [ebx + 0x38], 0
jne 0x448cda
mov esi, dword [esp + 0xc]
mov edx, dword [ebp + 0xc]
mov edi, esi
or edi, 0x1000000
cmp byte [ebx + 0x48], 0
cmove edi, esi
pxor xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movzx eax, byte [ebx + 0x1b]
test al, al
jns 0x448b76
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
jmp 0x448b79
lea ecx, [ebx + 0x10]
test eax, eax
cmove ecx, eax
mov dword [esp + 0xc], 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 0x448e8d
lea ecx, [esp + 0x40]
push dword [edx + 4]
push dword [edx]
call fcn.0046b840
mov eax, dword [ebx + 0x30]
test eax, eax
jne 0x448ea3
xor eax, eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc8], eax
mov cl, byte [ebx + 0x58]
test cl, cl
jne 0x448da9
cmp dword [ebx + 0x54], 0
jne 0x448da9
movzx edx, byte [esp + 0xa]
cmp byte [esp + 0x4b], 0
jns 0x448bf2
mov ebx, dword [esp + 0x40]
jmp 0x448bf6
lea ebx, [esp + 0x40]
lea ecx, [esp + 0x50]
xor esi, esi
push ecx
lea ecx, [esp + 0x68]
push ecx
push dword [esp + 0x14]
push eax
push edi
push edx
push esi
push esi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x448ee4
cmp byte [esp + 0xcb], 0
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
js 0x448f0f
pcmpeqd xmm0, xmm0
lea ecx, [esp + 0x30]
movdqa xmmword [ecx], xmm0
lea eax, [esp + 0x50]
push eax
call fcn.00453ad0
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x448cf4
cmp byte [esi + 0x49], 0
jne 0x448f23
cmp byte [esi], 0
jne 0x448f3b
mov eax, dword [esp + 0x38]
mov ecx, dword [0x526ba8]
test ecx, ecx
jne 0x448f97
lea ecx, [esp + 0x30]
call fcn.00453c80
mov ecx, edi
push eax
call fcn.00470660
lea ecx, [esp + 0x30]
call fcn.00453be0
cmp byte [esp + 0x4b], 0
jns 0x448ca2
push dword [esp + 0x40]
call fcn.0048e90d
add esp, 4
lea ecx, [esp + 0x60]
call fcn.004539c0
lea ecx, [esp + 0xb0]
call fcn.00453840
test byte [esp + 0xb], 0x19
jne 0x448fa5
mov ecx, dword [esp + 0x118]
xor ecx, ebp
call fcn.0048f468
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00470da0
mov esi, dword [esp + 0xc]
lea ecx, [esi + 0x1000000]
cmp eax, 5
cmovl esi, ecx
jmp 0x448b4a
push dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x448c50
lea edi, [esp + 0xc0]
xor eax, eax
dec eax
mov dword [edi + 4], eax
mov dword [edi], eax
lea ecx, [esp + 0x30]
call fcn.00453c80
mov ecx, edi
push eax
call fcn.00470660
xor eax, eax
inc eax
mov ecx, edi
push eax
push eax
call fcn.004d52b0
mov ecx, dword [ebp + 8]
push 0
call fcn.00470660
mov ecx, edi
mov edi, dword [ebp + 8]
call fcn.004706d0
jmp 0x448c86
push 0x11b
push str..._.._base_process_launch_win.cc
lea eax, [esp + 0xc8]
push eax
call fcn.004d2060
add esp, 0xc
lea ecx, [esp + 0xc0]
call fcn.004d1fa0
lea ecx, [esp + 0xc0]
call fcn.004d1fb0
jmp 0x448ab5
or eax, 0x101
mov dword [esp + 0x90], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], esi
jmp 0x448b3c
test cl, cl
je 0x448fff
lea eax, [ebx + 0x4c]
lea ebx, [esp + 0x30]
push eax
push 0x50c1b8
push ebx
call fcn.004e2c70
add esp, 0xc
mov eax, dword [ebx + 8]
mov dword [esp + 0xc8], eax
movq xmm0, qword [ebx]
movq qword [esp + 0xc0], xmm0
cmp byte [esp + 0xcb], 0
jns 0x448fed
mov eax, dword [esp + 0xc0]
jmp 0x448ff4
call fcn.00470d30
mov esi, eax
xor eax, eax
dec eax
lea edi, [esp + 0x60]
mov dword [edi + 4], eax
mov dword [edi], eax
push edi
call fcn.00471340
sub esp, 0x2c
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], eax
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 8], str.LaunchProcess
mov dword [esp + 4], 0x521c5c
mov dword [esp], 0x58
call fcn.00476870
add esp, 0x30
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], str.LaunchProcess
mov dword [esp + 0x10], 0x521c5c
jmp 0x4489b8
int3
or byte [esp + 0x90], 0x80
jmp 0x448aeb
mov dword [esp + 0x6c], 0x507bbe
jmp 0x448af9
mov eax, dword [edx + 8]
mov dword [esp + 0x48], eax
movq xmm0, qword [edx]
movq qword [esp + 0x40], xmm0
jmp 0x448ba9
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 0x4490bd
or edi, 0x400
mov ecx, dword [esp + 0xc0]
movzx ebx, byte [esp + 0xa]
cmp byte [esp + 0x4b], 0
jns 0x449079
mov edx, dword [esp + 0x40]
jmp 0x44907d
mov ecx, dword [ebp + 8]
push 0
call fcn.00470660
cmp byte [esp + 0xcb], 0
jns 0x448f07
push dword [esp + 0xc0]
call fcn.0048e90d
add esp, 4
mov edi, dword [ebp + 8]
jmp 0x448c8f
push dword [esp + 0xc0]
call fcn.0048e90d
add esp, 4
jmp 0x448c2f
push dword [esp + 0x30]
call fcn.004490e0
add esp, 4
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
jmp 0x448c5a
pcmpeqd xmm0, xmm0
lea ebx, [esp + 0xc0]
movdqa xmmword [ebx + 0x30], xmm0
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea esi, [esp + 0x20]
push 0x198
push str..._.._base_process_launch_win.cc
push str.LaunchProcess
push esi
call fcn.0046dd60
add esp, 0x10
mov ecx, ebx
push 0
push esi
call fcn.004745e0
push 0xffffffffffffffff
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, ebx
call fcn.00474640
jmp 0x448c63
push dword [ebp + 0xc]
push eax
call fcn.004e0000
jmp 0x448c75
mov eax, dword [esp + 0x10]
cmp byte [eax], 0
je 0x448cc2
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 + 0x20]
mov dword [esp], eax
call fcn.00477310
add esp, 0x10
jmp 0x448cc2
lea eax, [esp + 0xc0]
or edi, 0x400
jmp 0x448be0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
je 0x4490bd
mov esi, eax
lea eax, [ebx + 0x4c]
lea ebx, [esp + 0x30]
push eax
push esi
push ebx
call fcn.004e2c70
add esp, 0xc
mov eax, dword [ebx + 8]
mov dword [esp + 0xc8], eax
movq xmm0, qword [ebx]
movq qword [esp + 0xc0], xmm0
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x448dde
lea eax, [esp + 0x100]
or byte [eax + 0xb], 0x20
lea ecx, [esp + 0x60]
push 0x10
push eax
push 0x20007
call fcn.00453aa0
test al, al
jne 0x448a87
mov edi, dword [ebp + 8]
mov ecx, edi
push 0
call fcn.00470660
jmp 0x448ca2
lea edx, [esp + 0x40]
lea esi, [esp + 0x50]
xor eax, eax
push esi
lea esi, [esp + 0x68]
push esi
push dword [esp + 0x14]
push ecx
push edi
push ebx
push eax
push eax
push edx
push eax
mov eax, dword [ebp + 0x10]
push dword [eax + 0x30]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
push dword [esp + 0xc0]
call sub.USERENV.dll_DestroyEnvironmentBlock
test esi, esi
je 0x4490bd
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
jmp 0x448c2f
mov edi, dword [ebp + 8]
mov ecx, edi
push 0
call fcn.00470660
jmp 0x448c8f