Function at 0x140022060
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push rbp
lea rbp, [rsp - 0x1640]
mov eax, 0x1740
call fcn.140029290
sub rsp, rax
mov rax, qword [0x14006c030]
xor rax, rsp
mov qword [rbp + 0x1630], rax
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x630]
call fcn.14002aed0
mov r8d, 0x800
lea rdx, [rbp + 0x630]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x220]
call fcn.14002aed0
mov edx, 0x49
lea rcx, [rbp - 0x78]
call fcn.1400140d0
nop
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
add r8, rdx
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rdx, qword [rbp - 0x78]
lea rcx, [rsp + 0x50]
call fcn.1400146d0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14002213d
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022138
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022339
call fcn.1400285fc
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
lea r9, [rbp + 0x630]
mov edx, 0x208
lea rcx, [rbp + 0x220]
call fcn.140021ea0
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400221a8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400221a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002233f
call fcn.1400285fc
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x20]
call fcn.14002aed0
mov edx, 0x4a
lea rcx, [rbp - 0x78]
call fcn.1400140d0
nop
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
add r8, rdx
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rdx, qword [rbp - 0x78]
lea rcx, [rsp + 0x50]
call fcn.1400146d0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140022231
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002222c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022345
call fcn.1400285fc
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
mov r8d, 0x100
lea rdx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140022294
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002228f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022333
call fcn.1400285fc
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rax
mov dword [rbp - 0x50], 0x68
mov dword [rbp - 0x14], 1
xor ecx, ecx
mov word [rbp - 0x10], cx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x220]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1630]
xor rcx, rsp
call fcn.1400285b0
add rsp, 0x1740
pop rbp
ret
call fcn.14002ef48
int3
call fcn.14002ef48
int3
call fcn.14002ef48
int3
call fcn.14002ef48
int3