Function at 0x10019b60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c5e9d
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x1010445c]
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 0x10019e9d
mov dword [ebp - 0x830], eax
test eax, eax
jne 0x10019e9b
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 0x10019be9
mov eax, 1
jmp 0x10019bab
mov edi, dword [esi + 0x10]
mov al, 1
mov byte [ebp - 0x819], al
cmp dword [edi - 0xc], 0
je 0x10019dcd
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.1009c2f0
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 0x10019d54
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x82c]
mov ecx, eax
call fcn.10019800
push dword [ebp - 0x82c]
lea eax, [ebp - 0x818]
push eax
push dword [ebp - 0x828]
call fcn.1009b7f0
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 0x10019ce2
lea eax, [ebp - 0x828]
push eax
call fcn.10019960
mov al, byte [ebp - 0x819]
jmp 0x10019d68
cmovbe edx, eax
mov ecx, ebx
sub edx, 4
jb 0x10019d01
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x10019d06
add ecx, 4
add edi, 4
sub edx, 4
jae 0x10019cf0
cmp edx, 0xfffffffc
je 0x10019d4a
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x10019d33
cmp edx, 0xfffffffd
je 0x10019d4a
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x10019d33
cmp edx, 0xfffffffe
je 0x10019d4a
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x10019d33
cmp edx, 0xffffffff
je 0x10019d4a
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x10019d4a
lea eax, [ebp - 0x828]
push eax
lea ecx, [esi + 0x18]
call fcn.10019960
mov al, byte [ebp - 0x819]
jmp 0x10019d68
xor al, al
mov byte [ebp - 0x819], al
jmp 0x10019d6e
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 0x10019dcd
mov ecx, dword [ebp - 0x820]
mov eax, ebx
sub ecx, ebx
cmp ecx, 0x1000
jb 0x10019d9f
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019eb9
push ecx
push ebx
call fcn.10074e52
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 0x10019e67
mov ecx, dword [0x101086bc]
mov edi, dword [esi + 0x14]
mov ebx, dword [esi + 0x10]
test ecx, ecx
jne 0x10019e46
push 0x101020e0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x101086bc], 0
jne 0x10019e35
push 0x24
call fcn.100751e7
add esp, 4
mov dword [ebp - 0x834], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x10019e23
mov ecx, eax
call fcn.100185c0
mov ecx, eax
jmp 0x10019e25
xor ecx, ecx
mov byte [ebp - 4], 1
xchg dword [ebp - 0x838], eax
mov dword [0x101086bc], ecx
push 0x101020e0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x101086bc]
push 0
push 0
push 4
push dword [esi + 0x28]
push edi
push ebx
push dword [esi + 8]
call fcn.1001aa10
jmp 0x10019e67
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 0x10019bb1
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.100751d1
mov esp, ebp
pop ebp
ret
call fcn.1009fa75
int3