Function at 0x1004b130
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d630d
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x1011449c]
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 0x1004b46d
mov dword [ebp - 0x830], eax
test eax, eax
jne 0x1004b46b
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 0x1004b1b9
mov eax, 1
jmp 0x1004b17b
mov edi, dword [esi + 0x10]
mov al, 1
mov byte [ebp - 0x819], al
cmp dword [edi - 0xc], 0
je 0x1004b39d
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.100a6fe0
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 0x1004b324
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x82c]
mov ecx, eax
call fcn.1004add0
push dword [ebp - 0x82c]
lea eax, [ebp - 0x818]
push eax
push dword [ebp - 0x828]
call fcn.100a6a60
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 0x1004b2b2
lea eax, [ebp - 0x828]
push eax
call fcn.1004af30
mov al, byte [ebp - 0x819]
jmp 0x1004b338
cmovbe edx, eax
mov ecx, ebx
sub edx, 4
jb 0x1004b2d1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x1004b2d6
add ecx, 4
add edi, 4
sub edx, 4
jae 0x1004b2c0
cmp edx, 0xfffffffc
je 0x1004b31a
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x1004b303
cmp edx, 0xfffffffd
je 0x1004b31a
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x1004b303
cmp edx, 0xfffffffe
je 0x1004b31a
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x1004b303
cmp edx, 0xffffffff
je 0x1004b31a
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x1004b31a
lea eax, [ebp - 0x828]
push eax
lea ecx, [esi + 0x18]
call fcn.1004af30
mov al, byte [ebp - 0x819]
jmp 0x1004b338
xor al, al
mov byte [ebp - 0x819], al
jmp 0x1004b33e
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 0x1004b39d
mov ecx, dword [ebp - 0x820]
mov eax, ebx
sub ecx, ebx
cmp ecx, 0x1000
jb 0x1004b36f
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004b489
push ecx
push ebx
call fcn.10080302
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 0x1004b437
mov ecx, dword [0x101190f8]
mov edi, dword [esi + 0x14]
mov ebx, dword [esi + 0x10]
test ecx, ecx
jne 0x1004b416
push 0x10114104
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x101190f8], 0
jne 0x1004b405
push 0x24
call fcn.100806a5
add esp, 4
mov dword [ebp - 0x834], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x1004b3f3
mov ecx, eax
call fcn.1004a6a0
mov ecx, eax
jmp 0x1004b3f5
xor ecx, ecx
mov byte [ebp - 4], 1
xchg dword [ebp - 0x838], eax
mov dword [0x101190f8], ecx
push 0x10114104
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x101190f8]
push 0
push 0
push 4
push dword [esi + 0x28]
push edi
push ebx
push dword [esi + 8]
call fcn.1004bfa0
jmp 0x1004b437
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 0x1004b181
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.10080681
mov esp, ebp
pop ebp
ret
call fcn.100aae05
int3