Function at 0x10028c50
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x10063068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
lea esi, [ebp - 0x820]
mov edx, edi
call fcn.10027c50
cmp dword [eax + 0x14], 8
jb 0x10028c7d
mov eax, dword [eax]
push 0
lea ecx, [ebp - 0x824]
push ecx
push 0
push 0xc0000000
push 0
push 0
push 0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
sete bl
cmp dword [ebp - 0x80c], 8
jb 0x10028cbf
mov edx, dword [ebp - 0x820]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
test bl, bl
je 0x10028f11
test esi, esi
jne 0x10028f04
cmp dword [edi + 0x6c], 8
mov ecx, dword [edi + 0x68]
lea eax, [edi + 0x58]
jb 0x10028cdd
mov eax, dword [eax]
mov edx, dword [ebp - 0x824]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add ecx, ecx
push ecx
push eax
push 1
push 0
push str.InstanceId
push edx
call esi
test eax, eax
jne 0x10028f04
mov ecx, dword [edi + 0x4c]
lea eax, [edi + 0x3c]
mov ebx, 8
cmp dword [eax + 0x14], ebx
jb 0x10028d13
mov eax, dword [eax]
mov edx, dword [ebp - 0x824]
add ecx, ecx
push ecx
push eax
push 1
push 0
push str.AffiliateId
push edx
call esi
test eax, eax
jne 0x10028f04
mov ecx, dword [edi + 0x84]
cmp dword [edi + 0x88], ebx
lea eax, [edi + 0x74]
jb 0x10028d44
mov eax, dword [eax]
mov edx, dword [ebp - 0x824]
add ecx, ecx
push ecx
push eax
push 1
push 0
push str.cookieName
push edx
call esi
test eax, eax
jne 0x10028f04
mov ecx, dword [edi + 0xa0]
cmp dword [edi + 0xa4], ebx
lea eax, [edi + 0x90]
jb 0x10028d78
mov eax, dword [eax]
mov edx, dword [ebp - 0x824]
add ecx, ecx
push ecx
push eax
push 1
push 0
push str.cookiePath
push edx
call esi
test eax, eax
jne 0x10028f04
mov ecx, dword [edi + 0xd8]
cmp dword [edi + 0xdc], ebx
lea eax, [edi + 0xc8]
jb 0x10028dac
mov eax, dword [eax]
mov edx, dword [ebp - 0x824]
add ecx, ecx
push ecx
push eax
push 1
push 0
push str.updateUrl
push edx
call esi
test eax, eax
jne 0x10028f04
mov ecx, dword [edi + 0xbc]
cmp dword [edi + 0xc0], ebx
lea eax, [edi + 0xac]
jb 0x10028de0
mov eax, dword [eax]
mov edx, dword [ebp - 0x824]
add ecx, ecx
push ecx
push eax
push 1
push 0
push str.preloadJS
push edx
call esi
test eax, eax
jne 0x10028f04
mov ecx, dword [ebp - 0x824]
push 4
lea eax, [edi + 0xec]
push eax
push 4
push 0
push 0x1005677c
push ecx
call esi
test eax, eax
jne 0x10028f04
mov edx, dword [ebp - 0x824]
push 4
lea ebx, [edi + 0xf0]
push ebx
push 4
push eax
push str.doNotTrack
push edx
call esi
cmp dword [ebx], 1
mov dword [ebp - 0x828], eax
sete cl
call fcn.100292a0
cmp dword [ebp - 0x828], 0
jne 0x10028f04
mov ecx, dword [ebp - 0x824]
push 4
lea eax, [edi + 0xe4]
push eax
push 4
push 0
push str.blocked
push ecx
call esi
xor edx, edx
push 0x7fe
mov ebx, eax
push edx
lea eax, [ebp - 0x802]
push eax
mov dword [ebp - 0x828], 0x400
mov word [ebp - 0x804], dx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x828]
push ecx
mov ecx, dword [ebp - 0x824]
lea edx, [ebp - 0x804]
push edx
lea eax, [ebp - 0x82c]
push eax
push 0
push str.used
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10028ed4
cmp dword [ebp - 0x82c], 1
je 0x10028ef9
mov eax, dword [ebp - 0x824]
push 4
lea edx, [ebp - 0x830]
push edx
push 4
push 0
push str.used
push eax
mov dword [ebp - 0x830], 0
call esi
test ebx, ebx
jne 0x10028f04
mov esi, edi
call fcn.10027b00
mov ecx, dword [ebp - 0x824]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10045a28
mov esp, ebp
pop ebp
ret