Function at 0x1400441c0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
jmp 0x1400441c0
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rsp + 0xd8], rbx
mov rax, qword [0x14007c860]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
xor r15d, r15d
mov dword [rbp - 9], r15d
lea rdx, [rbp - 0x21]
call fcn.140001be0
nop
mov rax, qword [rbp - 0x19]
cmp qword [rbp - 0x21], rax
je 0x1400443b4
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x1400443b4
mov dword [rbp - 0x29], r15d
mov dword [rbp - 0x25], r15d
cmp qword [rbx + 0x18], 0x10
jb 0x140044239
mov rbx, qword [rbx]
lea rax, [rbp - 0x25]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x29]
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400443b4
mov esi, dword [rbp - 0x29]
lea eax, [rsi - 1]
cmp eax, 2
jbe 0x140044273
cmp esi, 7
jne 0x1400443b4
mov qword [rbp + 0x1f], 0xf
mov qword [rbp + 0x17], r15
mov byte [rbp + 7], 0
or rbx, 0xffffffffffffffff
mov rdx, qword [rbp - 0x21]
cmp byte [rdx], 0
jne 0x140044295
mov r8, r15
jmp 0x1400442aa
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400442a0
lea rcx, [rbp + 7]
call fcn.1400017d0
nop
cmp esi, 2
jne 0x140044356
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rcx, qword [rbp + 7]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov r14d, eax
lea ecx, [rax + 1]
call fcn.14005299c
mov rsi, rax
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rcx, qword [rbp + 7]
mov r8d, r14d
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [0x14007ca62], 0
je 0x14004432c
cmp eax, r14d
jbe 0x14004432c
mov r9d, 0x32e
lea r8, str...CommonWinUtils.cpp
lea rdx, str.res_size
lea rcx, str.Assert:__s__in__s_at__i_n
call fcn.1400031a2
cmp byte [rsi], 0
jne 0x140044336
mov rbx, r15
jmp 0x14004433f
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140044336
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp + 7]
call fcn.1400017d0
mov rcx, rsi
call sub.MSVCR110.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r15
mov byte [rdi], 0
mov rcx, qword [rbp + 0x1f]
cmp rcx, 0x10
jae 0x14004438b
mov r8, qword [rbp + 0x17]
inc r8
je 0x140044396
lea rdx, [rbp + 7]
mov rcx, rdi
call qword [sym.imp.MSVCR110.dll_memmove]
mov rcx, qword [rbp + 0x1f]
jmp 0x140044396
mov rax, qword [rbp + 7]
mov qword [rdi], rax
mov qword [rbp + 7], r15
mov rax, qword [rbp + 0x17]
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rcx
mov qword [rbp + 0x1f], 0xf
mov qword [rbp + 0x17], r15
mov byte [rbp + 7], 0
jmp 0x1400443d6
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r15
mov byte [rdi], 0
xor r8d, r8d
lea rdx, [0x140060386]
mov rcx, rdi
call fcn.1400017d0
nop
cmp qword [rbp - 0x21], 0
je 0x1400443f0
lea rcx, [rbp - 0x21]
call qword [sym.imp.MSVCP110.dll_public:_void___cdecl_std::_Container_base0::_Orphan_all_void____ptr64]
mov rcx, qword [rbp - 0x21]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov rax, rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140052d40
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret