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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001169c
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x10017040]
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 - 0x24c], eax
mov eax, dword [ebp + 0xc]
push ecx
push eax
mov dword [ebp - 0x250], 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 edi, [ebp - 0x240]
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x234], 0x18
call fcn.10001160
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x230]
mov dword [ebp - 0x244], edx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001340
sub eax, edx
mov dword [ebp - 0x23c], eax
mov ebx, 0
mov edi, dword [ebp - 0x248]
mov eax, dword [ebp - 0x244]
sub eax, edi
mov dword [ebp - 0x244], eax
xor esi, esi
xor edx, edx
mov eax, ebx
cmp ebx, dword [ebp - 0x234]
jb 0x10001389
div dword [ebp - 0x234]
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 0x100013ac
div dword [ebp - 0x23c]
mov eax, dword [ebp - 0x240]
lea ecx, [edi + ebx]
mov al, byte [edx + eax]
mov edx, dword [ebp - 0x244]
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 0x1000136a
cmp ebx, dword [ebp - 0x234]
jb 0x10001368
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x23c], eax
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x24c]
test esi, esi
je 0x1000140f
test esi, 0xffff0000
jne 0x10001413
movzx edi, si
push edi
call fcn.10004110
add esp, 4
test eax, eax
je 0x1000143d
push eax
mov eax, edi
lea edi, [ebp - 0x23c]
call fcn.10003930
jmp 0x1000143d
xor eax, eax
jmp 0x1000142f
mov eax, esi
lea edx, [eax + 2]
jmp 0x10001420
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10001420
sub eax, edx
sar eax, 1
push esi
mov edi, eax
lea ebx, [ebp - 0x23c]
call fcn.10003530
push 0x39
push str.SoftwareMicrosoftInternet_ExplorerApproved_Extensions
lea ebx, [ebp - 0x23c]
mov dword [ebp - 4], 1
call fcn.100033f0
mov edi, dword [ebp - 0x23c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 0
lea eax, [ebp - 0x238]
push eax
push 0
push 1
push 0
push 0
push 0
push edi
push SysStringLen
mov dword [ebp - 0x238], 0
call ebx
test eax, eax
je 0x100014a9
push 0
lea ecx, [ebp - 0x238]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edi
push SysStringLen
call ebx
mov ecx, dword [ebp - 0x238]
test ecx, ecx
je 0x1000150e
call fcn.100011e0
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x234]
push edx
push 0xf003f
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [ebp - 0x248]
mov edx, dword [ebp - 0x250]
mov eax, dword [ebp - 0x234]
push 0x18
push ecx
push 3
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x234]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call edi
mov edx, dword [ebp - 0x238]
push edx
call edi
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 2
test esi, esi
je 0x10001556
test esi, 0xffff0000
jne 0x1000155a
movzx esi, si
push esi
call fcn.10004110
add esp, 4
test eax, eax
je 0x1000157d
push eax
mov eax, esi
lea edi, [ebp - 0x234]
call fcn.10003930
jmp 0x1000157d
xor eax, eax
jmp 0x1000156f
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10001560
sub eax, edx
sar eax, 1
push esi
mov edi, eax
lea ebx, [ebp - 0x234]
call fcn.10003530
push 0x34
push str.SOFTWAREMicrosoftWindowsCurrentVersionExtStats
lea ebx, [ebp - 0x234]
mov byte [ebp - 4], 3
call fcn.100033f0
mov eax, dword [ebp - 0x250]
mov esi, dword [ebp - 0x234]
push eax
push esi
push str._s_siexplore
mov ecx, 0x104
lea ebx, [ebp - 0x218]
call fcn.10001060
add esp, 0xc
xor edi, edi
push edi
lea ecx, [ebp - 0x238]
push ecx
push edi
push 0x2001f
push edi
push edi
push edi
mov edx, ebx
push edx
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10001650
lea eax, [ebp - 0x24c]
push eax
mov eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x250]
push edx
push edi
push str.Flags
mov ebx, 4
push eax
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x24c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10001621
mov dword [ebp - 0x234], edi
mov edx, dword [ebp - 0x238]
or dword [ebp - 0x234], ebx
push ebx
lea ecx, [ebp - 0x234]
push ecx
push ebx
push edi
push str.Flags
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x248]
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
push ecx
call edi
mov edx, dword [ebp - 0x240]
push edx
call edi
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10001688
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x23c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100016b1
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.100056e3
mov esp, ebp
pop ebp
ret 8