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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012ac6
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x10019154]
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 eax, dword [ebp + 8]
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp + 0xc]
push ecx
push eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x22c], 9
call dword [sym.imp.ole32.dll_CLSIDFromString]
push 0x18
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea edx, [ebp - 0x244]
push edx
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x238], 0x18
call fcn.10001490
lea eax, [ebp - 0x230]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x244]
add esp, 4
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100035a0
sub eax, ecx
mov dword [ebp - 0x258], eax
mov ebx, 0
mov edi, dword [ebp - 0x254]
mov eax, dword [ebp - 0x24c]
sub eax, edi
mov dword [ebp - 0x24c], eax
xor esi, esi
xor edx, edx
mov eax, ebx
cmp ebx, dword [ebp - 0x238]
jb 0x100035e9
div dword [ebp - 0x238]
mov cl, byte [esi + str.Only_Internet_Explorer_code_should_write_this_user_setting._See_http:__go.microsoft.com_fwlink__LinkId159651_for_more_details.]
lea eax, [edx + edi]
xor byte [eax], cl
jmp 0x1000360c
div dword [ebp - 0x258]
mov eax, dword [ebp - 0x244]
lea ecx, [edi + ebx]
mov al, byte [edx + eax]
mov edx, dword [ebp - 0x24c]
xor al, byte [edx + ecx]
xor al, byte [esi + str.Only_Internet_Explorer_code_should_write_this_user_setting._See_http:__go.microsoft.com_fwlink__LinkId159651_for_more_details.]
mov byte [ecx], al
inc ebx
inc esi
cmp esi, 0x80
jb 0x100035ca
cmp ebx, dword [ebp - 0x238]
jb 0x100035c8
mov ecx, dword [ebp - 0x250]
push ecx
lea ecx, [ebp - 0x240]
call fcn.100033b0
push 0x39
xor ebx, ebx
push str.SoftwareMicrosoftInternet_ExplorerApproved_Extensions
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], ebx
call fcn.10002c80
mov eax, dword [ebp - 0x240]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ebx
lea edx, [ebp - 0x234]
push edx
push ebx
push 1
push ebx
push ebx
push ebx
push eax
push SysReAllocStringLen
mov esi, eax
mov dword [ebp - 0x234], ebx
call edi
test eax, eax
je 0x1000368e
push ebx
lea eax, [ebp - 0x234]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push esi
push SysReAllocStringLen
call edi
mov eax, dword [ebp - 0x234]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x100036f6
push eax
call fcn.10001510
mov edx, dword [ebp - 0x234]
add esp, 4
lea ecx, [ebp - 0x238]
push ecx
push 0xf003f
push ebx
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [ebp - 0x254]
mov ecx, dword [ebp - 0x248]
mov edx, dword [ebp - 0x238]
push 0x18
push eax
push 3
push ebx
push ecx
push edx
call edi
mov eax, dword [ebp - 0x238]
push eax
call esi
mov ecx, dword [ebp - 0x234]
push ecx
call esi
mov edx, dword [ebp - 0x250]
push edx
lea ecx, [ebp - 0x23c]
call fcn.100033b0
push 0x34
push str.SOFTWAREMicrosoftWindowsCurrentVersionExtStats
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 1
call fcn.10002c80
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x23c]
push eax
push ecx
push str._s_siexplore
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.10001cb0
add esp, 0x14
push ebx
lea eax, [ebp - 0x234]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x218]
push ecx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100037d8
lea edx, [ebp - 0x248]
push edx
mov edx, dword [ebp - 0x234]
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x250]
push ecx
push ebx
push str.Flags
push edx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x248], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100037ae
mov dword [ebp - 0x238], ebx
mov ecx, dword [ebp - 0x234]
or dword [ebp - 0x238], 4
push 4
lea eax, [ebp - 0x238]
push eax
push 4
push ebx
push str.Flags
push ecx
call edi
mov edx, dword [ebp - 0x234]
push edx
call esi
mov eax, dword [ebp - 0x254]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
push eax
call esi
mov ecx, dword [ebp - 0x244]
push ecx
call esi
mov eax, dword [ebp - 0x23c]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10003815
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000383e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
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.100074e7
mov esp, ebp
pop ebp
ret 8