Function at 0x41b5a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577b20
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5daf20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00427841
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x41b5e6
push 0x80004005
call fcn.004017e0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
push 0x92
mov dword [ebp - 4], 0
call fcn.00434bde
test eax, eax
je 0x41b617
push 0x92
push eax
lea ecx, [ebp - 0x10]
call fcn.00404f10
mov esi, dword [ebp - 0x10]
push esi
call fcn.005489c3
add esp, 4
cmp eax, 1
sete cl
push 0x93
mov dword [ebp - 0x20], eax
mov byte [ebx + 0x1ee], cl
call fcn.00434bde
test eax, eax
je 0x41b64e
push 0x93
push eax
lea ecx, [ebp - 0x10]
call fcn.00404f10
mov esi, dword [ebp - 0x10]
push esi
call fcn.005489c3
add esp, 4
cmp eax, 1
sete cl
push 0x94
mov dword [ebp - 0x24], eax
mov byte [ebx + 0x1ef], cl
call fcn.00434bde
test eax, eax
je 0x41b685
push 0x94
push eax
lea ecx, [ebp - 0x10]
call fcn.00404f10
mov esi, dword [ebp - 0x10]
push esi
call fcn.005489c3
add esp, 4
cmp eax, 1
sete cl
push 0x86
mov dword [ebp - 0x28], eax
mov byte [ebx + 0x1f0], cl
call fcn.00434bde
test eax, eax
je 0x41b6bc
push 0x86
push eax
lea ecx, [ebp - 0x10]
call fcn.00404f10
mov esi, dword [ebp - 0x10]
push esi
call fcn.005489cc
mov dword [ebx + 0x1f4], eax
mov eax, dword [ebx + 0x168]
add esp, 4
cmp eax, 0x3e8
jle 0x41b6de
mov dword [ebx + 0x1f4], eax
mov eax, dword [ebx + 0x180]
sub eax, 0x10
push eax
call fcn.00401750
lea edi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 1
cmp dword [edi - 0xc], 0
je 0x41b888
push ecx
mov edx, edi
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.004208b0
mov ecx, eax
add esp, 4
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x41b755
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
push 0xffff
push str.EnableRequiredSend
push 0
push ecx
mov dword [ebp - 0x14], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x41b74c
mov eax, dword [ebp - 0x18]
jmp 0x41b758
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
cmp eax, 1
sete al
push ecx
mov edx, edi
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebx + 0x1ee], al
call fcn.004208b0
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
je 0x41b7b3
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push 0xffff
push str.EnableSendPCName
push 0
push eax
mov dword [ebp - 0x20], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x41b7aa
mov eax, dword [ebp - 0x1c]
jmp 0x41b7b6
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x24]
cmp eax, 1
sete al
push ecx
mov edx, edi
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebx + 0x1ef], al
call fcn.004208b0
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x41b811
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push 0xffff
push str.EnableRoundTrip
push 0
push eax
mov dword [ebp - 0x24], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x41b808
mov eax, dword [ebp - 0x20]
jmp 0x41b814
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x28]
cmp eax, 1
sete al
mov byte [ebx + 0x1f0], al
mov eax, dword [ebx + 0x1f4]
push ecx
mov edx, edi
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1c], eax
call fcn.004208b0
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
je 0x41b878
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push 0xffff
push str.WaitDuration
push 0
push eax
mov dword [ebp - 0x28], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x41b86f
mov eax, dword [ebp - 0x24]
jmp 0x41b87b
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1c]
cmp eax, 0x3e8
jle 0x41b888
mov dword [ebx + 0x1f4], eax
mov al, byte [ebx + 0x175]
test al, al
je 0x41b898
mov byte [ebx + 0x1ee], al
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x41b8b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x41b8d6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret