Function at 0x14002d930
Capabilities:
Query environment variable
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x290
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14008b020]
xor rax, rsp
mov qword [rbp + 0x160], rax
xor r15d, r15d
mov dword [rsp + 0x40], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x90], xmm1
lea r8d, [r15 + 0xb]
lea rdx, str.Environment
lea rcx, [rbp + 0x80]
call fcn.140004560
nop
lea rcx, [rbp + 0x120]
call fcn.140025560
nop
lea r9, [rbp + 0x80]
mov r8, rax
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0xc0]
call fcn.14002ed80
nop
mov rdx, qword [rbp + 0x138]
cmp rdx, 8
jb 0x14002da15
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002da10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e774
call fcn.14003d1f0
movdqa xmm0, xmmword [0x14007dc60]
movdqu xmmword [rbp + 0x130], xmm0
mov word [rbp + 0x120], r15w
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
jb 0x14002da73
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002da6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e77a
call fcn.14003d1f0
movdqa xmm0, xmmword [0x14007dc60]
movdqu xmmword [rbp + 0x90], xmm0
mov word [rbp + 0x80], r15w
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r15
mov dword [rsp + 0x40], 4
cmp qword [rbp + 0xd0], 0
jne 0x14002dab7
mov esi, r15d
mov dword [rsp + 0x40], r15d
jmp 0x14002dbb5
lea rdx, [rbp + 0xc0]
lea rcx, [rbp]
call fcn.140003f50
nop
lea rcx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rcx, qword [rbp]
lea r8, [rsp + 0x48]
lea rdx, [0x1400771e4]
call fcn.14004ac6c
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14002db5b
mov rcx, qword [rsp + 0x78]
cmp rcx, qword [rbp - 0x80]
je 0x14002db2c
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], r15
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14002db11
mov rdx, rax
call fcn.140004560
add qword [rsp + 0x78], 0x20
jmp 0x14002db3e
lea r8, [rsp + 0x50]
mov rdx, rcx
lea rcx, [rsp + 0x70]
call fcn.140032070
lea r8, [rsp + 0x48]
lea rdx, [0x1400771e4]
xor ecx, ecx
call fcn.14004ac6c
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x14002daf1
mov esi, r15d
mov dword [rsp + 0x40], r15d
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x14002dba3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002db9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e780
call fcn.14003d1f0
movdqa xmm0, xmmword [0x14007dc60]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], r15w
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
mov r8d, 0xb
lea rdx, str.Environment
lea rcx, [rbp + 0xa0]
call fcn.140004560
nop
lea r8, [rbp + 0xa0]
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x58]
call fcn.14002f150
nop
mov rdx, qword [rbp + 0xb8]
cmp rdx, 8
jb 0x14002dc43
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002dc3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e786
call fcn.14003d1f0
movdqa xmm0, xmmword [0x14007dc60]
movdqu xmmword [rbp + 0xb0], xmm0
mov word [rbp + 0xa0], r15w
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
cmp rbx, r14
je 0x14002dd1c
add rbx, 0x20
mov r9, qword [rsp + 0x78]
nop word [rax + rax]
mov rdi, qword [rsp + 0x70]
cmp rdi, r9
je 0x14002dd0b
mov r10, qword [rbx - 8]
mov r11, qword [rbx - 0x10]
lea rax, [rbx - 0x20]
cmp r10, 8
jb 0x14002dca3
mov rax, qword [rax]
mov rdx, qword [rdi + 0x10]
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x14002dcb4
mov r8, qword [rdi]
cmp rdx, r11
jne 0x14002dcd7
test rdx, rdx
je 0x14002dce0
sub r8, rax
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x14002dcd7
add rax, 2
sub rdx, 1
je 0x14002dce0
jmp 0x14002dcc1
add rdi, 0x20
cmp rdi, r9
jne 0x14002dc96
cmp rdi, r9
je 0x14002dd0b
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14002dcf2
mov rdx, qword [rbx]
lea rcx, [rbx - 0x20]
cmp qword [rbx - 8], 8
jb 0x14002dd00
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov r9, qword [rsp + 0x78]
add rbx, 0x40
lea rax, [rbx - 0x20]
cmp rax, r14
jne 0x14002dc80
lea rcx, [rbp + 0x140]
call fcn.140025560
mov rdi, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
cmp rcx, rdx
jae 0x14002dd55
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 8
jb 0x14002dd4c
mov rax, qword [rdi]
mov dword [rax + rcx*2], 0x5c
jmp 0x14002dd6d
mov r9d, 0x5c
movzx r8d, byte [rsp + 0x44]
lea edx, [r9 - 0x5b]
mov rcx, rdi
call fcn.14001c5b0
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rdi]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 7
mov word [rdi], r15w
or esi, 1
mov dword [rsp + 0x40], esi
lea rdx, str.Environment
lea rcx, [rbp]
call fcn.1400040a0
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
or esi, 2
mov dword [rsp + 0x40], esi
lea r8, [rbp + 0x60]
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x78]
call fcn.14002f150
mov rdi, rax
lea rax, [rsp + 0x58]
cmp rax, rdi
je 0x14002de8e
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14002de69
mov rdx, qword [rsp + 0x60]
call fcn.140030fd0
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
sub rdx, rcx
and rdx, 0xffffffffffffffc0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002de56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e78c
call fcn.14003d1f0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r15
mov rax, qword [rdi]
mov qword [rsp + 0x58], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x60], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x68], rax
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
lea rcx, [rbp - 0x78]
call fcn.140030970
and esi, 0xfffffffd
mov dword [rsp + 0x40], esi
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x14002dede
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ded9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e792
call fcn.14003d1f0
movdqa xmm0, xmmword [0x14007dc60]
movdqu xmmword [rbp + 0x70], xmm0
mov word [rbp + 0x60], r15w
and esi, 0xfffffffe
mov dword [rsp + 0x40], esi
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x14002df37
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002df32
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e798
call fcn.14003d1f0
movdqa xmm0, xmmword [0x14007dc60]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], r15w
mov rdx, qword [rbp + 0x158]
cmp rdx, 8
jb 0x14002df8f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002df8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e79e
call fcn.14003d1f0
movdqa xmm0, xmmword [0x14007dc60]
movdqu xmmword [rbp + 0x150], xmm0
mov word [rbp + 0x140], r15w
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
cmp r13, r12
je 0x14002e1d2
movzx ebx, byte [rsp + 0x44]
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], r15
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r15w
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x50], r15d
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x20]
mov rcx, r13
call fcn.14002fbf0
lea rcx, [r13 + 0x20]
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x60]
call fcn.14002fd80
mov ecx, dword [rsp + 0x48]
test ecx, ecx
je 0x14002e0b6
sub ecx, 1
je 0x14002e060
cmp ecx, 1
jne 0x14002e123
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jmp 0x14002e123
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x14002e123
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
jne 0x14002e123
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jmp 0x14002e123
mov r14d, dword [rsp + 0x50]
mov ecx, r14d
test r14d, r14d
je 0x14002e092
sub ecx, 1
je 0x14002e0cd
cmp ecx, 1
jne 0x14002e123
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov r15d, eax
test eax, eax
jne 0x14002e2d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
jne 0x14002e120
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
xor r15d, r15d
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x14002e163
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e15e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e7d4
call fcn.14003d1f0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x14002e1b4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e1af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e7da
call fcn.14003d1f0
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r15w
add r13, 0x40
cmp r13, r12
jne 0x14002dfc0
lea rcx, [rsp + 0x58]
call fcn.140030970
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14002e238
mov rdx, qword [rsp + 0x78]
call fcn.140031100
mov rdx, qword [rbp - 0x80]
mov rcx, qword [rsp + 0x70]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e226
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e7a4
call fcn.14003d1f0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r15
mov rdx, qword [rbp + 0xd8]
cmp rdx, 8
jb 0x14002e27e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e279
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e76e
call fcn.14003d1f0
mov qword [rbp + 0xd0], r15
mov qword [rbp + 0xd8], 7
mov word [rbp + 0xc0], r15w
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14003d1d0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xor r10d, r10d
mov qword [rbp - 0x30], r10
mov qword [rbp - 0x28], r10
mov qword [rbp - 0x30], r10
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r10w
mov rcx, qword [rbp - 0x30]
cmp r15, rcx
ja 0x14002e317
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rax, qword [rbp - 0x40]
mov qword [rbp - 0x30], r15
mov word [rax + r15*2], r10w
jmp 0x14002e36d
mov rdx, r15
sub rdx, rcx
mov rdi, qword [rbp - 0x28]
mov rax, rdi
sub rax, rcx
cmp rdx, rax
ja 0x14002e357
mov qword [rbp - 0x30], r15
lea r9, [rbp - 0x40]
cmp rdi, 8
cmovae r9, qword [rbp - 0x40]
lea rdi, [r9 + rcx*2]
test rdx, rdx
je 0x14002e350
movzx eax, r10w
mov rcx, rdx
rep stosw word [rdi], ax
mov word [r9 + r15*2], r10w
jmp 0x14002e36d
mov word [rsp + 0x20], r10w
mov r9, rdx
movzx r8d, bl
lea rcx, [rbp - 0x40]
call fcn.140004690
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
mov r8d, r15d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rdi, qword [rbp - 0x30]
test rdi, rdi
je 0x14002e3d3
lea rax, [rbp - 0x40]
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
cmovae rax, rcx
dec rdi
cmp word [rax + rdi*2], 0
jne 0x14002e3d3
lea rax, [rbp - 0x40]
cmp rdx, 8
cmovae rax, rcx
mov qword [rbp - 0x30], rdi
xor r15d, r15d
mov word [rax + rdi*2], r15w
jmp 0x14002e3d6
xor r15d, r15d
movzx eax, word [rsp + 0x44]
mov word [rsp + 0x48], ax
cmp r14d, 1
jne 0x14002e574
mov rax, qword [rbp - 0x30]
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
je 0x14002e7b6
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae r9, qword [rbp - 0x40]
mov qword [rsp + 0x30], 1
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0xe0]
call fcn.14001e1d0
or esi, 0x40
mov dword [rsp + 0x40], esi
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
lea rcx, [rbp + 0xe0]
call fcn.140003e10
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], r15
movups xmm6, xmmword [rax]
movups xmmword [rbp + 0x20], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm7
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
or esi, 8
mov dword [rsp + 0x40], esi
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x14002e4c6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e4c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e7aa
call fcn.14003d1f0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
movups xmmword [rbp - 0x60], xmm6
movups xmmword [rbp - 0x50], xmm7
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], r15w
and esi, 0xfffffff7
mov dword [rsp + 0x40], esi
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], r15w
and esi, 0xffffffbf
mov dword [rsp + 0x40], esi
mov rdx, qword [rbp + 0xf8]
cmp rdx, 8
jb 0x14002e555
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e550
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e7b0
call fcn.14003d1f0
mov qword [rbp + 0xf0], r15
mov qword [rbp + 0xf8], 7
mov word [rbp + 0xe0], r15w
jmp 0x14002e6f9
mov rax, qword [rbp - 0x50]
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
je 0x14002e7ce
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae r9, qword [rbp - 0x60]
mov qword [rsp + 0x30], 1
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x100]
call fcn.14001e1d0
or esi, 0x10
mov dword [rsp + 0x40], esi
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
lea rcx, [rbp + 0x100]
call fcn.140003e10
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], r15
movups xmm6, xmmword [rax]
movups xmmword [rbp + 0x40], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm7
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
or esi, 0x20
mov dword [rsp + 0x40], esi
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x14002e650
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e64b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e7bc
call fcn.14003d1f0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
movups xmmword [rbp - 0x60], xmm6
movups xmmword [rbp - 0x50], xmm7
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], r15w
and esi, 0xffffffdf
mov dword [rsp + 0x40], esi
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], r15w
and esi, 0xffffffef
mov dword [rsp + 0x40], esi
mov rdx, qword [rbp + 0x118]
cmp rdx, 8
jb 0x14002e6df
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e6da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e7c2
call fcn.14003d1f0
mov qword [rbp + 0x110], r15
mov qword [rbp + 0x118], 7
mov word [rbp + 0x100], r15w
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x14002e758
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e753
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e7c8
call fcn.14003d1f0
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r15w
jmp 0x14002e123
call fcn.14004930c
nop
call fcn.14004930c
nop
call fcn.14004930c
nop
call fcn.14004930c
nop
call fcn.14004930c
nop
call fcn.14004930c
nop
call fcn.14004930c
nop
call fcn.14004930c
nop
call fcn.14004930c
nop
call fcn.14004930c
nop
call fcn.14004930c
nop
call fcn.14004930c
nop
call fcn.140002a10
nop
call fcn.14004930c
nop
call fcn.14004930c
nop
call fcn.14004930c
nop
call fcn.140002a10
nop
call fcn.14004930c
nop
call fcn.14004930c
int3