Function at 0x14000cc18
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xa8
xor ebx, ebx
mov r13d, 0x400
mov qword [rbp - 1], rbx
mov r8d, r13d
mov rax, qword gs:[0x60]
xor edx, edx
mov qword [rbp - 0x21], rbx
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x49], rbx
mov rax, qword [rax + 0x30]
mov rcx, rax
mov qword [rbp + 0x7f], rax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x31], rbx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x14000de57
mov r8d, r13d
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov qword [rbp - 0x29], rdi
mov r12d, r13d
mov qword [rbp - 0x41], r13
lea r15, [rbx + 0x16]
movups xmm0, xmmword [str.SystemRoot]
mov rsi, r15
mov qword [rbp - 0x31], r15
mov r14, r15
mov qword [rbp - 0x49], r15
movups xmmword [rbx + rdi], xmm0
mov eax, dword [0x14001fcd0]
mov dword [rbx + rdi + 0x10], eax
movzx eax, word [0x14001fcd4]
mov word [rbx + rdi + 0x14], ax
xor r15d, r15d
test ebx, ebx
js 0x14000de30
call fcn.14000c1ec
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x14000ccee
call fcn.14000c1ec
xor ecx, ecx
mov qword [rbp - 9], rax
add rbx, rbx
je 0x14000cdd0
lea r13, [rsi + rbx]
cmp r13, rsi
jb 0x14000ce3c
cmp r13, r12
jbe 0x14000cda7
mov rax, qword [rbp - 0x39]
lea r15, [rax - 1]
add r15, r13
cmp r15, r13
jb 0x14000ce35
mov rcx, qword [rbp + 0x7f]
dec rax
not rax
xor edx, edx
and r15, rax
test rdi, rdi
jne 0x14000cd75
mov r8, r15
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [rbp + 0x77], rax
test rax, rax
je 0x14000cd87
mov r8, r15
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rax, qword [rbp + 0x77]
jmp 0x14000cd87
mov r9, r15
mov r8, rdi
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
nop dword [rax + rax]
xor ecx, ecx
test rax, rax
jne 0x14000cd95
mov ebx, 0xc0000017
jmp 0x14000cdcc
mov rdi, rax
mov qword [rbp - 0x29], rax
mov r12, r15
mov qword [rbp - 0x41], r15
mov rax, qword [rbp - 9]
lea rcx, [rsi + rdi]
mov r8, rbx
mov rdx, rax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
cmp r14, r13
mov qword [rbp - 0x31], r13
mov rsi, r13
cmovbe r14, r13
xor ecx, ecx
mov ebx, ecx
mov qword [rbp - 0x49], r14
test ebx, ebx
js 0x14000ce41
lea r15, [rsi + 2]
cmp r15, rsi
jb 0x14000de20
cmp r15, r12
jbe 0x14000ce99
mov r13, qword [rbp - 0x39]
lea rbx, [r13 - 1]
add rbx, r15
cmp rbx, r15
jb 0x14000cf1e
mov rcx, qword [rbp + 0x7f]
lea rax, [r13 - 1]
not rax
xor edx, edx
and rbx, rax
test rdi, rdi
jne 0x14000ce68
mov r8, rbx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov r13, rax
test rax, rax
je 0x14000ce7d
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
jmp 0x14000ce7d
mov ebx, 0xc0000095
jmp 0x14000cdcc
mov ebx, 0xc000000d
mov r8d, 0x4ab
mov ecx, 1
lea r9, str.Out_of_memory
lea rdx, str.AslEnvBuildBasic
call fcn.14000ac0c
mov r14, qword [rbp + 0x7f]
jmp 0x14000de8d
mov r9, rbx
mov r8, rdi
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
nop dword [rax + rax]
mov r13, rax
xor ecx, ecx
test r13, r13
jne 0x14000ce8b
mov ebx, 0xc0000017
jmp 0x14000ceb1
mov rdi, r13
mov qword [rbp - 0x29], r13
mov r12, rbx
mov qword [rbp - 0x41], rbx
cmp r14, r15
mov word [rsi + rdi], cx
mov rsi, r15
mov qword [rbp - 0x31], r15
cmovbe r14, r15
mov ebx, ecx
mov qword [rbp - 0x49], r14
mov r13, qword [rbp - 0x39]
test ebx, ebx
js 0x14000de25
lea r15, [rsi + 0x18]
cmp r15, rsi
jb 0x14000de10
cmp r15, r12
jbe 0x14000cf56
lea rbx, [r13 - 1]
add rbx, r15
cmp rbx, r15
jb 0x14000cff5
mov rcx, qword [rbp + 0x7f]
lea rax, [r13 - 1]
not rax
xor edx, edx
and rbx, rax
test rdi, rdi
jne 0x14000cf25
mov r8, rbx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov r13, rax
test rax, rax
je 0x14000cf3a
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
jmp 0x14000cf3a
mov ebx, 0xc0000095
jmp 0x14000ceb5
mov r9, rbx
mov r8, rdi
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
nop dword [rax + rax]
mov r13, rax
xor ecx, ecx
test r13, r13
jne 0x14000cf48
mov ebx, 0xc0000017
jmp 0x14000cf83
mov rdi, r13
mov qword [rbp - 0x29], r13
mov r12, rbx
mov qword [rbp - 0x41], rbx
movups xmm0, xmmword [str.SystemDrive]
cmp r14, r15
mov qword [rbp - 0x31], r15
mov ebx, ecx
movups xmmword [rsi + rdi], xmm0
cmovbe r14, r15
movsd xmm1, qword [0x14001f6c8]
movsd qword [rsi + rdi + 0x10], xmm1
mov rsi, r15
mov qword [rbp - 0x49], r14
mov r13, qword [rbp - 0x39]
test ebx, ebx
js 0x14000de15
call fcn.14000c1ec
lea r15, [rsi + 4]
mov qword [rbp + 0x77], rax
cmp r15, rsi
jb 0x14000de00
cmp r15, r12
jbe 0x14000d03c
lea rbx, [r13 - 1]
add rbx, r15
cmp rbx, r15
jb 0x14000d033
mov rcx, qword [rbp + 0x7f]
lea rax, [r13 - 1]
not rax
xor edx, edx
and rbx, rax
test rdi, rdi
jne 0x14000cffc
mov r8, rbx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov r13, rax
test rax, rax
je 0x14000d011
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
jmp 0x14000d011
mov ebx, 0xc0000095
jmp 0x14000cf87
mov r9, rbx
mov r8, rdi
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
nop dword [rax + rax]
mov r13, rax
xor ecx, ecx
test r13, r13
jne 0x14000d01f
mov ebx, 0xc0000017
jmp 0x14000d057
mov rdi, r13
mov qword [rbp - 0x29], r13
mov r12, rbx
mov qword [rbp - 0x41], rbx
mov rax, qword [rbp + 0x77]
jmp 0x14000d03e
mov ebx, 0xc0000095
xor ecx, ecx
jmp 0x14000d05b
xor ecx, ecx
mov eax, dword [rax]
cmp r14, r15
mov dword [rsi + rdi], eax
mov ebx, ecx
cmovbe r14, r15
mov qword [rbp - 0x31], r15
mov qword [rbp - 0x49], r14
mov rsi, r15
mov r13, qword [rbp - 0x39]
test ebx, ebx
js 0x14000de05
lea r15, [rsi + 2]
cmp r15, rsi
jb 0x14000ddf0
cmp r15, r12
jbe 0x14000d0f1
lea rbx, [r13 - 1]
add rbx, r15
cmp rbx, r15
jb 0x14000d176
mov rcx, qword [rbp + 0x7f]
lea rax, [r13 - 1]
not rax
xor edx, edx
and rbx, rax
test rdi, rdi
jne 0x14000d0c0
mov r8, rbx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov r13, rax
test rax, rax
je 0x14000d0d5
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
jmp 0x14000d0d5
mov r9, rbx
mov r8, rdi
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
nop dword [rax + rax]
mov r13, rax
xor ecx, ecx
test r13, r13
jne 0x14000d0e3
mov ebx, 0xc0000017
jmp 0x14000d109
mov rdi, r13
mov qword [rbp - 0x29], r13
mov r12, rbx
mov qword [rbp - 0x41], rbx
cmp r14, r15
mov word [rsi + rdi], cx
mov rsi, r15
mov qword [rbp - 0x31], r15
cmovbe r14, r15
mov ebx, ecx
mov qword [rbp - 0x49], r14
mov r13, qword [rbp - 0x39]
test ebx, ebx
js 0x14000ddf5
lea r15, [rsi + 0xe]
cmp r15, rsi
jb 0x14000dde0
cmp r15, r12
jbe 0x14000d1ae
lea rbx, [r13 - 1]
add rbx, r15
cmp rbx, r15
jb 0x14000d27e
mov rcx, qword [rbp + 0x7f]
lea rax, [r13 - 1]
not rax
xor edx, edx
and rbx, rax
test rdi, rdi
jne 0x14000d17d
mov r8, rbx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov r13, rax
test rax, rax
je 0x14000d192
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
jmp 0x14000d192
mov ebx, 0xc0000095
jmp 0x14000d10d
mov r9, rbx
mov r8, rdi
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
nop dword [rax + rax]
mov r13, rax
xor ecx, ecx
test r13, r13
jne 0x14000d1a0
mov ebx, 0xc0000017
jmp 0x14000d1e5
mov rdi, r13
mov qword [rbp - 0x29], r13
mov r12, rbx
mov qword [rbp - 0x41], rbx
movsd xmm0, qword [str.WinDir]
cmp r14, r15
movsd qword [rsi + rdi], xmm0
mov ebx, ecx
mov eax, dword [0x14001fce0]
cmovbe r14, r15
mov dword [rsi + rdi + 8], eax
movzx eax, word [0x14001fce4]
mov word [rsi + rdi + 0xc], ax
mov rsi, r15
mov qword [rbp - 0x31], r15
mov qword [rbp - 0x49], r14
test ebx, ebx
js 0x14000dde5
call fcn.14000c1ec
or rbx, 0xffffffffffffffff
xor ecx, ecx
inc rbx
cmp word [rax + rbx*2], cx
jne 0x14000d1f8
call fcn.14000c1ec
xor ecx, ecx
mov qword [rbp - 9], rax
add rbx, rbx
je 0x14000d2e3
lea r13, [rsi + rbx]
cmp r13, rsi
jb 0x14000d34e
cmp r13, r12
jbe 0x14000d2ba
mov rax, qword [rbp - 0x39]
lea r15, [rax - 1]
add r15, r13
cmp r15, r13
jb 0x14000d347
mov rcx, qword [rbp + 0x7f]
dec rax
not rax
xor edx, edx
and r15, rax
test rdi, rdi
jne 0x14000d288
mov r8, r15
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [rbp + 0x77], rax
test rax, rax
je 0x14000d29a
mov r8, r15
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rax, qword [rbp + 0x77]
jmp 0x14000d29a
mov ebx, 0xc0000095
jmp 0x14000d1e5
mov r9, r15
mov r8, rdi
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
nop dword [rax + rax]
xor ecx, ecx
test rax, rax
jne 0x14000d2a8
mov ebx, 0xc0000017
jmp 0x14000d2df
mov rdi, rax
mov qword [rbp - 0x29], rax
mov r12, r15
mov qword [rbp - 0x41], r15
mov rax, qword [rbp - 9]
lea rcx, [rsi + rdi]
mov r8, rbx
mov rdx, rax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
cmp r14, r13
mov qword [rbp - 0x31], r13
mov rsi, r13
cmovbe r14, r13
xor ecx, ecx
mov ebx, ecx
mov qword [rbp - 0x49], r14
test ebx, ebx
js 0x14000d353
lea r15, [rsi + 2]
cmp r15, rsi
jb 0x14000ddd0
cmp r15, r12
jbe 0x14000d38f
mov rax, qword [rbp - 0x39]
lea rbx, [rax - 1]
add rbx, r15
cmp rbx, r15
jb 0x14000d3f5
mov rcx, qword [rbp + 0x7f]
dec rax
not rax
xor edx, edx
and rbx, rax
test rdi, rdi
jne 0x14000d35e
mov r8, rbx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov r13, rax
test rax, rax
je 0x14000d373
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
jmp 0x14000d373
mov ebx, 0xc0000095
jmp 0x14000d2df
mov ebx, 0xc000000d
mov r8d, 0x4c3
jmp 0x14000ce47
mov r9, rbx
mov r8, rdi
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
nop dword [rax + rax]
mov r13, rax
xor ecx, ecx
test r13, r13
jne 0x14000d381
mov ebx, 0xc0000017
jmp 0x14000d3a7
mov rdi, r13
mov qword [rbp - 0x29], r13
mov r12, rbx
mov qword [rbp - 0x41], rbx
cmp r14, r15
mov word [rsi + rdi], cx
mov rsi, r15
mov qword [rbp - 0x31], r15
cmovbe r14, r15
mov ebx, ecx
mov qword [rbp - 0x49], r14
test ebx, ebx
js 0x14000ddd5
mov r15d, 1
lea rdx, str.RegistryMachineSoftwareMicrosoftWindowsCurrentVersion
mov r8d, r15d
lea rcx, [rbp - 1]
call fcn.140008c18
mov ebx, eax
xor eax, eax
test ebx, ebx
jns 0x14000d3fc
lea r9, str.Failed_to_open_reg_key___x_
mov dword [rsp + 0x20], ebx
mov r8d, 0x4d3
lea rdx, str.AslEnvBuildBasic
mov ecx, r15d
call fcn.14000ac0c
jmp 0x14000ce5f
mov ebx, 0xc0000095
jmp 0x14000d3a7
lea rbx, str.CommonProgramFiles
mov dword [rbp + 0x77], eax
mov qword [rbp - 0x19], rbx
mov r13d, eax
mov r8, qword [rbx - 8]
lea rcx, [rbp - 0x21]
mov rdx, qword [rbp - 1]
call fcn.140008ee8
xor edx, edx
test eax, eax
js 0x14000d7c5
mov rax, qword [rbx]
or r13, 0xffffffffffffffff
mov qword [rbp + 7], rax
inc r13
cmp word [rax + r13*2], dx
jne 0x14000d433
add r13, r13
je 0x14000d511
lea rcx, [rsi + r13]
mov qword [rbp - 0x11], rcx
cmp rcx, rsi
jb 0x14000d863
cmp rcx, r12
jbe 0x14000d4e0
mov rax, qword [rbp - 0x39]
dec rax
lea rbx, [rcx + rax]
cmp rbx, rcx
jb 0x14000d578
mov rcx, qword [rbp + 0x7f]
not rax
and rbx, rax
test rdi, rdi
jne 0x14000d4ae
mov r8, rbx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [rbp - 9], rax
test rax, rax
je 0x14000d4c0
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rax, qword [rbp - 9]
jmp 0x14000d4c0
mov r9, rbx
mov r8, rdi
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
nop dword [rax + rax]
xor edx, edx
test rax, rax
jne 0x14000d4ce
mov ebx, 0xc0000017
jmp 0x14000d509
mov rdi, rax
mov qword [rbp - 0x29], rax
mov r12, rbx
mov qword [rbp - 0x41], rbx
mov rax, qword [rbp + 7]
lea rcx, [rsi + rdi]
mov r8, r13
mov rdx, rax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov rax, qword [rbp - 0x11]
cmp r14, rax
mov qword [rbp - 0x31], rax
mov rsi, rax
cmovbe r14, rax
xor edx, edx
mov ebx, edx
mov qword [rbp - 0x49], r14
test ebx, ebx
js 0x14000d868
lea r13, [rsi + 2]
cmp r13, rsi
jb 0x14000d890
cmp r13, r12
jbe 0x14000d5ad
mov rcx, qword [rbp - 0x39]
lea rax, [rcx - 1]
lea rbx, [rax + r13]
cmp rbx, r13
jb 0x14000d657
mov rcx, qword [rbp + 0x7f]
not rax
and rbx, rax
xor edx, edx
test rdi, rdi
jne 0x14000d57f
mov r8, rbx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [rbp - 0x11], rax
test rax, rax
je 0x14000d591
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rax, qword [rbp - 0x11]
jmp 0x14000d591
mov ebx, 0xc0000095
jmp 0x14000d509
mov r9, rbx
mov r8, rdi
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
nop dword [rax + rax]
xor edx, edx
test rax, rax
jne 0x14000d59f
mov ebx, 0xc0000017
jmp 0x14000d5ca
mov rdi, rax
mov qword [rbp - 0x29], rax
mov r12, rbx
mov qword [rbp - 0x41], rbx
cmp r14, r13
mov qword [rbp - 0x31], r13
mov eax, 0x3d
mov ebx, edx
cmovbe r14, r13
mov word [rsi + rdi], ax
mov qword [rbp - 0x49], r14
mov rsi, r13
mov rcx, qword [rbp - 0x39]
test ebx, ebx
js 0x14000d895
mov rax, qword [rbp - 0x21]
or r13, 0xffffffffffffffff
inc r13
cmp word [rax + r13*2], dx
jne 0x14000d5de
add r13, r13
je 0x14000d6c1
lea rax, [rsi + r13]
mov qword [rbp + 7], rax
cmp rax, rsi
jb 0x14000d876
cmp rax, r12
jbe 0x14000d68f
dec rcx
lea rbx, [rax + rcx]
cmp rbx, rax
jb 0x14000d702
not rcx
xor edx, edx
and rbx, rcx
mov rcx, qword [rbp + 0x7f]
test rdi, rdi
jne 0x14000d661
mov r8, rbx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [rbp - 0x11], rax
test rax, rax
je 0x14000d673
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rax, qword [rbp - 0x11]
jmp 0x14000d673
mov ebx, 0xc0000095
jmp 0x14000d5ce
mov r9, rbx
mov r8, rdi
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
nop dword [rax + rax]
xor edx, edx
test rax, rax
jne 0x14000d681
mov ebx, 0xc0000017
jmp 0x14000d6b9
mov rdi, rax
mov qword [rbp - 0x29], rax
mov r12, rbx
mov qword [rbp - 0x41], rbx
mov rdx, qword [rbp - 0x21]
lea rcx, [rsi + rdi]
mov r8, r13
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov rax, qword [rbp + 7]
cmp r14, rax
mov qword [rbp - 0x31], rax
mov rsi, rax
cmovbe r14, rax
xor edx, edx
mov ebx, edx
mov qword [rbp - 0x49], r14
test ebx, ebx
js 0x14000d87b
cmp qword [rbp - 0x21], rdx
je 0x14000d709
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rbp - 0x21]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x51]
xor edx, edx
mov rdi, qword [rbp - 0x29]
mov rsi, qword [rbp - 0x31]
mov r12, qword [rbp - 0x41]
mov r14, qword [rbp - 0x49]
mov qword [rbp + 0x7f], rcx
jmp 0x14000d70d
mov ebx, 0xc0000095
jmp 0x14000d6b9
mov rcx, qword [rbp + 0x7f]
lea r13, [rsi + 2]
mov qword [rbp - 0x21], rdx
cmp r13, rsi
jb 0x14000d883
cmp r13, r12
jbe 0x14000d79d
mov rax, qword [rbp - 0x39]
dec rax
lea rbx, [rax + r13]
cmp rbx, r13
jb 0x14000d859
not rax
xor edx, edx
and rbx, rax
test rdi, rdi
jne 0x14000d76f
mov r8, rbx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [rbp - 0x11], rax
test rax, rax
je 0x14000d781
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rax, qword [rbp - 0x11]
jmp 0x14000d781
mov r9, rbx
mov r8, rdi
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
nop dword [rax + rax]
xor edx, edx
test rax, rax
jne 0x14000d78f
mov ebx, 0xc0000017
jmp 0x14000d7b5
mov rdi, rax
mov qword [rbp - 0x29], rax
mov r12, rbx
mov qword [rbp - 0x41], rbx
cmp r14, r13
mov word [rsi + rdi], dx
mov rsi, r13
mov qword [rbp - 0x31], r13
cmovbe r14, r13
mov ebx, edx
mov qword [rbp - 0x49], r14
test ebx, ebx
js 0x14000d888
mov rbx, qword [rbp - 0x19]
mov r13d, dword [rbp + 0x77]
add r13d, r15d
add rbx, 0x10
mov dword [rbp + 0x77], r13d
mov qword [rbp - 0x19], rbx
cmp r13d, 4
jb 0x14000d40d
mov rcx, qword [rbp - 1]
call qword [sym.imp.ntdll.dll_ZwClose]
nop dword [rax + rax]
xor r14d, r14d
mov qword [rbp - 1], r14
mov rax, qword gs:[0x60]
mov r12, qword [rbp - 0x49]
lea edx, [r14 + 8]
mov qword [rbp - 0x19], r12
mov rcx, qword [rax + 0x30]
lea r8, [r12 + 2]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [rbp - 0x59], rax
mov rsi, rax
test rax, rax
jne 0x14000d89d
mov r8d, 0x4f7
lea r9, str.Out_of_memory
mov ecx, r15d
lea rdx, str.AslEnvBuildBasic
mov ebx, 0xc0000017
call fcn.14000ac0c
mov rdi, qword [rbp - 0x29]
mov r14, qword [rbp - 0x51]
jmp 0x14000de91
mov ebx, 0xc0000095
jmp 0x14000d7b5
mov ebx, 0xc000000d
mov r8d, 0x4dd
mov ecx, r15d
jmp 0x14000ce4c
mov ebx, 0xc000000d
mov r8d, 0x4e1
jmp 0x14000d86e
mov ebx, 0xc000000d
mov r8d, 0x4e8
jmp 0x14000d86e
mov ebx, 0xc000000d
mov r8d, 0x4df
jmp 0x14000d86e
mov rdi, qword [rbp - 0x29]
mov r8, r12
mov rdx, rdi
mov rcx, rax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov r8d, r15d
lea rdx, str.RegistryMachineSoftwareMicrosoftWindows_NTCurrentVersionProfileList
lea rcx, [rbp - 1]
call fcn.140008c18
mov ebx, eax
test eax, eax
jns 0x14000d8ed
lea r9, str.Failed_to_open_reg_key___x_
mov dword [rsp + 0x20], eax
mov r8d, 0x501
lea rdx, str.AslEnvBuildBasic
mov ecx, r15d
call fcn.14000ac0c
jmp 0x14000d850
mov r13, qword [rbp - 0x31]
lea rbx, str.ProgramData
mov esi, r14d
mov dword [rbp + 0x77], r14d
mov r14, qword [rbp - 0x51]
mov qword [rbp + 0x7f], r14
mov qword [rbp - 9], rbx
mov r9, qword [rbp - 0x59]
lea rcx, [rbp - 0x21]
mov r8, qword [rbx - 8]
mov rdx, qword [rbp - 1]
call fcn.1400090d4
xor edx, edx
test eax, eax
js 0x14000dccd
mov rax, qword [rbx]
or rsi, 0xffffffffffffffff
mov qword [rbp - 0x11], rax
inc rsi
cmp word [rax + rsi*2], dx
jne 0x14000d935
add rsi, rsi
je 0x14000da11
lea r12, [rsi + r13]
cmp r12, r13
jb 0x14000dd4c
cmp r12, qword [rbp - 0x41]
jbe 0x14000d9d7
mov rax, qword [rbp - 0x39]
dec rax
lea rbx, [r12 + rax]
cmp rbx, r12
jb 0x14000da73
not rax
mov rcx, r14
and rbx, rax
test rdi, rdi
jne 0x14000d9a2
mov r8, rbx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov r14, rax
test rax, rax
je 0x14000d9b7
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
jmp 0x14000d9b7
mov r9, rbx
mov r8, rdi
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
nop dword [rax + rax]
mov r14, rax
xor edx, edx
test r14, r14
jne 0x14000d9c8
mov ebx, 0xc0000017
jmp 0x14000da78
mov rdi, r14
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x41], rbx
mov rax, qword [rbp - 0x11]
lea rcx, [rdi + r13]
mov r8, rsi
mov rdx, rax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
cmp qword [rbp - 0x19], r12
mov r13, r12
mov qword [rbp - 0x31], r12
mov r12, qword [rbp - 0x19]
cmovbe r12, r13
xor edx, edx
mov ebx, edx
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x49], r12
mov r14, qword [rbp + 0x7f]
test ebx, ebx
js 0x14000dd51
lea rsi, [r13 + 2]
cmp rsi, r13
jb 0x14000dd92
cmp rsi, qword [rbp - 0x41]
jbe 0x14000daac
mov rcx, qword [rbp - 0x39]
lea rax, [rcx - 1]
lea rbx, [rsi + rax]
cmp rbx, rsi
jb 0x14000db53
not rax
xor edx, edx
and rbx, rax
mov rcx, r14
test rdi, rdi
jne 0x14000da7e
mov r8, rbx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov r14, rax
test rax, rax
je 0x14000da93
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
jmp 0x14000da93
mov ebx, 0xc0000095
mov r12, qword [rbp - 0x19]
jmp 0x14000da05
mov r9, rbx
mov r8, rdi
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
nop dword [rax + rax]
mov r14, rax
xor edx, edx
test r14, r14
jne 0x14000daa1
mov ebx, 0xc0000017
jmp 0x14000dace
mov rdi, r14
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x41], rbx
cmp r12, rsi
mov qword [rbp - 0x31], rsi
mov eax, 0x3d
mov ebx, edx
cmovbe r12, rsi
mov word [rdi + r13], ax
mov qword [rbp - 0x19], r12
mov r13, rsi
mov qword [rbp - 0x49], r12
mov rcx, qword [rbp - 0x39]
test ebx, ebx
js 0x14000dd97
mov rax, qword [rbp - 0x21]
or rsi, 0xffffffffffffffff
inc rsi
cmp word [rax + rsi*2], dx
jne 0x14000dae2
add rsi, rsi
je 0x14000dbc1
lea r12, [rsi + r13]
cmp r12, r13
jb 0x14000dd72
cmp r12, qword [rbp - 0x41]
jbe 0x14000db8b
lea rax, [rcx - 1]
lea rbx, [r12 + rax]
cmp rbx, r12
jb 0x14000dc02
mov rcx, qword [rbp + 0x7f]
not rax
and rbx, rax
xor edx, edx
test rdi, rdi
jne 0x14000db5d
mov r8, rbx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov r14, rax
test rax, rax
je 0x14000db72
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
jmp 0x14000db72
mov ebx, 0xc0000095
jmp 0x14000dad2
mov r9, rbx
mov r8, rdi
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
nop dword [rax + rax]
mov r14, rax
xor edx, edx
test r14, r14
jne 0x14000db80
mov ebx, 0xc0000017
jmp 0x14000dbb9
mov rdi, r14
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x41], rbx
mov rdx, qword [rbp - 0x21]
lea rcx, [rdi + r13]
mov r8, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov rax, qword [rbp - 0x19]
mov r13, r12
cmp rax, r12
mov qword [rbp - 0x31], r12
cmovbe rax, r12
xor edx, edx
mov ebx, edx
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x49], rax
test ebx, ebx
js 0x14000dd77
cmp qword [rbp - 0x21], rdx
je 0x14000dc09
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rbp - 0x21]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x51]
xor edx, edx
mov r12, qword [rbp - 0x49]
mov rdi, qword [rbp - 0x29]
mov r13, qword [rbp - 0x31]
mov qword [rbp + 0x7f], rcx
mov qword [rbp - 0x19], r12
jmp 0x14000dc11
mov ebx, 0xc0000095
jmp 0x14000dbb9
mov r12, qword [rbp - 0x19]
mov rcx, qword [rbp + 0x7f]
lea rsi, [r13 + 2]
mov qword [rbp - 0x21], rdx
cmp rsi, r13
jb 0x14000dd82
cmp rsi, qword [rbp - 0x41]
jbe 0x14000dc9d
mov rax, qword [rbp - 0x39]
dec rax
lea rbx, [rsi + rax]
cmp rbx, rsi
jb 0x14000dd42
not rax
xor edx, edx
and rbx, rax
test rdi, rdi
jne 0x14000dc6f
mov r8, rbx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov r14, rax
test rax, rax
je 0x14000dc84
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
jmp 0x14000dc84
mov r9, rbx
mov r8, rdi
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
nop dword [rax + rax]
mov r14, rax
xor edx, edx
test r14, r14
jne 0x14000dc92
mov ebx, 0xc0000017
jmp 0x14000dcba
mov rdi, r14
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x41], rbx
cmp r12, rsi
mov word [rdi + r13], dx
mov r13, rsi
mov qword [rbp - 0x31], rsi
cmovbe r12, rsi
mov ebx, edx
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x49], r12
test ebx, ebx
js 0x14000dd87
mov r14, qword [rbp + 0x7f]
mov rbx, qword [rbp - 9]
mov esi, dword [rbp + 0x77]
add esi, r15d
add rbx, 0x10
mov dword [rbp + 0x77], esi
mov qword [rbp - 9], rbx
cmp esi, 2
jb 0x14000d90b
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rbp - 0x59]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov rax, qword gs:[0x60]
mov edx, 8
mov rdi, qword [rbp - 0x49]
mov rcx, qword [rax + 0x30]
lea rbx, [rdi + 2]
mov r8, rbx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
xor r14d, r14d
mov rsi, rax
test rax, rax
jne 0x14000dda2
mov r8d, 0x528
jmp 0x14000d831
mov ebx, 0xc0000095
jmp 0x14000dcba
mov ebx, 0xc000000d
lea r9, str.Out_of_memory
mov r8d, 0x50e
lea rdx, str.AslEnvBuildBasic
mov ecx, r15d
call fcn.14000ac0c
jmp 0x14000de8d
mov ebx, 0xc000000d
mov r8d, 0x512
jmp 0x14000d86e
mov ebx, 0xc000000d
mov r8d, 0x519
jmp 0x14000d86e
mov ebx, 0xc000000d
mov r8d, 0x510
jmp 0x14000d86e
mov r8, rdi
mov rcx, rsi
mov rdi, qword [rbp - 0x29]
mov rdx, rdi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov rax, qword [rbp + 0x67]
shr rbx, 1
mov qword [rax], rsi
mov rsi, r14
mov rax, qword [rbp + 0x6f]
mov qword [rax], rbx
mov ebx, r14d
jmp 0x14000d850
mov ebx, 0xc000000d
mov r8d, 0x4c7
jmp 0x14000ce47
mov ebx, 0xc000000d
mov r8d, 0x4c1
jmp 0x14000ce47
mov ebx, 0xc000000d
mov r8d, 0x4bd
jmp 0x14000ce47
mov ebx, 0xc000000d
mov r8d, 0x4b7
jmp 0x14000ce47
mov ebx, 0xc000000d
mov r8d, 0x4b3
jmp 0x14000ce47
mov ebx, 0xc000000d
mov r8d, 0x4af
jmp 0x14000ce47
lea r9, str.Out_of_memory
mov r8d, 0x4a9
lea rdx, str.AslEnvBuildBasic
mov ecx, 1
call fcn.14000ac0c
mov r14, qword [rbp + 0x7f]
mov rsi, rbx
jmp 0x14000de91
xorps xmm0, xmm0
lea r9, str.Out_of_memory
mov r8d, 0x4a1
lea rdx, str.AslEnvBuildBasic
mov ecx, 1
mov ebx, 0xc0000017
movups xmmword [rbp - 0x51], xmm0
movups xmmword [rbp - 0x31], xmm0
call fcn.14000ac0c
mov rdi, qword [rbp - 0x29]
mov r14, qword [rbp - 0x51]
mov rsi, qword [rbp - 0x59]
test rdi, rdi
je 0x14000deaa
mov r8, rdi
xor edx, edx
mov rcx, r14
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
xor edi, edi
cmp qword [rbp - 0x21], rdi
je 0x14000ded1
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rbp - 0x21]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
test rsi, rsi
je 0x14000def4
mov rcx, qword gs:[0x60]
mov r8, rsi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x14000df09
call qword [sym.imp.ntdll.dll_ZwClose]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret