Function at 0x1800721f0
Capabilities:
Query environment variable

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1800fb008]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r14, r8
mov rbx, rdx
cmp qword [rcx + 0x10], 0
jne 0x180072238
xor al, al
jmp 0x1800725b1
xor r15d, r15d
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r15
mov word [rsp + 0x28], r15w
cmp qword [rcx + 0x18], 8
jb 0x180072265
mov rax, qword [rcx]
jmp 0x180072268
mov rax, rcx
or r12, 0xffffffffffffffff
cmp word [rax], 0x40
jne 0x1800722ef
mov r8, qword [rcx + 0x10]
dec r8d
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.180007180
mov rdi, rax
lea rax, [rsp + 0x28]
cmp rax, rdi
je 0x1800722c7
cmp qword [rsp + 0x40], 8
jb 0x1800722a5
mov rcx, qword [rsp + 0x28]
call fcn.18008861c
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r15
mov word [rsp + 0x28], r15w
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.180003210
nop
cmp qword [rsp + 0x60], 8
jb 0x1800722d9
mov rcx, qword [rsp + 0x48]
call fcn.18008861c
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r15
mov word [rsp + 0x48], r15w
jmp 0x18007230c
lea rax, [rsp + 0x28]
cmp rax, rcx
je 0x18007230c
mov r9, r12
xor r8d, r8d
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.1800032a0
mov word [rbp - 0x70], r15w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x6e]
call fcn.18008c480
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
mov r8d, 0x104
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
cmp eax, 0x104
jb 0x1800723b2
mov eax, 2
mul rsi
cmovo rax, r12
mov rcx, rax
call fcn.180087e84
mov rdi, rax
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
mov r8d, esi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp word [rdi], 0
jne 0x18007238b
mov r8, r15
jmp 0x18007239b
mov r8, r12
nop
inc r8
cmp word [rdi + r8*2], 0
jne 0x180072390
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.180003940
mov rcx, rdi
call fcn.180088db0
jmp 0x1800723de
cmp word [rbp - 0x70], 0
jne 0x1800723be
mov r8, r15
jmp 0x1800723d0
lea rax, [rbp - 0x70]
mov r8, r12
inc r8
cmp word [rax + r8*2], 0
jne 0x1800723c5
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x28]
call fcn.180003940
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], r15
mov word [rsp + 0x68], r15w
mov r8d, 2
lea rdx, [0x1800ca21c]
lea rcx, [rsp + 0x68]
call fcn.180003940
nop
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
mov r9, qword [rsp + 0x78]
xor r8d, r8d
lea rcx, [rsp + 0x28]
call fcn.180007750
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x180072541
mov r8d, eax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.180007120
mov rdi, rax
cmp rbx, rax
je 0x180072486
cmp qword [rbx + 0x18], 8
jb 0x18007246a
mov rcx, qword [rbx]
call fcn.18008861c
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r15
mov word [rbx], r15w
mov rdx, rdi
mov rcx, rbx
call fcn.180003210
nop
cmp qword [rsp + 0x60], 8
jb 0x180072498
mov rcx, qword [rsp + 0x48]
call fcn.18008861c
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r15
mov word [rsp + 0x48], r15w
test r14, r14
je 0x18007253d
mov r8d, dword [rsp + 0x38]
sub r8d, dword [rsp + 0x78]
sub r8d, esi
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.180007180
nop
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
mov r8, r15
movzx eax, word [rdx]
cmp ax, 0x30
jb 0x180072514
nop
cmp ax, 0x39
ja 0x180072514
movzx eax, ax
sub eax, 0x30
movsxd rcx, eax
lea rax, [r8 + r8*4]
lea r8, [rcx + rax*2]
add rdx, 2
movzx eax, word [rdx]
cmp ax, 0x30
jae 0x1800724f0
mov dword [r14], r8d
cmp qword [rsp + 0x60], 8
jb 0x180072529
mov rcx, qword [rsp + 0x48]
call fcn.18008861c
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r15
mov word [rsp + 0x48], r15w
mov bl, 1
jmp 0x180072564
lea rax, [rsp + 0x28]
cmp rbx, rax
je 0x18007255e
mov r9, r12
xor r8d, r8d
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.1800032a0
test r14, r14
sete bl
cmp qword [rbp - 0x80], 8
jb 0x180072575
mov rcx, qword [rsp + 0x68]
call fcn.18008861c
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], r15
mov word [rsp + 0x68], r15w
cmp qword [rsp + 0x40], 8
jb 0x18007259a
mov rcx, qword [rsp + 0x28]
call fcn.18008861c
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r15
mov word [rsp + 0x28], r15w
movzx eax, bl
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.180087ea0
add rsp, 0x2b0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret