Function at 0x1800b2f10
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov r11d, dword [rsp + 0xc0]
lea r12, [0x180000000]
mov r13d, dword [rsp + 0xc0]
mov r9d, r8d
mov edi, dword [rsp + 0xc0]
mov r8, rdx
movaps xmmword [rsp + 0x50], xmm6
mov r10, rcx
movaps xmmword [rsp + 0x40], xmm7
mov ebx, r9d
lea r14d, [r9 - 0xe]
mov dword [rsp + 0x30], r11d
mov edx, 0x41
cmp r9d, r14d
jbe 0x1800b33f0
mov rbp, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0x38]
mov r15, qword [rsp + 0xd8]
lea eax, [rbx - 0x90]
cmp eax, 0x38
ja case.0x1800b2fb3.158
movzx eax, byte [r12 + rax + 0xb36d0]
mov ecx, dword [r12 + rax*4 + 0xb3694]
add rcx, r12
jmp rcx
mov byte [0x1800e9f9f], 0
jmp case.0x1800b2fb3.158
mov rsi, qword [rsp + 0xd8]
mov r15, rsi
jmp case.0x1800b2fb3.158
mov r15, qword [rsp + 0xd8]
mov rcx, qword [r15]
mov r9, qword [rcx + 0x18]
mov eax, dword [rcx + 0x10]
inc eax
mov dword [rcx + 0x10], eax
cmp eax, dword [r9 + 4]
jae case.0x1800b2fb3.158
nop dword [rax + rax]
mov r8, qword [r15]
mov rax, qword [r9 + 0x18]
mov edx, dword [r8 + 0x10]
lea rcx, [rdx + rdx*2]
cmp dword [rax + rcx*4], 0
jne 0x1800b339f
lea eax, [rdx + 1]
mov dword [r8 + 0x10], eax
cmp eax, dword [r9 + 4]
jb 0x1800b2ff0
mov r8, qword [rsp + 0xb8]
mov r10, qword [rsp + 0xb0]
dec ebx
cmp ebx, r14d
jbe 0x1800b33e8
mov edx, 0x41
jmp 0x1800b2f94
mov dword [r8], 0
mov dword [rsp + 0x34], 0
jmp case.0x1800b2fb3.158
lea rcx, str.CPACK_INSTALL_DIRECTORY
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r8, qword [rsp + 0xb8]
mov r11d, dword [rsp + 0x30]
test rax, rax
je case.0x1800b2fb3.158
inc dword [r8 + 0xc]
jmp case.0x1800b2fb3.158
cmp dword [r15 + 0x20], 0
mov eax, 0x56
cmovg eax, edx
mov byte [r8 + 0x1c], al
jmp case.0x1800b2fb3.158
movzx edi, byte [rsi]
xor r13d, r13d
test edi, edi
je 0x1800b326e
mov eax, dword [r8]
inc rsi
lea edx, [rax - 1]
mov dword [r8], edx
test eax, eax
je case.0x1800b2fb3.158
cmp edi, 0x3d
jne 0x1800b3110
movzx ecx, byte [rsi]
cmp cl, dil
je 0x1800b3263
mov eax, r11d
and eax, 0x80000003
jge 0x1800b30c8
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 1
je 0x1800b3670
cmp byte [rbp], 0
je 0x1800b3263
test edx, edx
je 0x1800b3263
movzx ecx, byte [rsi + 1]
inc rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x1800b30e3
cmp byte [rsi], al
jne 0x1800b3670
mov r10, qword [rsp + 0xb0]
xor cl, cl
mov r11d, dword [rsp + 0x30]
jmp 0x1800b325b
cmp byte [rbp], 0
movsx r9d, byte [rdi + r12 + 0xd2b80]
jne 0x1800b3128
test r9b, r9b
js 0x1800b3258
cmp r9d, 0xffffffff
je 0x1800b3258
cmp r9d, 0xfffffffe
jne 0x1800b315e
mov ecx, 0x76
nop dword [rax]
mov eax, ecx
sub eax, 0x76
je 0x1800b3152
cmp eax, 1
je case.0x1800b3450.4
jmp 0x1800b3157
mov byte [rsp + 0x34], 0
inc ecx
cmp ecx, 0x78
jb 0x1800b3140
mov ecx, r11d
and ecx, 0x80000003
jge 0x1800b3170
dec ecx
or ecx, 0xfffffffc
inc ecx
test ecx, ecx
je 0x1800b3240
sub ecx, 1
je 0x1800b3190
sub ecx, 1
je 0x1800b31d5
cmp ecx, 1
je 0x1800b3214
jmp 0x1800b324b
movsxd rdx, r13d
mov ecx, 0xb7
add rdx, r10
nop dword [rax + rax]
mov eax, ecx
sub eax, 0xb7
je 0x1800b31b4
cmp eax, 1
je 0x1800b324b
jmp 0x1800b31cb
mov eax, r9d
inc r13d
sar eax, 4
or byte [rdx], al
inc rdx
movzx eax, r9b
shl al, 4
mov byte [rdx], al
inc ecx
cmp ecx, 0xb9
jb 0x1800b31a0
movsxd rdx, r13d
mov ecx, 0x2e
add rdx, r10
cmp ecx, 0x2e
je 0x1800b31ef
cmp ecx, 0x1bac
je 0x1800b324b
jmp 0x1800b3206
mov eax, r9d
inc r13d
sar eax, 2
or byte [rdx], al
inc rdx
movzx eax, r9b
shl al, 6
mov byte [rdx], al
add ecx, 0x1b7e
cmp ecx, 0x36fc
jbe 0x1800b31e0
movsxd rdx, r13d
mov ecx, 0x77
add rdx, r10
nop
mov eax, ecx
sub eax, 0x77
je 0x1800b322e
cmp eax, 1
je 0x1800b324b
jmp 0x1800b3237
or byte [rdx], r9b
inc r13d
inc rdx
inc ecx
cmp ecx, 0x79
jb 0x1800b3220
jmp 0x1800b324b
movsxd rax, r13d
shl r9b, 2
mov byte [rax + r10], r9b
inc r11d
mov ebx, 0x9c
mov dword [rsp + 0x30], r11d
movzx ecx, byte [rsi]
mov r8, qword [rsp + 0xb8]
movzx edi, cl
test cl, cl
jne 0x1800b3092
inc rsi
jmp case.0x1800b2fb3.158
movdqa xmm0, xmmword [str._b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b]
movq rax, xmm0
mov byte [0x1800e9f4f], 0
mov qword [0x1800e9f90], rax
mov dword [0x1800e9f98], eax
mov word [0x1800e9f9c], ax
mov byte [0x1800e9f9e], al
movups xmmword [0x1800e9f50], xmm0
movups xmmword [0x1800e9f60], xmm0
movups xmmword [0x1800e9f70], xmm0
movups xmmword [0x1800e9f80], xmm0
jmp case.0x1800b2fb3.158
mov rcx, qword [rsp + 0xb8]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0x10c
xor edx, edx
call fcn.180098e40
mov rax, qword [rsp + 0xd8]
mov r8, qword [rsp + 0xb8]
mov r11d, dword [rsp + 0x30]
mov r15, qword [rsp + 0xd8]
movups xmm0, xmmword [rax + 4]
movups xmmword [r8], xmm0
movsd xmm1, qword [rax + 0x14]
movsd qword [r8 + 0x10], xmm1
mov eax, dword [rax + 0x1c]
mov dword [r8 + 0x18], eax
jmp case.0x1800b2fb3.158
xorps xmm0, xmm0
movups xmmword [r8], xmm0
jmp case.0x1800b2fb3.158
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax]
test dword [rax + 0x10], 0x40000
je case.0x1800b3450.4
movdqa xmm0, xmmword [0x1800df5f0]
mov r15, qword [rsp + 0xd8]
movq rax, xmm0
mov qword [0x1800e9f40], rax
mov dword [0x1800e9f48], eax
mov word [0x1800e9f4c], ax
mov byte [0x1800e9f4e], al
movups xmmword [0x1800e9f00], xmm0
movups xmmword [0x1800e9f10], xmm0
movups xmmword [0x1800e9f20], xmm0
movups xmmword [0x1800e9f30], xmm0
jmp case.0x1800b2fb3.158
xor r11d, r11d
mov dword [rsp + 0x30], r11d
jmp case.0x1800b2fb3.158
mov rax, qword [rsp + 0xb8]
mov dword [rax], edx
xor eax, eax
mov rcx, qword [r15]
mov edx, dword [rcx + 0x10]
mov rcx, qword [r9 + 0x18]
lea r8, [rdx + rdx*2]
movsd xmm0, qword [rcx + r8*4]
movsd qword [r10], xmm0
mov ecx, dword [rcx + r8*4 + 8]
mov dword [r10 + 8], ecx
jmp 0x1800b3679
mov rax, qword [rsp + 0xd8]
cmp qword [rax], 0xffffffffffffffff
setne byte [rsp + 0x34]
jmp case.0x1800b3450.4
mov r9d, dword [rsp + 0xc0]
lea ebp, [r9 + 0xd]
cmp r9d, ebp
jae case.0x1800b3450.4
movsxd r15, dword [rsp + 0xc0]
lea esi, [r9 - 0x9e]
movsd xmm6, qword [0x1800df600]
mov r14, r15
movsxd r12, r13d
mov ebx, 0x45
xorps xmm7, xmm7
mov edx, 0x4e
cmp esi, 0x2f
ja case.0x1800b3450.5
lea rcx, [0x180000000]
movzx eax, byte [rcx + rsi + 0xb3744]
mov ecx, dword [rcx + rax*4 + 0xb370c]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
mov rax, qword [rsp + 0xc8]
test rax, rax
je case.0x1800b3450.5
mov dword [rax], r13d
jmp case.0x1800b3450.5
mov rax, qword [rsp + 0xd8]
movsd xmm0, qword [rax + 0x40]
andps xmm0, xmm6
movsd qword [r8 + 0x20], xmm0
jmp case.0x1800b3450.5
mov rcx, qword [rsp + 0xd8]
mov eax, 0x57
movsd xmm0, qword [rcx + 0x48]
andps xmm0, xmm6
movsd qword [r8 + 0x30], xmm0
movsd xmm0, qword [rcx + 0x48]
comisd xmm0, xmm7
cmova eax, ebx
mov byte [r8 + 0x38], al
jmp case.0x1800b3450.5
cmp edi, 0x3d
jne case.0x1800b3450.5
mov ecx, r11d
and ecx, 0x80000003
jge 0x1800b34d1
dec ecx
or ecx, 0xfffffffc
inc ecx
sub ecx, 1
je 0x1800b3670
sub ecx, 1
je 0x1800b34e9
cmp ecx, 1
je 0x1800b34ef
jmp case.0x1800b3450.5
inc r15d
inc r14
mov byte [r14 + r10], 0
jmp case.0x1800b3450.5
mov rcx, qword [rsp + 0xd8]
mov eax, 0x53
movsd xmm0, qword [rcx + 0x40]
comisd xmm0, xmm7
cmova eax, edx
mov byte [r8 + 0x28], al
jmp case.0x1800b3450.5
mov rcx, qword [rsp + 0xc8]
mov r9d, 0x111
xor edx, edx
mov rax, qword [rcx]
mov qword [r8], rax
lea r8, [rsp + 0x38]
mov eax, dword [rcx]
xor ecx, ecx
mov dword [rsp + 0x38], eax
call fcn.18005b510
mov r8, qword [rsp + 0xb8]
mov r9d, dword [rsp + 0xc0]
mov dword [r8 + 8], eax
jmp case.0x1800b3450.5
test r10, r10
je 0x1800b35cb
mov r12, qword [rsp + 0xb0]
mov ebx, 0xb3
nop
cmp ebx, 0xb3
je 0x1800b3596
cmp ebx, 0x2c0d
jne 0x1800b35ad
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
jmp 0x1800b35ad
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
add ebx, 0x2b5a
cmp ebx, 0x56b4
jbe 0x1800b3570
mov r9d, dword [rsp + 0xc0]
mov ebx, 0x45
movsxd r12, r13d
mov r8, qword [rsp + 0xb8]
mov qword [0x1800e9fa0], 0
jmp case.0x1800b3450.5
mov r15d, r13d
mov r14, r12
jmp case.0x1800b3450.5
mov byte [r12 + r10], 0
mov byte [rsp + 0x34], 1
jmp case.0x1800b3450.5
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x68]
mov qword [r8 + 0x50], rax
jmp case.0x1800b3450.5
mov rax, qword [rsp + 0xd8]
movsd xmm0, qword [rax + 0x58]
divsd xmm0, qword [0x1800df498]
movsd qword [r8 + 0x40], xmm0
mov rax, qword [rax + 0x60]
mov qword [r8 + 0x48], rax
jmp case.0x1800b3450.5
mov rcx, qword [rsp + 0xd8]
mov eax, edx
mov byte [r8 + 0x58], 0x45
cmp dword [rcx + 0x20], 0
mov ecx, 0x41
cmovg eax, ecx
mov byte [r8 + 0x59], al
inc r9d
inc esi
mov dword [rsp + 0xc0], r9d
cmp r9d, ebp
jae case.0x1800b3450.4
mov r10, qword [rsp + 0xb0]
mov r11d, dword [rsp + 0x30]
jmp 0x1800b3422
mov byte [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x40]
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret