Function at 0x1004bb00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d505d
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x10111404]
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 0x1004be3d
mov dword [ebp - 0x830], eax
test eax, eax
jne 0x1004be3b
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 0x1004bb89
mov eax, 1
jmp 0x1004bb4b
mov edi, dword [esi + 0x10]
mov al, 1
mov byte [ebp - 0x819], al
cmp dword [edi - 0xc], 0
je 0x1004bd6d
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.100a5d20
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 0x1004bcf4
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x82c]
mov ecx, eax
call fcn.1004b7a0
push dword [ebp - 0x82c]
lea eax, [ebp - 0x818]
push eax
push dword [ebp - 0x828]
call fcn.100a57a0
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 0x1004bc82
lea eax, [ebp - 0x828]
push eax
call fcn.1004b900
mov al, byte [ebp - 0x819]
jmp 0x1004bd08
cmovbe edx, eax
mov ecx, ebx
sub edx, 4
jb 0x1004bca1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x1004bca6
add ecx, 4
add edi, 4
sub edx, 4
jae 0x1004bc90
cmp edx, 0xfffffffc
je 0x1004bcea
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x1004bcd3
cmp edx, 0xfffffffd
je 0x1004bcea
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x1004bcd3
cmp edx, 0xfffffffe
je 0x1004bcea
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x1004bcd3
cmp edx, 0xffffffff
je 0x1004bcea
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x1004bcea
lea eax, [ebp - 0x828]
push eax
lea ecx, [esi + 0x18]
call fcn.1004b900
mov al, byte [ebp - 0x819]
jmp 0x1004bd08
xor al, al
mov byte [ebp - 0x819], al
jmp 0x1004bd0e
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 0x1004bd6d
mov ecx, dword [ebp - 0x820]
mov eax, ebx
sub ecx, ebx
cmp ecx, 0x1000
jb 0x1004bd3f
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004be59
push ecx
push ebx
call fcn.1007f042
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 0x1004be07
mov ecx, dword [0x101160b8]
mov edi, dword [esi + 0x14]
mov ebx, dword [esi + 0x10]
test ecx, ecx
jne 0x1004bde6
push 0x101110f4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x101160b8], 0
jne 0x1004bdd5
push 0x24
call fcn.1007f3e5
add esp, 4
mov dword [ebp - 0x834], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x1004bdc3
mov ecx, eax
call fcn.1004b070
mov ecx, eax
jmp 0x1004bdc5
xor ecx, ecx
mov byte [ebp - 4], 1
xchg dword [ebp - 0x838], eax
mov dword [0x101160b8], ecx
push 0x101110f4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x101160b8]
push 0
push 0
push 4
push dword [esi + 0x28]
push edi
push ebx
push dword [esi + 8]
call fcn.1004c980
jmp 0x1004be07
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 0x1004bb51
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.1007f3c1
mov esp, ebp
pop ebp
ret
call fcn.100a9b45
int3