Function at 0x41dcb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525b20
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x590cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x50], eax
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
lea esi, [eax + 2]
jmp 0x41dd00
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41dd00
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.00402460
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 4], edi
call fcn.0041d990
mov esi, eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0041dba0
add esp, 0xc
mov eax, dword [ebp - 0x48]
mov ebx, 8
mov byte [ebp - 4], 1
mov dword [ebp - 0x4c], edi
cmp dword [ebp - 0x34], ebx
jae 0x41dd4e
lea eax, [ebp - 0x48]
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x4c]
push edx
or ecx, 0x20019
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x41ddcc
jle 0x41dd75
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push esi
push str.Failed_RegOpenKeyEx:_0x_08x.
push str.kupdate::KRegistry::ReadStr
push 0x63
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcutilKRegistry.cpp
push 5
call fcn.0041a9b0
add esp, 0x18
cmp dword [ebp - 0x18], ebx
jb 0x41dda4
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b9008
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], ebx
jb 0x41ddc5
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b9008
add esp, 4
mov eax, esi
jmp 0x41dea3
mov edx, dword [ebp + 0x10]
lea eax, [edx + edx]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x58], edi
cmp dword [ebp - 0x18], ebx
jae 0x41dde3
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x50]
lea ecx, [ebp - 0x54]
push ecx
push edx
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x58]
push ecx
push edi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
je 0x41de6f
jle 0x41de19
and esi, 0xffff
or esi, 0x80070000
push esi
push str.Failed_RegQueryValueEx:_0x_08x.
push str.kupdate::KRegistry::ReadStr
push 0x6e
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcutilKRegistry.cpp
push 5
call fcn.0041a9b0
add esp, 0x18
cmp dword [ebp - 0x18], ebx
jb 0x41de46
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b9008
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x34], ebx
jb 0x41ddc5
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b9008
add esp, 4
mov eax, esi
jmp 0x41dea3
cmp dword [ebp - 0x18], ebx
jb 0x41de80
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b9008
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x34], ebx
jb 0x41dea1
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b9008
add esp, 4
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 - 0x10]
xor ecx, ebp
call fcn.004b9ff3
mov esp, ebp
pop ebp
ret