Function at 0x14000f7a0
Capabilities:
Create thread
Query environment variable
Resume thread

Disassembly:
push rbx
push rsi
sub rsp, 0x38
lea rcx, str.UV_THREADPOOL_SIZE
mov dword [0x1400b81b8], 4
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14000f7ce
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
jmp 0x14000f7d4
mov eax, dword [0x1400b81b8]
test eax, eax
jne 0x14000f7df
mov eax, 1
jmp 0x14000f7e9
mov ecx, 0x400
cmp eax, ecx
cmova eax, ecx
xor esi, esi
mov dword [0x1400b81b8], eax
lea rbx, [0x1400b8228]
mov qword [0x1400b8250], rbx
cmp eax, 4
jbe 0x14000f837
mov ecx, eax
shl rcx, 3
test rcx, rcx
je 0x14000f817
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
jmp 0x14000f81a
mov rax, rsi
mov qword [0x1400b8250], rax
test rax, rax
jne 0x14000f837
mov dword [0x1400b81b8], 4
mov qword [0x1400b8250], rbx
mov qword [rsp + 0x58], rbp
lea rcx, [0x1400b81c0]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x30], r15
call qword [sym.imp.KERNEL32.DLL_InitializeConditionVariable]
lea rcx, [0x1400b8200]
call qword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
lea rax, [0x1400b82a0]
xor r9d, r9d
mov qword [0x1400b82a0], rax
xor edx, edx
mov qword [0x1400b82a8], rax
xor ecx, ecx
lea rax, [0x1400b8290]
mov r8d, 0x7fffffff
mov qword [0x1400b8290], rax
mov qword [0x1400b8298], rax
lea rax, [0x1400b8260]
mov qword [0x1400b8260], rax
mov qword [0x1400b8268], rax
call qword [sym.imp.KERNEL32.DLL_CreateSemaphoreA]
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x14000f8d6
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.14000e890
test eax, eax
jne 0x14000f9cd
mov eax, dword [0x1400b81b8]
mov ebp, esi
test eax, eax
je 0x14000f9be
lea r15, [0x14000f4b0]
nop dword [rax]
mov rax, qword [0x1400b8250]
mov ecx, ebp
lea rbx, [rax + rcx*8]
mov ecx, 0x18
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
je 0x14000f9cd
mov qword [rax], r15
lea r8, [0x14000b2a0]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rsi
mov r9, r14
mov qword [r14 + 8], rax
xor edx, edx
mov dword [rsp + 0x20], 4
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
test rax, rax
jne 0x14000f96d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov edi, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rcx, r14
mov ebx, dword [rax]
call qword [0x1400b5590]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], ebx
test edi, edi
jne 0x14000f9cd
jmp 0x14000f97d
mov qword [rbx], rax
mov rcx, rax
mov qword [r14 + 0x10], rax
call qword [sym.imp.KERNEL32.DLL_ResumeThread]
mov eax, dword [0x1400b81b8]
inc ebp
cmp ebp, eax
jb 0x14000f8f0
test eax, eax
je 0x14000f9be
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x14000f9cd
inc esi
cmp esi, dword [0x1400b81b8]
jb 0x14000f9a0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, eax
jne 0x14000f9d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
add rsp, 0x38
pop rsi
pop rbx
ret