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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009476a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1b8
mov eax, dword [0x100c006c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x11c], ecx
mov eax, dword [ebx + 8]
push ecx
mov edi, esp
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x120], edi
call fcn.10003080
mov dword [ebp - 0x13c], eax
test eax, eax
je 0x1000e3bb
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x1009c3c4]
mov ecx, dword [ebp - 0x13c]
call esi
add eax, 0x10
mov dword [edi], eax
push 0x100adac4
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.100046b0
test al, al
jne 0x1000db61
push 1
push 0x100adac4
mov ecx, edi
call fcn.100050e0
lea ecx, [ebp - 0x1c4]
mov dword [ebp - 4], 0xffffffff
call fcn.10037260
mov dword [ebp - 0x120], eax
mov dword [ebp - 4], 1
mov edi, esp
mov dword [ebp - 0x148], edi
call fcn.10003080
mov dword [ebp - 0x13c], eax
test eax, eax
je 0x1000e3c5
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x1009c3c4]
mov ecx, dword [ebp - 0x13c]
call esi
add eax, 0x10
mov dword [edi], eax
push 0x100adac4
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.100046b0
test al, al
jne 0x1000dbd7
push 1
push 0x100adac4
mov ecx, edi
call fcn.100050e0
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 1
call fcn.10037260
add esp, 4
mov esi, eax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x11c]
mov ecx, edx
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000dc00
sub ecx, edi
push ecx
push edx
push ecx
mov ecx, esi
call fcn.1000d310
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x194], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x184], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push dword [ebp - 0x17c]
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 4
call fcn.100035c0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x178], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x168], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x120]
mov edi, dword [ebp - 0x164]
mov eax, edi
mov edx, dword [ebp - 0x168]
sub eax, edx
mov esi, dword [ecx + 0x10]
cmp esi, eax
jbe 0x1000dce4
mov eax, dword [ecx + 0x14]
sub eax, esi
cmp eax, edx
jb 0x1000dce4
cmp edi, 0x10
lea eax, [ebp - 0x178]
push edx
cmovae eax, dword [ebp - 0x178]
push eax
push ecx
call fcn.1000d310
jmp 0x1000dcf0
push ecx
lea ecx, [ebp - 0x178]
call fcn.10003630
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x160], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x150], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push dword [ebp - 0x140]
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 6
call fcn.100035c0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x138], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x128], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x14c]
cmp edx, 0x10
jb 0x1000ddbb
mov ecx, dword [ebp - 0x160]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000ddb1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e3cf
push edx
push ecx
call fcn.1005772c
add esp, 8
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0xf
mov byte [ebp - 0x160], 0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x164]
cmp edx, 0x10
jb 0x1000de14
mov ecx, dword [ebp - 0x178]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000de0a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e3d4
push edx
push ecx
call fcn.1005772c
add esp, 8
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0xf
mov byte [ebp - 0x178], 0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x180]
cmp edx, 0x10
jb 0x1000de6d
mov ecx, dword [ebp - 0x194]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000de63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e3d9
push edx
push ecx
call fcn.1005772c
add esp, 8
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0xf
mov byte [ebp - 0x194], 0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x198]
cmp edx, 0x10
jb 0x1000dec6
mov ecx, dword [ebp - 0x1ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000debc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e3de
push edx
push ecx
call fcn.1005772c
add esp, 8
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0xf
mov byte [ebp - 0x1ac], 0
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x1b0]
cmp edx, 0x10
jb 0x1000df1f
mov ecx, dword [ebp - 0x1c4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000df15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e3e3
push edx
push ecx
call fcn.1005772c
add esp, 8
cmp dword [ebp - 0x124], 0x10
lea eax, [ebp - 0x138]
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x1b4], 0
cmovae eax, dword [ebp - 0x138]
push eax
mov dword [ebp - 0x1b0], 0xf
mov byte [ebp - 0x1c4], 0
call fcn.10009810
push ecx
mov byte [ebp - 4], 0xd
mov edi, esp
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x120], 0xff
mov byte [ebp - 0x141], 0
mov dword [ebp - 0x148], edi
call fcn.10003080
mov dword [ebp - 0x140], eax
test eax, eax
je 0x1000e3e8
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x1009c3c4]
mov ecx, dword [ebp - 0x140]
call esi
add eax, 0x10
mov dword [edi], eax
push str.CRLogProductPreferences
mov ecx, edi
mov byte [ebp - 4], 0xe
call fcn.100046b0
test al, al
jne 0x1000dfd1
push 0x18
push str.CRLogProductPreferences
mov ecx, edi
call fcn.100050e0
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0xd
call fcn.1003b330
add esp, 4
test al, al
jne 0x1000e023
mov byte [ebp - 4], 0xc
or edi, 0xffffffff
mov ecx, dword [ebp - 0x11c]
mov eax, edi
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1000e0a6
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1009c3c4]
mov ecx, edi
call esi
or edi, 0xffffffff
jmp 0x1000e0a6
mov esi, dword [ebp - 0x13c]
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x118]
push eax
push 0
push 0
push dword [ebp - 0x11c]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ecx, byte [ebp - 0x141]
test eax, eax
mov edx, 1
cmove ecx, edx
push esi
mov dword [ebp - 0x140], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0xc
or edi, 0xffffffff
mov ecx, dword [ebp - 0x11c]
mov eax, edi
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1000e099
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1009c3c4]
mov ecx, edi
call esi
or edi, 0xffffffff
cmp byte [ebp - 0x140], 0
jne 0x1000e367
cmp dword [ebp - 0x124], 0x10
lea eax, [ebp - 0x138]
push ecx
cmovae eax, dword [ebp - 0x138]
mov ecx, esp
push eax
call fcn.10009810
call fcn.1003b4a0
add esp, 4
lea eax, [ebp - 0x138]
cmp dword [ebp - 0x124], 0x10
lea ecx, [ebp - 0x13c]
cmovae eax, dword [ebp - 0x138]
push eax
call fcn.10009810
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x120], 0
call fcn.10003080
mov dword [ebp - 0x140], eax
test eax, eax
je 0x1000e3f2
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x1009c3c4]
mov ecx, dword [ebp - 0x140]
call esi
add eax, 0x10
mov dword [ebp - 0x11c], eax
push str.CRLogProductPreferences
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0x10
call fcn.100046b0
test al, al
jne 0x1000e154
push 0x18
push str.CRLogProductPreferences
lea ecx, [ebp - 0x11c]
call fcn.100050e0
push 1
push 0x100ae478
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0x11
call fcn.100135a0
mov eax, dword [ebp - 0x13c]
lea ecx, [ebp - 0x11c]
push dword [eax - 0xc]
push eax
call fcn.100135a0
push ecx
mov esi, esp
mov dword [ebp - 0x148], esi
mov eax, dword [ebp - 0x11c]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x140], eax
call fcn.1000c040
add eax, 0x10
lea ecx, [ebp - 0x120]
mov dword [esi], eax
call fcn.1003b330
mov ecx, dword [ebp - 0x140]
add esp, 4
mov byte [ebp - 4], 0xf
mov eax, edi
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1000e1de
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1009c3c4]
mov ecx, edi
call esi
or edi, 0xffffffff
mov byte [ebp - 4], 0xc
mov eax, edi
mov ecx, dword [ebp - 0x13c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1000e20e
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1009c3c4]
mov ecx, edi
call esi
or edi, 0xffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x13c], 0
push str.CRLog
call fcn.10009810
lea ecx, [ebp - 0x13c]
call fcn.1003b330
add esp, 4
test al, al
je 0x1000e367
push 0x100adb14
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0
call fcn.10009810
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x11c]
cmp dword [eax - 4], 1
mov esi, dword [eax - 0xc]
jle 0x1000e27a
push esi
lea ecx, [ebp - 0x11c]
call fcn.10005310
mov eax, dword [ebp - 0x11c]
lea ecx, [esi*2 + 1]
mov esi, dword [ebp - 0x13c]
push ecx
push eax
push 1
push 0
push 0x100adadc
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x11c]
cmp dword [eax - 4], 1
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x140], ecx
jle 0x1000e2c6
push ecx
lea ecx, [ebp - 0x11c]
call fcn.10005310
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x140]
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 - 0x11c]
call fcn.100051d0
mov eax, dword [ebp - 0x11c]
cmp dword [eax - 4], 1
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x140], ecx
jle 0x1000e317
push ecx
lea ecx, [ebp - 0x11c]
call fcn.10005310
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x140]
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 - 0x11c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], edi
dec edi
test edi, edi
jg 0x1000e367
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1009c3c4]
mov ecx, edi
call esi
mov edx, dword [ebp - 0x124]
cmp edx, 0x10
jb 0x1000e39d
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e393
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e3fc
push edx
push ecx
call fcn.1005772c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1005771b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.10002e30
push 0x80004005
call fcn.10002e30
call fcn.10073127
call fcn.10073127
call fcn.10073127
call fcn.10073127
call fcn.10073127
push 0x80004005
call fcn.10002e30
push 0x80004005
call fcn.10002e30
call fcn.10073127
int3