Function at 0x1801e3920
Capabilities:
Query environment variable

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x5d8
mov qword [rsp + 0x1d8], 0xfffffffffffffffe
mov qword [rsp + 0x40], 0
cmp dword [rsp + 0x5f8], 0
je 0x1801e3963
mov eax, 1
jmp 0x1801e414e
lea rcx, [rsp + 0x50]
call fcn.1800740e0
nop
mov eax, dword [rsp + 0x5e8]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x1a
je 0x1801e39a5
cmp dword [rsp + 0x30], 0x1c
je 0x1801e39b6
cmp dword [rsp + 0x30], 0x23
je 0x1801e39c7
cmp dword [rsp + 0x30], 0x26
je 0x1801e39d8
cmp dword [rsp + 0x30], 0x2a
je 0x1801e3a75
jmp 0x1801e3b0f
lea rax, str.AppData
mov qword [rsp + 0x40], rax
jmp 0x1801e3b2a
lea rax, str.Local_AppData
mov qword [rsp + 0x40], rax
jmp 0x1801e3b2a
lea rax, str.Common_AppData
mov qword [rsp + 0x40], rax
jmp 0x1801e3b2a
lea rdx, str._ProgramW6432_
lea rcx, [rsp + 0x2e0]
call fcn.1800aac40
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x168], rax
mov rdx, qword [rsp + 0x168]
lea rcx, [rsp + 0x50]
call fcn.180074770
nop
lea rcx, [rsp + 0x2e0]
call fcn.180073fc0
lea rdx, str._ProgramFiles_
lea rcx, [rsp + 0x380]
call fcn.1800aac40
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x158], rax
mov rdx, qword [rsp + 0x158]
lea rcx, [rsp + 0x50]
call fcn.180074770
nop
lea rcx, [rsp + 0x380]
call fcn.180073fc0
jmp 0x1801e3b2a
lea rdx, str._ProgramFiles_x86__
lea rcx, [rsp + 0x3a0]
call fcn.1800aac40
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x160], rax
mov rdx, qword [rsp + 0x160]
lea rcx, [rsp + 0x50]
call fcn.180074770
nop
lea rcx, [rsp + 0x3a0]
call fcn.180073fc0
lea rdx, str._ProgramFiles_
lea rcx, [rsp + 0x280]
call fcn.1800aac40
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x130], rax
mov rdx, qword [rsp + 0x130]
lea rcx, [rsp + 0x50]
call fcn.180074770
nop
lea rcx, [rsp + 0x280]
call fcn.180073fc0
jmp 0x1801e3b2a
mov dword [rsp + 0x74], 1
lea rcx, [rsp + 0x50]
call fcn.1800748f0
mov eax, dword [rsp + 0x74]
jmp 0x1801e414e
lea rcx, [rsp + 0x1f0]
call fcn.1800b6d4c
nop
mov r8d, 1
lea rdx, str.___a_zA_Z0_9______
lea rcx, [rsp + 0x1b8]
call fcn.1800b6b4c
nop
lea rcx, [rsp + 0x50]
call fcn.180074910
movzx eax, al
test eax, eax
je 0x1801e3c13
cmp qword [rsp + 0x40], 0
je 0x1801e3c13
mov r9, qword [rsp + 0x40]
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x170]
call fcn.1801e57c0
nop
lea rcx, [rsp + 0x170]
call fcn.1800738f0
movzx eax, al
test eax, eax
je 0x1801e3bf3
mov r9, qword [rsp + 0x40]
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x360]
call fcn.1801e57c0
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x170]
call fcn.180073df0
lea rcx, [rsp + 0x360]
call fcn.180073fc0
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x50]
call fcn.180074950
nop
lea rcx, [rsp + 0x170]
call fcn.180073fc0
lea rcx, [rsp + 0x50]
call fcn.180074910
movzx eax, al
test eax, eax
je 0x1801e3caf
cmp qword [0x1803bad78], 0
je 0x1801e3caf
mov rax, qword [0x1803bad78]
cmp qword [rax + 0x4c8], 0
je 0x1801e3caf
mov rax, qword [rsp + 0x600]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x5f8]
mov r8, qword [rsp + 0x5f0]
mov edx, dword [rsp + 0x5e8]
mov rcx, qword [rsp + 0x5e0]
mov rax, qword [0x1803bad78]
call qword [rax + 0x4c8]
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0x1b8]
call fcn.1800b6bcc
nop
lea rcx, [rsp + 0x1f0]
call fcn.1800b6ac8
nop
lea rcx, [rsp + 0x50]
call fcn.1800748f0
mov eax, dword [rsp + 0x70]
jmp 0x1801e414e
lea rcx, [rsp + 0xa8]
call fcn.180073cf0
nop
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.1800742b0
jmp 0x1801e3ce3
xor r8d, r8d
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x68]
call fcn.180076110
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x50]
call fcn.1800742e0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1800755a0
movzx eax, al
test eax, eax
je 0x1801e40ec
lea rcx, [rsp + 0xa8]
call fcn.1800738f0
movzx eax, al
test eax, eax
je 0x1801e40ec
lea rcx, [rsp + 0x68]
call fcn.180075510
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.180078f80
lea rcx, [rsp + 0xa8]
call fcn.180074060
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.1800aa640
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x1b8]
lea r8, [rsp + 0x1f0]
mov rdx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x38]
call fcn.1800f3080
movzx eax, al
test eax, eax
je 0x1801e40e7
lea rax, [rsp + 0x200]
mov rcx, rax
call fcn.1800ba134
cmp rax, 1
ja 0x1801e3dd3
lea rax, [rsp + 0x248]
mov qword [rsp + 0xa0], rax
jmp 0x1801e3dec
mov eax, 1
imul rax, rax, 0x18
add rax, qword [rsp + 0x200]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rax]
sub rax, rcx
sar rax, 1
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x200]
mov rcx, rax
call fcn.1800ba134
cmp rax, 1
ja 0x1801e3e42
lea rax, [rsp + 0x248]
mov qword [rsp + 0x98], rax
jmp 0x1801e3e5b
mov eax, 1
imul rax, rax, 0x18
add rax, qword [rsp + 0x200]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rax + 8]
sub rax, rcx
sar rax, 1
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x200]
mov rcx, rax
call fcn.1800ba134
cmp rax, 1
ja 0x1801e3eb2
lea rax, [rsp + 0x248]
mov qword [rsp + 0x80], rax
jmp 0x1801e3ecb
mov eax, 1
imul rax, rax, 0x18
add rax, qword [rsp + 0x200]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
sub rcx, rax
mov rax, rcx
sub rax, 2
mov rcx, qword [rsp + 0x120]
mov rcx, qword [rcx]
add rcx, 2
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x260]
call fcn.180073d30
nop
lea rcx, [rsp + 0x198]
call fcn.180073cf0
nop
lea rcx, [rsp + 0x260]
call fcn.180074060
mov r8d, 0x104
lea rdx, [rsp + 0x3c0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x1801e3f9b
mov eax, dword [rsp + 0x48]
mov r8d, eax
lea rdx, [rsp + 0x3c0]
lea rcx, [rsp + 0x320]
call fcn.180073d30
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x198]
call fcn.180073df0
lea rcx, [rsp + 0x320]
call fcn.180073fc0
mov r9, qword [0x180323d38]
mov r8, qword [rsp + 0x90]
lea rdx, [rsp + 0x340]
lea rcx, [rsp + 0xa8]
call fcn.1800aacc0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x128], rax
mov r9, qword [rsp + 0x88]
xor r8d, r8d
lea rdx, [rsp + 0x300]
lea rcx, [rsp + 0xa8]
call fcn.1800aacc0
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x108], rax
lea r8, [rsp + 0x198]
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x2c0]
call fcn.1800f12a0
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x138], rax
mov r8, qword [rsp + 0x128]
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0x2a0]
call fcn.1800f1300
mov qword [rsp + 0x148], rax
mov rdx, qword [rsp + 0x148]
lea rcx, [rsp + 0xa8]
call fcn.180073df0
lea rcx, [rsp + 0x2a0]
call fcn.180073fc0
nop
lea rcx, [rsp + 0x2c0]
call fcn.180073fc0
nop
lea rcx, [rsp + 0x300]
call fcn.180073fc0
nop
lea rcx, [rsp + 0x340]
call fcn.180073fc0
lea rcx, [rsp + 0xa8]
call fcn.180074060
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x198]
call fcn.180073fc0
nop
lea rcx, [rsp + 0x260]
call fcn.180073fc0
jmp 0x1801e3d51
jmp 0x1801e3cce
lea rcx, [rsp + 0xa8]
call fcn.180074060
mov r8, rax
mov edx, 0x104
mov rcx, qword [rsp + 0x600]
call fcn.18018093c
mov dword [rsp + 0x78], 0
lea rcx, [rsp + 0xa8]
call fcn.180073fc0
nop
lea rcx, [rsp + 0x1b8]
call fcn.1800b6bcc
nop
lea rcx, [rsp + 0x1f0]
call fcn.1800b6ac8
nop
lea rcx, [rsp + 0x50]
call fcn.1800748f0
mov eax, dword [rsp + 0x78]
add rsp, 0x5d8
ret