Function at 0x7ff826692ee4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x560
mov rax, qword [0x7ff8266e2050]
xor rax, rsp
mov qword [rsp + 0x550], rax
mov rsi, r8
mov r15, rdx
mov rdi, rcx
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0x88], r8
xor ebx, ebx
mov dword [rsp + 0x74], ebx
xor edx, edx
mov r8d, 0x204
lea rcx, [rsp + 0x130]
call sub.api_ms_win_core_crt_l1_1_0.dll_memset
lea r13d, [rbx + 1]
test byte [0x7ff8266e27f8], r13b
jne 0x7ff8266a6690
lea r12, [rdi + 0x10]
xor edx, edx
mov r8d, pe_nt_image_headers64
mov rcx, r12
call sub.api_ms_win_core_crt_l1_1_0.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x340]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
je 0x7ff8266a66ad
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x340]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
nop dword [rax + rax]
mov qword [rdi + 8], rax
test rax, rax
je 0x7ff8266a68b0
lea rdx, str.WSPStartup
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
je 0x7ff8266a6a15
lea rcx, [0x7ff8266c1820]
mov qword [rsp + 0xb0], rcx
lea rcx, [0x7ff8266c12b0]
mov qword [rsp + 0xb8], rcx
lea rcx, [0x7ff8266c19a0]
mov qword [rsp + 0xc0], rcx
lea rcx, [0x7ff8266c13f0]
mov qword [rsp + 0xc8], rcx
lea rcx, [0x7ff8266be3e0]
mov qword [rsp + 0xd0], rcx
lea rcx, [sym.WS2_32.dll_WSCGetProviderPath]
mov qword [rsp + 0xd8], rcx
lea rcx, [0x7ff826692600]
mov qword [rsp + 0xe0], rcx
lea rcx, [0x7ff8266a2fb0]
mov qword [rsp + 0xe8], rcx
lea rcx, [0x7ff8266a2bd0]
mov qword [rsp + 0xf0], rcx
lea rcx, [0x7ff8266c15b0]
mov qword [rsp + 0xf8], rcx
lea rcx, [0x7ff8266c1a70]
mov qword [rsp + 0x100], rcx
lea rcx, [0x7ff8266c1b10]
mov qword [rsp + 0x108], rcx
lea rcx, [0x7ff8266c1b60]
mov qword [rsp + 0x110], rcx
lea rcx, [0x7ff8266c19f0]
mov qword [rsp + 0x118], rcx
lea rcx, [0x7ff8266c1870]
mov qword [rsp + 0x120], rcx
mov ecx, 0x202
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0xb0]
mov r8, rsi
lea rdx, [rsp + 0x130]
call qword [case.0x7ff8266a4768.0]
mov dword [rsp + 0x74], eax
jmp 0x7ff826693209
mov ecx, dword [rsp + 0x74]
test ecx, ecx
jne 0x7ff8266a6b3b
cmp qword [r12], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0x18], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0x20], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0x28], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0x30], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0x38], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0x40], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0x48], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0x50], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0x58], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0x60], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0x68], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0x70], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0x78], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0x80], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0x88], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0x90], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0x98], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0xa0], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0xa8], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0xb0], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0xb8], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0xc0], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0xc8], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0xd0], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0xd8], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0xe0], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0xe8], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0xf0], rbx
je 0x7ff8266a6d95
cmp qword [rdi + 0xf8], rbx
je 0x7ff8266a6d95
mov eax, 0x202
cmp word [rsp + 0x130], ax
jne 0x7ff8266a6c62
mov eax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.7ff8266a4480
mov rbx, qword [rsp + 0x5a8]
add rsp, 0x560
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
mov ecx, 0xc
mov r9, rdi
mov r8, r15
lea rdx, [0x7ff8266d8190]
call 0x7ff8266d21c0
nop
jmp 0x7ff826692f4f
test byte [0x7ff8266e27f0], r13b
je 0x7ff8266a66ca
mov ecx, 0xd
mov r8, r15
lea rdx, [0x7ff8266d8190]
call 0x7ff8266d2064
mov ecx, 0x277b
mov dword [rsp + 0x74], ecx
cmp dword [0x7ff8266e2010], 5
jbe 0x7ff8266a6dd5
call fcn.7ff8266b463c
test al, al
je 0x7ff8266a6dd5
mov dword [rsp + 0x78], ecx
mov dword [rsp + 0x7c], r13d
mov eax, dword [rsi + 0x5c]
mov dword [rsp + 0x80], eax
mov eax, dword [rsi + 0x58]
mov dword [rsp + 0x84], eax
mov eax, dword [rsi + 0x4c]
mov dword [rsp + 0x88], eax
mov eax, dword [rsi + 0x10]
shr eax, 4
and al, r13b
mov byte [rsp + 0x70], al
mov eax, dword [rsi]
shr eax, 0x11
and al, r13b
mov byte [rsp + 0x71], al
cmp dword [rsi + 0x28], r13d
sete byte [rsp + 0x72]
mov qword [rsp + 0x90], r15
lea rax, [rsi + 0x14]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x71]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x72]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x98]
lea rdx, [0x7ff8266d7c39]
jmp 0x7ff8266a68a1
mov dword [rsp + 0x88], ecx
mov dword [rsp + 0x84], 6
mov eax, dword [rsi + 0x5c]
mov dword [rsp + 0x80], eax
mov eax, dword [rsi + 0x58]
mov dword [rsp + 0x7c], eax
mov eax, dword [rsi + 0x4c]
mov dword [rsp + 0x78], eax
mov eax, dword [rsi + 0x10]
shr eax, 4
and al, r13b
mov byte [rsp + 0x72], al
mov eax, dword [rsi]
shr eax, 0x11
and al, r13b
mov byte [rsp + 0x71], al
cmp dword [rsi + 0x28], r13d
sete byte [rsp + 0x70]
lea rax, [rsp + 0x340]
mov qword [rsp + 0x98], rax
lea rax, [rsi + 0x14]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x72]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x71]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
lea rdx, [0x7ff8266d7c39]
mov qword [rsp + 0x20], rax
call fcn.7ff8266b48a0
jmp 0x7ff8266a6dd5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r8d, eax
mov dword [rsp + 0x74], eax
cmp dword [0x7ff8266e2010], 5
jbe 0x7ff8266a69ca
call fcn.7ff8266b463c
test al, al
je 0x7ff8266a69ca
mov dword [rsp + 0x88], r8d
mov dword [rsp + 0x84], 2
mov eax, dword [rsi + 0x5c]
mov dword [rsp + 0x80], eax
mov eax, dword [rsi + 0x58]
mov dword [rsp + 0x7c], eax
mov eax, dword [rsi + 0x4c]
mov dword [rsp + 0x78], eax
mov eax, dword [rsi + 0x10]
shr eax, 4
and al, r13b
mov byte [rsp + 0x72], al
mov eax, dword [rsi]
shr eax, 0x11
and al, r13b
mov byte [rsp + 0x71], al
cmp dword [rsi + 0x28], r13d
sete byte [rsp + 0x70]
lea rax, [rsp + 0x340]
mov qword [rsp + 0x98], rax
lea rax, [rsi + 0x14]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x72]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x71]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea rdx, [0x7ff8266d7c39]
call fcn.7ff8266b48a0
mov r8d, dword [rsp + 0x74]
test byte [0x7ff8266e27f0], r13b
je 0x7ff8266a69f4
mov ecx, 0xf
mov r9d, r8d
lea r8, [rsp + 0x340]
lea rdx, [0x7ff8266d8190]
call 0x7ff8266d2150
mov r8d, dword [rsp + 0x74]
mov ecx, 8
cmp r8d, ecx
je 0x7ff8266a6a0c
cmp r8d, 0x5af
je 0x7ff8266a6a0c
mov ecx, 0x277a
mov dword [rsp + 0x74], ecx
jmp 0x7ff8266a6dd5
test byte [0x7ff8266e27f0], r13b
je 0x7ff8266a6a36
lea r8, [rsi + 0x74]
mov ecx, 0x10
mov r9, r15
lea rdx, [0x7ff8266d8190]
call 0x7ff8266d20bc
mov ecx, 0x277a
mov dword [rsp + 0x74], ecx
cmp dword [0x7ff8266e2010], 5
jbe 0x7ff8266a6dd5
call fcn.7ff8266b463c
test al, al
je 0x7ff8266a6dd5
mov dword [rsp + 0x88], ecx
mov dword [rsp + 0x84], 3
mov eax, dword [rsi + 0x5c]
mov dword [rsp + 0x80], eax
mov eax, dword [rsi + 0x58]
mov dword [rsp + 0x7c], eax
mov eax, dword [rsi + 0x4c]
mov dword [rsp + 0x78], eax
mov eax, dword [rsi + 0x10]
shr eax, 4
and al, r13b
mov byte [rsp + 0x72], al
mov eax, dword [rsi]
shr eax, 0x11
and al, r13b
mov byte [rsp + 0x71], al
cmp dword [rsi + 0x28], r13d
sete byte [rsp + 0x70]
lea rax, [rsp + 0x340]
mov qword [rsp + 0x98], rax
lea rax, [rsi + 0x14]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x72]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x71]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
lea rdx, [0x7ff8266d7c39]
jmp 0x7ff8266a68a1
cmp dword [0x7ff8266e2010], 5
jbe 0x7ff8266a6c3c
call fcn.7ff8266b463c
test al, al
je 0x7ff8266a6c3c
mov dword [rsp + 0x88], ecx
mov dword [rsp + 0x84], 5
mov eax, dword [rsi + 0x5c]
mov dword [rsp + 0x80], eax
mov eax, dword [rsi + 0x58]
mov dword [rsp + 0x7c], eax
mov eax, dword [rsi + 0x4c]
mov dword [rsp + 0x78], eax
mov eax, dword [rsi + 0x10]
shr eax, 4
and al, r13b
mov byte [rsp + 0x72], al
mov eax, dword [rsi]
shr eax, 0x11
and al, r13b
mov byte [rsp + 0x71], al
cmp dword [rsi + 0x28], r13d
sete byte [rsp + 0x70]
lea rax, [rsp + 0x340]
mov qword [rsp + 0x98], rax
lea rax, [rsi + 0x14]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x72]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x71]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea rdx, [0x7ff8266d7c39]
call fcn.7ff8266b48a0
test byte [0x7ff8266e27f0], r13b
je 0x7ff8266a6dd5
lea r8, [rsi + 0x74]
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x20], eax
mov r9, r15
call 0x7ff8266d3590
jmp 0x7ff8266a6dd5
lea rdx, [rsp + 0x74]
mov rcx, rdi
call fcn.7ff826692c50
test byte [0x7ff8266e27f0], r13b
je 0x7ff8266a6c90
lea r8, [rsi + 0x74]
mov ecx, 0x13
mov r9, r15
lea rdx, [0x7ff8266d8190]
call 0x7ff8266d20bc
mov ecx, 0x276c
mov dword [rsp + 0x74], ecx
cmp dword [0x7ff8266e2010], 5
jbe 0x7ff8266a6dd5
call fcn.7ff8266b463c
test al, al
je 0x7ff8266a6dd5
mov dword [rsp + 0x88], ecx
mov dword [rsp + 0x84], 7
mov eax, dword [rsi + 0x5c]
mov dword [rsp + 0x80], eax
mov eax, dword [rsi + 0x58]
mov dword [rsp + 0x7c], eax
mov eax, dword [rsi + 0x4c]
mov dword [rsp + 0x78], eax
mov eax, dword [rsi + 0x10]
shr eax, 4
and al, r13b
mov byte [rsp + 0x72], al
mov eax, dword [rsi]
shr eax, 0x11
and al, r13b
mov byte [rsp + 0x71], al
cmp dword [rsi + 0x28], r13d
sete byte [rsp + 0x70]
lea rax, [rsp + 0x340]
mov qword [rsp + 0x98], rax
lea rax, [rsi + 0x14]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x72]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x71]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
lea rdx, [0x7ff8266d7c39]
jmp 0x7ff8266a68a1
test byte [0x7ff8266e27f0], r13b
je 0x7ff8266a6db6
lea r8, [rsi + 0x74]
mov ecx, 0x12
mov r9, r15
lea rdx, [0x7ff8266d8190]
call 0x7ff8266d20bc
mov ecx, 0x2778
mov dword [rsp + 0x74], ecx
cmp dword [0x7ff8266e2010], 5
jbe 0x7ff8266a6dd5
call fcn.7ff8266b463c
test al, al
jne 0x7ff8266a67c4
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x7ff826693384
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
nop dword [rax + rax]
mov qword [rdi + 8], rbx
jmp 0x7ff826693384