Function at 0x1c7dc50
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x830
mov esi, dword [ebp + 8]
mov eax, dword [0x1d01324]
xor eax, ebp
mov dword [esp + 0x828], eax
xor ebx, ebx
test esi, esi
je 0x1c7dce1
cmp dword [ebp + 0xc], 0
je 0x1c7dce1
mov dword [esp + 0x24], 0xffffffff
xorps xmm0, xmm0
movaps xmmword [esp + 0x500], xmm0
movaps xmmword [esp + 0x4f0], xmm0
movaps xmmword [esp + 0x4e0], xmm0
movaps xmmword [esp + 0x4d0], xmm0
movaps xmmword [esp + 0x4c0], xmm0
movaps xmmword [esp + 0x4b0], xmm0
mov dword [esp + 0x510], 0
lea eax, [esp + 0x24]
push eax
push 8
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1c7dcf9
xor ebx, ebx
mov ecx, dword [esp + 0x828]
xor ecx, ebp
call fcn.01cb3141
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea edi, [esp + 0x2a8]
push 0x208
push 0xff
push edi
call fcn.01cb76e0
add esp, 0xc
mov dword [esp + 0x20], 0x104
mov eax, dword [esp + 0x24]
sub esp, 0x20
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
lea ecx, [esp + 0x40]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1c7ddb6
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dl, byte [esp + 0x4b0]
test dl, dl
je 0x1c7dcdf
mov edi, dword [ebp + 0xc]
test edi, edi
jle 0x1c7e0cc
mov ecx, 1
sub ecx, edi
add edi, 0xffffffff
mov eax, 0x80000003
nop
mov byte [esi + eax + 0x7ffffffd], dl
lea edx, [ecx + eax]
cmp edx, 0x80000003
je 0x1c7e0d9
test eax, eax
je 0x1c7e0d9
movzx edx, byte [esp + eax - 0x7ffffb52]
test dl, dl
je 0x1c7e0d4
add eax, 1
add edi, 0xffffffff
jmp 0x1c7dd80
xor ebx, ebx
jmp 0x1c7de10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp + 8]
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [esp + 0x2a8]
add ebx, 1
mov dword [esp + 0x20], 0x104
mov eax, dword [esp + 0x24]
sub esp, 0x20
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
lea ecx, [esp + 0x40]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1c7dd4b
mov dword [esp + 0x1c], 0xffffffff
lea eax, [esp + 0x1c]
push eax
push 1
push 0
push edi
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1c7ddd5
push 0x208
push 0xff
lea edi, [esp + 0xa8]
push edi
call fcn.01cb76e0
add esp, 0xc
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 0x208
lea eax, [esp + 0x14]
push eax
push edi
lea eax, [esp + 0x20]
push eax
push 0
push str.ServiceName
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1c7ddc4
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x90], 0
push 0x208
push 0xff
lea esi, [esp + 0x628]
push esi
call fcn.01cb76e0
add esp, 0xc
lea eax, [esp + 0xa0]
push eax
push str.._s
push 0x208
push esi
call fcn.01c7d280
sub esp, 0xc
movaps xmm0, xmmword [0x1cea220]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x1c7ddc1
mov esi, eax
mov dword [esp + 0x2c], 0x1010101
push 0x104
push 0xff
lea edi, [esp + 0x524]
push edi
call fcn.01cb76e0
add esp, 0xc
mov dword [esp + 0x28], 0
push 0
lea eax, [esp + 0x2c]
push eax
push 0x104
push edi
push 4
lea eax, [esp + 0x40]
push eax
push 0x170002
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1c7ddba
cmp dword [esp + 0x28], 0
je 0x1c7ddba
movzx eax, byte [esp + 0x521]
mov dword [esp + 0xc], eax
movzx ecx, byte [esp + 0x520]
movzx edx, byte [esp + 0x51f]
movzx edi, byte [esp + 0x51e]
movzx eax, byte [esp + 0x51d]
mov dword [esp + 0x10], eax
movzx eax, byte [esp + 0x51c]
push dword [esp + 0xc]
push ecx
push edx
push edi
push dword [esp + 0x20]
push eax
push str._02X_02X_02X_02X_02X_02X
push 0x64
lea eax, [esp + 0x50]
push eax
call fcn.01c7e350
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x4b0], 0
mov esi, dword [ebp + 8]
je 0x1c7dff6
lea eax, [esp + 0x4b0]
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jns 0x1c7ddc4
xor eax, eax
nop dword [eax + eax]
movzx ecx, byte [esp + eax + 0x30]
test cl, cl
je 0x1c7e065
mov byte [esp + eax + 0x4b0], cl
movzx ecx, byte [esp + eax + 0x31]
test cl, cl
je 0x1c7e075
mov byte [esp + eax + 0x4b1], cl
movzx ecx, byte [esp + eax + 0x32]
test cl, cl
je 0x1c7e085
mov byte [esp + eax + 0x4b2], cl
movzx ecx, byte [esp + eax + 0x33]
test cl, cl
je 0x1c7e095
mov byte [esp + eax + 0x4b3], cl
movzx ecx, byte [esp + eax + 0x34]
test cl, cl
je 0x1c7e0a5
mov byte [esp + eax + 0x4b4], cl
add eax, 5
cmp eax, 0x64
jne 0x1c7e000
lea ecx, [esp + 0x4af]
add eax, ecx
mov ecx, eax
jmp 0x1c7e0b9
lea ecx, [esp + eax]
add ecx, 0x4b0
mov edx, 0x64
jmp 0x1c7e0b3
lea ecx, [esp + eax]
add ecx, 0x4b1
mov edx, 0x63
jmp 0x1c7e0b3
lea ecx, [esp + eax]
add ecx, 0x4b2
mov edx, 0x62
jmp 0x1c7e0b3
lea ecx, [esp + eax]
add ecx, 0x4b3
mov edx, 0x61
jmp 0x1c7e0b3
lea ecx, [esp + eax]
add ecx, 0x4b4
mov edx, 0x60
sub edx, eax
test edx, edx
je 0x1c7e0c1
mov byte [ecx], 0
jmp 0x1c7ddc4
add ecx, 0xffffffff
mov byte [ecx], 0
jmp 0x1c7ddc4
mov byte [esi], 0
jmp 0x1c7dcdf
mov edi, 1
test edi, edi
setne bl
lea ecx, [esi + eax + 0x7ffffffd]
lea eax, [esi + eax + 0x7ffffffe]
cmove eax, ecx
mov byte [eax], 0
jmp 0x1c7dce1