Function at 0x100658f
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
push eax
push 1
xor edi, edi
push edi
push 0x10025c0
push 0x80000002
mov dword [ebp - 4], edi
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x1007522
push esi
mov esi, 0x1006688
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
cmp eax, edi
je 0x1007597
mov esi, 0x1006668
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x10075df
push dword [0x1015174]
call dword [sym.imp.USER32.dll_SetThreadDesktop]
test eax, eax
je 0x1007627
push 0
push dword [ebp - 8]
push edi
push 4
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x10150d8], eax
test eax, eax
je 0x100766e
mov eax, dword [0x10150c0]
cmp eax, 0x10150c0
je 0x1006644
test byte [eax + 0x1c], 1
je 0x1006644
cmp byte [eax + 0x19], 4
jb 0x1006644
push 0x10025ac
push 0x6d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010015b6
push 0
push dword [0x1015174]
call fcn.010066a7
cmp dword [ebp - 8], 0
pop esi
je 0x1006661
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
pop edi
leave
ret
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push 0x10076b8
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], edi
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
cmp dword [ebp - 8], edi
je 0x10065bc
mov eax, dword [0x10150c0]
cmp eax, 0x10150c0
je 0x1006661
test byte [eax + 0x1c], 1
je 0x1006661
cmp byte [eax + 0x19], 3
jb 0x1006661
push 0x10025ac
push 0x68
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010015b6
jmp 0x1006661
mov eax, dword [0x10150c0]
cmp eax, 0x10150c0
je 0x1006651
test byte [eax + 0x1c], 1
je 0x1006651
cmp byte [eax + 0x19], 2
jb 0x1006651
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x10150c0]
push esi
push 0x10025ac
push 0x69
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100abe1
jmp 0x1006651
mov eax, dword [0x10150c0]
cmp eax, 0x10150c0
je 0x1006651
test byte [eax + 0x1c], 1
je 0x1006651
cmp byte [eax + 0x19], 2
jb 0x1006651
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x10150c0]
push esi
push 0x10025ac
push 0x6a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100ac54
jmp 0x1006651
mov eax, dword [0x10150c0]
cmp eax, 0x10150c0
je 0x1006651
test byte [eax + 0x1c], 1
je 0x1006651
cmp byte [eax + 0x19], 2
jb 0x1006651
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x10150c0]
push 0x10025ac
push 0x6b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01002f89
jmp 0x1006651
mov eax, dword [0x10150c0]
cmp eax, 0x10150c0
je 0x1006644
test byte [eax + 0x1c], 1
je 0x1006644
cmp byte [eax + 0x19], 2
jb 0x1006644
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x10150c0]
push 0x10025ac
push 0x6c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01002f89
jmp 0x1006644