Function at 0x18006f290
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov ebx, dword [rbp + 0x6f]
mov r12, rcx
lea ecx, [rdx + 0x1a0]
mov eax, edx
mov dword [rbp - 0x39], ecx
cmp edx, ecx
jae case.0x18006f31a.55
mov esi, dword [rbp + 0x6f]
mov r13, qword [rbp + 7]
mov dword [rbp - 0x15], ebx
xor r10d, r10d
lea r11, [0x180000000]
cmp eax, 0x14b
ja 0x18006f67b
je 0x18006f4b3
add eax, 0xffffffcc
cmp eax, 0xfd
ja case.default.0x18006f31a
movzx eax, byte [r11 + rax + 0x6f7d4]
mov ecx, dword [r11 + rax*4 + 0x6f7a4]
add rcx, r11
jmp rcx
mov rcx, qword [r12]
mov rax, qword [rcx + 0x20]
test byte [rax + 0x60], 0x10
je 0x18006f332
mov eax, dword [rax + 0x104]
jmp 0x18006f33c
movzx eax, word [rax + 0xce]
add eax, dword [rcx + 0x34]
mov dword [rbp - 0x19], eax
mov rax, qword [rbp + 0x17]
test rax, rax
jne 0x18006f351
cmp dword [r8], eax
jne case.0x18006f31a.63
mov qword [rbp - 0x29], rax
lea r8, [rbp - 0x29]
jmp 0x18006f73c
mov rax, qword [r12]
mov dword [rax], r10d
jmp case.0x18006f31a.63
mov r9d, 0xe6
xor r8d, r8d
mov rdx, r12
xor ecx, ecx
call fcn.18008d780
jmp case.0x18006f31a.63
mov rax, qword [r12]
lea rcx, [rbp - 0x31]
xor r9d, r9d
mov qword [rbp - 0x31], rax
xor edx, edx
lea r8d, [r9 + 0x2b]
call fcn.180060f00
mov ebx, eax
mov dword [rbp - 0x15], eax
jmp case.0x18006f31a.63
mov rcx, qword [r12]
mov edx, dword [rcx]
lea eax, [rdx - 0x7f2bb708]
cmp eax, 2
jbe 0x18006f780
lea eax, [rdx - 0x7f2bb76d]
cmp eax, 2
jbe case.0x18006f31a.63
mov eax, ebx
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.LocalYOURKIT_SHARE2_L
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x18006f420
mov rax, qword [r12]
lea rdx, [rbp - 0x31]
mov ecx, 0xad
mov qword [rbp - 0x31], rax
call fcn.18007a040
mov rcx, qword [r12]
mov rax, qword [rcx + 0x10]
call qword [rax + 0x70]
nop word [rax + rax]
mov rcx, qword [r12]
mov rax, qword [rcx + 0x10]
call qword [rax + 0x10]
jmp case.0x18006f31a.63
cmp qword [r12], 0
je case.0x18006f31a.55
jmp case.0x18006f31a.63
mov r9d, 0xc4
mov qword [rsp + 0x20], r10
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1800615e0
jmp case.0x18006f31a.63
mov rax, qword [r12]
cmp qword [rax + 0x48], 0
je case.0x18006f31a.63
mov edi, 0xe3
nop dword [rax]
mov eax, edi
sub eax, 0xe3
je 0x18006f488
cmp eax, 0x12
jne 0x18006f4a3
mov rax, qword [r12]
mov qword [rax + 0x48], r10
jmp 0x18006f4a3
mov rdx, qword [r12]
mov r9d, 0xe6
add rdx, 0x48
xor r8d, r8d
xor ecx, ecx
call fcn.18008d780
xor r10d, r10d
add edi, 0x12
cmp edi, 0x107
jb 0x18006f470
jmp case.0x18006f31a.63
cmp dword [r8], 0
jne 0x18006f506
mov rax, qword [r12]
cmp dword [rax + 0x28], 0x400
jne 0x18006f503
mov ecx, dword [rax + 0xb8]
mov eax, 1
shl eax, cl
cmp eax, 1
jle 0x18006f500
mov rax, qword [r9]
lea r8, [rbp - 0x31]
mov r9d, 0x30
mov qword [rbp - 0x29], rax
lea rdx, [rbp - 0x29]
mov qword [rbp - 0x31], r10
xor ecx, ecx
call fcn.180065c00
mov r9, qword [rbp + 0x7f]
mov r8, qword [rbp + 0x77]
mov ecx, dword [rbp - 0x39]
mov eax, dword [rbp + 0x6f]
test r13, r13
je 0x18006f75a
mov ebx, dword [rbp - 0x19]
mov r15d, 0xd2
nop dword [rax + rax]
mov eax, r15d
sub eax, 0xd0
je 0x18006f631
sub eax, 1
je 0x18006f5f2
cmp eax, 1
jne 0x18006f65b
mov rsi, qword [r12]
mov rax, qword [rsi + 0x20]
cmp word [rax + 0xce], 0
je 0x18006f5ee
mov rax, qword [r9]
cmp qword [rsi + 0x50], rax
jne 0x18006f5ee
mov r14d, dword [r8]
mov edi, 0x52
nop dword [rax + rax]
cmp edi, 0x52
je 0x18006f5b4
cmp edi, 0xe8
je 0x18006f58f
cmp edi, 0x2766
je 0x18006f5ee
cmp edi, 0x6f78
je 0x18006f5ee
jmp 0x18006f5e0
xor r8d, r8d
mov dword [rbp - 0x11], r14d
lea rax, [rbp - 0x11]
mov qword [rbp + 0xf], rsi
lea r9, [rbp + 0xf]
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r8 + 0x11]
call fcn.180065e80
jmp 0x18006f5e0
mov r9, qword [rsi + 0x38]
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x31]
mov dword [rbp - 0x29], r14d
xor ecx, ecx
mov qword [rbp - 0x31], rsi
mov dword [rsp + 0x20], 0x3e
call fcn.180085210
mov edx, 0xfffd
and word [rax + 0x12], dx
add edi, 0x2714
cmp edi, 0x9c50
jbe 0x18006f570
mov esi, ebx
jmp 0x18006f65b
mov rax, qword [r12]
xor r9d, r9d
xor ecx, ecx
mov rdx, qword [rax + 0x20]
lea r8d, [r9 + 0x5e]
call fcn.18004c280
movsxd rcx, esi
add rcx, r13
cmp rcx, rax
jb 0x18006f65b
mov rax, qword [r12]
xor r9d, r9d
xor ecx, ecx
mov rdx, qword [rax + 0x20]
lea r8d, [r9 + 0x5e]
call fcn.18004c280
mov rsi, rax
sub esi, r13d
jmp 0x18006f65b
mov rax, qword [r9]
lea r8, [rbp - 0x31]
xor r9d, r9d
mov qword [rbp - 0x31], rax
lea rdx, [rbp - 0x21]
mov dword [rbp - 0x29], esi
lea rcx, [rbp - 0x29]
mov qword [rbp - 0x21], r13
mov dword [rsp + 0x20], 0x3b
call fcn.180096c70
mov r9, qword [rbp + 0x7f]
dec r15d
mov r8, qword [rbp + 0x77]
cmp r15d, 0xcf
ja 0x18006f520
mov ebx, dword [rbp - 0x15]
jmp case.0x18006f31a.63
sub eax, 0x165
je 0x18006f72b
sub eax, 0x1a
je 0x18006f707
sub eax, 0x1a
je 0x18006f6f4
cmp eax, 0x1a
jne case.default.0x18006f31a
mov eax, 0x43
nop
cmp eax, 0x43
je 0x18006f79b
add eax, 0x1b
cmp eax, 0x5e
jb 0x18006f6a0
mov eax, dword [r8]
lea r9, [rbp + 7]
mov dword [rbp - 0x29], eax
lea r8, [rbp - 0x29]
mov rax, qword [r12]
lea rdx, [rbp - 9]
mov qword [rbp - 0x21], rax
lea rcx, [rbp - 1]
lea rax, [rbp - 0x21]
mov dword [rsp + 0x30], 0x8b
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x17]
mov qword [rsp + 0x20], rax
call fcn.180074070
mov r13, qword [rbp + 7]
jmp case.0x18006f31a.63
mov rax, qword [r12]
mov ecx, 0xfffffffe
sub ecx, dword [rax + 0x40]
sub ecx, dword [rbp - 9]
add esi, ecx
jmp case.0x18006f31a.63
mov eax, dword [r8]
lea rdx, [rbp - 0x21]
mov dword [rbp - 0x29], eax
lea r8, [rbp - 0x29]
mov rax, qword [r12]
mov ecx, 0x124
mov qword [rbp - 0x21], rax
call fcn.180036e00
mov esi, eax
jmp case.0x18006f31a.63
mov rax, qword [rbp - 1]
test rax, rax
je case.default.0x18006f31a
mov qword [rbp - 0x21], rax
lea r8, [rbp - 0x21]
mov rax, qword [r9]
lea rdx, [rbp - 0x31]
mov r9d, 0x30
mov qword [rbp - 0x31], rax
xor ecx, ecx
call fcn.180065c00
mov ecx, dword [rbp - 0x39]
mov eax, dword [rbp + 0x6f]
add eax, 0x1a
mov dword [rbp + 0x6f], eax
cmp eax, ecx
jae case.0x18006f31a.55
mov r9, qword [rbp + 0x7f]
mov r8, qword [rbp + 0x77]
jmp 0x18006f2dd
xor r9d, r9d
mov qword [rbp - 1], rcx
xor edx, edx
lea rcx, [rbp - 1]
lea r8d, [r9 + 0x63]
call fcn.1800343c0
jmp case.0x18006f31a.55
mov eax, esi
jmp 0x18006f3cc