Function at 0x10009c4b7
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, rcx
lea rcx, [0x1000b4d27]
mov r14b, r8b
or r12d, 0xffffffff
call fcn.1000a3d9f
movsxd rbx, dword [rbx]
lea r9d, [rbx + 1]
mov rdi, rax
movsxd rcx, r9d
shl rcx, 3
call fcn.10009dffb
mov r11, qword [rsp + 0x78]
lea esi, [r12 + 2]
mov rdx, qword [r11]
mov r8, rax
mov qword [rsp + 0x20], rax
mov rcx, qword [rdx]
mov r15, rbx
mov qword [rax], rcx
mov eax, esi
mov dword [rsp + 0x88], eax
mov r13d, eax
cmp rax, rbx
jge 0x10009c67c
mov rdx, qword [0x1000be81f]
lea rbp, [r8 + 8]
cmp byte [0x1000be7fb], 0
mov rax, qword [r11]
mov rbx, qword [rax + r13*8]
je 0x10009c563
cmp byte [rbx], 0x2d
je 0x10009c59a
mov qword [rbp], rbx
inc esi
add rbp, 8
jmp 0x10009c602
lea rdx, [0x1000b4d17]
mov rcx, rbx
call fcn.1000a4887
test eax, eax
je 0x10009c638
lea rdx, [0x1000b4d13]
mov rcx, rbx
call fcn.1000a4887
test eax, eax
je 0x10009c638
cmp byte [rbx], 0x2d
jne 0x10009c670
mov rcx, rbx
call fcn.10009be53
test eax, eax
js 0x10009c5c6
mov rdx, qword [0x1000be81f]
mov r12d, eax
cdqe
shl rax, 5
mov rdi, qword [rax + rdx]
mov rax, qword [rsp + 0x70]
inc rdi
dec dword [rax]
jmp 0x10009c5fd
lea rdx, [0x1000b4d07]
mov rcx, rbx
call fcn.10009e0f3
test eax, eax
je 0x10009c620
lea rdx, [0x1000b4cf7]
mov rcx, rbx
call fcn.10009e0f3
test eax, eax
je 0x10009c620
mov qword [rbp], rbx
inc esi
add rbp, 8
mov rdx, qword [0x1000be81f]
mov r11, qword [rsp + 0x78]
mov eax, dword [rsp + 0x88]
inc r13
inc eax
mov dword [rsp + 0x88], eax
cmp r13, r15
jl 0x10009c53f
jmp 0x10009c683
cmp byte [rbx + 1], 0x58
mov edi, 0xc
lea eax, [rdi - 2]
cmove edi, eax
add rdi, rbx
or r12d, 0xffffffff
jmp 0x10009c5f6
inc dword [rsp + 0x88]
inc r13
mov qword [rbp], rbx
inc esi
add rbp, 8
cmp r13, r15
jge 0x10009c5f6
mov r11, qword [rsp + 0x78]
mov rdx, qword [0x1000be81f]
inc esi
mov rax, qword [r11]
mov rcx, qword [rax + r13*8]
mov qword [rbp], rcx
add rbp, 8
jmp 0x10009c602
mov eax, dword [rsp + 0x88]
mov r11, qword [rsp + 0x78]
mov rdx, qword [0x1000be81f]
mov r10, qword [rsp + 0x20]
movsxd r8, eax
mov ebp, 1
movsxd rax, esi
cmp r8, r15
jge 0x10009c6ba
lea r9, [r10 + rax*8]
mov eax, r15d
sub eax, r8d
add esi, eax
mov rax, qword [r11]
mov rcx, qword [rax + r8*8]
add r8, rbp
mov qword [r9], rcx
add r9, 8
cmp r8, r15
jl 0x10009c6a4
movsxd rax, esi
and qword [r10 + rax*8], 0
mov rax, qword [rsp + 0x70]
mov qword [r11], r10
mov dword [rax], esi
test rdi, rdi
jne 0x10009c70c
mov rbx, qword [rdx]
add rbx, rbp
cmp dword [rdx + 8], 4
jne 0x10009c6f5
call fcn.10009e5cb
cmp al, bpl
jne 0x10009c6f5
mov rax, qword [0x1000be81f]
mov rbx, qword [rax + 0x18]
add rbx, rbp
lea rcx, [0x1000b4ce7]
mov rdx, rbx
call fcn.10009e087
mov rax, rbx
jmp 0x10009c816
test r12d, r12d
js 0x10009c813
movsxd rax, r12d
xor ebx, ebx
shl rax, 5
jmp 0x10009c756
movsxd rcx, r12d
shl rcx, 5
mov rcx, qword [rcx + rdx + 0x10]
call fcn.10009be53
cmp ebx, dword [0x1000be80b]
jg 0x10009c7ae
test eax, eax
js 0x10009c782
mov rdx, qword [0x1000be81f]
mov r12d, eax
cdqe
shl rax, 5
mov rdi, qword [rax + rdx]
add rdi, rbp
add ebx, ebp
cmp dword [rax + rdx + 8], ebp
je 0x10009c720
movsxd rcx, r12d
shl rcx, 5
mov r8d, dword [rcx + rdx + 8]
sub r8d, 2
je 0x10009c7ec
dec r8d
je 0x10009c7d0
cmp r8d, 2
je 0x10009c80d
jmp 0x10009c813
test r14b, r14b
jne 0x10009c7c7
mov rdx, qword [0x1000be81f]
movsxd rax, r12d
lea rcx, [0x1000b4cbf]
shl rax, 5
mov rdx, qword [rax + rdx + 0x10]
call fcn.10009e36b
mov ecx, ebp
call fcn.1000a3bd7
int3
test r14b, r14b
jne 0x10009c7c7
lea rcx, [0x1000b4c87]
call fcn.10009e36b
mov ecx, ebp
call fcn.1000a3bd7
int3
lea rax, [0x1000b4c7b]
jmp 0x10009c816
test r14b, r14b
jne 0x10009c7c7
lea rcx, [0x1000b4c5f]
mov rdx, rdi
call fcn.10009e36b
mov ecx, ebp
call fcn.1000a3bd7
int3
test r14b, r14b
jne 0x10009c80d
mov r8, qword [rdx]
lea rcx, [0x1000b4c27]
mov rdx, rdi
add r8, rbp
call fcn.10009e36b
mov rdx, qword [0x1000be81f]
mov rdi, qword [rdx]
add rdi, rbp
mov rax, rdi
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret