Function at 0x100dc310
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011dbaf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x4c], ecx
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100dc9b2
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
push 0
push 0
push 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x100dc9a9
mov eax, dword [ebp - 0x30]
cmp eax, 0x400
ja 0x100dc9a9
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x400
ja 0x100dc9a9
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
test ecx, ecx
je 0x100dc991
mov edx, 2
xor ecx, ecx
add eax, edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100703f6
mov ecx, dword [ebp - 0x30]
add esp, 4
inc ecx
mov esi, eax
mov dword [ebp - 0x50], esi
push ecx
push esi
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x100dc977
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov word [esi + eax*2 + 2], cx
lea eax, [ebp - 0x34]
push eax
push 0x20019
push ecx
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0x34], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100dc977
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
push str.ServiceName
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], eax
call fcn.1001a4c0
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 1
push eax
push dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
push eax
call fcn.100dc9d0
push eax
lea ecx, [ebp - 0x98]
call fcn.1001df20
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x100dc4bd
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100dc4b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dc9c5
push edx
push ecx
call fcn.100703b3
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x100dc514
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100dc50a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dc9c5
push edx
push ecx
call fcn.100703b3
add esp, 8
push str.Description
lea ecx, [ebp - 0xb0]
call fcn.1001a4c0
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
push eax
call fcn.100dc9d0
push eax
lea ecx, [ebp - 0x80]
call fcn.1001df20
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x100dc57e
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100dc574
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dc9c5
push edx
push ecx
call fcn.100703b3
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x100dc5d5
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100dc5cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dc9c5
push edx
push ecx
call fcn.100703b3
add esp, 8
mov ebx, dword [ebp - 0x88]
test ebx, ebx
je 0x100dc900
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_
lea ecx, [ebp - 0x2c]
call fcn.1001a4c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
cmp dword [ebp - 0x84], 8
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x1c]
sub eax, edx
cmp ebx, eax
ja 0x100dc63e
cmp dword [ebp - 0x18], 8
lea esi, [ebp - 0x2c]
lea eax, [ebx + ebx]
cmovae esi, dword [ebp - 0x2c]
lea edi, [edx + ebx]
push eax
push ecx
mov dword [ebp - 0x1c], edi
lea eax, [esi + edx*2]
push eax
call fcn.10074220
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x100dc656
push ebx
push ecx
mov byte [ebp - 0x40], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x40]
push ebx
call fcn.1001f850
mov ebx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
cmp eax, 0xb
jb 0x100dc690
cmp edx, 8
lea esi, [ebp - 0x2c]
push 0x16
cmovae esi, dword [ebp - 0x2c]
lea edi, [ecx + 0xb]
push str.Connection
mov dword [ebp - 0x1c], edi
lea eax, [esi + ecx*2]
push eax
call fcn.10074220
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x100dc6a8
push 0xb
push str.Connection
mov byte [ebp - 0x44], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x44]
push 0xb
call fcn.1001f850
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x10], 0
cmovae eax, dword [ebp - 0x2c]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100dc7e0
push str.Name
lea ecx, [ebp - 0xc8]
call fcn.1001a4c0
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0xe4]
push eax
call fcn.100dc9d0
push eax
lea ecx, [ebp - 0x68]
call fcn.1001df20
mov edx, dword [ebp - 0xd0]
cmp edx, 8
jb 0x100dc74c
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100dc742
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dc9c5
push edx
push ecx
call fcn.100703b3
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 7
mov word [ebp - 0xe4], ax
cmp edx, 8
jb 0x100dc7ad
mov ecx, dword [ebp - 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100dc7a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dc9c5
push edx
push ecx
call fcn.100703b3
add esp, 8
push dword [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 7
mov word [ebp - 0xc8], ax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x88]
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x58], 0
je 0x100dc8a8
push 0x3e
push str.SYSTEMCurrentControlSetServicesTcpipParametersInterfaces_
lea ecx, [ebp - 0x2c]
call fcn.1001a860
cmp dword [ebp - 0x84], 8
lea ecx, [ebp - 0x98]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x1c]
sub eax, edx
cmp ebx, eax
ja 0x100dc843
cmp dword [ebp - 0x18], 8
lea esi, [ebp - 0x2c]
lea eax, [ebx + ebx]
cmovae esi, dword [ebp - 0x2c]
lea edi, [edx + ebx]
push eax
push ecx
mov dword [ebp - 0x1c], edi
lea eax, [esi + edx*2]
push eax
call fcn.10074220
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x100dc855
push ebx
push ecx
mov byte [ebp - 0x48], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x48]
push ebx
call fcn.1001f850
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x100dc88f
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], 0
jmp 0x100dc8ae
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
mov dword [ebp - 0x58], 0
cmovae eax, dword [ebp - 0x68]
xor ecx, ecx
mov word [eax], cx
jmp 0x100dc8ae
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x100dc8ec
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100dc8e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dc9c5
push edx
push ecx
call fcn.100703b3
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push dword [ebp - 0x34]
call edi
cmp dword [ebp - 0x58], 0
je 0x100dc95f
mov esi, dword [ebp - 0x4c]
lea eax, [ebp - 0x98]
push eax
mov edi, dword [esi + 0x1c]
cmp dword [esi + 0x20], edi
je 0x100dc950
mov ecx, edi
mov dword [ebp - 0xcc], edi
call fcn.1001cdf0
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 5
lea ecx, [edi + 0x18]
push eax
call fcn.1001cdf0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 6
lea ecx, [edi + 0x30]
push eax
call fcn.1001cdf0
add dword [esi + 0x1c], 0x48
jmp 0x100dc959
push edi
lea ecx, [esi + 0x18]
call fcn.1002d0f0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0xffffffff
call fcn.1002c220
mov ebx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x50]
push esi
call fcn.100703c1
inc ebx
add esp, 4
mov dword [ebp - 0x3c], ebx
cmp ebx, dword [ebp - 0x38]
jae 0x100dc991
mov eax, dword [ebp - 0x30]
jmp 0x100dc3b9
push dword [ebp - 0x14]
call edi
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1007e0fa
int3