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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008ab77
mov eax, dword fs:[0]
push eax
sub esp, 0xa48
mov eax, dword [0x100a70c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xa24], esi
mov dword [ebp - 0xa14], esi
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str.__._6A8DCD5A_CB21_4FFB_BA2D_622381D69E3C
mov dword [ebp - 0xa14], esi
mov dword [ebp - 0xa1c], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0xa34], edi
cmp edi, 0xffffffff
jne 0x10024d4d
mov dword [ebp - 0xa48], 0
mov dword [ebp - 0xa44], 0
mov dword [ebp - 0xa40], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x9c0]
push 0x39
xorps xmm0, xmm0
mov dword [ebp - 0x9b0], 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
movups xmmword [ebp - 0x9c0], xmm0
mov dword [ebp - 0x9ac], 0
call fcn.10003c00
xorps xmm0, xmm0
mov dword [ebp - 0x998], 0
xor eax, eax
mov dword [ebp - 0x994], 7
movups xmmword [ebp - 0x9a8], xmm0
mov word [ebp - 0x9a8], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa10]
cmp dword [ebp - 0x9ac], 7
lea eax, [ebp - 0x9c0]
push ecx
cmova eax, dword [ebp - 0x9c0]
push 0x2001f
push 0
push eax
push closesocket
mov dword [ebp - 0xa10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10024c85
mov eax, dword [ebp - 0xa10]
xor esi, esi
mov dword [ebp - 0xa48], eax
mov dword [ebp - 0xa44], 0
nop
push 0x800
lea eax, [ebp - 0x990]
push 0
push eax
call fcn.10065910
add esp, 0xc
mov dword [ebp - 0xa18], 0x400
lea eax, [ebp - 0xa54]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0xa18]
push eax
lea eax, [ebp - 0x990]
push eax
push esi
push dword [ebp - 0xa10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10024b7b
inc esi
mov dword [ebp - 0xa20], esi
xor esi, esi
mov dword [ebp - 0xa30], esi
mov dword [ebp - 0xa2c], esi
mov dword [ebp - 0xa28], esi
mov byte [ebp - 4], 3
mov eax, 0x7ffffffe
mov ecx, dword [ebp - 0x9b0]
sub eax, ecx
cmp eax, 1
jb 0x10024e51
cmp dword [ebp - 0x9ac], 7
lea eax, [ebp - 0x9c0]
push 1
cmova eax, dword [ebp - 0x9c0]
push 0x10098918
push ecx
push eax
push ecx
push dword [ebp - 0xa14]
lea ecx, [ebp - 0xa08]
call fcn.10026740
mov edi, dword [ebp - 0xa1c]
or edi, 2
lea ecx, [ebp - 0x990]
mov byte [ebp - 4], 4
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024790
sub ecx, edx
lea eax, [ebp - 0x990]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa08]
call fcn.1001d220
mov dword [ebp - 0x9c8], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x9d8], xmm0
mov dword [ebp - 0x9c4], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
mov dword [ebp - 0xa0c], ecx
or edi, 4
mov dword [ebp - 0xa1c], edi
movups xmmword [ebp - 0x9d8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x9c8], xmm0
mov word [eax], cx
lea ecx, [ebp - 0xa0c]
push ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x9d8]
cmp dword [ebp - 0x9c4], 7
push 0x2001f
cmova eax, dword [ebp - 0x9d8]
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002484d
mov esi, dword [ebp - 0xa0c]
mov dword [ebp - 0xa30], esi
mov dword [ebp - 0xa2c], eax
mov ecx, dword [ebp - 0x9c4]
xor edi, edi
test eax, eax
cmovne edi, eax
cmp ecx, 7
jbe 0x10024894
mov edx, dword [ebp - 0x9d8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002488a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024e56
push ecx
push edx
call fcn.10063674
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x9f4]
mov dword [ebp - 0x9c8], 0
mov dword [ebp - 0x9c4], 7
mov word [ebp - 0x9d8], ax
cmp ecx, 7
jbe 0x100248f5
mov edx, dword [ebp - 0xa08]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100248eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024e56
push ecx
push edx
call fcn.10063674
add esp, 8
test edi, edi
je 0x10024929
test esi, esi
je 0x1002490e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xa30], 0
mov edi, dword [ebp - 0xa34]
mov esi, dword [ebp - 0xa20]
mov dword [ebp - 0xa2c], 0
jmp 0x100246c0
push 0x800
lea eax, [ebp - 0x990]
push 0
push eax
call fcn.10065910
add esp, 0xc
mov dword [ebp - 0xa0c], 0x800
lea eax, [ebp - 0xa0c]
mov dword [ebp - 0xa18], 0
push eax
lea eax, [ebp - 0x990]
push eax
lea eax, [ebp - 0xa3c]
push eax
push 0
push str.ServiceName
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100249bb
mov eax, dword [ebp - 0xa3c]
cmp eax, 1
je 0x1002498a
cmp eax, 2
jne 0x100249bb
mov ecx, dword [ebp - 0xa0c]
test ecx, ecx
je 0x100249aa
test cl, 1
jne 0x100249bb
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0x992], 0
je 0x100249b3
jmp 0x100249bb
xor eax, eax
mov word [ebp - 0x990], ax
shr ecx, 1
mov dword [ebp - 0xa18], ecx
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x9e0], 0
push str.__._
lea ecx, [ebp - 0x9f0]
mov dword [ebp - 0x9dc], 0
movups xmmword [ebp - 0x9f0], xmm0
call fcn.10003c00
lea eax, [ebp - 0x990]
mov byte [ebp - 4], 5
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10024a00
sub eax, edx
lea ecx, [ebp - 0x9f0]
sar eax, 1
push eax
lea eax, [ebp - 0x990]
push eax
call fcn.1001d220
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x994]
movq qword [ebp - 0xa38], xmm1
movups xmmword [ebp - 0x9d0], xmm0
cmp ecx, 7
jbe 0x10024a9b
mov edx, dword [ebp - 0x9a8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10024a82
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024e56
push ecx
push edx
call fcn.10063674
movups xmm0, xmmword [ebp - 0x9d0]
add esp, 8
movq xmm1, qword [ebp - 0xa38]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x9dc]
movq qword [ebp - 0x998], xmm1
movups xmmword [ebp - 0x9a8], xmm0
cmp ecx, 7
jbe 0x10024aee
mov edx, dword [ebp - 0x9f0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10024ae4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024e56
push ecx
push edx
call fcn.10063674
add esp, 8
push 0
push 0
push 3
xor eax, eax
mov dword [ebp - 0x9e0], 0
cmp dword [ebp - 0x994], 7
push 0
mov word [ebp - 0x9f0], ax
lea eax, [ebp - 0x9a8]
cmova eax, dword [ebp - 0x9a8]
push 3
push closesocket
push eax
mov dword [ebp - 0x9dc], 7
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0xa34], edi
cmp edi, 0xffffffff
jne 0x10024b6c
test esi, esi
je 0x10024b57
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xa30], 0
mov esi, dword [ebp - 0xa20]
mov dword [ebp - 0xa2c], 0
jmp 0x100246c0
test esi, esi
je 0x10024b7b
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x10024b81
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x994]
cmp ecx, 7
jbe 0x10024bc5
mov edx, dword [ebp - 0x9a8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10024bbb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024e56
push ecx
push edx
call fcn.10063674
add esp, 8
xor eax, eax
mov dword [ebp - 0x998], 0
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x9ac]
mov dword [ebp - 0x994], 7
mov word [ebp - 0x9a8], ax
cmp ecx, 7
jbe 0x10024c25
mov edx, dword [ebp - 0x9c0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10024c1b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024e56
push ecx
push edx
call fcn.10063674
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0x9c0], ax
mov eax, dword [ebp - 0xa10]
mov dword [ebp - 0x9b0], 0
mov dword [ebp - 0x9ac], 7
test eax, eax
je 0x10024c56
push eax
call esi
mov esi, dword [ebp - 0xa24]
cmp edi, 0xffffffff
jne 0x10024d4d
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push 0x10097c70
jmp 0x10024e2d
xorps xmm0, xmm0
mov ecx, esi
push 0
movups xmmword [esi], xmm0
push 0x10097c70
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.10003c00
mov ecx, dword [ebp - 0x994]
cmp ecx, 7
jbe 0x10024ce7
mov edx, dword [ebp - 0x9a8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10024cdd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024e56
push ecx
push edx
call fcn.10063674
add esp, 8
mov ecx, dword [ebp - 0x9ac]
xor eax, eax
mov dword [ebp - 0x998], 0
mov dword [ebp - 0x994], 7
mov word [ebp - 0x9a8], ax
cmp ecx, 7
jbe 0x10024e34
mov edx, dword [ebp - 0x9c0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10024d3e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024e56
push ecx
push edx
call fcn.10063674
add esp, 8
jmp 0x10024e34
push 0x100
lea eax, [ebp - 0x190]
mov dword [ebp - 0xa14], 0x1010101
push 0
push eax
call fcn.10065910
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.10065910
add esp, 0x18
lea eax, [ebp - 0xa4c]
push 0
push eax
push 0x100
lea eax, [ebp - 0x190]
push eax
push 4
lea eax, [ebp - 0xa14]
push eax
push 0x170002
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x10024df2
movzx eax, byte [ebp - 0x18b]
push eax
movzx eax, byte [ebp - 0x18c]
push eax
movzx eax, byte [ebp - 0x18d]
push eax
movzx eax, byte [ebp - 0x18e]
push eax
movzx eax, byte [ebp - 0x18f]
push eax
movzx eax, byte [ebp - 0x190]
push eax
lea eax, [ebp - 0x90]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.100264b0
add esp, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
lea ecx, [ebp - 0x90]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edx, [ecx + 2]
mov dword [esi + 0x14], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024e16
sub ecx, edx
lea eax, [ebp - 0x90]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10003c00
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10063317
mov esp, ebp
pop ebp
ret
call fcn.10002b20
call fcn.1006dd1f
int3