Function at 0x41c760
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451f18
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x465100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x4660e4]
mov edx, dword [eax + 0xc]
mov ecx, 0x4660e4
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
lea esi, [ebp - 0x14]
mov dword [ebp - 0x28], esp
mov edi, esp
call fcn.00408990
add eax, 0x10
mov dword [edi], eax
push ecx
mov eax, esp
mov dword [ebp - 0x2c], esp
push eax
mov ecx, str.SOFTWARETencentBackupDownloader
mov byte [ebp - 4], 2
call fcn.004086e0
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0041c260
mov esi, dword [ebp - 0x14]
add esp, 8
lea ecx, [ebp - 0x10]
push ecx
push 1
push ebx
push esi
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x41c85d
mov edx, dword [ebp + 0xc]
add esi, 0xfffffff0
mov dword [edx], ebx
mov byte [ebp - 4], bl
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41c820
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c846
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
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 edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, 4
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push str.BitmapValue1
push ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
call edi
lea edx, [ebp - 0x18]
push edx
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push str.BitmapValue2
push edx
call edi
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
cmp eax, ebx
jne 0x41c921
cmp ecx, ebx
jne 0x41c921
mov ecx, dword [ebp + 0xc]
add esi, 0xfffffff0
mov dword [ecx], ebx
mov byte [ebp - 4], bl
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x41c8e0
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c846
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
ror eax, 2
xor eax, 0xa234
ror ecx, 3
xor ecx, 0x456b
mov byte [ebp - 4], bl
cmp eax, ecx
jne 0x41c99b
mov ecx, dword [ebp + 0xc]
add esi, 0xfffffff0
mov dword [ecx], eax
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x41c95a
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c846
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c9b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c9dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret