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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017da50
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x101e8fc8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x40]
push 0x32
xor eax, eax
mov dword [ebp - 0x30], edi
push str.SoftwareMicrosoftInternet_ExplorerInternational
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.100028d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0xa
xor eax, eax
mov dword [ebp - 0x18], edi
push str.AutoDetect
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.100028d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push 3
push edi
push eax
push SysReAllocString
mov dword [ebp - 0x44], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10009872
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x44]
mov edi, dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x54], eax
push ecx
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x48]
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x58], edi
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push edi
mov dword [ebp - 0x44], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10009872
cmp dword [ebp - 0x48], 4
jne 0x10009872
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 4
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x4c], eax
sete al
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push 4
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x10009865
mov esi, dword [esi - 8]
lea ecx, [ebp - 0x68]
push 3
push 3
call fcn.10017909
mov byte [ebp - 4], 3
mov ecx, dword [esi]
push eax
push esi
call dword [ecx + 0x34]
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test edi, edi
je 0x10009872
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x100098ac
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100098a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009930
push edx
push ecx
call fcn.10156338
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x100098f6
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100098ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009935
push edx
push ecx
call fcn.10156338
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
test edi, edi
je 0x10009915
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.10156327
mov esp, ebp
pop ebp
ret
call fcn.1015c985
call fcn.1015c985
int3