Function at 0x14005a0b0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x150
mov rax, qword [0x1406e22c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
mov qword [rsp + 0x50], rcx
xor esi, esi
lea rcx, str.ProgramData
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rdx, rax
test rax, rax
je 0x14005a43e
mov qword [rsp + 0x60], rax
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x14005a110
mov qword [rsp + 0x68], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x90]
call fcn.14001ca50
nop
lea rax, str.SmoothPlay
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0xa
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.14001ca50
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x90]
call fcn.140002510
nop
lea rcx, [rsp + 0x70]
call fcn.140019100
mov r8d, 3
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x60]
call fcn.140057290
movsd xmm0, qword [rax]
movsd qword [rsp + 0x20], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x70], ecx
lea r14, [0x14072e8a0]
mov qword [rsp + 0x78], r14
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
mov eax, dword [rsp + 0x20]
test eax, eax
jne 0x14005a1cb
test ecx, ecx
jne 0x14005a4a1
jmp 0x14005a1d0
cmp eax, 1
jne 0x14005a1fe
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r14
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x90]
call fcn.140057370
cmp dword [rsp + 0x60], 0
jne 0x14005a4bb
jmp 0x14005a1fe
lea rax, str.old.backup
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0xa
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xb0]
call fcn.14001ca50
nop
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xf0]
call fcn.140055f80
nop
lea rcx, [rsp + 0xb0]
call fcn.140019100
mov r8d, 3
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x60]
call fcn.140057290
movsd xmm0, qword [rax]
movsd qword [rsp + 0x20], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x70], ecx
mov qword [rsp + 0x78], r14
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
mov eax, dword [rsp + 0x20]
test eax, eax
jne 0x14005a29f
test ecx, ecx
jne 0x14005a4d5
jmp 0x14005a2a8
cmp eax, 1
jne 0x14005a422
lea rax, str.nvram.txt
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 9
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.14001ca50
nop
lea r8, [rsp + 0x30]
mov rdx, rbx
lea rcx, [rsp + 0x110]
call fcn.140055f80
nop
lea rcx, [rsp + 0x30]
call fcn.140019100
nop
mov dword [rsp + 0x64], esi
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xc0], xmm0
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xd0]
call fcn.140018410
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x68], r14
lea rcx, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 7
cmova rcx, qword [rsp + 0xd0]
mov edi, 0x3e
mov r9d, 0xffffffff
mov r8d, edi
lea rdx, [rsp + 0xb0]
call fcn.140296eac
mov ecx, eax
test eax, eax
jne 0x14005a37d
test dword [rsp + 0xc0], 0x400
mov eax, 6
cmovne edi, eax
mov dword [rsp + 0xcc], edi
jmp 0x14005a3ac
mov dword [rsp + 0xcc], esi
sub eax, 2
je 0x14005a3ac
sub eax, 1
je 0x14005a3ac
sub eax, 0x32
je 0x14005a3ac
cmp eax, 0x46
je 0x14005a3ac
mov dword [rsp + 0x70], ecx
mov qword [rsp + 0x78], r14
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x60], xmm0
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14005a3dd
mov qword [rsp + 0xe0], rsi
lea rax, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 7
cmova rax, qword [rsp + 0xd0]
mov word [rax], si
mov eax, dword [rsp + 0x60]
test eax, eax
jne 0x14005a3fc
lea r9, [rsp + 0x60]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0xb0]
call fcn.1400578b0
nop
lea rcx, [rsp + 0xd0]
call fcn.140019100
cmp dword [rsp + 0x60], 0
jne 0x14005a4ef
lea rcx, [rsp + 0x110]
call fcn.140019100
nop
lea rcx, [rsp + 0xf0]
call fcn.140019100
nop
lea rcx, [rsp + 0x90]
call fcn.140019100
nop
mov rcx, rbx
jmp 0x14005a472
call fcn.140019100
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140297700
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x70]
lea rcx, str.exists
call fcn.140002d70
nop
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x60]
lea rcx, str.create_directories
call fcn.140002d70
nop
lea r8, [rsp + 0xf0]
lea rdx, [rsp + 0x70]
lea rcx, str.exists
call fcn.140002d70
nop
lea r9, [rsp + 0xf0]
lea r8, [rsp + 0x110]
lea rdx, [rsp + 0x60]
call fcn.1400561a0
int3