Function at 0x576db0
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 eax, dword [0x5f3418]
xor eax, ebp
mov dword [esp + 0x828], eax
xor ebx, ebx
test ecx, ecx
je 0x576e31
mov esi, ecx
lea eax, [esp + 0x24]
mov dword [eax], 0xffffffff
mov dword [esp + 0x510], ebx
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
push eax
push 8
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x576e49
mov ecx, dword [esp + 0x828]
xor ecx, ebp
call fcn.00512ee3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ebx, [esp + 0x2a8]
push 0x208
push 0xff
push ebx
call fcn.005191b0
add esp, 0xc
lea ecx, [esp + 0x20]
mov dword [ecx], 0x104
mov eax, dword [esp + 0x24]
sub esp, 0x20
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x576ee0
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x4b0], 0
je 0x577131
mov eax, 0x64
lea ecx, [esp + 0x4b0]
mov dl, byte [ecx]
test dl, dl
je 0x576ecc
mov byte [esi], dl
inc esi
inc ecx
dec eax
jne 0x576ebd
xor eax, eax
xor ecx, ecx
test eax, eax
setne bl
sete cl
sub esi, ecx
mov byte [esi], 0
jmp 0x576e31
xor edi, edi
mov dword [esp + 0x1c], 0xffffffff
lea eax, [esp + 0x1c]
push eax
push 1
push 0
push ebx
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x576f3c
inc edi
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], ebx
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x576ee2
jmp 0x576e99
mov ebx, 0x208
push ebx
push 0xff
lea eax, [esp + 0xa8]
push eax
call fcn.005191b0
add esp, 0xc
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xa4]
push eax
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
je 0x576fbf
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ebx, [esp + 0x2a8]
jmp 0x576f02
mov dl, byte [esp + ecx + 0x30]
test dl, dl
je 0x577166
mov byte [esp + ecx + 0x4b0], dl
inc ecx
dec eax
cmp ecx, 0x64
jne 0x576fa0
jmp 0x57715f
xor eax, eax
mov dword [esp + 0x90], eax
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 eax, 0x208
push eax
push 0xff
lea ebx, [esp + 0x628]
push ebx
call fcn.005191b0
add esp, 0xc
lea eax, [esp + 0xa0]
push eax
push str.._s
mov eax, 0x208
push eax
push ebx
call fcn.00576700
sub esp, 0xc
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
movaps xmm0, xmmword [0x5df510]
movups xmmword [esp + 4], xmm0
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x576f8a
mov ebx, eax
mov dword [esp + 0x2c], 0x1010101
mov eax, 0x104
push eax
push 0xff
lea eax, [esp + 0x524]
push eax
call fcn.005191b0
add esp, 0xc
xor eax, eax
mov dword [esp + 0x28], eax
push eax
lea eax, [esp + 0x2c]
push eax
mov eax, 0x104
push eax
lea eax, [esp + 0x528]
push eax
push 4
lea eax, [esp + 0x40]
push eax
push 0x170002
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x577125
cmp dword [esp + 0x28], 0
je 0x577125
movzx eax, byte [esp + 0x521]
mov dword [esp + 0xc], eax
movzx ecx, byte [esp + 0x520]
movzx edx, byte [esp + 0x51f]
movzx eax, byte [esp + 0x51e]
mov dword [esp + 0x10], eax
movzx eax, byte [esp + 0x51d]
mov dword [esp + 4], eax
movzx eax, byte [esp + 0x51c]
mov dword [esp + 8], eax
push dword [esp + 0xc]
push ecx
push edx
push dword [esp + 0x1c]
push dword [esp + 0x14]
push dword [esp + 0x1c]
push str._02X_02X_02X_02X_02X_02X
push 0x64
lea eax, [esp + 0x50]
push eax
call fcn.00421030
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x4b0], 0
jne 0x577138
jmp 0x577153
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x576f8a
xor ebx, ebx
jmp 0x576e31
lea eax, [esp + 0x4b0]
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jns 0x576f8a
mov eax, 0x64
xor ecx, ecx
jmp 0x576fa0
mov ecx, 0x64
xor eax, eax
add ecx, esp
add ecx, 0x4b0
cmp eax, 1
sbb ecx, 0
mov byte [ecx], 0
jmp 0x576f8a