Function at 0x10049e00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d2dcd
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x1010f404]
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 0x1004a13d
mov dword [ebp - 0x830], eax
test eax, eax
jne 0x1004a13b
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 0x10049e89
mov eax, 1
jmp 0x10049e4b
mov edi, dword [esi + 0x10]
mov al, 1
mov byte [ebp - 0x819], al
cmp dword [edi - 0xc], 0
je 0x1004a06d
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.100a3d80
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 0x10049ff4
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x82c]
mov ecx, eax
call fcn.10049aa0
push dword [ebp - 0x82c]
lea eax, [ebp - 0x818]
push eax
push dword [ebp - 0x828]
call fcn.100a3800
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 0x10049f82
lea eax, [ebp - 0x828]
push eax
call fcn.10049c00
mov al, byte [ebp - 0x819]
jmp 0x1004a008
cmovbe edx, eax
mov ecx, ebx
sub edx, 4
jb 0x10049fa1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x10049fa6
add ecx, 4
add edi, 4
sub edx, 4
jae 0x10049f90
cmp edx, 0xfffffffc
je 0x10049fea
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x10049fd3
cmp edx, 0xfffffffd
je 0x10049fea
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x10049fd3
cmp edx, 0xfffffffe
je 0x10049fea
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x10049fd3
cmp edx, 0xffffffff
je 0x10049fea
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x10049fea
lea eax, [ebp - 0x828]
push eax
lea ecx, [esi + 0x18]
call fcn.10049c00
mov al, byte [ebp - 0x819]
jmp 0x1004a008
xor al, al
mov byte [ebp - 0x819], al
jmp 0x1004a00e
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 0x1004a06d
mov ecx, dword [ebp - 0x820]
mov eax, ebx
sub ecx, ebx
cmp ecx, 0x1000
jb 0x1004a03f
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004a159
push ecx
push ebx
call fcn.1007d115
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 0x1004a107
mov ecx, dword [0x10114098]
mov edi, dword [esi + 0x14]
mov ebx, dword [esi + 0x10]
test ecx, ecx
jne 0x1004a0e6
push 0x1010f0f4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10114098], 0
jne 0x1004a0d5
push 0x24
call fcn.1007d4b8
add esp, 4
mov dword [ebp - 0x834], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x1004a0c3
mov ecx, eax
call fcn.10049370
mov ecx, eax
jmp 0x1004a0c5
xor ecx, ecx
mov byte [ebp - 4], 1
xchg dword [ebp - 0x838], eax
mov dword [0x10114098], ecx
push 0x1010f0f4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10114098]
push 0
push 0
push 4
push dword [esi + 0x28]
push edi
push ebx
push dword [esi + 8]
call fcn.1004ac70
jmp 0x1004a107
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 0x10049e51
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.1007d494
mov esp, ebp
pop ebp
ret
call fcn.100a7ba5
int3