Function at 0x1000db00
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100924da
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x100bc06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x114], ecx
mov eax, dword [ebp + 8]
push ecx
mov edi, esp
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x118], edi
call fcn.10002ff0
mov dword [ebp - 0x134], eax
test eax, eax
je 0x1000e3ee
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x100993c0]
mov ecx, dword [ebp - 0x134]
call esi
add eax, 0x10
mov dword [edi], eax
push 0x100aaa34
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.10004620
test al, al
jne 0x1000db9d
push 1
push 0x100aaa34
mov ecx, edi
call fcn.10005050
lea ecx, [ebp - 0x1bc]
mov dword [ebp - 4], 0xffffffff
call fcn.10032e80
mov dword [ebp - 0x118], eax
mov dword [ebp - 4], 1
mov edi, esp
mov dword [ebp - 0x140], edi
call fcn.10002ff0
mov dword [ebp - 0x134], eax
test eax, eax
je 0x1000e3f8
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x100993c0]
mov ecx, dword [ebp - 0x134]
call esi
add eax, 0x10
mov dword [edi], eax
push 0x100aaa34
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.10004620
test al, al
jne 0x1000dc13
push 1
push 0x100aaa34
mov ecx, edi
call fcn.10005050
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 1
call fcn.10032e80
add esp, 4
mov esi, eax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x114]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000dc36
sub ecx, edi
push ecx
push edx
push ecx
mov ecx, esi
call fcn.1000d2e0
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x18c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x17c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push dword [ebp - 0x174]
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 4
call fcn.10003530
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x170], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x160], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x118]
mov edi, dword [ebp - 0x15c]
mov eax, edi
mov edx, dword [ebp - 0x160]
sub eax, edx
mov esi, dword [ecx + 0x10]
cmp esi, eax
jbe 0x1000dd1a
mov eax, dword [ecx + 0x14]
sub eax, esi
cmp eax, edx
jb 0x1000dd1a
cmp edi, 0x10
lea eax, [ebp - 0x170]
push edx
cmovae eax, dword [ebp - 0x170]
push eax
push ecx
call fcn.1000d2e0
jmp 0x1000dd26
push ecx
lea ecx, [ebp - 0x170]
call fcn.100035a0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x158], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x148], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push dword [ebp - 0x138]
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 6
call fcn.10003530
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x130], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x120], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x144]
cmp edx, 0x10
jb 0x1000ddf1
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000dde7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e402
push edx
push ecx
call fcn.1005541c
add esp, 8
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x15c]
cmp edx, 0x10
jb 0x1000de4a
mov ecx, dword [ebp - 0x170]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000de40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e407
push edx
push ecx
call fcn.1005541c
add esp, 8
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0xf
mov byte [ebp - 0x170], 0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x178]
cmp edx, 0x10
jb 0x1000dea3
mov ecx, dword [ebp - 0x18c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000de99
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e40c
push edx
push ecx
call fcn.1005541c
add esp, 8
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0xf
mov byte [ebp - 0x18c], 0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x190]
cmp edx, 0x10
jb 0x1000defc
mov ecx, dword [ebp - 0x1a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000def2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e411
push edx
push ecx
call fcn.1005541c
add esp, 8
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0xf
mov byte [ebp - 0x1a4], 0
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x1a8]
cmp edx, 0x10
jb 0x1000df55
mov ecx, dword [ebp - 0x1bc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000df4b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e416
push edx
push ecx
call fcn.1005541c
add esp, 8
cmp dword [ebp - 0x11c], 0x10
lea eax, [ebp - 0x130]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x1ac], 0
cmovae eax, dword [ebp - 0x130]
push eax
mov dword [ebp - 0x1a8], 0xf
mov byte [ebp - 0x1bc], 0
call fcn.100097c0
push ecx
mov byte [ebp - 4], 0xd
mov edi, esp
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x118], 0xff
mov byte [ebp - 0x139], 0
mov dword [ebp - 0x140], edi
call fcn.10002ff0
mov dword [ebp - 0x138], eax
test eax, eax
je 0x1000e41b
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x100993c0]
mov ecx, dword [ebp - 0x138]
call esi
add eax, 0x10
mov dword [edi], eax
push str.CRLogProductPreferences
mov ecx, edi
mov byte [ebp - 4], 0xe
call fcn.10004620
test al, al
jne 0x1000e007
push 0x18
push str.CRLogProductPreferences
mov ecx, edi
call fcn.10005050
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0xd
call fcn.10038250
add esp, 4
test al, al
jne 0x1000e059
mov byte [ebp - 4], 0xc
or edi, 0xffffffff
mov ecx, dword [ebp - 0x114]
mov eax, edi
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1000e0dc
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
or edi, 0xffffffff
jmp 0x1000e0dc
mov esi, dword [ebp - 0x134]
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0
push dword [ebp - 0x114]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ecx, byte [ebp - 0x139]
test eax, eax
mov edx, 1
cmove ecx, edx
push esi
mov dword [ebp - 0x138], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0xc
or edi, 0xffffffff
mov ecx, dword [ebp - 0x114]
mov eax, edi
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1000e0cf
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
or edi, 0xffffffff
cmp byte [ebp - 0x138], 0
jne 0x1000e39d
cmp dword [ebp - 0x11c], 0x10
lea eax, [ebp - 0x130]
push ecx
cmovae eax, dword [ebp - 0x130]
mov ecx, esp
push eax
call fcn.100097c0
call fcn.100383c0
add esp, 4
lea eax, [ebp - 0x130]
cmp dword [ebp - 0x11c], 0x10
lea ecx, [ebp - 0x134]
cmovae eax, dword [ebp - 0x130]
push eax
call fcn.100097c0
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x118], 0
call fcn.10002ff0
mov dword [ebp - 0x138], eax
test eax, eax
je 0x1000e425
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x100993c0]
mov ecx, dword [ebp - 0x138]
call esi
add eax, 0x10
mov dword [ebp - 0x114], eax
push str.CRLogProductPreferences
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x10
call fcn.10004620
test al, al
jne 0x1000e18a
push 0x18
push str.CRLogProductPreferences
lea ecx, [ebp - 0x114]
call fcn.10005050
push 1
push 0x100ab298
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x11
call fcn.100135a0
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x114]
push dword [eax - 0xc]
push eax
call fcn.100135a0
push ecx
mov esi, esp
mov dword [ebp - 0x140], esi
mov eax, dword [ebp - 0x114]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x138], eax
call fcn.1000bff0
add eax, 0x10
lea ecx, [ebp - 0x118]
mov dword [esi], eax
call fcn.10038250
mov ecx, dword [ebp - 0x138]
add esp, 4
mov byte [ebp - 4], 0xf
mov eax, edi
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1000e214
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
or edi, 0xffffffff
mov byte [ebp - 4], 0xc
mov eax, edi
mov ecx, dword [ebp - 0x134]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1000e244
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
or edi, 0xffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x134], 0
push str.CRLog
call fcn.100097c0
lea ecx, [ebp - 0x134]
call fcn.10038250
add esp, 4
test al, al
je 0x1000e39d
push 0x100aaa84
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], 0
call fcn.100097c0
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x114]
cmp dword [eax - 4], 1
mov esi, dword [eax - 0xc]
jle 0x1000e2b0
push esi
lea ecx, [ebp - 0x114]
call fcn.10005280
mov eax, dword [ebp - 0x114]
lea ecx, [esi*2 + 1]
mov esi, dword [ebp - 0x134]
push ecx
push eax
push 1
push 0
push 0x100aaa4c
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x114]
cmp dword [eax - 4], 1
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x138], ecx
jle 0x1000e2fc
push ecx
lea ecx, [ebp - 0x114]
call fcn.10005280
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x138]
lea ecx, [ecx*2 + 1]
push ecx
push eax
push 1
push 0
push str.Contact_Permission
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x114]
call fcn.10005140
mov eax, dword [ebp - 0x114]
cmp dword [eax - 4], 1
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x138], ecx
jle 0x1000e34d
push ecx
lea ecx, [ebp - 0x114]
call fcn.10005280
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x138]
lea ecx, [ecx*2 + 1]
push ecx
push eax
push 1
push 0
push str.Email_Id
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str.User_level_client_setting
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x114]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], edi
dec edi
test edi, edi
jg 0x1000e39d
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
mov edx, dword [ebp - 0x11c]
cmp edx, 0x10
jb 0x1000e3d3
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e3c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e42f
push edx
push ecx
call fcn.1005541c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005540b
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10002d90
push 0x80004005
call fcn.10002d90
call fcn.10070e17
call fcn.10070e17
call fcn.10070e17
call fcn.10070e17
call fcn.10070e17
push 0x80004005
call fcn.10002d90
push 0x80004005
call fcn.10002d90
call fcn.10070e17
int3