Function at 0x41dca0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66e218
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x726100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push 0x20019
push dword [ebp + 0x14]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
push dword [ebp + 0xc]
call fcn.0041d840
test eax, eax
je 0x41ddc7
mov edi, dword [ebp + 8]
mov dword [0x72de3c], eax
mov eax, dword [ebp + 0x24]
add eax, 0xfffffff0
lea esi, [edi + 4]
push eax
mov dword [ebp - 0x18], esi
call fcn.00404750
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
mov dword [edi], vtable.CISPath.0
test eax, eax
je 0x41dd40
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x14]
or esi, 0xffffffff
mov eax, esi
mov dword [ebp + 0x10], vtable.CStringEx.0
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41dd68
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x1c]
mov eax, esi
add edx, 0xfffffff0
mov dword [ebp + 0x18], vtable.CStringEx.0
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41dd8d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x24]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
mov dword [ebp + 0x20], vtable.CStringEx.0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x41ddb3
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x30]
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp + 0x1c]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41de1a
mov edi, dword [ebp + 8]
mov dword [0x72de3c], eax
mov eax, dword [ebp + 0x24]
add eax, 0xfffffff0
lea esi, [edi + 4]
push eax
mov dword [ebp - 0x18], esi
call fcn.00404750
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov dword [edi], vtable.CISPath.0
test ebx, ebx
je 0x41dd40
push ebx
jmp 0x41dd3a
call fcn.00427fa4
mov ecx, eax
test ecx, ecx
jne 0x41de2f
push 0x80004005
call fcn.00404730
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x24], vtable.CISPath.0
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp + 0x1c]
mov byte [ebp - 4], 4
test edx, edx
jns 0x41de59
push 0x80070057
call fcn.00404730
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, edx
or eax, ecx
jge 0x41de76
push edx
lea ecx, [ebp - 0x20]
call fcn.004049c0
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
push eax
push esi
push edi
lea ecx, [ebp - 0x30]
call fcn.0041dfa0
push dword [edi - 8]
mov esi, eax
push edi
call fcn.0063465b
add esp, 8
test eax, eax
js 0x41de4f
cmp eax, dword [edi - 8]
jg 0x41de4f
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
test esi, esi
je 0x41df86
mov eax, dword [ebp + 0x24]
mov dword [0x72de3c], esi
add eax, 0xfffffff0
mov esi, dword [ebp + 8]
add esi, 4
push eax
mov dword [ebp - 0x18], esi
call fcn.00404750
add edi, 0xfffffff0
add eax, 0x10
mov byte [ebp - 4], 3
mov dword [esi], eax
add esp, 4
mov eax, dword [ebp + 8]
or esi, 0xffffffff
mov dword [eax], vtable.CISPath.0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x41def6
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x41df01
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x14]
mov eax, esi
add edx, 0xfffffff0
mov dword [ebp + 0x10], vtable.CStringEx.0
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41df26
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x1c]
mov eax, esi
add edx, 0xfffffff0
mov dword [ebp + 0x18], vtable.CStringEx.0
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41df4b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x24]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
mov dword [ebp + 0x20], vtable.CStringEx.0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x41df71
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
add edi, 0xfffffff0
add esi, 4
push edi
mov dword [ebp - 0x18], esi
call fcn.00404750
jmp 0x41deca