Function at 0x180096240
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x1800f6ae8]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov ebx, dword [rbp - 0x71]
lea eax, [r8 - 0x11]
mov qword [rbp - 0x49], rdx
mov r13, rdx
mov dword [rbp - 0x69], r8d
mov r14d, r8d
mov qword [rbp - 0x41], rcx
mov rdx, rcx
mov dword [rbp - 0x2d], eax
cmp r8d, eax
jbe case.0x1800962d3.257
movzx r12d, word [rbp - 0x71]
xor esi, esi
mov r15d, dword [rbp - 0x51]
mov dword [rbp - 0x4d], r12d
lea eax, [r14 - 0x101]
lea r9, [0x180096c10]
lea r8, [0x180000000]
cmp eax, 0x39
ja case.0x1800962d3.272
movzx eax, byte [r8 + rax + 0x96b10]
mov ecx, dword [r8 + rax*4 + 0x96ad0]
add rcx, r8
jmp rcx
mov r8d, dword [r13 + 0x20]
xor edx, edx
mov rcx, qword [r13 + 0x18]
call sub.VCRUNTIME140.dll_memset
jmp case.0x1800962d3.272
mov word [rbp - 9], si
mov qword [rbp - 0x69], r9
mov word [rbp - 0x61], si
cmp byte [0x1800f6bd9], 0
je 0x18009630e
movzx edx, word [rbp - 9]
lea rcx, str.Processing_Installation_Close_Phases
call fcn.1800d0700
movzx eax, word [rbp - 9]
lea r9, [rbp - 0x71]
mov word [rbp - 0x71], ax
lea rcx, [rbp - 0x11]
lea rax, [rbp - 0x61]
mov r8d, 0xd1
mov qword [rsp + 0x28], rax
mov rdx, r13
lea rax, [rbp - 0x69]
mov qword [rsp + 0x20], rax
call fcn.18009cb00
xor ecx, ecx
mov qword [rbp - 0x59], rax
cmp eax, 2
mov r14d, ecx
mov esi, 0x94
cmovne r14d, eax
cmp esi, 0x94
je 0x180096407
cmp esi, 0x2ed4
jne 0x18009640b
mov r12d, dword [rbp - 0x39]
test r12d, r12d
je 0x18009640b
mov edi, 0xdd
nop dword [rax]
cmp edi, 0xdd
je 0x1800963c6
cmp edi, 0x7a96
je 0x1800963c1
cmp edi, 0xf44f
jne 0x1800963f3
mov eax, ebx
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1800d1090
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ebx, r12d
jmp 0x1800963f3
cmp byte [0x1800f6bd9], 0
je 0x1800963f3
mov qword [rsp + 0x20], rcx
lea r9, [0x1800d9468]
lea rcx, str.Invalid_argument_type
mov edx, r12d
lea r8, [0x1800d9468]
call fcn.1800d0700
xor ecx, ecx
add edi, 0x79b9
cmp edi, 0x16d2b
jbe 0x180096380
jmp 0x18009640b
mov dword [rbp - 0x39], r14d
add esi, 0x2e40
cmp esi, 0x5c80
jbe 0x180096353
cmp byte [0x1800f6bd9], 0
je 0x18009643a
movzx edx, word [rbp - 9]
lea rcx, str._ebucore:technicalAttributeBoolean_typeLabel_Stripped__
mov r8d, dword [rbp - 0x11]
call fcn.1800d0700
mov ecx, dword [rbp - 0x11]
xor esi, esi
mov r13, qword [r13 + 0x18]
mov r12d, esi
test ecx, ecx
je 0x180096529
nop
mov r8, qword [rbp - 0x49]
lea rdx, [rbp - 0x71]
mov eax, r12d
mov r9d, 0x7a
movzx ecx, word [r13 + rax*2]
mov word [rbp - 0x71], cx
xor ecx, ecx
call fcn.1800156d0
mov r14d, eax
mov esi, 0xcf
nop word [rax + rax]
cmp esi, 0xcf
je 0x1800964ff
cmp esi, 0x196
jne 0x180096502
test r15d, r15d
je 0x180096502
mov edi, 0x74
nop word [rax + rax]
cmp edi, 0x74
je 0x1800964c0
cmp edi, 0x29b0
je 0x1800964bb
cmp edi, 0x52ec
je case.0x1800962d3.257
jmp 0x1800964ef
mov ebx, r15d
jmp 0x1800964ef
cmp byte [0x1800f6bd9], 0
je 0x1800964ef
lea r9, [0x1800d9468]
mov qword [rsp + 0x20], 0
lea r8, [0x1800d9468]
mov edx, r15d
lea rcx, str.rieulkiyeoksioskorean
call fcn.1800d0700
add edi, 0x293c
cmp edi, 0x7bb4
jbe 0x1800964a0
jmp 0x180096502
mov r15d, r14d
add esi, 0xc7
cmp esi, 0x25d
jb 0x180096480
mov ecx, dword [rbp - 0x11]
inc r12d
cmp r12d, ecx
jb 0x180096450
mov dword [rbp - 0x51], r15d
xor esi, esi
cmp dword [rbp - 0x59], 2
mov r13, qword [rbp - 0x49]
jne 0x1800962f5
cmp ecx, dword [rbp - 0xd]
jb 0x180096553
mov r8d, dword [r13 + 0x20]
xor edx, edx
mov rcx, qword [r13 + 0x18]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x11], esi
jmp 0x1800962f5
mov r12d, dword [rbp - 0x4d]
mov ebx, esi
mov r14d, 0x137
mov dword [rbp - 0x71], ebx
jmp case.0x1800962d3.272
mov rax, qword [r13]
xor r9d, r9d
mov edx, dword [rdx]
xor r8d, r8d
mov dword [rsp + 0x20], 0x10b
sub edx, dword [rax + 0x20]
mov rcx, qword [rax + 0x40]
mov dword [rbp - 0x69], edx
lea rdx, [rbp - 0x69]
call fcn.1800c4430
mov ebx, eax
mov dword [rbp - 0x71], eax
jmp case.0x1800962d3.272
cmp qword [0x1800f6bf8], 0
jne case.0x1800962d3.272
mov byte [rbp - 0x71], 0
mov eax, dword [rbp - 0x71]
jmp 0x18009639a
mov rdx, qword [r13 + 0x30]
xor r9d, r9d
mov rcx, qword [r13 + 0x20]
mov r8d, 0xfb
call fcn.18001bef0
mov qword [0x1800f6bf8], rax
jmp case.0x1800962d3.272
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [rbp - 0x71], 1
mov ebx, dword [rbp - 0x71]
mov qword [0x1800f6c08], rax
jmp case.0x1800962d3.272
mov edi, 0x1b
mov eax, edi
sub eax, 0x1a
je case.0x1800962d3.257
cmp eax, 1
jne 0x180096645
mov rax, qword [rdx]
lea r8, [rbp - 0x69]
mov qword [rbp - 0x59], rax
lea rcx, [rbp - 0x71]
mov rax, qword [r13]
mov r9d, 0x46
mov qword [rbp - 0x71], rax
xor edx, edx
lea rax, [rbp - 0x59]
mov dword [rbp - 0x69], 0x7f2bb739
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call fcn.180046290
mov rdx, qword [rbp - 0x41]
mov ebx, eax
mov dword [rbp - 0x71], eax
dec edi
cmp edi, 0x19
ja 0x1800965f3
mov rax, qword [r13]
mov ecx, dword [rdx]
cmp rcx, qword [rax + 0x20]
jb 0x180096662
cmp rcx, qword [rax + 0x28]
jbe case.0x1800962d3.272
mov edi, 0x11e
cmp edi, 0x11e
je 0x18009667d
cmp edi, 0xd79e
je case.0x1800962d3.257
jmp 0x1800966b1
mov eax, dword [rdx]
lea r8, [rbp - 0x69]
mov dword [rbp - 0x69], eax
lea rdx, [rbp - 0x71]
mov rax, qword [r13]
lea rcx, [rbp - 0x59]
mov r9d, 4
mov qword [rbp - 0x59], rax
mov dword [rbp - 0x71], 1
call fcn.18000b670
mov rdx, qword [rbp - 0x41]
mov ebx, esi
mov dword [rbp - 0x71], ebx
add edi, 0xd680
cmp edi, 0x1ad00
jbe 0x180096667
jmp case.0x1800962d3.272
mov rdx, qword [r13 + 0x28]
xor r9d, r9d
mov rcx, qword [r13 + 0x20]
mov r8d, 0xfb
call fcn.18001bef0
mov qword [0x1800f6bf0], rax
test rax, rax
jne case.0x1800962d3.272
mov esi, 0x2c
mov dword [rbp - 0x61], esi
cmp esi, 0x2c
je 0x180096877
cmp esi, 0x2f
je 0x180096867
cmp esi, 0x32
je 0x180096855
cmp esi, 0x35
je 0x180096720
cmp esi, 0x38
je case.0x1800962d3.257
jmp 0x180096885
cmp byte [rbp - 0x79], 0
je 0x18009684c
mov r13, qword [rbp - 0x21]
mov ebx, 7
lea edi, [rbx + 1]
lea esi, [rbx + 0x19]
lea r14d, [rbx + 0x6d]
lea r15d, [rbx + 0x6b]
cmp ebx, 7
ja case.default.0x18009675d
lea rdx, [0x180000000]
mov eax, ebx
mov ecx, dword [rdx + rax*4 + 0x96b4c]
add rcx, rdx
jmp rcx
movzx eax, word [0x1800e09b4]
mov word [rbp + 0x17], ax
movzx eax, byte [0x1800e09b6]
mov byte [rbp + 0x19], al
jmp case.default.0x18009675d
mov eax, dword [str.ensi]
lea rdx, [0x1800deeec]
mov dword [rbp + 2], eax
lea rcx, [rbp - 1]
movzx eax, byte [0x1800e274c]
mov r8d, 2
mov byte [rbp + 6], al
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
jmp case.default.0x18009675d
movzx eax, word [0x1800e2750]
lea rcx, [rbp - 1]
mov word [rbp + 0x19], ax
mov rdx, r13
movzx eax, byte [0x1800e2752]
movsx r8d, r12w
mov byte [rbp + 0x1b], al
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
jmp case.default.0x18009675d
movzx eax, word [0x1800e2754]
mov word [rbp - 1], ax
mov word [rbp + 1], r14w
jmp case.default.0x18009675d
movabs rax, 0x44207365636e65
lea rdx, [0x1800e2758]
mov r8d, 2
mov qword [rbp + 0xf], rax
lea rcx, [rbp + 0x16]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
jmp case.default.0x18009675d
mov word [rbp + 8], si
mov dword [rbp + 9], 0x657250
jmp case.default.0x18009675d
movzx eax, word [0x1800e275c]
mov word [rbp + 0xc], ax
mov word [rbp + 0xe], r15w
jmp case.default.0x18009675d
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
dec ebx
sub rdi, 1
jne 0x180096741
mov esi, dword [rbp - 0x61]
mov r14d, dword [rbp - 0x69]
mov r15d, dword [rbp - 0x51]
mov r13, qword [rbp - 0x49]
mov byte [rbp - 0x71], 0
mov ebx, dword [rbp - 0x71]
jmp 0x180096885
movzx eax, byte [rbp - 0x79]
xor ecx, ecx
cmp qword [rbp - 0x21], rcx
cmovne ecx, eax
mov byte [rbp - 0x79], cl
jmp 0x180096885
movsx rcx, r12w
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp - 0x21], rax
jmp 0x180096885
mov r12d, 0x400
mov byte [rbp - 0x79], 1
mov dword [rbp - 0x4d], r12d
add esi, 3
mov dword [rbp - 0x61], esi
cmp esi, 0x3b
jb 0x1800966f2
xor esi, esi
jmp case.0x1800962d3.272
mov rax, qword [r13]
mov ecx, dword [rax]
sub ecx, 0x7f2bb708
cmp ecx, 2
jbe case.0x1800962d3.272
mov esi, 0xed
nop word [rax + rax]
mov eax, esi
sub eax, 0xec
je case.0x1800962d3.257
cmp eax, 1
jne 0x180096969
mov rax, qword [r13]
mov ecx, dword [rax]
sub ecx, 0x7f2bb76d
cmp ecx, 2
ja 0x180096964
mov edi, 0x5e
nop dword [rax]
cmp edi, 0x5e
je 0x180096903
cmp edi, 0x43ee
je case.0x1800962d3.257
jmp 0x180096956
mov rax, qword [r13]
lea r8, [0x1800d9468]
xor r9d, r9d
mov qword [rbp - 0x59], rax
lea rdx, [rbp - 0x59]
mov dword [rsp + 0x20], 2
xor ecx, ecx
call fcn.18000d2e0
mov rcx, qword [rbp - 0x41]
lea r9, [rbp - 0x59]
xor r8d, r8d
mov dword [rsp + 0x20], 0xf7
xor edx, edx
mov eax, dword [rcx]
lea rcx, [rbp - 0x69]
mov qword [rbp - 0x59], rax
mov rax, qword [r13]
mov qword [rbp - 0x69], rax
call fcn.180051df0
mov ebx, eax
add edi, 0x4390
cmp edi, 0x8720
jbe 0x1800968f0
xor ebx, ebx
mov dword [rbp - 0x71], ebx
dec esi
cmp esi, 0xeb
ja 0x1800968c0
xor esi, esi
jmp case.0x1800962d3.272
xor r9d, r9d
mov r8, r13
mov edx, 0xf6
xor ecx, ecx
call fcn.1800196a0
test al, al
jne case.0x1800962d3.272
mov edi, esi
nop word [rax + rax]
cmp edi, 0x48
ja case.0x1800969c4.1
lea rdx, [0x180000000]
mov eax, edi
movzx eax, byte [rdx + rax + 0x96b8c]
mov ecx, dword [rdx + rax*4 + 0x96b6c]
add rcx, rdx
jmp rcx
cmp dword [rbp - 0x35], 0
mov ecx, esi
movzx eax, byte [rbp - 0x78]
cmovne ecx, eax
mov byte [rbp - 0x78], cl
cmp cl, 0
je case.0x1800969c4.1
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ADVAPI32.dll_IsTokenUntrusted]
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x1800969c4.1
mov byte [rbp - 0x78], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbp - 0x19], rax
jmp case.0x1800969c4.1
mov edx, dword [rbp - 0x31]
lea r8, [rbp - 0x29]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
xor edx, edx
lea rcx, [rbp - 1]
mov dword [rbp - 0x35], eax
call qword [sym.imp.ADVAPI32.dll_BuildTrusteeWithNameW]
jmp case.0x1800969c4.1
xorps xmm0, xmm0
mov dword [rbp - 0x31], 0x20008
movups xmmword [rbp - 1], xmm0
movups xmmword [rbp + 0xf], xmm0
jmp case.0x1800969c4.1
mov byte [rbp - 0x71], 0
mov ebx, dword [rbp - 0x71]
jmp case.0x1800969c4.1
mov qword [rbp - 0x29], rsi
add edi, 0xc
lea eax, [rdi + 0xc7]
cmp eax, 0x11b
jb 0x1800969a0
jmp case.0x1800962d3.272
mov eax, dword [r13 + 0x20]
shr eax, 1
mov dword [rbp - 0xd], eax
mov dword [rbp - 0x11], esi
jmp case.0x1800962d3.272
mov rdx, qword [r13 + 0x38]
xor r9d, r9d
mov rcx, qword [r13 + 0x20]
mov r8d, 0xfb
call fcn.18001bef0
mov qword [0x1800f6c00], rax
test rax, rax
jne case.0x1800962d3.272
mov ecx, 0xa6
nop
mov eax, ecx
sub eax, 0xa5
je case.0x1800962d3.257
cmp eax, 1
jne 0x180096aa9
mov byte [rbp - 0x71], 0
mov ebx, dword [rbp - 0x71]
dec ecx
cmp ecx, 0xa4
ja 0x180096a90
dec r14d
mov dword [rbp - 0x69], r14d
cmp r14d, dword [rbp - 0x2d]
jbe case.0x1800962d3.257
mov rdx, qword [rbp - 0x41]
jmp 0x1800962a1