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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10096d2b
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x100b4208]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp + 8]
call fcn.10025540
lea eax, [ebp - 0x10]
push eax
push 9
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10024ae7
mov byte [ebp - 0x11], 0
jmp 0x10024df8
mov dword [ebp - 0x3c], 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x10024b1d
mov byte [ebp - 0x11], 0
jmp 0x10024df8
push 0x100b604c
mov eax, dword [ebp - 0x3c]
add eax, 1
push eax
call fcn.1007455a
add esp, 8
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 0
jne 0x10024b49
mov byte [ebp - 0x11], 0
jmp 0x10024df8
mov edx, dword [ebp - 0x3c]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0x38]
push eax
call fcn.10075220
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.100255a0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov ecx, 1
test ecx, ecx
je 0x10024be8
mov edx, dword [ebp - 0x3c]
add edx, 1
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x103
jne 0x10024ba4
jmp 0x10024be8
cmp dword [ebp - 0x40], 0
je 0x10024bb5
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x10024b74
mov ecx, dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x70]
call fcn.1000bae0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x34]
call fcn.100256a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.1000bb60
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x10024b74
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
push edx
call fcn.10074340
add esp, 4
lea ecx, [ebp - 0x34]
call fcn.10025650
movzx eax, al
test eax, eax
je 0x10024c21
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10025610
jmp 0x10024df8
mov dword [ebp - 0x44], 0
jmp 0x10024c33
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x34]
call fcn.10025630
cmp dword [ebp - 0x44], eax
jae 0x10024dce
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x34]
call fcn.10025670
mov ecx, eax
call fcn.1000bc30
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x10024c7d
jmp 0x10024d99
lea edx, [ebp - 0x50]
push edx
push 0
push 0
push 0
push 0x100a8d54
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10024c9f
jmp 0x10024d99
push 0x100b604c
mov ecx, dword [ebp - 0x50]
add ecx, 1
push ecx
call fcn.1007455a
add esp, 8
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x4c], edx
cmp dword [ebp - 0x4c], 0
je 0x10024ce1
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
push 0
push 0
push str.Description
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10024ce6
jmp 0x10024d99
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0
push 0x100a8d6c
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10024d08
jmp 0x10024d99
push 0x100b604c
mov edx, dword [ebp - 0x50]
add edx, 1
push edx
call fcn.1007455a
add esp, 8
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x10024d4a
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x48]
push edx
push 0
push 0
push str.ServiceName
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10024d4c
jmp 0x10024d99
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
lea eax, [ebp - 0xbc]
push eax
call fcn.10026d20
add esp, 0xc
push eax
lea ecx, [ebp - 0xb4]
call fcn.10026d40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb4]
push ecx
mov ecx, dword [ebp + 8]
call fcn.100254c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb4]
call fcn.10024e40
xor edx, edx
jne 0x10024c52
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
push ecx
call fcn.10074340
add esp, 4
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0xc4]
push eax
call fcn.10074340
add esp, 4
jmp 0x10024c2a
mov ecx, dword [ebp + 8]
call fcn.10025470
movzx ecx, al
test ecx, ecx
je 0x10024de1
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10025610
xor edx, edx
jne 0x10024aba
cmp dword [ebp - 0x18], 0
je 0x10024e0f
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x10], 0
je 0x10024e26
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret