Function at 0x10028530
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004d325
mov eax, dword fs:[0]
push eax
sub esp, 0x900
mov eax, dword [0x10063068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea esi, [ebp - 0x8e8]
mov edx, ebx
call fcn.10027c50
mov edi, 8
cmp dword [eax + 0x14], edi
jb 0x10028579
mov eax, dword [eax]
lea ecx, [ebp - 0x8f0]
push ecx
push SysReAllocStringLen
push 0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp dword [ebp - 0x8d4], edi
jb 0x100285ad
mov edx, dword [ebp - 0x8e8]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
test esi, esi
jne 0x10028a95
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x8ec]
push eax
mov eax, dword [ebp - 0x8f0]
lea ecx, [ebp - 0x810]
push ecx
lea edx, [ebp - 0x8f4]
push edx
push esi
push str.InstanceId
push eax
mov dword [ebp - 0x8ec], 0x800
call edi
test eax, eax
jne 0x1002860a
cmp dword [ebp - 0x8f4], 1
jne 0x1002860a
mov ecx, dword [ebp - 0x8ec]
shr ecx, 1
xor edx, edx
mov word [ebp + ecx*2 - 0x810], dx
jmp 0x10028617
xor ecx, ecx
mov word [ebp - 0x810], cx
test eax, eax
js 0x1002863e
lea eax, [ebp - 0x810]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10028620
sub eax, edx
sar eax, 1
push eax
lea esi, [ebx + 0x58]
lea eax, [ebp - 0x810]
call fcn.1000a770
lea edx, [ebp - 0x8ec]
push edx
mov edx, dword [ebp - 0x8f0]
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x8f4]
push ecx
push 0
push str.AffiliateId
push edx
mov dword [ebp - 0x8ec], 0x800
call edi
test eax, eax
jne 0x1002868e
cmp dword [ebp - 0x8f4], 1
jne 0x1002868e
mov eax, dword [ebp - 0x8ec]
shr eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x810], cx
jmp 0x1002869b
xor edx, edx
mov word [ebp - 0x810], dx
test eax, eax
js 0x100286c2
lea eax, [ebp - 0x810]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100286a4
sub eax, edx
sar eax, 1
push eax
lea esi, [ebx + 0x3c]
lea eax, [ebp - 0x810]
call fcn.1000a770
lea eax, [ebp - 0x8ec]
push eax
mov eax, dword [ebp - 0x8f0]
lea ecx, [ebp - 0x810]
push ecx
lea edx, [ebp - 0x8f4]
push edx
push 0
push str.cookieName
push eax
mov dword [ebp - 0x8ec], 0x800
call edi
test eax, eax
jne 0x10028712
cmp dword [ebp - 0x8f4], 1
jne 0x10028712
mov ecx, dword [ebp - 0x8ec]
shr ecx, 1
xor edx, edx
mov word [ebp + ecx*2 - 0x810], dx
jmp 0x1002871f
xor ecx, ecx
mov word [ebp - 0x810], cx
test eax, eax
js 0x1002874e
lea eax, [ebp - 0x810]
lea edx, [eax + 2]
jmp 0x10028730
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10028730
sub eax, edx
sar eax, 1
push eax
lea esi, [ebx + 0x74]
lea eax, [ebp - 0x810]
call fcn.1000a770
lea edx, [ebp - 0x8ec]
push edx
mov edx, dword [ebp - 0x8f0]
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x8f4]
push ecx
push 0
push str.cookiePath
push edx
mov dword [ebp - 0x8ec], 0x800
call edi
test eax, eax
jne 0x1002879e
cmp dword [ebp - 0x8f4], 1
jne 0x1002879e
mov eax, dword [ebp - 0x8ec]
shr eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x810], cx
jmp 0x100287ab
xor edx, edx
mov word [ebp - 0x810], dx
test eax, eax
js 0x100287d5
lea eax, [ebp - 0x810]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100287b4
sub eax, edx
sar eax, 1
push eax
lea esi, [ebx + 0x90]
lea eax, [ebp - 0x810]
call fcn.1000a770
lea eax, [ebp - 0x8ec]
push eax
mov eax, dword [ebp - 0x8f0]
lea ecx, [ebp - 0x810]
push ecx
lea edx, [ebp - 0x8f4]
push edx
push 0
push str.preloadJS
push eax
mov dword [ebp - 0x8ec], 0x800
call edi
test eax, eax
jne 0x10028825
cmp dword [ebp - 0x8f4], 1
jne 0x10028825
mov ecx, dword [ebp - 0x8ec]
shr ecx, 1
xor edx, edx
mov word [ebp + ecx*2 - 0x810], dx
jmp 0x10028832
xor ecx, ecx
mov word [ebp - 0x810], cx
test eax, eax
js 0x10028861
lea eax, [ebp - 0x810]
lea edx, [eax + 2]
jmp 0x10028840
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10028840
sub eax, edx
sar eax, 1
push eax
lea esi, [ebx + 0xac]
lea eax, [ebp - 0x810]
call fcn.1000a770
lea edx, [ebp - 0x8ec]
push edx
mov edx, dword [ebp - 0x8f0]
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x8f4]
push ecx
push 0
push str.updateUrl
push edx
mov dword [ebp - 0x8ec], 0x800
call edi
test eax, eax
jne 0x100288b1
cmp dword [ebp - 0x8f4], 1
jne 0x100288b1
mov eax, dword [ebp - 0x8ec]
shr eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x810], cx
jmp 0x100288be
xor edx, edx
mov word [ebp - 0x810], dx
test eax, eax
js 0x100288e8
lea eax, [ebp - 0x810]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100288c7
sub eax, edx
sar eax, 1
push eax
lea esi, [ebx + 0xc8]
lea eax, [ebp - 0x810]
call fcn.1000a770
mov eax, dword [ebp - 0x8f0]
lea esi, [ebx + 0xec]
push eax
call fcn.10028fb0
call fcn.100290b0
test al, al
je 0x1002890f
mov dword [ebx + 0xf0], 1
jmp 0x10028921
mov ecx, dword [ebp - 0x8f0]
lea esi, [ebx + 0xf0]
push ecx
call fcn.10029030
lea edx, [ebp - 0x8f4]
push edx
mov edx, dword [ebp - 0x8f0]
lea eax, [ebp - 0x890]
push eax
lea ecx, [ebp - 0x8ec]
push ecx
push 0
push str.used
push edx
mov dword [ebp - 0x8f4], 4
call edi
test eax, eax
js 0x10028a88
cmp dword [ebx + 0xe8], 1
setne al
test al, al
je 0x10028a88
mov eax, dword [ebp - 0x8f0]
lea esi, [ebx + 0xe4]
push eax
call fcn.10028f30
test eax, eax
js 0x10028a88
lea ecx, [ebp - 0x90c]
push ecx
call fcn.10024370
mov edx, 3
lea eax, [ebp - 0x90c]
mov dword [ebp - 4], 0
call fcn.10024660
test eax, eax
je 0x10028a75
push 0
push 0x10065608
push 0x100655d4
push 0
push eax
call sub.MSVCR100.dll___RTDynamicCast
mov edi, eax
add esp, 0x14
test edi, edi
je 0x10028a75
mov edx, dword [esi]
xor eax, eax
push eax
lea ecx, [ebx + 0x74]
mov word [ebp - 0x8c8], ax
push ecx
mov esi, 7
or eax, 0xffffffff
lea ecx, [ebp - 0x8c8]
mov dword [ebp - 0x8cc], edx
mov dword [ebp - 0x8b4], esi
mov dword [ebp - 0x8b8], 0
call fcn.10009fd0
xor edx, edx
mov byte [ebp - 4], 1
push edx
add ebx, 0x90
push ebx
or eax, 0xffffffff
lea ecx, [ebp - 0x8ac]
mov dword [ebp - 0x898], esi
mov dword [ebp - 0x89c], 0
mov word [ebp - 0x8ac], dx
call fcn.10009fd0
mov byte [ebp - 4], 2
mov edx, dword [edi]
mov edx, dword [edx]
lea eax, [ebp - 0x8cc]
mov dword [ebp - 0x8f8], eax
lea eax, [ebp - 0x8f8]
push eax
mov ecx, edi
mov dword [ebp - 0x8f4], 0x3c
call edx
lea eax, [ebp - 0x8cc]
push eax
mov byte [ebp - 4], 0
call fcn.100131e0
lea ecx, [ebp - 0x90c]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.10024520
mov edx, dword [ebp - 0x8f0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10045a28
mov esp, ebp
pop ebp
ret