Function at 0x14000b970
Capabilities:
Query environment variable

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2a8
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x48], 0xfffffffffffffffe
xor r14d, r14d
mov ecx, r14d
mov eax, dword [0x140029cf8]
cmp eax, 1
setg cl
jg 0x14000b9b5
jne 0x14000b9b0
cmp dword [0x140023a80], 1
jg 0x14000b9b5
mov eax, r14d
jmp 0x14000b9ba
mov eax, 1
mov dword [0x140023a54], r14d
cmp dword [0x1400238f0], r14d
jl 0x14000c169
test ecx, ecx
je 0x14000b9de
mov dword [0x140023a54], 2
jmp 0x14000ba0e
test eax, eax
je 0x14000b9ee
mov dword [0x140023a54], 1
jmp 0x14000ba0e
lea rdx, str.NUMA_selected_but_no_NUMA_configuration_detected
lea rcx, [0x140029b38]
call fcn.14000fbe0
cmp dword [0x140023a54], r14d
je 0x14000c169
lea rcx, str.VRAY_USE_THREAD_AFFINITY0
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__putenv]
mov edx, dword [0x140029cf8]
movsxd rax, edx
shl rax, 2
lea rcx, [rax + 0xf]
movabs rbx, 0xffffffffffffff0
cmp rcx, rax
ja 0x14000ba3e
mov rcx, rbx
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400112c0
sub rsp, rcx
lea rsi, [rsp + 0x30]
mov r8d, r14d
lea rax, [0x140023a80]
test edx, edx
jle 0x14000baab
mov r10, rsi
mov r9, rax
mov r11, rdx
nop dword [rax]
mov edx, r14d
mov dword [r10], r14d
mov ecx, r14d
cmp dword [r9], ecx
jle 0x14000ba9a
lea rax, [r9 + 0x18]
cmp dword [rax], r14d
je 0x14000ba8f
inc r8d
inc edx
mov dword [r10], edx
inc ecx
add rax, 0x18
cmp ecx, dword [r9]
jl 0x14000ba82
add r9, 0x608
add r10, 4
sub r11, 1
jne 0x14000ba70
mov dword [0x140029e00], r8d
mov eax, dword [0x1400238f0]
test eax, eax
jle 0x14000baca
cmp r8d, eax
cmovg r8d, eax
mov dword [0x140029e00], r8d
movsxd rcx, r8d
mov eax, 0x30
mul rcx
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.14000d220
mov qword [0x140029e08], rax
mov r8d, dword [0x140029e00]
lea rdx, str.Number_of_processes_to_spawn:__d
lea rcx, [0x140029b38]
call fcn.14000fab0
cmp dword [0x140029e00], r14d
jne 0x14000bb2c
lea rdx, str.nothing_to_do
lea rcx, [0x140029b38]
call fcn.14000fbe0
cmp dword [0x140029e00], r14d
jle 0x14000c1ca
mov dword [rbp + 0x2c0], edi
cmp dword [0x1400218e8], 1
jge 0x14000bb95
lea rcx, str.VRAY_DR_CONTROLPORT
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14000bb84
lea r8, [rbp + 0x2c0]
lea rdx, [0x140015434]
mov rcx, rax
call fcn.14000d1a0
cmp eax, 1
jne 0x14000bb84
mov ecx, dword [rbp + 0x2c0]
lea eax, [rcx - 1]
cmp eax, 0xfffe
ja 0x14000bb84
test ecx, ecx
js 0x14000bb8a
jmp 0x14000bb95
mov dword [rbp + 0x2c0], edi
call fcn.14000b720
mov dword [rbp + 0x2c0], eax
mov dword [rbp + 0x2d8], r14d
movsxd r8, dword [0x140029cf8]
mov r12, r8
lea rax, [r8*4]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14000bbba
mov rcx, rbx
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400112c0
sub rsp, rcx
lea rbx, [rsp + 0x30]
mov qword [rsp + 0x20], rbx
mov r9, rsi
mov edx, dword [0x140029e00]
lea rcx, [rbp + 0x38]
call fcn.14000b1d0
mov r15d, r14d
mov edi, r14d
mov r13, qword [rbp + 0x40]
test r12, r12
jle 0x14000bc8a
sub rsi, rbx
mov qword [rbp + 0x2c8], rsi
mov r10d, dword [rbx]
mov ecx, r10d
test r10d, r10d
je 0x14000bc77
mov eax, dword [rsi + rbx]
cdq
idiv r10d
mov esi, eax
mov r9d, r14d
test r10d, r10d
jle 0x14000bc70
movsxd rcx, r15d
lea rcx, [rcx + rcx*2]
lea r8, [rcx*4]
add r8, r13
mov r11d, r10d
nop dword [rax]
nop word [rax + rax]
lea ecx, [rsi + 1]
test edx, edx
cmove ecx, esi
mov rax, r8
add r8, 0xc
mov dword [rax], edi
mov dword [rax + 4], r9d
mov dword [rax + 8], ecx
add r9d, ecx
lea eax, [rdx - 1]
test edx, edx
cmove eax, edx
mov edx, eax
sub r11, 1
jne 0x14000bc40
mov ecx, dword [rbx]
xor r14d, r14d
mov rsi, qword [rbp + 0x2c8]
add r15d, ecx
inc edi
add rbx, 4
sub r12, 1
jne 0x14000bc02
mov edx, r14d
mov dword [rbp + 0xc], edx
cmp dword [0x140029e00], 0
jle 0x14000c15f
mov r9, r14
mov qword [rbp + 0x20], r14
lea r10, [0x1400218ec]
mov qword [rbp + 0x28], r10
lea r8, [r13 + 8]
mov qword [rbp + 0x18], r8
test edx, edx
js 0x14000bcc5
cmp edx, dword [rbp + 0x38]
mov eax, 1
jl 0x14000bcc8
mov eax, r14d
mov dword [rbp + 8], r14d
mov dword [rbp + 0x2c8], r14d
xor r13d, r13d
mov ecx, r13d
test eax, eax
je 0x14000bcf2
mov ecx, dword [r8 - 8]
mov r14d, dword [r8 - 4]
mov dword [rbp + 0x2c8], r14d
mov eax, dword [r8]
mov dword [rbp + 8], eax
mov r15, qword [0x140029e08]
add r15, r9
mov qword [rbp + 0x30], r15
mov dword [r15 + 0x18], ecx
movsxd rax, ecx
imul rcx, rax, 0x608
lea rax, [0x140023a80]
add rcx, rax
mov qword [rbp + 0x10], rcx
mov qword [r15 + 0x20], r13
mov ecx, dword [rbp + 0x2d8]
cmp ecx, dword [0x1400218e8]
jge 0x14000bd49
mov eax, dword [r10]
mov dword [rbp + 0x2c0], eax
inc ecx
mov dword [rbp + 0x2d8], ecx
add r10, 4
mov qword [rbp + 0x28], r10
jmp 0x14000bd4f
mov eax, dword [rbp + 0x2c0]
mov dword [r15 + 0x28], eax
inc dword [rbp + 0x2c0]
mov eax, dword [r15 + 0x18]
mov dword [rsp + 0x20], eax
mov r9d, dword [r15 + 0x28]
mov r8d, edx
lea rdx, str._tProcess__d:_port__d__group__d__nodes
lea rcx, [rbp + 0x70]
call fcn.14000d140
mov qword [rbp], r13
lea rax, [rbp + 0x70]
or r12, 0xffffffffffffffff
mov rdi, r12
inc rdi
cmp byte [rax + rdi], r13b
jne 0x14000bd87
mov ecx, 0x20
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rbp + 0x50], rax
lea esi, [rdi + 1]
test rax, rax
je 0x14000bdb5
mov edx, esi
mov rcx, rax
call fcn.140003110
mov rbx, rax
jmp 0x14000bdb8
mov rbx, r13
mov qword [rbp], rbx
mov r10, qword [rbx + 0x10]
test r10, r10
je 0x14000bdfc
test esi, esi
jle 0x14000bdfc
mov edx, r13d
mov r8, r13
test edi, edi
jle 0x14000bdf7
mov rax, r10
lea r9, [rbp + 0x70]
sub r9, r10
nop dword [rax]
movzx ecx, byte [rax + r9]
test cl, cl
je 0x14000bdf7
mov byte [rax], cl
inc edx
inc r8
inc rax
cmp edx, edi
jl 0x14000bde0
mov byte [r8 + r10], 0
xor ecx, ecx
mov dword [rbp + 0x2d0], ecx
mov rdx, qword [rbp + 0x10]
cmp dword [rdx], ecx
jle 0x14000bfaa
lea r12, [rdx + 8]
cmp dword [r12 + 0x10], 0
je 0x14000bf8b
cmp r13d, r14d
jl 0x14000bf6c
mov rax, qword [r12 + 8]
or qword [r15 + 0x20], rax
mov r8d, dword [r12]
lea rdx, [0x14001546c]
lea rcx, [rbp + 0x70]
call fcn.14000d140
lea rdx, [rbp + 0x70]
test rbx, rbx
jne 0x14000be61
lea rcx, [rbp]
call fcn.140003610
mov rbx, qword [rbp]
jmp 0x14000bf62
or rcx, 0xffffffffffffffff
mov rax, rcx
nop dword [rax + rax]
lea rax, [rax + 1]
cmp byte [rdx + rax], 0
jne 0x14000be70
lea r15, [rbx + 0x10]
mov rdx, qword [r15]
lea rcx, [rcx + 1]
cmp byte [rdx + rcx], 0
jne 0x14000be81
lea edi, [rcx + rax]
lea rsi, [rbx + 0x18]
lea r14d, [rdi + 1]
mov eax, dword [rsi]
cmp eax, 1
jle 0x14000bf2a
mov ecx, 0x20
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rbp + 0x58], rax
test rax, rax
je 0x14000bec4
mov edx, r14d
mov rcx, rax
call fcn.140003110
mov rbx, rax
jmp 0x14000bec6
xor ebx, ebx
mov r9, qword [r15]
mov r10, qword [rbx + 0x10]
test r14d, r14d
jle 0x14000befd
xor edx, edx
xor r8d, r8d
test edi, edi
jle 0x14000bef8
mov rax, r10
sub r9, r10
movzx ecx, byte [r9 + rax]
test cl, cl
je 0x14000bef8
mov byte [rax], cl
inc edx
inc r8
inc rax
cmp edx, edi
jl 0x14000bee1
mov byte [r10 + r8], 0
or rax, 0xffffffffffffffff
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x14000bf24
mov rdi, qword [rbp]
mov rcx, qword [r15]
call qword [rdi + 8]
xor ecx, ecx
mov qword [r15], rcx
mov eax, dword [rsi]
mov dword [rsi], ecx
mov rcx, qword [rbp]
call qword [rdi + 8]
mov qword [rbp], rbx
jmp 0x14000bf4e
xor edi, edi
mov rbx, qword [rbp]
test r14d, r14d
jle 0x14000bf45
movsxd rdx, r14d
mov rcx, qword [r15]
call qword [rbx]
mov rdi, rax
test rax, rax
jne 0x14000bf4b
mov rcx, qword [r15]
call qword [rbx + 8]
mov qword [r15], rdi
mov r8d, r14d
lea rdx, [rbp + 0x70]
mov rcx, qword [rbx + 0x10]
call fcn.14000c610
mov r15, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x10]
mov ecx, dword [rbp + 0x2d0]
cmp dword [r12 + 0x10], 0
je 0x14000bf8b
inc r13d
mov r14d, dword [rbp + 0x2c8]
mov eax, dword [rbp + 8]
add eax, r14d
cmp r13d, eax
jge 0x14000bfa6
jmp 0x14000bf92
mov r14d, dword [rbp + 0x2c8]
inc ecx
mov dword [rbp + 0x2d0], ecx
add r12, 0x18
cmp ecx, dword [rdx]
jl 0x14000be14
or r12, 0xffffffffffffffff
mov r8, qword [r15 + 0x20]
lea rdx, str.__mask_0x_llX
lea rcx, [rbp + 0x70]
call fcn.14000d140
test rbx, rbx
jne 0x14000bfd9
lea rdx, [rbp + 0x70]
lea rcx, [rbp]
call fcn.140003610
mov rdi, qword [rbp]
jmp 0x14000c0da
lea rcx, [rbp + 0x70]
mov rax, r12
lea rax, [rax + 1]
cmp byte [rcx + rax], 0
jne 0x14000bfe0
mov rdx, qword [rbx + 0x10]
mov rcx, r12
lea rcx, [rcx + 1]
cmp byte [rdx + rcx], 0
jne 0x14000bff1
lea esi, [rcx + rax]
lea r14d, [rsi + 1]
mov eax, dword [rbx + 0x18]
cmp eax, 1
jle 0x14000c0a3
mov ecx, 0x20
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rbp + 0x60], rax
test rax, rax
je 0x14000c031
mov edx, r14d
mov rcx, rax
call fcn.140003110
mov rdi, rax
jmp 0x14000c033
xor edi, edi
mov r9, qword [rbx + 0x10]
mov r10, qword [rdi + 0x10]
test r14d, r14d
jle 0x14000c06c
xor edx, edx
xor r8d, r8d
test esi, esi
jle 0x14000c067
mov rax, r10
sub r9, r10
nop
movzx ecx, byte [r9 + rax]
test cl, cl
je 0x14000c067
mov byte [rax], cl
inc edx
inc r8
inc rax
cmp edx, esi
jl 0x14000c050
mov byte [r10 + r8], 0
mov eax, r12d
lock xadd dword [rbx + 0x18], eax
cmp eax, 1
jne 0x14000c09d
mov rsi, qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rsi + 8]
mov qword [rbx + 0x10], 0
mov eax, dword [rbx + 0x18]
mov dword [rbx + 0x18], 0
mov rcx, qword [rbp]
call qword [rsi + 8]
mov qword [rbp], rdi
jmp 0x14000c0ca
xor esi, esi
mov rdi, qword [rbp]
test r14d, r14d
jle 0x14000c0bf
movsxd rdx, r14d
mov rcx, qword [rbx + 0x10]
call qword [rdi]
mov rsi, rax
test rax, rax
jne 0x14000c0c6
mov rcx, qword [rbx + 0x10]
call qword [rdi + 8]
mov qword [rbx + 0x10], rsi
mov r8d, r14d
lea rdx, [rbp + 0x70]
mov rcx, qword [rdi + 0x10]
call fcn.14000c610
xor r14d, r14d
test rdi, rdi
je 0x14000c0e8
mov rdx, qword [rdi + 0x10]
jmp 0x14000c0eb
mov rdx, r14
lea rcx, [0x140029b38]
call fcn.14000fab0
nop
test rdi, rdi
je 0x14000c12b
mov eax, r12d
lock xadd dword [rdi + 0x18], eax
cmp eax, 1
jne 0x14000c127
mov rbx, qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbx + 8]
mov qword [rbx + 0x10], r14
mov eax, dword [rdi + 0x18]
mov dword [rdi + 0x18], r14d
mov rcx, qword [rbp]
call qword [rbx + 8]
mov qword [rbp], r14
mov edx, dword [rbp + 0xc]
inc edx
mov dword [rbp + 0xc], edx
mov r8, qword [rbp + 0x18]
add r8, 0xc
mov qword [rbp + 0x18], r8
mov r9, qword [rbp + 0x20]
add r9, 0x30
mov qword [rbp + 0x20], r9
cmp edx, dword [0x140029e00]
mov r10, qword [rbp + 0x28]
jl 0x14000bcb7
mov r13, qword [rbp + 0x40]
mov rcx, r13
call fcn.14000d2b0
jmp 0x14000c1ca
mov dword [0x140029e00], 1
mov ecx, 0x30
call fcn.14000d220
mov qword [0x140029e08], rax
xor edx, edx
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
mov qword [rax + 0x20], rdx
mov qword [rax + 0x28], rdx
or rdi, 0xffffffffffffffff
mov edx, edi
cmp dword [0x1400218e8], r14d
cmovg edx, dword [0x1400218ec]
mov dword [rax + 0x28], edx
mov dword [rax + 0x18], edi
lea rdx, str.Using_system_default_affinity
lea rcx, [0x140029b38]
call fcn.14000fab0
lea rsp, [rbp + 0x278]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret