Function at 0x4bb700
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6632e7
mov eax, dword fs:[0]
push eax
mov eax, 0x2054
call fcn.0062f6d0
mov eax, dword [0x750990]
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.00407030
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x2028]
call fcn.00406ed0
mov byte [ebp - 4], 2
push 0x6b8d20
lea ecx, [ebp - 0x2028]
call fcn.0040cd90
push 0x6b8d24
lea ecx, [ebp - 0x2028]
call fcn.0040cd90
mov dword [ebp - 0x2038], 0
lea ecx, [ebp - 0x2038]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x2028]
call fcn.0046af70
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bba34
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.00407030
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 0x4bba18
cmp dword [ebp - 0x2048], 1
jne 0x4bb9f0
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.00504e99
add esp, 4
mov dword [ebp - 0x2060], eax
mov eax, dword [ebp - 0x2060]
mov dword [ebp - 0x2024], eax
cmp dword [ebp - 0x2024], 0
je 0x4bb8bd
mov ecx, dword [ebp - 0x201c]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x2024]
push eax
call fcn.0062db60
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.00411e80
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.00504e99
add esp, 4
mov dword [ebp - 0x2058], eax
mov eax, dword [ebp - 0x2058]
mov dword [ebp - 0x2020], eax
cmp dword [ebp - 0x2020], 0
je 0x4bb944
mov ecx, dword [ebp - 0x201c]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x2020]
push eax
call fcn.0062db60
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.00411e80
add esp, 0xc
cmp dword [ebp - 0x2020], 0
je 0x4bb95b
mov ecx, dword [ebp - 0x2020]
mov dword [ebp - 0x2050], ecx
jmp 0x4bb965
mov dword [ebp - 0x2050], 0x6b8d44
cmp dword [ebp - 0x2024], 0
je 0x4bb97c
mov edx, dword [ebp - 0x2024]
mov dword [ebp - 0x204c], edx
jmp 0x4bb986
mov dword [ebp - 0x204c], 0x6b8d48
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.00407ff0
add esp, 0x10
lea eax, [ebp - 0x203c]
push eax
lea ecx, [ebp - 0x202c]
call fcn.0040cd70
mov ecx, dword [ebp - 0x2024]
mov dword [ebp - 0x2054], ecx
mov edx, dword [ebp - 0x2054]
push edx
call fcn.00504e94
add esp, 4
mov eax, dword [ebp - 0x2020]
mov dword [ebp - 0x205c], eax
mov ecx, dword [ebp - 0x205c]
push ecx
call fcn.00504e94
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 0x4bb7ec
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.004071f0
lea ecx, [ebp - 0x202c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406e10
mov edx, dword [ebp - 0x2044]
or edx, 1
mov dword [ebp - 0x2044], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2028]
call fcn.004071f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x202c]
call fcn.004071f0
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.0062dc28
mov esp, ebp
pop ebp
ret 8