Function at 0x180033090
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov rax, qword [rsp + 0x120]
mov rcx, rax
call fcn.1800311b0
nop
lea rax, str.GPU_DEBUG_ADAPTORS
mov qword [rsp + 0x40], rax
lea rax, [0x1800c4a58]
mov qword [rsp + 0x80], rax
lea rax, str.direct3d_warp
mov qword [rsp + 0x88], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x18003310d
jmp 0x180033371
mov eax, dword [rsp + 0x28]
mov qword [rsp + 0x60], rax
mov eax, 2
mov rcx, qword [rsp + 0x60]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180004480
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov r8d, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x180033177
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.180010cd0
jmp 0x180033371
lea r8, [rsp + 0x98]
lea rdx, [0x1800c4a94]
mov rcx, qword [rsp + 0x38]
call qword [0x1800b35c0]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180033356
mov rcx, qword [rsp + 0x20]
call qword [0x1800b3660]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], 0
jmp 0x1800331ca
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x30], rax
jae 0x1800331fa
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
movzx ecx, word [rax + rcx*2]
call qword [0x1800b35d8]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov word [rcx + rdx*2], ax
jmp 0x1800331bd
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x20]
call fcn.18003a8f0
test rax, rax
je 0x18003324e
cmp qword [rsp + 0x128], 0
je 0x180033249
mov rax, qword [rsp + 0x120]
mov r8, qword [rsp + 0x128]
lea rdx, [rsp + 0xb0]
mov rcx, rax
call fcn.180030db0
lea rcx, [rsp + 0xb0]
call fcn.180033640
jmp 0x180033335
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x20]
call fcn.18003a8f0
test rax, rax
je 0x1800332a2
cmp qword [rsp + 0x130], 0
je 0x18003329d
mov rax, qword [rsp + 0x120]
mov r8, qword [rsp + 0x130]
lea rdx, [rsp + 0xd0]
mov rcx, rax
call fcn.180030db0
lea rcx, [rsp + 0xd0]
call fcn.180033640
jmp 0x180033335
lea r8, [rsp + 0x90]
lea rdx, [0x1800c4a98]
mov rcx, qword [rsp + 0x20]
call qword [0x1800b35c0]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180033335
lea r8, [rsp + 0x90]
lea rdx, [0x1800c4a98]
xor ecx, ecx
call qword [0x1800b35c0]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180033335
mov rcx, qword [rsp + 0x48]
call qword [0x1800b35e0]
mov dword [rsp + 0x5c], eax
mov rcx, qword [rsp + 0x50]
call qword [0x1800b35e0]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x120]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0xf0]
mov rcx, rax
call fcn.180030db0
lea rcx, [rsp + 0xf0]
call fcn.180033640
lea r8, [rsp + 0x98]
lea rdx, [0x1800c4a94]
xor ecx, ecx
call qword [0x1800b35c0]
mov qword [rsp + 0x20], rax
jmp 0x180033196
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xa0]
call fcn.180010cd0
nop
mov rax, qword [rsp + 0x120]
add rsp, 0x118
ret