Function at 0x4c7a80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551073
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x8870bc]
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 - 0x110], 0
push eax
mov dword [ebp - 0x10c], ecx
mov byte [ecx], 0
mov dword [ebp - 0x108], 0x2c
call fcn.00496c80
mov edi, eax
push 0xffffffffffffffff
lea eax, [ebp - 0xfc]
mov dword [ebp - 4], 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionTime_Zones
push eax
mov byte [ebp - 0xe9], 0x5c
call fcn.00406d40
add esp, 0x14
mov ecx, dword [eax]
or esi, 0xffffffff
mov dword [ebp - 0xf0], ecx
mov dword [eax], 0x6f6ba0
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x4c7b41
cmp eax, esi
je 0x4c7b53
mov eax, dword [ebp - 0xfc]
mov ecx, esi
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x4c7b53
push 4
push 2
push dword [ebp - 0xfc]
call fcn.004016c0
add esp, 0xc
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 2
mov dword [ebp - 0x118], eax
lea ecx, [ebp - 0x120]
lea eax, [ebp - 0xe9]
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0xf8]
push eax
call fcn.0042f790
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax]
test eax, eax
je 0x4c7bba
cmp eax, 0xffffffff
je 0x4c7bcc
mov eax, dword [ebp - 0xf0]
mov ecx, esi
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x4c7bcc
push 4
push 2
push dword [ebp - 0xf0]
call fcn.004016c0
add esp, 0xc
mov eax, dword [ebp - 0x100]
mov byte [ebp - 4], 5
mov eax, dword [eax]
test eax, eax
je 0x4c7bf7
cmp eax, 0xffffffff
je 0x4c7c09
mov eax, dword [ebp - 0x100]
mov ecx, esi
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x4c7c09
push 4
push 2
push dword [ebp - 0x100]
call fcn.004016c0
add esp, 0xc
mov eax, dword [ebp - 0xf8]
push 0
push 0x20019
sub esp, 8
mov esi, dword [eax + 4]
mov edx, esp
cmp eax, 0x6f6ba0
jne 0x4c7c29
xor ecx, ecx
jmp 0x4c7c2e
mov ecx, dword [eax + 0xc]
add ecx, eax
mov dword [edx + 4], ecx
lea ecx, [ebp - 0xf4]
push 0x80000002
mov dword [edx], esi
call fcn.00460720
mov eax, dword [ebp - 0xf4]
test eax, eax
je 0x4c7cf8
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x104]
push ecx
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x104], 0x40
push ecx
push 0
push 0
push 0x7f60d0
push eax
call esi
lea eax, [ebp - 0x104]
mov dword [ebp - 0x104], 0x40
push eax
lea eax, [ebp - 0xe4]
push eax
push 0
push 0
push 0x7f60d8
push dword [ebp - 0xf4]
call esi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push 0x7f60e0
push dword [ebp - 0xf4]
call esi
test eax, eax
jne 0x4c7cf8
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 - 0x10c]
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 - 0xf4]
call fcn.00460750
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax]
test eax, eax
je 0x4c7d3b
cmp eax, 0xffffffff
je 0x4c7d4d
mov ecx, dword [ebp - 0xf8]
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
setne cl
test cl, cl
jne 0x4c7d4d
push 4
push 2
push dword [ebp - 0xf8]
call fcn.004016c0
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.00520afb
mov esp, ebp
pop ebp
ret