Function at 0x4d7300
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x558a0f
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x6fb4c0]
xor eax, ebp
mov dword [ebp + 0x200], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x20c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x2c], eax
mov dword [eax], 0x6e8124
push 0
push 0x20019
sub esp, 8
mov dword [ebp - 4], 0
mov eax, esp
lea ecx, [ebp - 0x24]
mov ebx, 1
mov dword [ebp - 0x10], ebx
push 0x80000002
mov dword [eax], 0x37
mov dword [eax + 4], str.SOFTWAREMicrosoftWindows_NTCurrentVersionTime_Zones
call fcn.0046cc10
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], ebx
test eax, eax
je 0x4d7540
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push ecx
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x4d7540
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4d7540
xor edi, edi
test eax, eax
je 0x4d7540
mov esi, dword [ebp - 0x38]
nop dword [eax + eax]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0xff
push eax
lea eax, [ebp]
push eax
push edi
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4d7536
push 0xffffffffffffffff
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00408df0
add esp, 0xc
mov ecx, eax
mov eax, dword [ecx]
or ebx, 0xa
mov dword [ebp - 0x18], eax
mov dword [ecx], 0x6e80cc
mov dword [ebp - 0x10], ebx
test bl, 4
je 0x4d7463
mov eax, dword [esi]
and ebx, 0xfffffffb
mov dword [ebp - 0x10], ebx
test eax, eax
je 0x4d7453
cmp eax, 0xffffffff
je 0x4d7460
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
setne al
test al, al
jne 0x4d7460
push 4
push 2
push esi
call fcn.00403690
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
test bl, 2
je 0x4d74a7
mov eax, dword [ebp - 0x1c]
and ebx, 0xfffffffd
mov dword [ebp - 0x10], ebx
mov eax, dword [eax]
test eax, eax
je 0x4d7495
cmp eax, 0xffffffff
je 0x4d74a4
mov eax, dword [ebp - 0x1c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4d74a4
push 4
push 2
push dword [ebp - 0x1c]
call fcn.00403690
add esp, 0xc
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040cd40
or ebx, 0x10
add esp, 8
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 4
call fcn.00429d50
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x4d74f1
cmp eax, 0xffffffff
je 0x4d7500
mov eax, dword [ebp - 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4d7500
push 4
push 1
push dword [ebp - 0x14]
call fcn.00403690
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x4d7524
cmp eax, 0xffffffff
je 0x4d7533
mov eax, dword [ebp - 0x18]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4d7533
push 4
push 2
push dword [ebp - 0x18]
call fcn.00403690
add esp, 0xc
mov ebx, dword [ebp - 0x10]
inc edi
cmp edi, dword [ebp - 0x20]
jb 0x4d73e0
lea ecx, [ebp - 0x24]
call fcn.0046cc40
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.00524900
lea esp, [ebp + 0x204]
pop ebp
ret