Function at 0x14010008c
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor r14d, r14d
mov r13d, edx
mov r15, rcx
mov dword [rsp + 0x60], r14d
test rcx, rcx
jne 0x1401000d0
call fcn.1400f0acc
mov dword [rax], 0x16
call fcn.1400f1ae8
jmp 0x1401001bb
mov rsi, qword [rcx]
test rsi, rsi
je 0x1401001b0
mov edx, 0x3d
mov rcx, rsi
call fcn.14010076c
mov r12, rax
test rax, rax
je 0x1401001b0
cmp rsi, rax
je 0x1401001b0
cmp byte [rax + 1], r14b
mov rdi, qword [0x140174c20]
mov ebp, r14d
sete bpl
cmp rdi, qword [0x140174c58]
jne 0x140100190
mov rbx, rdi
mov ecx, r14d
mov rax, rdi
test rdi, rdi
jne 0x14010012c
mov rdi, r14
jmp 0x140100189
cmp qword [rdi], r14
je 0x14010013c
lea rax, [rax + 8]
inc ecx
cmp qword [rax], r14
jne 0x140100131
lea eax, [rcx + 1]
mov edx, 8
movsxd rcx, eax
call fcn.1400f0858
mov r14, rax
mov rdi, rax
test rax, rax
jne 0x14010015f
lea ecx, [rax + 9]
call fcn.1400ee880
mov rax, qword [rbx]
test rax, rax
je 0x140100182
sub rbx, r14
mov rcx, rax
call fcn.1400ee0fc
mov qword [r14], rax
add r14, 8
mov rax, qword [rbx + r14]
test rax, rax
jne 0x14010016a
and qword [r14], 0
xor r14d, r14d
mov qword [0x140174c20], rdi
test rdi, rdi
jne 0x140100225
test r13d, r13d
je 0x1401001db
cmp qword [0x140174c28], r14
je 0x1401001db
call fcn.1400fdb54
test eax, eax
je 0x14010021e
call fcn.1400f0acc
mov dword [rax], 0x16
or eax, 0xffffffff
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
test ebp, ebp
je 0x1401001e3
xor eax, eax
jmp 0x1401001be
mov ecx, 8
call fcn.1400f08d8
mov qword [0x140174c20], rax
test rax, rax
je 0x1401001bb
mov qword [rax], r14
cmp qword [0x140174c28], r14
jne 0x14010021e
mov ecx, 8
call fcn.1400f08d8
mov qword [0x140174c28], rax
test rax, rax
je 0x1401001bb
mov qword [rax], r14
mov rdi, qword [0x140174c20]
mov r14, rdi
test rdi, rdi
je 0x1401001bb
mov rax, qword [rdi]
mov ecx, r12d
mov rbx, rdi
sub ecx, esi
test rax, rax
je 0x14010027c
movsxd rdi, ecx
mov r8, rdi
mov rdx, rax
mov rcx, rsi
call fcn.1400fdc48
test eax, eax
jne 0x140100269
mov rax, qword [rbx]
cmp byte [rdi + rax], 0x3d
je 0x14010030a
cmp byte [rdi + rax], 0
je 0x14010030a
add rbx, 8
mov rax, qword [rbx]
test rax, rax
jne 0x140100240
mov rdi, qword [0x140174c20]
sub rbx, rdi
sar rbx, 3
neg ebx
test ebx, ebx
js 0x140100329
cmp qword [r14], 0
je 0x140100329
movsxd rdi, ebx
mov rcx, qword [r14 + rdi*8]
call fcn.1400ea498
test ebp, ebp
je 0x14010031d
cmp qword [r14 + rdi*8], 0
je 0x1401002cd
lea rcx, [rdi + 1]
lea rcx, [r14 + rcx*8]
mov rax, qword [rcx]
inc ebx
lea rcx, [rcx + 8]
mov qword [r14 + rdi*8], rax
inc rdi
cmp qword [r14 + rdi*8], 0
jne 0x1401002b6
movsxd rdx, ebx
movabs rax, 0x1fffffffffffffff
cmp rdx, rax
jae 0x140100385
mov rcx, qword [0x140174c20]
mov r8d, 8
call fcn.1400f09d8
xor r14d, r14d
test rax, rax
je 0x140100388
mov qword [0x140174c20], rax
jmp 0x140100388
mov rdi, qword [0x140174c20]
sub rbx, rdi
sar rbx, 3
jmp 0x140100285
mov qword [r14 + rdi*8], rsi
xor r14d, r14d
mov qword [r15], r14
jmp 0x140100388
xor r14d, r14d
test ebp, ebp
jne 0x140100422
test ebx, ebx
jns 0x14010033a
neg ebx
lea eax, [rbx + 2]
cmp eax, ebx
jl 0x1401001bb
movsxd r8, eax
movabs rax, 0x1fffffffffffffff
cmp r8, rax
jae 0x1401001bb
mov edx, 8
mov rcx, rdi
call fcn.1400f09d8
test rax, rax
je 0x1401001bb
movsxd rcx, ebx
mov qword [rax + rcx*8], rsi
mov qword [rax + rcx*8 + 8], r14
mov qword [r15], r14
jmp 0x140100301
xor r14d, r14d
test r13d, r13d
je 0x14010040a
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rsi + rcx], r14b
jne 0x140100391
add rcx, 2
mov edx, 1
call fcn.1400f0858
mov rbx, rax
test rax, rax
je 0x14010040a
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rsi + rdx], r14b
jne 0x1401003b4
add rdx, 2
mov r8, rsi
mov rcx, rax
call fcn.1400fa7d0
test eax, eax
jne 0x140100432
mov rdx, rbx
mov rcx, rbx
sub rdx, rsi
add rdx, r12
mov byte [rdx], r14b
inc rdx
test ebp, ebp
cmovne rdx, r14
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x140100402
or dword [rsp + 0x60], 0xffffffff
call fcn.1400f0acc
mov dword [rax], 0x2a
mov rcx, rbx
call fcn.1400ea498
test ebp, ebp
je 0x140100419
mov rcx, rsi
call fcn.1400ea498
mov qword [r15], r14
mov eax, dword [rsp + 0x60]
jmp 0x1401001be
mov rcx, rsi
call fcn.1400ea498
mov qword [r15], r14
jmp 0x1401001df
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r14
call fcn.1400f1b08
int3