Function at 0x14004d040
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x998]
sub rsp, 0xa70
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401bbe90]
xor rax, rsp
mov qword [rbp + 0x960], rax
mov r13, rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x78], rcx
xor r14d, r14d
mov dword [rsp + 0x34], r14d
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x60], r14d
mov qword [rsp + 0x68], r14
mov r11d, dword [0x1401c3d80]
mov ecx, r11d
imul ecx, r11d
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x17
sub ecx, edx
cmp ecx, 5
jne 0x14004d1eb
mov r10d, r14d
mov eax, r11d
cdq
sub eax, edx
sar eax, 1
mov r12d, eax
mov eax, 0x55555556
imul r11d
mov r14d, edx
shr r14d, 0x1f
add r14d, edx
mov eax, r11d
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rsp + 0x30], eax
mov eax, 0x66666667
imul r11d
mov esi, edx
sar esi, 1
mov eax, esi
shr eax, 0x1f
add esi, eax
mov eax, 0x2aaaaaab
imul r11d
mov r15d, edx
shr r15d, 0x1f
add r15d, edx
lea r9, [rbp + 0x791]
mov r13d, dword [rsp + 0x30]
nop word [rax + rax]
movzx r8d, r11b
sub r8b, r10b
mov ebx, 1
lea edi, [rbx + 6]
nop
mov eax, r11d
cdq
idiv ebx
movzx eax, dl
imul r8b
movzx ecx, al
movzx eax, r11b
imul cl
mov byte [r9 - 1], al
movzx eax, r8b
imul r12b
movzx ecx, al
movzx eax, dl
imul cl
mov byte [r9], al
movzx eax, dl
imul r8b
movzx ecx, al
movzx eax, r14b
imul cl
mov byte [r9 + 1], al
movzx eax, r8b
imul r13b
movzx ecx, al
movzx eax, dl
imul cl
mov byte [r9 + 2], al
movzx eax, r8b
imul sil
movzx ecx, al
movzx eax, dl
imul cl
mov byte [r9 + 3], al
movzx eax, dl
imul r8b
movzx ecx, al
movzx eax, r15b
imul cl
mov byte [r9 + 4], al
inc ebx
add r9, 6
dec rdi
jne 0x14004d150
inc r10d
cmp r10d, 0xb
jl 0x14004d140
mov r13, qword [rsp + 0x40]
xor r14d, r14d
mov qword [rsp + 0x50], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathschrome.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004d43e
mov dword [rsp + 0x60], r14d
mov r15, qword [rsp + 0x50]
mov qword [rsp + 0x58], r15
mov word [rbp - 0x70], r14w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x6e]
call fcn.1400d2f00
lea rcx, [0x1401bb9a8]
mov rax, qword [0x1401bb9a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x30], 0x800
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, [0x14014c7f8]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
or rdi, 0xffffffffffffffff
test eax, eax
jne 0x14004d3d8
mov eax, dword [rsp + 0x70]
dec eax
cmp eax, 1
ja 0x14004d3d8
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14004d2cc
test al, 1
jne 0x14004d3d8
shr rax, 1
cmp word [rbp + rax*2 - 0x72], 0
je 0x14004d2d1
jmp 0x14004d3d8
mov word [rbp - 0x70], r14w
lea rax, [rbp - 0x70]
mov rsi, rdi
nop dword [rax + rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x14004d2e0
test esi, esi
jne 0x14004d34f
lea rdx, [rbx - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14004d3d8
cmp dword [rdx + 0x10], 0
jge 0x14004d323
cmp dword [rbx - 0xc], 0
jge 0x14004d316
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rbx - 0x10], r14d
mov word [rbx], r14w
jmp 0x14004d3d8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004d333
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
mov r15, qword [rsp + 0x50]
jmp 0x14004d3d8
mov r12d, dword [rbx - 0x10]
lea r14, [rbp - 0x70]
sub r14, rbx
sar r14, 1
test esi, esi
jns 0x14004d36c
mov ecx, 0x80070057
call fcn.140001920
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, ecx
jge 0x14004d38e
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.1400023b0
mov rbx, qword [rsp + 0x40]
movsxd rax, esi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r14, r12
lea r12, [rax + rax]
mov r9, r12
ja 0x14004d3b2
lea r8, [rbx + r14*2]
call fcn.1400ce2e4
jmp 0x14004d3bb
lea r8, [rbp - 0x70]
call fcn.1400ce4a4
cmp esi, dword [rbx - 0xc]
jg 0x14004d3cd
mov dword [rbx - 0x10], esi
xor r14d, r14d
mov word [r12 + rbx], r14w
jmp 0x14004d3d8
mov ecx, 0x80070057
call fcn.140001920
int3
test r15, r15
je 0x14004d3eb
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x60], r14d
lea rcx, [rbx - 0x18]
call fcn.140002410
add rax, 0x18
mov qword [r13], rax
mov dword [rsp + 0x34], 1
lock add dword [rbx - 8], 0xffffffff
jg 0x14004d420
mov rcx, qword [rbx - 0x18]
mov r8, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14004d5ce
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], r14
jmp 0x14004d5ce
mov ecx, dword [0x1401c3d80]
mov eax, ecx
imul eax, ecx
imul eax, ecx
and eax, 0x8000000f
jge 0x14004d45a
dec eax
or eax, 0xfffffff0
inc eax
cmp eax, 0xe
jne 0x14004d4c9
test ecx, ecx
je 0x14004d4c9
mov eax, ecx
and eax, 0x80000001
jge 0x14004d473
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x14004d488
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov dword [0x1401c3d80], eax
jmp 0x14004d495
lea ecx, [rcx*2 + 1]
mov dword [0x1401c3d80], ecx
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
mov edx, ecx
sub edx, eax
je 0x14004d4b7
sub edx, 2
je 0x14004d4ba
dec edx
je 0x14004d4bc
jmp 0x14004d4c5
add ecx, 2
inc ecx
add ecx, 2
mov dword [0x1401c3d80], ecx
test ecx, ecx
jne 0x14004d463
lea rcx, [rsp + 0x38]
call fcn.140028910
nop
mov rax, qword [rsp + 0x38]
mov edx, dword [rax - 0x10]
test edx, edx
je 0x14004d59d
lea ecx, [rdx - 1]
test ecx, ecx
js 0x14004d592
cmp ecx, edx
jg 0x14004d592
movsxd rcx, ecx
cmp word [rax + rcx*2], 0x5c
je 0x14004d518
mov r8d, 1
lea rdx, [0x14014ef10]
lea rcx, [rsp + 0x38]
call fcn.140010740
lea r8, str.GoogleChromeApplicationchrome.exe
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x48]
call fcn.14001a660
nop
lea rcx, [rsp + 0x48]
call fcn.140028c90
test al, al
je 0x14004d577
mov rcx, qword [rsp + 0x48]
add rcx, 0xffffffffffffffe8
call fcn.140002410
add rax, 0x18
mov qword [r13], rax
mov dword [rsp + 0x34], 1
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004d575
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14004d5b4
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004d59d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14004d59d
mov ecx, 0x80070057
call fcn.140001920
int3
lea rdx, [0x14014c7f8]
mov rcx, r13
call fcn.140002110
mov dword [rsp + 0x34], 1
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004d5ce
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov dword [rsp + 0x60], r14d
mov rax, r13
mov rcx, qword [rbp + 0x960]
xor rcx, rsp
call fcn.1400cdac0
lea r11, [rsp + 0xa70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret