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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x45a028]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
lea eax, [ebp - 0x820]
mov edx, esi
call fcn.00428220
cmp dword [eax + 0x14], 8
jb 0x4295cd
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 SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test edi, edi
sete bl
cmp dword [ebp - 0x80c], 8
jb 0x42960f
mov edx, dword [ebp - 0x820]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
test bl, bl
je 0x42985f
test edi, edi
jne 0x429852
cmp dword [esi + 0x6c], 8
mov ecx, dword [esi + 0x68]
lea eax, [esi + 0x58]
jb 0x42962d
mov eax, dword [eax]
mov edx, dword [ebp - 0x824]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add ecx, ecx
push ecx
push eax
push 1
push 0
push str.InstanceId
push edx
call edi
test eax, eax
jne 0x429852
mov ecx, dword [esi + 0x4c]
lea eax, [esi + 0x3c]
mov ebx, 8
cmp dword [eax + 0x14], ebx
jb 0x429663
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 edi
test eax, eax
jne 0x429852
mov ecx, dword [esi + 0x84]
cmp dword [esi + 0x88], ebx
lea eax, [esi + 0x74]
jb 0x429694
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 edi
test eax, eax
jne 0x429852
mov ecx, dword [esi + 0xa0]
cmp dword [esi + 0xa4], ebx
lea eax, [esi + 0x90]
jb 0x4296c8
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 edi
test eax, eax
jne 0x429852
mov ecx, dword [esi + 0xd8]
cmp dword [esi + 0xdc], ebx
lea eax, [esi + 0xc8]
jb 0x4296fc
mov eax, dword [eax]
mov edx, dword [ebp - 0x824]
add ecx, ecx
push ecx
push eax
push 1
push 0
push 0x44fbd0
push edx
call edi
test eax, eax
jne 0x429852
mov ecx, dword [esi + 0xbc]
cmp dword [esi + 0xc0], ebx
lea eax, [esi + 0xac]
jb 0x429730
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 edi
test eax, eax
jne 0x429852
mov ecx, dword [ebp - 0x824]
push 4
lea eax, [esi + 0xec]
push eax
push 4
push 0
push 0x450228
push ecx
call edi
test eax, eax
jne 0x429852
mov edx, dword [ebp - 0x824]
push 4
lea ebx, [esi + 0xf0]
push ebx
push 4
push eax
push str.doNotTrack
push edx
call edi
cmp dword [ebx], 1
mov dword [ebp - 0x828], eax
sete cl
call fcn.00429be0
cmp dword [ebp - 0x828], 0
jne 0x429852
mov ecx, dword [ebp - 0x824]
push 4
lea eax, [esi + 0xe4]
push eax
push 4
push 0
push str.blocked
push ecx
call edi
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 0x429824
cmp dword [ebp - 0x82c], 1
je 0x429849
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 edi
test ebx, ebx
jne 0x429852
call fcn.004280d0
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.00441db6
mov esp, ebp
pop ebp
ret