Function at 0x100163a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8c3d
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x100f4384]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x83c], esi
mov ebx, esi
mov dword [ebp - 0x840], ebx
cmp dword [esi], eax
je 0x100166dd
mov dword [ebp - 0x830], eax
test eax, eax
jne 0x100166db
mov eax, dword [esi + 4]
mov dword [ebp - 0x848], eax
mov eax, dword [esi + 0x2c]
push 0xffffffffffffffff
mov dword [ebp - 0x844], eax
lea eax, [ebp - 0x848]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x10016429
mov eax, 1
jmp 0x100163eb
mov edi, dword [esi + 0x10]
mov al, 1
mov byte [ebp - 0x819], al
cmp dword [edi - 0xc], 0
je 0x1001660d
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x820], 0
push 0x801
lea eax, [ebp - 0x818]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x82c], 0x800
mov dword [ebp - 0x834], 3
call fcn.1008f5e0
mov ecx, dword [esi + 0x14]
lea eax, [ebp - 0x82c]
add esp, 0xc
push eax
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x834]
push eax
xor eax, eax
cmp dword [ecx - 0xc], eax
cmovne eax, ecx
push eax
push edi
push dword [esi + 8]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10016594
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x82c]
mov ecx, eax
call fcn.10016040
push dword [ebp - 0x82c]
lea eax, [ebp - 0x818]
push eax
push dword [ebp - 0x828]
call fcn.1008eae0
mov eax, dword [ebp - 0x824]
lea ecx, [esi + 0x18]
mov edx, dword [ecx + 4]
add esp, 0xc
mov ebx, dword [ebp - 0x828]
sub eax, ebx
mov edi, dword [ecx]
sub edx, edi
cmp eax, edx
je 0x10016522
lea eax, [ebp - 0x828]
push eax
call fcn.100161a0
mov al, byte [ebp - 0x819]
jmp 0x100165a8
cmovbe edx, eax
mov ecx, ebx
sub edx, 4
jb 0x10016541
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x10016546
add ecx, 4
add edi, 4
sub edx, 4
jae 0x10016530
cmp edx, 0xfffffffc
je 0x1001658a
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x10016573
cmp edx, 0xfffffffd
je 0x1001658a
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x10016573
cmp edx, 0xfffffffe
je 0x1001658a
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x10016573
cmp edx, 0xffffffff
je 0x1001658a
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x1001658a
lea eax, [ebp - 0x828]
push eax
lea ecx, [esi + 0x18]
call fcn.100161a0
mov al, byte [ebp - 0x819]
jmp 0x100165a8
xor al, al
mov byte [ebp - 0x819], al
jmp 0x100165ae
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
cmp ecx, eax
mov dword [ebx + 0x1c], ecx
setne al
mov byte [ebp - 0x819], al
mov ebx, dword [ebp - 0x828]
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x1001660d
mov ecx, dword [ebp - 0x820]
mov eax, ebx
sub ecx, ebx
cmp ecx, 0x1000
jb 0x100165df
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100166f9
push ecx
push ebx
call fcn.10068042
mov al, byte [ebp - 0x819]
add esp, 8
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x820], 0
mov dword [ebp - 4], 1
test al, al
je 0x100166a7
mov ecx, dword [0x100f85cc]
mov edi, dword [esi + 0x14]
mov ebx, dword [esi + 0x10]
test ecx, ecx
jne 0x10016686
push 0x100f20e0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x100f85cc], 0
jne 0x10016675
push 0x24
call fcn.100683d7
add esp, 4
mov dword [ebp - 0x834], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x10016663
mov ecx, eax
call fcn.10014e00
mov ecx, eax
jmp 0x10016665
xor ecx, ecx
mov byte [ebp - 4], 1
xchg dword [ebp - 0x838], eax
mov dword [0x100f85cc], ecx
push 0x100f20e0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x100f85cc]
push 0
push 0
push 4
push dword [esi + 0x28]
push edi
push ebx
push dword [esi + 8]
call fcn.10017250
jmp 0x100166a7
push dword [esi + 4]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 1
push dword [esi + 4]
push 4
push dword [esi + 0x24]
push dword [esi + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov eax, dword [ebp - 0x830]
mov ebx, dword [ebp - 0x840]
jmp 0x100163f1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100683c1
mov esp, ebp
pop ebp
ret
call fcn.10092d65
int3