Function at 0x4b2ef0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x640017
mov eax, dword fs:[0]
push eax
mov eax, 0x2054
call fcn.00610bb0
mov eax, dword [0x721970]
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 fcn.00406700
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x2028]
call fcn.004065a0
mov byte [ebp - 4], 2
push 0x690c38
lea ecx, [ebp - 0x2028]
call fcn.0040c280
push 0x690c3c
lea ecx, [ebp - 0x2028]
call fcn.0040c280
mov dword [ebp - 0x2038], 0
lea ecx, [ebp - 0x2038]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x2028]
call fcn.004a7500
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4b3224
mov dword [ebp - 0x2040], 0x800
mov dword [ebp - 0x2034], 0x800
mov dword [ebp - 0x2030], 0
mov dword [ebp - 0x2048], 0
lea ecx, [ebp - 0x203c]
call fcn.00406700
mov byte [ebp - 4], 3
lea edx, [ebp - 0x2034]
push edx
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x2048]
push ecx
push 0
lea edx, [ebp - 0x2040]
push edx
lea eax, [ebp - 0x2018]
push eax
mov ecx, dword [ebp - 0x2030]
push ecx
mov edx, dword [ebp - 0x2038]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4b3208
cmp dword [ebp - 0x2048], 1
jne 0x4b31e0
imul eax, dword [ebp - 0x2040], 5
mov dword [ebp - 0x201c], eax
mov eax, dword [ebp - 0x201c]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e69f9
add esp, 4
mov dword [ebp - 0x2060], eax
mov eax, dword [ebp - 0x2060]
mov dword [ebp - 0x2024], eax
cmp dword [ebp - 0x2024], 0
je 0x4b30ad
mov ecx, dword [ebp - 0x201c]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x2024]
push eax
call fcn.0060f700
add esp, 0xc
mov ecx, dword [ebp - 0x201c]
push ecx
mov edx, dword [ebp - 0x2024]
push edx
lea eax, [ebp - 0x2018]
push eax
call fcn.00410ef0
add esp, 0xc
mov ecx, dword [ebp - 0x2034]
shr ecx, 1
imul edx, ecx, 5
mov dword [ebp - 0x201c], edx
mov eax, dword [ebp - 0x201c]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e69f9
add esp, 4
mov dword [ebp - 0x2058], eax
mov eax, dword [ebp - 0x2058]
mov dword [ebp - 0x2020], eax
cmp dword [ebp - 0x2020], 0
je 0x4b3134
mov ecx, dword [ebp - 0x201c]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x2020]
push eax
call fcn.0060f700
add esp, 0xc
mov ecx, dword [ebp - 0x201c]
push ecx
mov edx, dword [ebp - 0x2020]
push edx
lea eax, [ebp - 0x1014]
push eax
call fcn.00410ef0
add esp, 0xc
cmp dword [ebp - 0x2020], 0
je 0x4b314b
mov ecx, dword [ebp - 0x2020]
mov dword [ebp - 0x2050], ecx
jmp 0x4b3155
mov dword [ebp - 0x2050], 0x690c5c
cmp dword [ebp - 0x2024], 0
je 0x4b316c
mov edx, dword [ebp - 0x2024]
mov dword [ebp - 0x204c], edx
jmp 0x4b3176
mov dword [ebp - 0x204c], 0x690c60
mov eax, dword [ebp - 0x2050]
push eax
mov ecx, dword [ebp - 0x204c]
push ecx
push str._t_t_t_cookie_key__s__value__s_____n
lea edx, [ebp - 0x203c]
push edx
call fcn.004076f0
add esp, 0x10
lea eax, [ebp - 0x203c]
push eax
lea ecx, [ebp - 0x202c]
call fcn.0040c260
mov ecx, dword [ebp - 0x2024]
mov dword [ebp - 0x2054], ecx
mov edx, dword [ebp - 0x2054]
push edx
call fcn.004e69f4
add esp, 4
mov eax, dword [ebp - 0x2020]
mov dword [ebp - 0x205c], eax
mov ecx, dword [ebp - 0x205c]
push ecx
call fcn.004e69f4
add esp, 4
mov edx, dword [ebp - 0x2030]
add edx, 1
mov dword [ebp - 0x2030], edx
mov dword [ebp - 0x2040], 0x800
mov dword [ebp - 0x2034], 0x800
jmp 0x4b2fdc
mov eax, dword [ebp - 0x2038]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x203c]
call fcn.004068c0
lea ecx, [ebp - 0x202c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004064e0
mov edx, dword [ebp - 0x2044]
or edx, 1
mov dword [ebp - 0x2044], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2028]
call fcn.004068c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x202c]
call fcn.004068c0
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.0060f7c8
mov esp, ebp
pop ebp
ret 8