Function at 0x42c4a0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x473ff0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x489320]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
call fcn.0040b610
cmp dword [eax], 0
je 0x42c78b
call fcn.0040b610
lea esi, [esp + 0x14]
call fcn.0040b960
lea edi, [ebx + 0x9c]
mov dword [esp + 0x28], 0
call fcn.00406a50
or ebp, 0xffffffff
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c51b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
push ecx
call fcn.0040b610
add esp, 4
mov ecx, eax
call fcn.0040b9d0
lea edi, [ebx + 0xa0]
mov dword [esp + 0x28], 1
call fcn.00406a50
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c566
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0040b610
push eax
call fcn.0040c000
lea ecx, [esp + 0x14]
push ecx
push ecx
mov dword [ebx + 0x90], eax
call fcn.0040b610
add esp, 4
push eax
call fcn.0040be10
lea edi, [ebx + 0x98]
mov dword [esp + 0x28], 2
call fcn.00406a50
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c5c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0040b610
lea esi, [esp + 0x14]
call fcn.0040bdf0
lea edi, [ebx + 0x8c]
mov dword [esp + 0x28], 3
call fcn.00406a50
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x42c603
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0040b610
push eax
call fcn.0040bf60
movzx ecx, al
mov dword [ebx + 0xa8], ecx
call fcn.0040b610
mov eax, 4
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
push str.maxsize
push str.SYSTEMCurrentControlSetServicesFileAbap
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 0x64
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebx + 0xa8], 0
mov edx, dword [esp + 0x10]
mov dword [ebx + 0x94], edx
mov eax, dword [ebx + 0xe0]
je 0x42c6c7
test eax, eax
jne 0x42c67c
push 0x80004003
call fcn.00452d50
mov ecx, dword [eax]
mov edx, dword [ecx + 0x130]
push 0
push eax
call edx
mov eax, dword [ebx + 0xe0]
test eax, eax
jne 0x42c69d
push 0x80004003
call fcn.00452d50
mov ecx, dword [eax]
mov edx, dword [ecx + 0x9c]
push 0
push eax
call edx
mov eax, dword [ebx + 0xf0]
test eax, eax
jne 0x42c6be
push 0x80004003
call fcn.00452d50
push 0x400
push 0
jmp 0x42c71e
test eax, eax
jne 0x42c6d5
push 0x80004003
call fcn.00452d50
mov ecx, dword [eax]
mov edx, dword [ecx + 0x130]
push 1
push eax
call edx
mov eax, dword [ebx + 0xe0]
test eax, eax
jne 0x42c6f6
push 0x80004003
call fcn.00452d50
mov ecx, dword [eax]
mov edx, dword [ecx + 0x9c]
push 0
push eax
call edx
mov eax, dword [ebx + 0xf0]
test eax, eax
jne 0x42c717
push 0x80004003
call fcn.00452d50
push 0
push 0x400
mov ecx, dword [eax]
mov edx, dword [ecx + 0x5c]
push eax
call edx
mov eax, dword [ebx + 0xf0]
test eax, eax
jne 0x42c73a
push 0x80004003
call fcn.00452d50
mov ecx, dword [eax]
mov edx, dword [ecx + 0x9c]
push 0
push eax
call edx
call fcn.0040b610
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
neg eax
sbb eax, eax
neg eax
mov dword [ebx + 0xa4], eax
call fcn.0040b610
mov ecx, dword [eax]
test ecx, ecx
jne 0x42c770
xor al, al
jmp 0x42c77c
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
call edx
test eax, eax
sete al
movzx eax, al
push ebx
mov dword [ebx + 0xac], eax
call fcn.0042d5a0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret