Function at 0x14000a130
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14004e100]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rdx
mov rsi, rcx
test rcx, rcx
je 0x14000a48a
cmp byte [rcx], 0
je 0x14000a48a
test rdx, rdx
je 0x14000a48a
cmp byte [rdx], 0
jne 0x14000a3c7
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xor eax, eax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rcx + r8], al
jne 0x14000a1a0
mov rdx, rsi
lea rcx, [rbp - 0x28]
call fcn.140001510
nop
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x14000a1e7
lea rax, [rcx + 1]
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x28]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x28]
mov word [rax + rcx], 0x3d
jmp 0x14000a20a
mov qword [rsp + 0x20], 1
lea r9, [0x14003bbe8]
movzx r8d, byte [rbp - 0x30]
mov edx, 1
lea rcx, [rbp - 0x28]
call fcn.140002230
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
call fcn.14001c8c0
test eax, eax
sete r14b
mov byte [rbp - 0x30], r14b
test eax, eax
jne 0x14000a384
mov r15, qword [0x14004f458]
mov r12, r15
mov r13, qword [0x14004f450]
sub r12, r13
sar r12, 5
sub r12d, 1
js 0x14000a384
movsxd r14, r12d
mov rbx, r14
shl rbx, 5
add rbx, r13
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000a26d
mov rdx, qword [rbx]
mov r8, rdi
inc r8
cmp byte [rsi + r8], 0
jne 0x14000a270
cmp r8, qword [rbx + 0x10]
jne 0x14000a28c
mov rcx, rsi
call fcn.140039040
test eax, eax
je 0x14000a29e
dec r12d
sub rbx, 0x20
sub r14, 1
jns 0x14000a260
jmp 0x14000a37f
movsxd rbx, r12d
shl rbx, 5
add rbx, r13
lea rdi, [rbx + 0x20]
mov esi, 0xf
cmp rdi, r15
je 0x14000a32c
cmp rbx, rdi
je 0x14000a318
mov rdx, qword [rbx + 0x18]
cmp rdx, rsi
jbe 0x14000a2f4
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000a2ef
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000a4bc
mov rcx, r8
call fcn.140015690
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rsi
mov byte [rbx], al
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rsi
mov byte [rdi], al
add rbx, 0x20
add rdi, 0x20
cmp rdi, r15
jne 0x14000a2b6
mov r15, qword [0x14004f458]
mov rdx, qword [r15 - 8]
cmp rdx, rsi
jbe 0x14000a366
mov rcx, qword [r15 - 0x20]
inc rdx
cmp rdx, 0x1000
jb 0x14000a361
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000a4bc
mov rcx, r8
call fcn.140015690
mov qword [r15 - 0x10], 0
mov qword [r15 - 8], rsi
mov byte [r15 - 0x20], 0
sub qword [0x14004f458], 0x20
movzx r14d, byte [rbp - 0x30]
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x14000a484
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a47f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a4b6
jmp 0x14000a47f
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
setne r14b
test eax, eax
je 0x14000a484
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], 0
jne 0x14000a3f1
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140001510
nop
mov rdx, qword [0x14004f458]
cmp rdx, qword [0x14004f460]
je 0x14000a43c
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rdx + 0x10], xmm1
mov esi, 0xf
mov byte [rbp - 0x28], 0
add qword [0x14004f458], 0x20
jmp 0x14000a450
lea r8, [rbp - 0x28]
lea rcx, [0x14004f450]
call fcn.140001c50
mov rsi, qword [rbp - 0x10]
cmp rsi, 0xf
jbe 0x14000a484
lea rdx, [rsi + 1]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a47f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a4b0
call fcn.140015690
movzx eax, r14b
jmp 0x14000a48c
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400157b0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14001c45c
int3
call fcn.14001c45c
nop
call fcn.14001c45c
nop
int3