Function at 0x476e40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x34
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
push edi
push 0
push 0x62ee78
push 0xfffffffffffffff7
push 0x20019
lea eax, [esp + 0x48]
mov byte [0x633f3d], 0
push eax
call sym.SystemInformer.exe_Ordinal_1555
test eax, eax
js 0x477126
mov esi, dword [0x633a54]
xor ebp, ebp
push 0x50
push 4
push esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], 0x14
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push 0x100
push 4
mov edi, eax
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x40]
push esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0x100
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, dword [esp + 0x18]
mov ebx, eax
lea eax, [esp + 0x10]
push eax
push 0x100
push ebx
push 1
push ebp
push esi
call dword [sym.imp.ntdll.dll_NtEnumerateValueKey]
nop word [eax + eax]
cmp eax, 0x8000001a
je 0x47700f
nop dword [eax + eax]
cmp eax, 0x80000005
je 0x476efe
cmp eax, 0xc0000023
jne 0x476f38
push ebx
push 0
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push dword [esp + 0x10]
push 4
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push ebx
push 1
push dword [esp + 0x38]
push esi
call dword [sym.imp.ntdll.dll_NtEnumerateValueKey]
nop dword [eax + eax]
test eax, eax
js 0x47700b
cmp dword [ebx + 4], 1
jne 0x476fda
mov ecx, dword [ebx + 0xc]
cmp ecx, 2
jbe 0x476f77
mov eax, dword [ebx + 8]
add eax, ebx
mov dword [esp + 0x20], ecx
push 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push 0
push eax
call sym.SystemInformer.exe_Ordinal_1331
jmp 0x476f7c
call sym.SystemInformer.exe_Ordinal_1430
mov esi, eax
mov eax, dword [esp + 0x14]
cmp ebp, eax
jne 0x476fd2
add eax, eax
mov dword [esp + 0x14], eax
shl eax, 2
test eax, eax
jne 0x476faa
test edi, edi
je 0x476fa6
push edi
push eax
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
xor edi, edi
jmp 0x476fd2
push eax
test edi, edi
je 0x476fc2
push edi
push 4
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlReAllocateHeap]
nop
jmp 0x476fd0
push 4
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, eax
mov dword [edi + ebp*4], esi
inc ebp
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
lfence
push dword [esp + 0x14]
mov eax, dword [esp + 0x30]
push ebx
inc eax
push 1
push eax
push esi
mov dword [esp + 0x40], eax
call dword [sym.imp.ntdll.dll_NtEnumerateValueKey]
nop word [eax + eax]
cmp eax, 0x8000001a
jne 0x476ef0
mov dword [esp + 0x20], ebp
push ebx
push 0
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
xor ebx, ebx
test ebp, ebp
je 0x477108
nop dword [eax + eax]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
push dword [edi + ebx*4]
call sym.SystemInformer.exe_Ordinal_1683
test al, al
je 0x4770e9
call sym.SystemInformer.exe_Ordinal_1639
mov esi, dword [esp + 0x14]
mov ebp, eax
test ebp, ebp
je 0x4770cc
push ebp
call sym.SystemInformer.exe_Ordinal_1641
mov ecx, eax
or edx, 0xffffffff
mov dword [esp + 0x18], ecx
lock xadd dword [ebp - 4], edx
dec edx
jne 0x477082
lea ecx, [ebp - 8]
call fcn.004fe1e0
mov ecx, dword [esp + 0x18]
test esi, esi
je 0x4770b5
mov edx, dword [ecx]
mov ebp, dword [esi]
cmp edx, ebp
ja 0x4770b5
mov eax, dword [esi + 4]
sub eax, edx
mov dword [esp + 0x30], edx
add eax, ebp
push 1
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
push ecx
push eax
call sym.SystemInformer.exe_Ordinal_1351
test al, al
je 0x4770b5
mov byte [0x633f3d], 1
mov ecx, dword [esp + 0x18]
or eax, 0xffffffff
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4770cc
call fcn.004fe1e0
test esi, esi
je 0x4770e5
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4770e5
nop
call fcn.004fe1e0
mov ebp, dword [esp + 0x20]
mov ecx, dword [edi + ebx*4]
or eax, 0xffffffff
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4770ff
call fcn.004fe1e0
inc ebx
cmp ebx, ebp
jb 0x477030
push edi
push 0
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push dword ds:[esp + 0x38]
call dword [sym.imp.ntdll.dll_NtClose]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00583f9f
add esp, 0x34
ret