Function at 0x1800011d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x5c0]
sub rsp, 0x6c0
mov rax, qword [0x180017008]
xor rax, rsp
mov qword [rbp + 0x5b0], rax
mov r8d, 0x104
lea rdx, [rbp - 0x80]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
movups xmm0, xmmword [str.C:Program_FilesHuawei]
mov eax, dword [0x180014640]
xor ebx, ebx
movsd xmm1, qword [0x180014628]
mov edx, ebx
mov dword [rsp + 0x60], eax
mov ecx, ebx
movzx eax, word [0x180014644]
movups xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x64], ax
movups xmm0, xmmword [str.C:Program_FilesHONOR]
movzx eax, byte [0x180014646]
movsd qword [rsp + 0x78], xmm1
movups xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x66], al
movzx eax, byte [rsp + rcx + 0x68]
cmp byte [rbp + rcx - 0x80], al
jne 0x180001274
inc edx
inc rcx
cmp edx, 0x17
jb 0x180001255
movzx r8d, byte [0x1800179e1]
jmp 0x18000127e
xor r8b, r8b
mov byte [0x1800179e1], r8b
mov edx, ebx
mov rcx, rbx
movzx eax, byte [rsp + rcx + 0x50]
cmp byte [rbp + rcx - 0x80], al
jne 0x1800012a1
inc edx
inc rcx
cmp edx, 0x16
jb 0x180001283
movzx eax, byte [0x1800179e0]
jmp 0x1800012a9
xor al, al
mov byte [0x1800179e0], al
test r8b, r8b
jne 0x1800012b6
test al, al
je 0x1800014b4
lea r8, [rsp + 0x48]
mov dword [rsp + 0x44], 1
lea rdx, str.SOFTWAREMicrosoftWow64x86
mov dword [rsp + 0x40], 0x104
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1800014a9
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0x90]
xor r8d, r8d
lea rdx, str.version
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1800014a9
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 0x2a0]
mov qword [rsp + 0x30], rbx
lea r8, [rbp + 0x90]
mov dword [rsp + 0x28], 0x100
mov r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movabs rax, 0x302e312e302e31
mov r9d, ebx
mov qword [rsp + 0x48], rax
mov r8, rbx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rsp + r8 + 0x48]
cmp byte [rbp + r8 + 0x2a0], al
jne 0x1800014b4
inc r9d
inc r8
cmp r9d, 7
jb 0x180001380
lea r8, [rsp + 0x48]
mov dword [rsp + 0x40], 1
lea rdx, str.SOFTWAREMicrosoftWow64x86
mov dword [rsp + 0x44], 0x104
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x180001490
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rbp + 0x3a0]
xor r8d, r8d
lea rdx, [0x180014698]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180001490
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 0x90]
mov qword [rsp + 0x30], rbx
lea r8, [rbp + 0x3a0]
mov dword [rsp + 0x28], 0x100
mov r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [0x1800179e1], bl
movaps xmm0, xmmword [rbp + 0x90]
je 0x180001474
movups xmmword [0x180018a9a], xmm0
movups xmmword [str.AAAAAAAAAAAAAAAA], xmm0
call entry0
mov byte [0x18001ab90], 1
jmp 0x1800014b4
movups xmmword [0x180017a58], xmm0
movups xmmword [0x180017ae3], xmm0
call entry0
mov byte [0x18001ab90], 1
jmp 0x1800014b4
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call entry0
mov byte [0x18001ab90], 1
jmp 0x1800014b4
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.180001580
mov rbx, qword [rsp + 0x6d0]
add rsp, 0x6c0
pop rbp
ret