Function at 0x4ac7f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f432f
mov eax, dword fs:[0]
push eax
mov eax, 0x2050
call fcn.004e13f0
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2044], 0
lea ecx, [ebp - 0x202c]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x201c]
call dword [sym.imp.mfc120u.dll_Ordinal_286]
mov byte [ebp - 4], 2
push 0x533108
lea ecx, [ebp - 0x201c]
call dword [sym.imp.mfc120u.dll_Ordinal_1687]
push 0x53310c
lea ecx, [ebp - 0x201c]
call dword [sym.imp.mfc120u.dll_Ordinal_1687]
mov dword [ebp - 0x2030], 0
lea ecx, [ebp - 0x2030]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x201c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4acaa1
mov dword [ebp - 0x2028], 0x800
mov dword [ebp - 0x2020], 0x800
mov dword [ebp - 0x203c], 0
mov dword [ebp - 0x2040], 0
lea ecx, [ebp - 0x2024]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov byte [ebp - 4], 3
lea edx, [ebp - 0x2020]
push edx
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x2040]
push ecx
push 0
lea edx, [ebp - 0x2028]
push edx
lea eax, [ebp - 0x2018]
push eax
mov ecx, dword [ebp - 0x203c]
push ecx
mov edx, dword [ebp - 0x2030]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4aca84
cmp dword [ebp - 0x2040], 1
jne 0x4aca5c
imul eax, dword [ebp - 0x2028], 5
mov dword [ebp - 0x204c], eax
mov eax, dword [ebp - 0x204c]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.mfc120u.dll_Ordinal_265
add esp, 4
mov dword [ebp - 0x205c], eax
mov eax, dword [ebp - 0x205c]
mov dword [ebp - 0x2038], eax
mov ecx, dword [ebp - 0x204c]
push ecx
mov edx, dword [ebp - 0x2038]
push edx
lea eax, [ebp - 0x2018]
push eax
call fcn.0040dda0
add esp, 0xc
mov ecx, dword [ebp - 0x2020]
shr ecx, 1
imul edx, ecx, 5
mov dword [ebp - 0x2048], edx
mov eax, dword [ebp - 0x2048]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.mfc120u.dll_Ordinal_265
add esp, 4
mov dword [ebp - 0x2054], eax
mov eax, dword [ebp - 0x2054]
mov dword [ebp - 0x2034], eax
mov ecx, dword [ebp - 0x2048]
push ecx
mov edx, dword [ebp - 0x2034]
push edx
lea eax, [ebp - 0x1014]
push eax
call fcn.0040dda0
add esp, 0xc
mov ecx, dword [ebp - 0x2034]
push ecx
mov edx, dword [ebp - 0x2038]
push edx
push str._t_t_t_cookie_key__s__value__s_____n
lea eax, [ebp - 0x2024]
push eax
call dword [sym.imp.mfc120u.dll_Ordinal_4772]
add esp, 0x10
lea ecx, [ebp - 0x2024]
push ecx
lea ecx, [ebp - 0x202c]
call dword [sym.imp.mfc120u.dll_Ordinal_1684]
mov edx, dword [ebp - 0x2038]
mov dword [ebp - 0x2050], edx
mov eax, dword [ebp - 0x2050]
push eax
call sub.mfc120u.dll_Ordinal_266
add esp, 4
mov ecx, dword [ebp - 0x2034]
mov dword [ebp - 0x2058], ecx
mov edx, dword [ebp - 0x2058]
push edx
call sub.mfc120u.dll_Ordinal_266
add esp, 4
mov eax, dword [ebp - 0x203c]
add eax, 1
mov dword [ebp - 0x203c], eax
mov dword [ebp - 0x2028], 0x800
mov dword [ebp - 0x2020], 0x800
jmp 0x4ac8e2
mov ecx, dword [ebp - 0x2030]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2024]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
lea edx, [ebp - 0x202c]
push edx
mov ecx, dword [ebp + 8]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov eax, dword [ebp - 0x2044]
or eax, 1
mov dword [ebp - 0x2044], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x201c]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x202c]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e134c
mov esp, ebp
pop ebp
ret 8