Function at 0x4a4990
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4e93f1
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x64a000]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64a000]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x130]
mov edi, dword [esp + 0x134]
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x38], 0x2c
push eax
mov byte [edi], 0
mov dword [esp + 0x20], 0
call fcn.00472640
mov esi, eax
push 0xffffffffffffffff
lea eax, [esp + 0x38]
mov dword [esp + 0x130], 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionTime_Zones
push eax
call fcn.00403940
add esp, 0x14
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x24]
lea eax, [esp + 0x17]
mov byte [esp + 0x124], 1
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x1b], 0x5c
mov dword [esp + 0x2c], esi
call fcn.0045b810
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, 0x4ed20c
mov dword [esp + 0x1c], eax
mov ecx, dword [0x4ed20c]
or ebp, 0xffffffff
test ecx, ecx
je 0x4a4a80
cmp ecx, ebp
je 0x4a4a8d
mov ecx, eax
mov eax, ebp
lock xadd dword [ecx], eax
setne al
test al, al
jne 0x4a4a8d
mov eax, dword [esp + 0x1c]
push 4
push 2
push eax
call fcn.00413640
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
test ecx, ecx
je 0x4a4aad
cmp ecx, 0xffffffff
je 0x4a4aba
mov ecx, ebp
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x4a4aba
mov eax, dword [esp + 0x2c]
push 4
push 2
push eax
call fcn.00413640
add esp, 0xc
mov eax, dword [esp + 0x30]
mov byte [esp + 0x124], 4
mov ecx, dword [eax]
test ecx, ecx
je 0x4a4ae2
cmp ecx, 0xffffffff
je 0x4a4aef
mov ecx, ebp
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x4a4aef
mov eax, dword [esp + 0x30]
push 4
push 2
push eax
call fcn.00413640
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
lea ecx, [esp + 0x2c]
call fcn.0041de40
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a4bc9
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x28], 0x40
push eax
push 0
push 0
push 0x5c77f4
push dword [esp + 0x2c]
call esi
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x40
push eax
lea eax, [esp + 0x74]
push eax
push 0
push 0
push 0x5c77fc
push dword [esp + 0x2c]
call esi
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x44]
push eax
push 0
push 0
push 0x5c7804
push dword [esp + 0x2c]
call esi
test eax, eax
jne 0x4a4bbf
movdqu xmm0, xmmword [esp + 0x4c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x44]
movdqu xmmword [esp + 0xb0], xmm0
mov dword [esp + 0xc0], eax
movdqu xmm0, xmmword [esp + 0x5c]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x114], eax
movdqu xmmword [esp + 0x104], xmm0
mov byte [edi], 1
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x12c]
lea esi, [esp + 0x6c]
mov eax, dword [esp + 0x20]
mov ecx, 0x2b
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
test ecx, ecx
je 0x4a4bfc
cmp ecx, 0xffffffff
je 0x4a4c09
lock xadd dword [eax], ebp
dec ebp
setne al
test al, al
jne 0x4a4c09
mov eax, dword [esp + 0x20]
push 4
push 2
push eax
call fcn.00413640
add esp, 0xc
mov eax, ebx
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004c17c4
add esp, 0x114
ret