Function at 0x1401bf420
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4b0]
sub rsp, 0x5b0
mov r14, rdx
xor edi, edi
mov dword [rsp + 0x20], edi
mov rcx, qword [rdx]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0xa0]
mov byte [rbp - 0x50], dil
mov r8d, 0x100
lea rdx, [rbp - 0x50]
lea rcx, str.STEAMVIDEOTOKEN
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x1401bf48c
cdqe
cmp rax, 0x100
jae 0x1401bf48c
cmp byte [rbp - 0x50], dil
jne 0x1401bf4c1
jmp 0x1401bf490
mov byte [rbp - 0x50], 0
lea rcx, str.STEAMVIDEOTOKEN
call fcn.140331ac0
test rax, rax
je 0x1401bf586
mov r8d, 0x100
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.1402a9890
cmp byte [rbp - 0x50], 0
je 0x1401bf58a
mov rcx, qword [r14]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
je 0x1401bf4eb
lea r8, str._extra_info__IsReadOnly__
mov edx, 0x2f9
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_srcwebhelperwebhelper.cpp
call fcn.14029bf90
test al, al
jne 0x1401bf4eb
int3
lea rcx, [rbp - 0x50]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1401bf4f6
mov r8d, eax
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x508]
call fcn.1402d6d90
nop
mov rbx, qword [r14]
mov rax, qword [rbx]
mov rsi, qword [rax + 0xc8]
lea rax, [rbp + 0x500]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x508]
mov qword [rbp + 0x500], rax
test rax, rax
je 0x1401bf554
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax]
nop
lea r8, [rbp + 0x500]
xor edx, edx
mov rcx, rbx
call rsi
nop
mov rax, qword [rbp + 0x508]
test rax, rax
je 0x1401bf58a
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + VariantCopy]
jmp 0x1401bf58a
mov byte [rbp - 0x50], 0
lea rax, [rsp + 0x50]
mov qword [rbp + 0x500], rax
mov dword [rsp + 0x68], 0xffffffff
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x70], 0xffffffff
mov qword [rsp + 0x54], 0xffffffffffffffff
mov dword [rsp + 0x50], 0xffffffff
mov dword [rsp + 0x5c], 1
movzx eax, byte [rbp + 0x4f8]
mov byte [rsp + 0x78], al
lea rax, [rbp - 0x80]
mov qword [rbp + 0x508], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x38]
lea rcx, [rbp - 0x80]
call fcn.14027a2c0
nop
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x60], rax
call fcn.1401583b0
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.14015c6e0
lea rcx, [rsp + 0x38]
call fcn.1402d7550
nop
mov dword [rbp + 0x500], 0
xor r12d, r12d
mov dword [rbp + 0x508], r12d
mov edx, dword [rsp + 0x74]
test edx, edx
jle 0x1401bf847
xor r9d, r9d
mov qword [rsp + 0x40], r9
mov r8, qword [rbp - 0x78]
nop dword [rax + rax]
test r12d, r12d
js 0x1401bf824
cmp r12d, edx
jge 0x1401bf824
movsxd rax, r12d
imul rcx, rax, 0x38
cmp dword [rcx + r8], r12d
je 0x1401bf824
lea r13, [r9 + r8]
mov esi, dword [r13 + 0x10]
mov dword [rsp + 0x30], esi
xor r14d, r14d
cmp dword [r13 + 0x30], r14d
jle 0x1401bf824
xor r15d, r15d
mov r12d, dword [rbp + 0x500]
nop word [rax + rax]
mov rbx, qword [r13 + 0x20]
add rbx, r15
mov rax, qword [rbx + 8]
test rax, rax
je 0x1401bf6bd
cmp qword [rax + 8], 0
jbe 0x1401bf6bd
cmp dword [rbx + 0x18], 0
jne 0x1401bf6da
lea r8, str.entry.m_sFunctionName.length_____0__entry.m_eMethodType___k_EJSRegisterMethodType_Invalid
mov edx, 0x30b
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_srcwebhelperwebhelper.cpp
call fcn.14029bf90
test al, al
jne 0x1401bf6da
int3
lea rcx, [rsp + 0x28]
call fcn.1402d7550
nop
test dil, 8
je 0x1401bf6fe
and edi, 0xfffffff7
mov dword [rsp + 0x20], edi
lea rcx, [rbp + 0xb0]
call fcn.1402d6a70
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
mov r8, rbx
xor edx, edx
call qword [rax + 0xc0]
test dil, 0x10
je 0x1401bf72a
and edi, 0xffffffef
mov dword [rsp + 0x20], edi
lea rcx, [rbp + 0x2b0]
call fcn.1402d6a70
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
mov r8d, esi
mov edx, 1
call qword [rax + 0xb0]
test dil, 0x20
je 0x1401bf759
and edi, 0xffffffdf
mov dword [rsp + 0x20], edi
lea rcx, [rbp + 0x3b0]
call fcn.1402d6a70
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
mov r8d, dword [rbx + 0x18]
mov edx, 2
call qword [rax + 0xb0]
test dil, 0x40
je 0x1401bf789
and edi, 0xffffffbf
mov dword [rsp + 0x20], edi
lea rcx, [rbp + 0x1b0]
call fcn.1402d6a70
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rsi, qword [rax + 0xd8]
lea rax, [rsp + 0x48]
mov qword [rbp - 0x60], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1401bf7c5
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax]
nop
movsxd rdx, r12d
lea r8, [rsp + 0x48]
mov rcx, rbx
call rsi
inc r12d
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x1401bf7f4
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + VariantCopy]
inc r14d
add r15, 0x20
cmp r14d, dword [r13 + 0x30]
mov esi, dword [rsp + 0x30]
jl 0x1401bf6a0
mov dword [rbp + 0x500], r12d
mov r8, qword [rbp - 0x78]
mov edx, dword [rsp + 0x74]
mov r12d, dword [rbp + 0x508]
mov r9, qword [rsp + 0x40]
inc r12d
mov dword [rbp + 0x508], r12d
add r9, 0x38
mov qword [rsp + 0x40], r9
cmp r12d, edx
jl 0x1401bf650
mov r14, qword [rbp + 0x4f8]
test dil, dil
jns 0x1401bf860
btr edi, 7
mov dword [rsp + 0x20], edi
lea rcx, [rbp + 0x1b0]
call fcn.1402d6a70
mov rbx, qword [r14]
mov rax, qword [rbx]
mov rdi, qword [rax + 0xd8]
lea rax, [rbp + 0x500]
mov qword [rbp + 0x508], rax
mov rax, qword [rsp + 0x38]
mov qword [rbp + 0x500], rax
test rax, rax
je 0x1401bf8a1
mov rcx, qword [rax + 8]
movsxd r8, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, r8
mov rax, qword [rcx]
call qword [rax]
nop
lea r8, [rbp + 0x500]
mov edx, 1
mov rcx, rbx
call rdi
nop
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1401bf8d3
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
lea rcx, [rsp + 0x50]
call fcn.1401bfb40
nop
mov rdx, qword [r14]
test rdx, rdx
je 0x1401bf8fb
mov rax, qword [rdx + 8]
movsxd rcx, dword [rax + 4]
add rdx, 8
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rbx, qword [rsp + 0x5f0]
add rsp, 0x5b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret