Function at 0x101487a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017b47a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
mov dword [ebp - 0xa8], 0
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10148898
lea ecx, [ebp - 0xb1]
mov dword [ebp - 0xb0], ecx
push 0
push 0
lea ecx, [ebp - 0xa4]
call fcn.10002cf0
mov dword [ebp - 0x140], str.255.0.0.0
mov edx, dword [ebp - 0x140]
add edx, 1
mov dword [ebp - 0x144], edx
mov eax, dword [ebp - 0x140]
mov cl, byte [eax]
mov byte [ebp - 0x145], cl
add dword [ebp - 0x140], 1
cmp byte [ebp - 0x145], 0
jne 0x10148808
mov edx, dword [ebp - 0x140]
sub edx, dword [ebp - 0x144]
mov dword [ebp - 0x14c], edx
mov eax, dword [ebp - 0x14c]
push eax
push str.255.0.0.0
lea ecx, [ebp - 0xa4]
call fcn.10003590
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xa4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1014c370
add esp, 8
mov eax, dword [ebp - 0xa8]
or eax, 1
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0xa4]
call fcn.10002cf0
mov eax, dword [ebp + 8]
jmp 0x10148a89
push str.SYSTEMCurrentControlSet_servicesTcpipParametersInterfaces_
lea ecx, [ebp - 0x44]
call fcn.10003910
mov dword [ebp - 4], 2
mov ecx, dword [0x1018c500]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x44]
call fcn.10008ce0
lea eax, [ebp - 0xc9]
mov dword [ebp - 0xc8], eax
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.10002d50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.100e5e80
add esp, 8
cmp dword [ebp - 0x10], 8
jb 0x101488fe
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x150], eax
jmp 0x10148907
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x150], ecx
lea edx, [ebp - 0x68]
push edx
push 0x20019
push 0
mov eax, dword [ebp - 0x150]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10148967
mov ecx, dword [ebp + 8]
call fcn.1014afd0
mov ecx, dword [ebp - 0xa8]
or ecx, 1
mov dword [ebp - 0xa8], ecx
mov byte [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10002d50
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.10002cf0
mov eax, dword [ebp + 8]
jmp 0x10148a89
mov dword [ebp - 0x6c], 0x20
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push str.DhcpSubnetMask
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x101489f5
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x10192c9c
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x101489f5
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
call fcn.1014afd0
mov eax, dword [ebp - 0xa8]
or eax, 1
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10002d50
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.10002cf0
mov eax, dword [ebp + 8]
jmp 0x10148a89
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x105]
mov dword [ebp - 0x104], edx
push 0
push 0
lea ecx, [ebp - 0x88]
call fcn.10002cf0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.100e6380
add esp, 8
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1014c370
add esp, 8
mov ecx, dword [ebp - 0xa8]
or ecx, 1
mov dword [ebp - 0xa8], ecx
mov byte [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0x88]
call fcn.10002cf0
mov byte [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10002d50
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.10002cf0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret