Function at 0x506c80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587208
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x732480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x100]
mov dword [ebp - 0x10c], 0
push eax
mov dword [ebp - 0x110], ecx
mov byte [ecx], 0
mov dword [ebp - 0x10c], 0x2c
call fcn.004e1ac0
mov edi, eax
push 0xffffffffffffffff
lea eax, [ebp - 0xf0]
mov dword [ebp - 4], 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionTime_Zones
push eax
mov byte [ebp - 0xe9], 0x5c
call fcn.0042aa50
add esp, 0x14
mov ecx, dword [eax]
or esi, 0xffffffff
mov dword [ebp - 0xf4], ecx
mov dword [eax], 0x71f078
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x506d3f
cmp eax, esi
je 0x506d51
mov eax, dword [ebp - 0xf0]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x506d51
push 4
push 2
push dword [ebp - 0xf0]
call fcn.00425140
add esp, 0xc
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 2
mov dword [ebp - 0x118], eax
lea ecx, [ebp - 0x108]
lea eax, [ebp - 0xe9]
mov dword [ebp - 0x104], edi
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0xfc]
push eax
call fcn.00437af0
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax]
test eax, eax
je 0x506db6
cmp eax, 0xffffffff
je 0x506dc8
mov eax, dword [ebp - 0xf4]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x506dc8
push 4
push 2
push dword [ebp - 0xf4]
call fcn.00425140
add esp, 0xc
mov eax, dword [ebp - 0x100]
mov byte [ebp - 4], 5
mov eax, dword [eax]
test eax, eax
je 0x506df1
cmp eax, 0xffffffff
je 0x506e03
mov eax, dword [ebp - 0x100]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x506e03
push 4
push 2
push dword [ebp - 0x100]
call fcn.00425140
add esp, 0xc
mov eax, dword [ebp - 0xfc]
push 0
push 0x20019
sub esp, 8
mov esi, dword [eax + 4]
mov edx, esp
cmp eax, 0x71f078
jne 0x506e23
xor ecx, ecx
jmp 0x506e28
mov ecx, dword [eax + 0xc]
add ecx, eax
mov dword [edx + 4], ecx
lea ecx, [ebp - 0xf8]
push 0x80000002
mov dword [edx], esi
call fcn.004c0ec0
mov eax, dword [ebp - 0xf8]
test eax, eax
je 0x506ef2
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0xf0]
push ecx
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xf0], 0x40
push ecx
push 0
push 0
push 0x686fc0
push eax
call esi
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xf0], 0x40
push eax
lea eax, [ebp - 0xe4]
push eax
push 0
push 0
push 0x686fc8
push dword [ebp - 0xf8]
call esi
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push 0x686fd0
push dword [ebp - 0xf8]
call esi
test eax, eax
jne 0x506ef2
mov eax, dword [ebp - 0x3c]
movups xmm0, xmmword [ebp - 0x30]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x110]
movups xmmword [ebp - 0xa4], xmm0
movups xmm0, xmmword [ebp - 0x20]
mov byte [eax], 1
movups xmmword [ebp - 0x50], xmm0
mov edi, dword [ebp + 8]
lea esi, [ebp - 0xe8]
mov ecx, 0x2b
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0xf8]
call fcn.004c0ef0
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax]
test eax, eax
je 0x506f33
cmp eax, 0xffffffff
je 0x506f45
mov ecx, dword [ebp - 0xfc]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
setne cl
test cl, cl
jne 0x506f45
push 4
push 2
push dword [ebp - 0xfc]
call fcn.00425140
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00553392
mov esp, ebp
pop ebp
ret