Function at 0x1400097b0
Capabilities:
Set environment variable

Disassembly:
sub rsp, 0x4f8
mov dword [rsp + 0x40], 0x104
lea rcx, [rsp + 0x31]
call fcn.140009cc0
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x32]
call fcn.140009ca0
mov rcx, rax
call fcn.140006cd0
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.140006b50
mov qword [rsp + 0x60], rax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x2e0]
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [rsp + 0x60]
test eax, eax
jne 0x14000981e
xor eax, eax
jmp 0x140009c8f
call fcn.140008b40
mov byte [rsp + 0x30], al
lea rcx, [rsp + 0x2e0]
call fcn.140008de0
movzx eax, al
test eax, eax
jne 0x140009842
xor eax, eax
jmp 0x140009c8f
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400098e8
lea rcx, [rsp + 0x33]
call fcn.140009d00
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x34]
call fcn.140009ce0
mov rcx, rax
call fcn.140007280
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x35]
call fcn.140009d40
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x36]
call fcn.140009d20
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x2e0]
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
xor ecx, ecx
call qword [rsp + 0x88]
cmp rax, 0x20
ja 0x1400098e8
jmp 0x14000984f
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400098f8
xor eax, eax
jmp 0x140009c8f
lea rax, [rsp + 0x260]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x2e0]
mov rcx, qword [rsp + 0x90]
call fcn.1400044f0
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x37]
call fcn.140009d60
mov rdx, rax
lea rcx, [rsp + 0x1c0]
call fcn.14000e110
mov r8, qword [rsp + 0x98]
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x1a0]
call fcn.140008fd0
lea rcx, [rsp + 0x1c0]
call fcn.1400048a0
lea rcx, [rsp + 0x38]
call fcn.140009dc0
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x240]
call fcn.140008640
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x39]
call fcn.140009da0
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x3a]
call fcn.140009d80
lea r8, [rsp + 0x1a0]
mov rdx, rax
lea rcx, [rsp + 0x220]
call fcn.14000a230
mov qword [rsp + 0xa8], rax
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x200]
call fcn.14000a1f0
mov qword [rsp + 0xb8], rax
mov r8, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x1e0]
call fcn.14000a1b0
mov qword [rsp + 0xc8], rax
mov r8, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x180]
call fcn.14000a1f0
lea rcx, [rsp + 0x1e0]
call fcn.1400048a0
lea rcx, [rsp + 0x200]
call fcn.1400048a0
lea rcx, [rsp + 0x220]
call fcn.1400048a0
lea rcx, [rsp + 0x240]
call fcn.1400048a0
lea rcx, [rsp + 0x160]
call fcn.140004550
lea rax, [rsp + 0x280]
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0x3b]
call fcn.140009e00
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call fcn.1400044f0
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0xd8], rax
lea rdx, [rsp + 0x180]
mov rcx, qword [rsp + 0xd8]
call fcn.14000df70
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0xe0], rax
lea rcx, [rsp + 0x3c]
call fcn.140009de0
mov rdx, rax
mov rcx, qword [rsp + 0xe0]
call fcn.1400044f0
mov qword [rsp + 0xf8], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xe8]
mov r8, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x140]
call fcn.140001480
lea rcx, [rsp + 0x140]
call fcn.140019670
cmp rax, 0xc8
jae 0x140009b91
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0x140]
call fcn.1400048d0
lea rcx, [rsp + 0x160]
call fcn.1400048d0
lea rcx, [rsp + 0x180]
call fcn.1400048a0
lea rcx, [rsp + 0x1a0]
call fcn.1400048a0
mov eax, dword [rsp + 0x44]
jmp 0x140009c8f
lea rcx, [rsp + 0x160]
call fcn.140005c80
mov qword [rsp + 0x100], rax
lea rcx, [rsp + 0x3d]
call fcn.140009e20
mov qword [rsp + 0x108], rax
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov r8d, 0xae
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x128]
call fcn.140009760
lea rcx, [rsp + 0x128]
call fcn.140019680
mov qword [rsp + 0x110], rax
lea rcx, [rsp + 0x128]
call fcn.140014d50
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0x3e]
call fcn.140009e40
mov qword [rsp + 0x120], rax
mov r8, qword [rsp + 0x110]
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x120]
call fcn.140007e60
mov dword [rsp + 0x48], 0
lea rcx, [rsp + 0x128]
call fcn.14000fe00
lea rcx, [rsp + 0x140]
call fcn.1400048d0
lea rcx, [rsp + 0x160]
call fcn.1400048d0
lea rcx, [rsp + 0x180]
call fcn.1400048a0
lea rcx, [rsp + 0x1a0]
call fcn.1400048a0
mov eax, dword [rsp + 0x48]
add rsp, 0x4f8
ret