Function at 0x14000c760
Capabilities:
Set environment variable

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov rax, qword [0x14006b680]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov rdi, r8
mov byte [r8], 0
mov rsi, rdx
mov r14, rcx
xor edx, edx
lea rcx, [rbp + 0x160]
mov r8d, 0x208
call fcn.140047d20
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x20], rsi
mov r8, rbx
lea r9, str._sdumps
mov edx, 0x104
lea rcx, [rbp + 0x160]
call fcn.1400022c0
cmp eax, ebx
jne 0x14000c7f1
mov edx, 7
lea r8, str.Unable_to_build_breakpad_path__n
mov ecx, 0xc
call fcn.1400172a0
mov byte [rdi], 1
jmp 0x14000c9eb
lea rdx, ds:[rbp + 0x160]
lea rcx, str.BREAKPAD_DUMP_LOCATION
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, rsi
lea rcx, str.SteamPath
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.140047d20
lea r9, [0x14004ab58]
mov qword [rsp + 0x20], r14
mov r8, rbx
lea rcx, [rsp + 0x50]
mov edx, 0x104
call fcn.1400022c0
cmp eax, ebx
jne 0x14000c86d
mov edx, 7
lea r8, str.Unable_to_build_PlatformMutex_path_n
mov ecx, 0xc
call fcn.1400172a0
mov byte [rdi], 1
jmp 0x14000c9eb
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14002f070
xorps xmm0, xmm0
lea rax, [rsp + 0x50]
movups xmmword [rsp + 0x30], xmm0
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14000c890
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x14000ca3b
cmp rbx, 7
ja 0x14000c8df
mov qword [rsp + 0x40], rbx
lea rdx, [rsp + 0x50]
add rbx, rbx
mov qword [rsp + 0x48], 7
mov r8, rbx
lea rcx, [rsp + 0x30]
call fcn.1400480e0
xor eax, eax
mov word [rsp + rbx + 0x30], ax
jmp 0x14000c930
mov rax, rbx
or rax, 7
cmp rax, rsi
jbe 0x14000ca08
movabs rcx, 0x7fffffffffffffff
lfence
add rcx, rcx
call fcn.140004940
mov qword [rsp + 0x40], rbx
lea rdx, [rsp + 0x50]
add rbx, rbx
mov qword [rsp + 0x30], rax
mov r8, rbx
mov qword [rsp + 0x48], rsi
mov rcx, rax
mov rdi, rax
call fcn.1400480e0
xor eax, eax
mov word [rbx + rdi], ax
mov r8, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x48]
cmp r9, 7
cmova rcx, r8
lea rdx, [rcx + rax*2]
lea rax, [rsp + 0x30]
cmova rax, r8
cmp rax, rdx
je 0x14000c97e
nop
cmp word [rax], 0x5c
jne 0x14000c96b
mov word [rax], 0x2f
add rax, 2
cmp rax, rdx
jne 0x14000c960
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
cmp r9, 7
lea rdx, [rsp + 0x30]
lea rcx, str.ValvePlatformMutex
cmova rdx, r8
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rdx, [0x14004b3b4]
lea rcx, [0x1400537a8]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14000c9eb
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c9e6
mov rcx, qword ds:[rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ca2f
call fcn.14001e3b8
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.14001e390
add rsp, 0x480
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0xa
mov rsi, rax
cmp rax, rcx
movabs rax, 0x7fffffffffffffff
cmovb rsi, rcx
lea rcx, [rsi + 1]
cmp rcx, rax
ja 0x14000ca35
jmp 0x14000c8f9
call fcn.14002ecec
int3
call fcn.140017ba0
int3
nop dword [rax + rax]
call fcn.140017c00
int3