Function at 0x14003e330
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1401e3028]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor esi, esi
mov r14, r8
mov r12, rcx
mov qword [rsp + 0x78], rsi
mov r8d, 0x208
mov dword [rsp + 0x70], esi
lea rcx, [rbp - 0x80]
mov dword [rsp + 0x60], esi
xor edx, edx
mov dword [rsp + 0x64], esi
mov r15d, esi
mov dword [rsp + 0x68], esi
mov ebx, esi
mov dword [rsp + 0x6c], esi
mov edi, esi
mov dword [rsp + 0x74], esi
mov r13d, esi
call fcn.140130a00
xor edx, edx
mov r8d, 0x208
mov rcx, r12
call fcn.140130a00
lea rax, [rsp + 0x78]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareWow6432NodeMicrosoftPCHealthErrorReportingDWInstalled
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14003e3fd
mov rax, qword [0x14021eec0]
lea rcx, [0x14021eec0]
mov edx, 0x30303030
mov rax, qword [rax + 8]
call qword [case.0x14000c75c.0]
jmp 0x14003e5c9
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x64]
mov qword [rsp + 0x58], rsi
xor r9d, r9d
mov qword [rsp + 0x50], rsi
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14003e3db
mov edx, dword [rsp + 0x64]
lea ecx, [rax + 0x40]
inc dword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x14003e5c9
mov edx, dword [rsp + 0x60]
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x14003e5c9
cmp dword [rsp + 0x70], esi
jbe 0x14003e594
mov eax, dword [rsp + 0x60]
lea r9, [rsp + 0x68]
mov rcx, qword [rsp + 0x78]
mov r8, rbx
mov dword [rsp + 0x68], eax
mov edx, esi
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x6c], eax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14003e588
cmp dword [rsp + 0x74], 1
jne 0x14003e588
cmp dword [rsp + 0x68], 6
jne 0x14003e588
cmp word [rbx], 0x44
jne 0x14003e588
cmp word [rbx + 2], 0x57
jne 0x14003e588
movzx eax, word [rbx + 4]
mov cx, 0x30
sub ax, cx
mov dx, 9
cmp ax, dx
ja 0x14003e588
movzx eax, word [rbx + 6]
sub ax, cx
cmp ax, dx
ja 0x14003e588
movzx eax, word [rbx + 8]
sub ax, cx
cmp ax, dx
ja 0x14003e588
movzx eax, word [rbx + 0xa]
sub ax, cx
cmp ax, dx
ja 0x14003e588
movzx eax, word [rbx + 4]
lea ecx, [rax + rax*4]
movzx eax, word [rbx + 6]
lea ecx, [rax + rcx*2]
movzx eax, word [rbx + 8]
lea edx, [rcx + rcx*4]
lea ecx, [rax + rdx*2]
movzx eax, word [rbx + 0xa]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0x6828]
lea ecx, [rax + rcx*2]
cmp ecx, r13d
jbe 0x14003e588
cmp dword [rsp + 0x6c], 0x208
mov r13d, ecx
jae 0x14003e5c9
mov r8, rdi
mov edx, 0x104
mov rcx, r12
call fcn.140153bec
inc esi
cmp esi, dword [rsp + 0x70]
jb 0x14003e490
xor esi, esi
test r14, r14
je 0x14003e5c3
mov r8d, 0x104
mov dword [r14], esi
lea rdx, [rbp - 0x80]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14003e5c3
lea rdx, [rbp - 0x80]
mov rcx, r12
call fcn.14003e230
mov dword [r14], eax
mov r15d, 1
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14003e5d9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rdi, rdi
je 0x14003e5e7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
test rbx, rbx
je 0x14003e5f5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, r15d
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14012e400
mov rbx, qword [rsp + 0x2e8]
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret