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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xe8
mov rax, qword [0x2102f7270]
test rax, rax
je 0x210062df8
lea r14, [0x210273880]
test byte [0x210273880], 1
jne 0x210062dd0
call sym.IsDebuggerPresent
test eax, eax
jne 0x210062dc0
mov rcx, qword [0x2102f7270]
xor edx, edx
lea rsi, [rsp + 0x70]
mov rdi, rsi
call sym.msys_2.0.dll_wcschr
mov rbx, rax
call sym.GetCurrentProcessId
lea rdx, [0x210288358]
mov rcx, rbx
mov r8d, eax
call sym.__small_swprintf_wchar_t__wchar_t_const__::_
call sym.GetCurrentThread
mov rcx, rax
call sym.GetThreadPriority
mov ebp, eax
call sym.GetCurrentThread
mov edx, 2
mov rcx, rax
call sym.SetThreadPriority
xor eax, eax
mov ecx, 0xd
mov qword [rsp + 0x50], 0
rep stosq qword [rdi], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x70], 0x68
call method.lock_ttys.release__
call sym.GetEnvironmentStringsW
cmp word [rax], 0
mov r15, rax
je 0x210062c9c
mov r13, rax
lea r12, [0x210288360]
jmp 0x210062c4d
xor edx, edx
mov rcx, r13
call sym.msys_2.0.dll_wcschr
cmp word [rax + 2], 0
lea r13, [rax + 2]
je 0x210062c9c
mov rcx, r12
call sym.msys_2.0.dll_wcslen
mov rdx, r12
mov rcx, r13
mov r8, rax
call sym.msys_2.0.dll_wcsncmp
test eax, eax
jne 0x210062c38
lea rdx, str.error_start
mov rcx, r13
call sym.msys_2.0.dll_wcsstr
test rax, rax
je 0x210062c9c
mov edx, 0x5f
mov rcx, r12
mov word [rax], dx
call sym.msys_2.0.dll_wcslen
lea rcx, [0x210288384]
lea rdx, [r13 + rax*2]
call sym.SetEnvironmentVariableW
mov rcx, r15
call sym.FreeEnvironmentStringsW
call sym.GetCurrentThreadId
mov edi, eax
call sym.GetCurrentProcessId
mov ecx, eax
call sym.cygwin_pid_unsigned_int_
mov r8d, edi
lea rcx, str._starting_debugger_for_pid__u__tid__u_n
mov edx, eax
call sym.small_printf
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
mov rdx, qword [0x2102f7270]
xor ecx, ecx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x210
mov dword [rsp + 0x20], 0
call sym.CreateProcessW
mov r12d, eax
xor eax, eax
mov word [rbx], ax
test r12d, r12d
je 0x210062d90
call sym.GetCurrentThread
mov edx, 0xfffffff1
mov rcx, rax
call sym.SetThreadPriority
jmp 0x210062d3a
mov ecx, 1
call sym.Sleep
call sym.IsDebuggerPresent
test eax, eax
je 0x210062d30
mov ecx, 0x7d0
call sym.Sleep
call sym.GetCurrentProcessId
mov ecx, eax
call sym.cygwin_pid_unsigned_int_
mov r8d, r12d
mov edx, eax
lea rcx, str._continuing_pid__u_from_debugger_call___d__n
call sym.small_printf
call sym.GetCurrentThread
mov edx, ebp
mov rcx, rax
call sym.SetThreadPriority
mov eax, r12d
add rsp, 0xe8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.int_try_to_debug__
mov edx, 0x8000
lea r9, str.Failed_to_start_debugger___E
mov rcx, r14
call method.strace.prntf_unsigned_int__char_const__char_const__..._
call sym.GetCurrentProcessId
mov ecx, eax
call sym.cygwin_pid_unsigned_int_
xor r8d, r8d
mov edx, eax
jmp 0x210062d5e
call sym.break_here
xor r12d, r12d
jmp 0x210062d79
mov qword [rsp + 0x20], rax
lea r9, str.debugger_command__W
mov edx, 0x40
mov rcx, r14
lea r8, str.int_try_to_debug__
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x210062b87
xor r12d, r12d
jmp 0x210062d79