Function at 0x4213b0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b1624
mov eax, dword fs:[0]
push eax
mov eax, 0x1884
call fcn.0048ca70
mov eax, dword [0x4f07b0]
xor eax, esp
mov dword [esp + 0x1880], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f07b0]
xor eax, esp
push eax
lea eax, [esp + 0x1898]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x64], esi
call fcn.00421310
push str.SoftwareMONOGRAMMONOGRAM_GraphStudioFavorites
lea ecx, [esp + 0x38]
call fcn.00409030
xor ebp, ebp
mov dword [esp + 0x18a0], ebp
mov dword [esp + 0x74], ebp
mov byte [esp + 0x18a0], 1
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x24]
push eax
push 0x2001f
push ebp
push ecx
push SysReAllocStringLen
mov dword [esp + 0x38], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x42160c
mov edi, dword [esp + 0x24]
push 0x7fe
lea edx, [esp + 0x89a]
push ebp
push edx
mov dword [esp + 0x80], edi
mov word [esp + 0x8a0], bp
call fcn.0048afc0
add esp, 0xc
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x58]
push ecx
push ebp
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x8bc]
push eax
push edi
mov dword [esp + 0x78], 0x400
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x50], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor eax, eax
cmp dword [esp + 0x3c], ebp
mov dword [esp + 0x30], eax
jbe 0x42193e
mov edx, dword [esp + 0x24]
push 0x400
lea ecx, [esp + 0x98]
push ecx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, ebp
jne 0x421923
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x84]
call fcn.00409030
mov esi, eax
mov byte [esp + 0x18a0], 2
push 0x4c546c
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x84]
push edx
call fcn.0040e490
mov byte [esp + 0x18ac], 3
push esi
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.0040e3e0
add esp, 0x18
mov byte [esp + 0x18a0], 5
lea ecx, [esp + 0x7c]
call fcn.00409790
mov byte [esp + 0x18a0], 6
lea ecx, [esp + 0x80]
call fcn.00409790
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x18a0], 7
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x18]
push ecx
push 0x2001f
push ebp
push edx
push SysReAllocStringLen
mov dword [esp + 0x2c], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x4218dc
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0xac]
push edx
push 0
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x8bc]
push edx
push eax
mov dword [esp + 0x5c], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
push 0x24
call fcn.004546b3
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x18a0], 8
test eax, eax
je 0x421628
push eax
call fcn.00420e50
mov ebx, eax
mov dword [esp + 0x6c], eax
jmp 0x42162e
mov dword [esp + 0x18a0], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.00409790
or eax, 0xffffffff
jmp 0x421d03
xor ebx, ebx
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x18a0], 7
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x54]
call fcn.00409030
mov byte [esp + 0x18a0], 9
lea ecx, [ebx + 8]
push eax
call fcn.00409c00
mov byte [esp + 0x18a0], 7
lea ecx, [esp + 0x50]
call fcn.00409790
mov esi, dword [esp + 0x64]
mov ebp, dword [esi + 0xc]
add esi, 4
test ebp, ebp
jl 0x421a6f
lea edi, [ebp + 1]
call fcn.0041b3f0
mov ecx, dword [esi + 4]
mov dword [ecx + ebp*4], ebx
xor ebx, ebx
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
jbe 0x4218c5
mov ebp, 0x400
mov ecx, dword [esp + 0x18]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0xa8]
push eax
push ebx
push ecx
mov dword [esp + 0x3c], ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4218b4
lea ecx, [esp + 0x38]
call fcn.00408f60
mov byte [esp + 0x18a0], 0xa
lea ecx, [esp + 0x40]
call fcn.00408f60
mov byte [esp + 0x18a0], 0xb
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x48]
call fcn.00409030
mov byte [esp + 0x18a0], 0xc
push eax
lea ecx, [esp + 0x3c]
call fcn.00409c00
mov byte [esp + 0x18a0], 0xb
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421738
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x38]
mov ecx, 0x4c0924
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x421769
test dx, dx
je 0x421765
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x421769
add eax, 4
add ecx, 4
test dx, dx
jne 0x421743
xor eax, eax
jmp 0x42176e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x421864
push esi
lea ecx, [esp + 0x30]
push ecx
lea edi, [esp + 0x24]
lea esi, [esp + 0x109c]
mov dword [esp + 0x24], ebp
call fcn.0041f5c0
test eax, eax
jne 0x421864
push 0x18
call fcn.004546b3
add esp, 4
mov dword [esp + 0x84], eax
mov byte [esp + 0x18a0], 0xe
test eax, eax
je 0x4217c4
push eax
call fcn.00420d40
mov ebp, eax
jmp 0x4217c6
xor ebp, ebp
mov byte [esp + 0x18a0], 0xb
lea edx, [esp + 0x1094]
push edx
lea ecx, [esp + 0x50]
call fcn.00409030
mov byte [esp + 0x18a0], 0xf
lea ecx, [ebp + 8]
push eax
call fcn.00409c00
mov byte [esp + 0x18a0], 0xb
lea ecx, [esp + 0x4c]
call fcn.00409790
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x58]
call fcn.00408fd0
mov byte [esp + 0x18a0], 0x10
lea ecx, [ebp + 0xc]
push eax
call fcn.00409c00
mov byte [esp + 0x18a0], 0xb
lea ecx, [esp + 0x54]
call fcn.00409790
mov esi, dword [esp + 0x6c]
mov dword [ebp + 0x14], esi
add esi, 0xc
mov dword [ebp + 0x10], 0
mov ebx, dword [esi + 8]
test ebx, ebx
jl 0x421a6f
lea edi, [ebx + 1]
call fcn.0041b3f0
mov ecx, dword [esi + 4]
mov dword [ecx + ebx*4], ebp
mov ebx, dword [esp + 0x28]
mov ebp, 0x400
mov byte [esp + 0x18a0], 0xa
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42188c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x18a0], 7
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4218b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 1
cmp ebx, dword [esp + 0x20]
mov dword [esp + 0x28], ebx
jb 0x42169e
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4218dc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x2c], 0
mov byte [esp + 0x18a0], 6
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4218fb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x2c], 0
mov byte [esp + 0x18a0], 1
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421923
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 1
xor ebp, ebp
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
jb 0x4214d0
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x58]
push edx
push ebp
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x8bc]
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor eax, eax
cmp dword [esp + 0x20], ebp
mov dword [esp + 0x28], eax
jbe 0x421cbf
push ebp
push ebp
push ebp
push ebp
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0xa8]
push ecx
push eax
push edi
mov dword [esp + 0x3c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebp
jne 0x421caa
call fcn.0045664d
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
je 0x421d2b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x18a0], 0x15
call fcn.0045664d
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
je 0x421d2b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x50], eax
mov byte [esp + 0x18a0], 0x17
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x44]
call fcn.00409030
mov byte [esp + 0x18a0], 0x18
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
cmp eax, esi
je 0x421a8a
cmp dword [esi + 0xc], ebp
lea edi, [esi + 0xc]
jl 0x421a74
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x421a74
push eax
call fcn.0040a230
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x421a66
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x18], ebx
jmp 0x421a86
jmp fcn.004547dc
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.0040a130
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov byte [esp + 0x18a0], 0x17
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421ab2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, 0x4c0924
mov eax, ebx
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x421ae6
cmp dx, bp
je 0x421ae2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x421ae6
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x421ac0
xor eax, eax
jmp 0x421aeb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
setne al
test al, al
je 0x421c5e
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x1098]
push edx
lea eax, [esp + 0x5c]
push eax
push ebp
push ebx
push edi
mov dword [esp + 0x48], 0x800
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebp
jne 0x421c5e
mov eax, dword [esp + 0x54]
cmp eax, 1
je 0x421b39
cmp eax, 2
jne 0x421c5e
mov eax, dword [esp + 0x30]
cmp eax, ebp
je 0x421b5c
test al, 1
jne 0x421c5e
mov ecx, eax
shr ecx, 1
cmp word [esp + ecx*2 + 0x1092], bp
je 0x421b64
jmp 0x421c5e
mov word [esp + 0x1094], bp
shr eax, 1
push 0x18
mov dword [esp + 0x20], eax
call fcn.004546b3
add esp, 4
mov dword [esp + 0x84], eax
mov byte [esp + 0x18a0], 0x1a
cmp eax, ebp
je 0x421b8f
push eax
call fcn.00420d40
mov ebp, eax
mov byte [esp + 0x18a0], 0x17
lea edx, [esp + 0x1094]
push edx
lea ecx, [esp + 0x50]
call fcn.00409030
mov byte [esp + 0x18a0], 0x1b
lea ecx, [ebp + 8]
push eax
call fcn.00409c00
mov byte [esp + 0x18a0], 0x17
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421be1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
push eax
call fcn.0040a230
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x44], esi
mov byte [esp + 0x18a0], 0x1e
lea edx, [esp + 0x44]
lea ecx, [ebp + 0xc]
push edx
call fcn.00409c00
mov byte [esp + 0x18a0], 0x17
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421c2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x64]
add esi, 0x18
mov dword [ebp + 0x10], 0
mov ebx, dword [esi + 8]
test ebx, ebx
jl 0x421a6f
lea edi, [ebx + 1]
call fcn.0041b3f0
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0x24]
mov dword [ecx + ebx*4], ebp
mov ebx, dword [esp + 0x18]
xor ebp, ebp
mov byte [esp + 0x18a0], 0x15
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421c86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x18a0], 1
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421caa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 1
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
jb 0x421991
mov byte [esp + 0x18a0], 0
cmp edi, ebp
je 0x421cd6
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x74], ebp
mov dword [esp + 0x18a0], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421d01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1898]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1880]
xor ecx, esp
call fcn.004892f2
add esp, 0x1890
ret
push 0x80004005
call fcn.00401130
int3