Function at 0x180014cd0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xe0
mov rax, qword [0x18007cf38]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r15, qword [rbp + 0x7f]
lea edi, [rcx + 0x68]
mov dword [rsp + 0x30], edi
mov r12, rdx
mov ebx, dword [rsp + 0x30]
mov r14d, ecx
mov qword [rsp + 0x38], r9
mov qword [rbp - 0x61], r8
mov qword [rbp - 0x39], rdx
mov qword [rbp - 0x41], r15
cmp ecx, edi
jae case.0x180014d6f.93
movups xmm2, xmmword [rbp - 0x59]
movzx r13d, word [rsp + 0x20]
movsd xmm1, qword [rbp - 0x49]
mov rsi, qword [rbp - 0x61]
movups xmmword [rbp - 0x79], xmm2
movsd qword [rsp + 0x28], xmm1
xor edx, edx
lea eax, [r14 - 0x54]
lea r8, [0x180000000]
cmp eax, 0x33
ja case.0x180014d6f.97
movzx eax, byte [r8 + rax + 0x15170]
mov ecx, dword [r8 + rax*4 + 0x15138]
add rcx, r8
jmp rcx
mov rcx, qword [rbp - 0x31]
mov edx, 8
call fcn.1800650a0
movzx eax, byte [rsp + 0x20]
xor ecx, ecx
test rsi, rsi
cmovne ecx, eax
mov byte [rsp + 0x20], cl
cmp cl, 0
je 0x180014eb4
mov edi, 0x7e
xor r12d, r12d
movabs r15, 0x6500790061004c
nop dword [rax + rax]
cmp edi, 0x240
ja 0x180014e4e
je 0x180014e34
cmp edi, 0x7e
je 0x180014e12
cmp edi, 0x114
je 0x180014df5
cmp edi, 0x1aa
jne 0x180014e96
mov eax, dword [0x180069188]
mov dword [rbp - 0xd], eax
movzx eax, word [0x18006918c]
mov word [rbp - 9], ax
mov word [rbp - 7], r12w
jmp 0x180014e96
movsd xmm0, qword [0x18006927e]
movzx eax, word [0x180069286]
movsd qword [rbp - 0x17], xmm0
mov word [rbp - 0xf], ax
jmp 0x180014e96
mov r8d, 5
mov qword [rbp - 0x29], r15
lea rdx, [0x1800691c8]
mov word [rbp - 0x21], r12w
lea rcx, [rbp - 0x21]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
jmp 0x180014e96
movsd xmm0, qword [0x18006922c]
movzx eax, word [0x180069234]
movsd qword [rbp - 7], xmm0
mov word [rbp + 1], ax
jmp 0x180014e96
cmp edi, 0x2d6
je 0x180014e69
cmp edi, 0x36c
jne 0x180014e96
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180014e96
mov r8d, 2
mov word [rbp + 3], r12w
lea rdx, [0x180069176]
lea rcx, [rbp - 0x29]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
movsx r8d, r13w
lea rcx, [rbp - 0x29]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
add edi, 0x96
cmp edi, 0x402
jb 0x180014db0
mov r15, qword [rbp - 0x41]
mov r12, qword [rbp - 0x39]
mov edi, dword [rsp + 0x30]
movsd xmm1, qword [rsp + 0x28]
movups xmm2, xmmword [rbp - 0x79]
mov r9, qword [rsp + 0x38]
jmp case.0x180014d6f.97
xor r9d, r9d
xor edx, edx
xor ecx, ecx
lea r8d, [r9 + 0x51]
call fcn.1800248e0
movsd xmm1, qword [rsp + 0x28]
mov r13d, 0x400
movups xmm2, xmmword [rbp - 0x79]
mov r9, qword [rsp + 0x38]
jmp case.0x180014d6f.97
mov rdx, qword [rsp + 0x40]
mov ecx, 0x89
call fcn.18003c520
mov rdx, qword [rsp + 0x48]
mov ecx, 0x89
call fcn.18003c520
movsd xmm1, qword [rsp + 0x28]
movups xmm2, xmmword [rbp - 0x79]
mov r9, qword [rsp + 0x38]
jmp case.0x180014d6f.97
mov qword [rsp + 0x48], rdx
test r15, r15
je case.0x180014d6f.97
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [r15 + rax], 0
jne 0x180014f40
mov r8d, 0x5d
mov qword [rbp - 0x69], rax
mov rdx, r15
lea rcx, [rbp - 0x69]
call fcn.18004a400
test eax, eax
je 0x180014f97
xor edx, edx
mov r8d, 0x125
mov rcx, r15
call fcn.18003cd00
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180014fa1
movsd xmm1, qword [rsp + 0x28]
movups xmm2, xmmword [rbp - 0x79]
mov r9, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
jmp case.0x180014d6f.97
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x40], rax
movsd xmm1, qword [rsp + 0x28]
mov r14d, 0x77
movups xmm2, xmmword [rbp - 0x79]
mov r9, qword [rsp + 0x38]
jmp case.0x180014d6f.97
mov qword [0x18007d010], rdx
jmp case.0x180014d6f.97
mov rax, qword [0x18007d010]
mov rax, qword [rax + 0x48]
mov qword [rbp - 0x31], rax
jmp case.0x180014d6f.97
mov qword [rbp - 0x59], rdx
mov qword [rbp - 0x51], rdx
movups xmm2, xmmword [rbp - 0x59]
mov qword [rbp - 0x49], rdx
movsd xmm1, qword [rbp - 0x49]
movups xmmword [rbp - 0x79], xmm2
movsd qword [rsp + 0x28], xmm1
jmp case.0x180014d6f.97
movsx rcx, r13w
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
movsd xmm1, qword [rsp + 0x28]
mov rsi, rax
movups xmm2, xmmword [rbp - 0x79]
mov r9, qword [rsp + 0x38]
jmp case.0x180014d6f.97
mov qword [rsp + 0x40], rdx
jmp case.0x180014d6f.97
mov byte [rsp + 0x20], 1
jmp case.0x180014d6f.97
test r12, r12
je 0x1800150a7
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r12 + rax], 0
jne 0x180015043
mov qword [rbp - 0x69], rax
lea rcx, [rbp - 0x69]
mov rax, qword [rsp + 0x48]
mov r8d, 0x5d
mov rdx, r12
mov qword [rsp + 0x48], rax
call fcn.18004a400
test eax, eax
je 0x180014fa1
xor edx, edx
mov r8d, 0x125
mov rcx, r12
call fcn.18003cd00
mov qword [rsp + 0x48], rax
test rax, rax
je 0x180014fa1
movsd xmm1, qword [rsp + 0x28]
movups xmm2, xmmword [rbp - 0x79]
mov r9, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
xorps xmm0, xmm0
mov qword [r9], 9
mov ebx, 1
movups xmmword [r9 + 0x18], xmm0
movups xmmword [r9 + 0x28], xmm0
mov qword [r9 + 8], rax
mov rax, qword [rsp + 0x48]
mov qword [r9 + 0x10], rax
mov rax, qword [rbp + 0x77]
movups xmmword [r9 + 0x38], xmm2
movups xmmword [r9 + 0x50], xmm2
movsd qword [r9 + 0x48], xmm1
movsd qword [r9 + 0x60], xmm1
mov eax, dword [rax]
mov dword [r9 + 0x18], eax
mov rax, qword [rbp - 0x61]
mov eax, dword [rax]
mov dword [r9 + 0x1c], eax
add r14d, 8
cmp r14d, edi
jb 0x180014d45
mov eax, ebx
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.180065820
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, edx
jmp 0x18001510b