Function at 0x10171a4
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x102171c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
push esi
push edi
lea esi, [ebp + 8]
lea edi, [ebp - 0xb4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x108], eax
movsd dword es:[edi], dword [esi]
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0xc4], ebx
lea edi, [ebp - 0xc0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
push 0x4c
mov word [ebp - 0xa4], ax
lea eax, [ebp - 0xa2]
push ebx
push eax
mov dword [ebp - 0x100], ebx
call sub.msvcrt.dll_memset
xor eax, eax
push 0x4c
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x52]
push ebx
push eax
call sub.msvcrt.dll_memset
xor eax, eax
mov dword [ebp - 0xe4], ebx
lea edi, [ebp - 0xe0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0xf4], ebx
lea edi, [ebp - 0xf0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x18
lea eax, [ebp - 0xe4]
push eax
mov dword [ebp - 0x104], 0x4e
call fcn.010170ec
cmp eax, ebx
mov dword [ebp - 0xfc], eax
jle 0x1017264
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
mov dword [ebp - 0xf8], eax
jl 0x1017287
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.01017166
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], ebx
jne 0x10172c1
cmp dword [ebp - 0xf8], ebx
jl 0x10172c1
push 4
pop ecx
lea edi, [ebp - 0xb4]
lea esi, [ebp - 0xf4]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x10172c1
lea esi, [ebp - 0xe4]
lea edi, [ebp - 0xc4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x1017428
lea eax, [ebp - 0x100]
push eax
push 0x20019
push ebx
push 0x10026f0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xfc], eax
cmp eax, ebx
jne 0x1017428
movzx eax, byte [ebp - 0xa5]
push eax
movzx eax, byte [ebp - 0xa6]
push eax
movzx eax, byte [ebp - 0xa7]
push eax
movzx eax, byte [ebp - 0xa8]
push eax
movzx eax, byte [ebp - 0xa9]
push eax
movzx eax, byte [ebp - 0xaa]
push eax
movzx eax, byte [ebp - 0xab]
push eax
movzx eax, byte [ebp - 0xac]
push eax
movzx eax, word [ebp - 0xae]
push eax
movzx eax, word [ebp - 0xb0]
push eax
push dword [ebp - 0xb4]
lea eax, [ebp - 0xa4]
push 0x1002690
push 0x27
push eax
call fcn.01008429
add esp, 0x38
cmp eax, ebx
mov dword [ebp - 0xf8], eax
jl 0x101738a
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push 2
lea eax, [ebp - 0xa4]
push eax
push ebx
push dword [ebp - 0x100]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [ebp - 0xfc], eax
push dword [ebp - 0x100]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xf8], ebx
jl 0x1017438
cmp dword [ebp - 0xfc], ebx
jne 0x10173c1
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.RPCRT4.dll_UuidFromStringW]
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], ebx
jl 0x1017438
cmp dword [ebp - 0xfc], ebx
jne 0x1017428
xor eax, eax
mov dword [ebp - 0xd4], ebx
lea edi, [ebp - 0xd0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.01017166
mov dword [ebp - 0xfc], eax
cmp eax, ebx
jne 0x1017428
push 4
pop ecx
lea edi, [ebp - 0xd4]
lea esi, [ebp - 0xb4]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x1017428
lea edi, [ebp - 0xc4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0xf8], 0x80004005
stosd dword es:[edi], eax
cmp dword [ebp - 0xf8], ebx
jl 0x1017438
cmp dword [ebp - 0xfc], ebx
je 0x1017448
lea esi, [ebp - 0xb4]
lea edi, [ebp - 0xc4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
mov dword [ebp - 0xd4], ebx
lea edi, [ebp - 0xd0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 4
pop ecx
lea edi, [ebp - 0xd4]
lea esi, [ebp - 0xc4]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x1017480
mov edi, dword [ebp - 0x108]
lea esi, [ebp - 0xc4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x1017485
mov eax, 0x80004005
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0101a14f
leave
ret 0x14