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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004ce86
mov eax, dword fs:[0]
push eax
sub esp, 0x860
mov eax, dword [0x10063068]
xor eax, esp
mov dword [esp + 0x858], eax
push ebx
push esi
push edi
mov eax, dword [0x10063068]
xor eax, esp
push eax
lea eax, [esp + 0x870]
mov dword fs:[0], eax
push 0
mov edi, ecx
call dword [sym.imp.MSVCR100.dll__time64]
add esp, 4
mov dword [esp + 0x34], eax
lea eax, [esp + 0x24]
push eax
push SysReAllocStringLen
push 0
push str.SOFTWAREAdTrustMediaPrivDogMimeFilter
push SysReAllocStringLen
mov esi, edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10003ee3
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x38]
push eax
push 0
push str.updateUrl
push ecx
mov dword [esp + 0x40], 0x800
call ebx
test eax, eax
jne 0x10003e8a
cmp dword [esp + 0x30], 1
jne 0x10003e8a
mov edx, dword [esp + 0x28]
shr edx, 1
mov word [esp + edx*2 + 0x64], ax
jmp 0x10003e91
xor ecx, ecx
mov word [esp + 0x64], cx
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
push ecx
push 0
push str.nextUpdateTime
push edx
mov dword [esp + 0x2c], 0
call ebx
test eax, eax
jne 0x10003ed8
mov ecx, dword [esp + 0x14]
mov byte [edi + 0x24e0], al
cmp eax, esi
jl 0x10003ed8
jg 0x10003fbf
cmp ecx, dword [esp + 0x34]
ja 0x10003fbf
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
push ecx
mov ecx, str.PRIVDOG_VERSION:
call fcn.10001ba0
push 0x10054548
lea edx, [esp + 0x40]
push 0x14
push edx
mov dword [esp + 0x884], 0
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
lea eax, [esp + 0x48]
add esp, 0xc
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10003f20
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x40]
push eax
lea ebx, [esp + 0x28]
call fcn.100019f0
lea ecx, [esp + 0x18]
call dword [0x1004f704]
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x87c], 1
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Trim]
mov edx, dword [esp + 0x18]
cmp dword [edx - 0xc], 0
je 0x10003f8a
lea ecx, [esp + 0x18]
call fcn.10004290
lea ecx, [esp + 0x18]
test al, al
jne 0x10003fc6
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov dword [esp + 0x878], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003fbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x100040a8
push 0x10054568
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::FindOneOf]
test eax, eax
setg al
mov byte [esp + 0x1c], al
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
test eax, eax
je 0x10004008
lea esi, [edi + 0x24a0]
mov ecx, esi
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
mov ecx, dword [esp + 0x14]
push ecx
push str._s_r_n
push esi
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::AppendFormat]
add esp, 0xc
test edi, edi
je 0x1000401e
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1000401e
push edi
push eax
lea ecx, [edi + 4]
call fcn.1000f6f0
lea edx, [esp + 0x2c]
push edx
push 0x40000000
push 0
push str.SOFTWAREAdTrustMediaPrivDogMimeFilter
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10004071
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push 0
push str.nextUpdateTime
add eax, 0x5460
push edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov dword [esp + 0x878], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100040a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x870]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x858]
xor ecx, esp
call fcn.10045a28
mov esp, ebp
pop ebp
ret