Function at 0x47ebf8
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, 0x7c0
mov eax, dword [0x4f6014]
xor eax, ebp
mov dword [esp + 0x7b8], eax
lea ecx, [esp + 0x44]
mov dword [ecx], 0xffffffff
xor edi, edi
lea eax, [esp + 0x40]
mov dword [eax], edi
sub esp, 0x24
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
movaps xmm0, xmmword [0x4eb850]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards_
mov dword [esp], 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [esp + 4], 0
test eax, eax
je 0x47ec91
mov eax, dword [esp + 0x40]
test eax, eax
je 0x47ec72
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 4]
and bl, 1
mov ecx, dword [esp + 0x7b8]
xor ecx, ebp
call fcn.004a8de3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, 0x208
lea eax, [esp + 0x5b0]
push ebx
push edi
push eax
call fcn.004ab560
add esp, 0xc
lea eax, [esp + 0x3a8]
push ebx
push edi
push eax
call fcn.004ab560
add esp, 0xc
lea eax, [esp + 0x2e0]
push 0xc8
push edi
push eax
call fcn.004ab560
add esp, 0xc
lea eax, [esp + 0xd8]
push ebx
push edi
push eax
call fcn.004ab560
add esp, 0xc
xorps xmm0, xmm0
lea eax, [esp + 0x50]
movaps xmmword [eax + 0x70], xmm0
movaps xmmword [eax + 0x60], xmm0
movaps xmmword [eax + 0x50], xmm0
movaps xmmword [eax + 0x40], xmm0
movaps xmmword [eax + 0x30], xmm0
movaps xmmword [eax + 0x20], xmm0
movaps xmmword [eax + 0x10], xmm0
movaps xmmword [eax], xmm0
lea eax, [esp + 0x38]
mov dword [eax + 4], edi
mov dword [eax], edi
lea eax, [esp + 0x34]
mov dword [eax], edi
lea eax, [esp + 0x30]
mov dword [eax], edi
lea eax, [esp + 0x2c]
mov dword [eax], 0x104
lea eax, [esp + 0x28]
mov dword [eax], edi
lea eax, [esp + 0x24]
mov dword [eax], edi
lea eax, [esp + 0x48]
mov dword [eax], edi
mov word [eax + 4], 0
mov dword [esp + 4], 0
xor ecx, ecx
lea eax, [esp + 0x38]
push eax
push edi
push edi
push edi
lea eax, [esp + 0x3c]
push eax
lea ebx, [esp + 0x5c4]
push ebx
mov dword [esp + 0x20], ecx
push ecx
push dword [esp + 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x47ec63
xor eax, eax
mov edi, 0x208
push edi
push eax
lea esi, [esp + 0x3b0]
push esi
call fcn.004ab560
add esp, 0xc
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards_
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
xor edi, edi
push edi
push ebx
call fcn.004ab560
add esp, 0xc
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], 0x104
mov dword [esp + 0x34], edi
sub esp, 0x24
lea eax, [esp + 0x68]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
movaps xmm0, xmmword [0x4eb850]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], esi
mov dword [esp], 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x47ec63
mov esi, dword [esp + 0x34]
test esi, esi
je 0x47eee7
push 0xc8
push edi
lea ebx, [esp + 0x2e8]
push ebx
call fcn.004ab560
add esp, 0xc
mov dword [esp + 0x30], 0x64
lea eax, [esp + 0x30]
push eax
push ebx
push edi
push edi
push str.ServiceName
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x47eee9
mov dword [esp + 0xc], esi
push 0x208
push edi
lea esi, [esp + 0xe0]
push esi
call fcn.004ab560
add esp, 0xc
push 0x4eb90e
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
call esi
push ebx
lea eax, [esp + 0xdc]
push eax
call esi
mov dword [esp + 0x20], 0xffffffff
sub esp, 0x1c
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
movaps xmm0, xmmword [0x4eb860]
movups xmmword [esp + 4], xmm0
lea eax, [esp + 0xf4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x20]
push eax
call fcn.0047bb30
mov eax, dword [esp + 0x20]
lea ecx, [eax + 1]
cmp ecx, 2
jae 0x47eefb
lea ecx, [esp + 0x20]
call fcn.0046f8f0
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0xc]
jmp 0x47eeed
xor esi, esi
mov ecx, dword [esp + 8]
inc ecx
test esi, esi
je 0x47ed49
jmp 0x47ec63
mov dword [esp + 0x24], 0x1010101
mov dword [esp + 0x28], edi
push edi
lea ecx, [esp + 0x2c]
push ecx
push 6
lea ecx, [esp + 0x54]
push ecx
push 4
lea ecx, [esp + 0x38]
push ecx
push 0x170002
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x47eed4
cmp dword [esp + 0x28], 0
je 0x47eed4
mov dword [esp + 0x24], 0x10202
mov dword [esp + 0x1c], edi
push edi
lea eax, [esp + 0x2c]
push eax
mov eax, 4
push eax
lea ecx, [esp + 0x28]
push ecx
push eax
lea eax, [esp + 0x38]
push eax
push 0x170002
push dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
movzx esi, byte [esp + 0x4d]
movzx ecx, byte [esp + 0x4c]
movzx edx, byte [esp + 0x4b]
movzx ebx, byte [esp + 0x4a]
movzx eax, byte [esp + 0x49]
mov dword [esp + 4], eax
movzx eax, byte [esp + 0x48]
push esi
lea esi, [esp + 0x54]
push ecx
push edx
push ebx
push dword [esp + 0x14]
push eax
push str._02X__02X__02X__02X__02X__02X
push 0xffffffffffffffff
push 0x40
push esi
call fcn.004145a7
add esp, 0x28
cmp dword [esp + 0x1c], 9
jne 0x47efc3
lea ebx, [esp + 0x10]
mov ecx, ebx
push esi
call fcn.00413982
mov ecx, dword [ebp + 8]
push ebx
call fcn.0045c3e0
jmp 0x47efd8
lea ebx, [esp + 0x10]
mov ecx, ebx
push esi
call fcn.00413982
mov ecx, dword [ebp + 8]
push ebx
call fcn.0047f218
cmp byte [esp + 0x1b], 0
jns 0x47efeb
push dword [esp + 0x10]
call fcn.004a7ee0
add esp, 4
mov al, 1
mov dword [esp + 4], eax
jmp 0x47eed4