Function at 0x140001ad8
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x4e0
mov rax, qword [0x140036040]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140031430]
movdqu xmmword [rsp + 0x50], xmm1
xor esi, esi
mov word [rsp + 0x40], si
mov word [rsp + 0xb0], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xb2]
call fcn.140025b00
mov r8d, 0x104
lea rdx, [rsp + 0xb0]
lea rcx, str.CommonProgramFiles
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
movdqa xmm0, xmmword [0x140031530]
movdqu xmmword [rsp + 0x80], xmm0
movdqa xmm1, xmmword [0x140031620]
movdqu xmmword [rsp + 0x90], xmm1
mov dword [rsp + 0xa0], 0x22
mov dword [rsp + 0xa4], 0xd
lea rax, [rsp + 0xb0]
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], si
jne 0x140001b98
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x40]
call fcn.1400028cc
mov r8d, 0xa
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.1400054c4
nop
mov rdx, rax
mov edi, 7
cmp qword [rax + 0x18], rdi
jbe 0x140001bde
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1400029ec
nop
lea rcx, [rsp + 0x60]
call fcn.14000276c
mov r8d, 9
lea rdx, [0x140036b60]
lea rcx, [rsp + 0x60]
call fcn.1400054c4
nop
mov rdx, rax
cmp qword [rax + 0x18], rdi
jbe 0x140001c1b
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1400029ec
nop
lea rcx, [rsp + 0x60]
call fcn.14000276c
mov r8d, 0x104
lea rdx, [rsp + 0x2c0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rsp + 0x2c0]
mov r8, rbx
inc r8
cmp word [rax + r8*2], si
jne 0x140001c66
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x20]
call fcn.140002b6c
nop
xor r8d, r8d
lea rdx, str.Common_Files
lea rcx, [rsp + 0x20]
call fcn.140002660
cmp rax, rbx
jne 0x1400021eb
xor r8d, r8d
lea rdx, str.common_files
lea rcx, [rsp + 0x20]
call fcn.140002660
cmp rax, rbx
jne 0x1400021eb
xor r8d, r8d
lea rdx, str.Common1
lea rcx, [rsp + 0x20]
call fcn.140002660
cmp rax, rbx
jne 0x1400021eb
xor r8d, r8d
lea rdx, str.common1
lea rcx, [rsp + 0x20]
call fcn.140002660
cmp rax, rbx
jne 0x1400021eb
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], rdi
cmova rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], rdi
cmova rcx, qword [rsp + 0x20]
call fcn.140001a6c
test eax, eax
jne 0x140001e03
lea r10, [rsp + 0x40]
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x58]
cmp r9, rdi
cmova r10, r8
lea rcx, [0x140038500]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], si
jne 0x140001d45
xor edx, edx
movzx eax, word [r10 + rdx*2]
mov word [rcx + rdx*2], ax
inc rdx
test ax, ax
jne 0x140001d50
mov rdx, qword [rsp + 0x38]
cmp rdx, rdi
jbe 0x140001dac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400022e0
call fcn.14000d128
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x40]
movdqa xmm0, xmmword [0x140031430]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], si
cmp r9, rdi
jbe 0x140001df9
lea rdx, [r9*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x140001df1
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400022e6
mov rcx, r8
call fcn.14000d128
mov eax, 1
jmp 0x1400022bb
xor r8d, r8d
lea rdx, str.Microsoft
lea rcx, [rsp + 0x20]
call fcn.140002660
cmp rax, rbx
jne 0x140002116
xor r8d, r8d
lea rdx, str.Microsoft
lea rcx, [rsp + 0x20]
call fcn.140002660
cmp rax, rbx
jne 0x140002116
mov r8d, 0x104
lea rdx, [rsp + 0xb0]
lea rcx, str.LOCALAPPDATA
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
movdqa xmm0, xmmword [0x1400315e0]
movdqu xmmword [rsp + 0x80], xmm0
movdqa xmm1, xmmword [0x1400316c0]
movdqu xmmword [rsp + 0x90], xmm1
mov dword [rsp + 0xa0], gethostname
mov dword [rsp + 0xa4], 0x25
mov dword [rsp + 0xa8], 0xd
lea rax, [rsp + 0xb0]
inc rbx
cmp word [rax + rbx*2], si
jne 0x140001ea3
mov r8, rbx
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x40]
call fcn.1400028cc
mov r8d, inet_ntoa
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.1400054c4
nop
mov rdx, rax
cmp qword [rax + 0x18], rdi
jbe 0x140001ee6
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1400029ec
nop
lea rcx, [rsp + 0x60]
call fcn.14000276c
mov r8d, 9
lea rdx, [0x140036b60]
lea rcx, [rsp + 0x60]
call fcn.1400054c4
nop
mov rdx, rax
cmp qword [rax + 0x18], rdi
jbe 0x140001f23
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1400029ec
nop
lea rcx, [rsp + 0x60]
call fcn.14000276c
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], rdi
cmova rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], rdi
cmova rcx, qword [rsp + 0x20]
call fcn.140001a6c
lea rcx, [0x140038500]
test eax, eax
jne 0x140002048
lea r10, [rsp + 0x40]
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x58]
cmp r9, rdi
cmova r10, r8
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], si
jne 0x140001f8a
xor edx, edx
movzx eax, word [r10 + rdx*2]
mov word [rcx + rdx*2], ax
inc rdx
test ax, ax
jne 0x140001f95
mov rdx, qword [rsp + 0x38]
cmp rdx, rdi
jbe 0x140001ff1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001fe2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400022e0
call fcn.14000d128
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x40]
movdqa xmm0, xmmword [0x140031430]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], si
cmp r9, rdi
jbe 0x14000203e
lea rdx, [r9*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x140002036
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400022e6
mov rcx, r8
call fcn.14000d128
mov eax, 3
jmp 0x1400022bb
lea r10, [rsp + 0x20]
mov r8, qword [rsp + 0x20]
mov r9, qword [rsp + 0x38]
cmp r9, rdi
cmova r10, r8
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], si
jne 0x140002062
xor edx, edx
movzx eax, word [r10 + rdx*2]
mov word [rcx + rdx*2], ax
inc rdx
test ax, ax
jne 0x14000206d
cmp r9, rdi
jbe 0x1400020b8
lea rdx, [r9*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x1400020b0
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400022e0
mov rcx, r8
call fcn.14000d128
movdqa xmm0, xmmword [0x140031430]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], si
mov rdx, qword [rsp + 0x58]
cmp rdx, rdi
jbe 0x14000210c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002107
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400022e6
call fcn.14000d128
mov eax, 4
jmp 0x1400022bb
lea r10, [rsp + 0x20]
mov r8, qword [rsp + 0x20]
mov r9, qword [rsp + 0x38]
cmp r9, rdi
cmova r10, r8
lea rcx, [0x140038500]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], si
jne 0x140002137
xor edx, edx
movzx eax, word [r10 + rdx*2]
mov word [rcx + rdx*2], ax
inc rdx
test ax, ax
jne 0x140002142
cmp r9, rdi
jbe 0x14000218d
lea rdx, [r9*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x140002185
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400022e0
mov rcx, r8
call fcn.14000d128
movdqa xmm0, xmmword [0x140031430]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], si
mov rdx, qword [rsp + 0x58]
cmp rdx, rdi
jbe 0x1400021e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov r8, rcx
cmp rdx, 0x1000
jb 0x1400021dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x1400022e6
call fcn.14000d128
mov eax, 2
jmp 0x1400022bb
lea r10, [rsp + 0x20]
mov r8, qword [rsp + 0x20]
mov r9, qword [rsp + 0x38]
cmp r9, rdi
cmova r10, r8
lea rcx, [0x140038500]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], si
jne 0x14000220c
xor edx, edx
movzx eax, word [r10 + rdx*2]
mov word [rcx + rdx*2], ax
inc rdx
test ax, ax
jne 0x140002217
cmp r9, rdi
jbe 0x140002262
lea rdx, [r9*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x14000225a
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400022e0
mov rcx, r8
call fcn.14000d128
movdqa xmm0, xmmword [0x140031430]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], si
mov rdx, qword [rsp + 0x58]
cmp rdx, rdi
jbe 0x1400022b2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400022ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400022e6
call fcn.14000d128
xor eax, eax
jmp 0x1400022bb
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.14000d100
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.140013dec
nop
call fcn.140013dec
int3