Function at 0x100087e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057dd0
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x100754f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0x70]
push eax
call fcn.10008650
add esp, 4
mov esi, eax
push 0x1005b528
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.10003680
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 1
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftCryptography
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xe4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10008935
mov edi, dword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0xe0]
push eax
push 0
push 0
push 2
push str.MachineGuid
push 0
push dword [ebp - 0xe4]
call edi
test eax, eax
jne 0x10008929
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
ja 0x100088c3
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x100088d0
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.10008c50
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0xe0]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 2
push str.MachineGuid
push 0
push dword [ebp - 0xe4]
call edi
test eax, eax
jne 0x10008929
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x18]
dec ecx
cmp ecx, eax
ja 0x1000891c
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x10008929
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.10008c50
push dword [ebp - 0xe4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [ebp - 0x28]
mov byte [ebp - 0x28], 0
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [ebp - 0x18]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x30], xmm0
mov edi, dword [ebp - 0x2c]
mov eax, edi
mov ecx, dword [ebp - 0x30]
sub eax, ecx
mov edx, dword [esi + 0x10]
mov byte [ebp - 4], 2
cmp edx, eax
jbe 0x1000898e
mov eax, dword [esi + 0x14]
sub eax, edx
cmp eax, ecx
jb 0x1000898e
cmp edi, 0x10
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
mov ecx, esi
push eax
push 0
call fcn.10008db0
jmp 0x10008997
push esi
lea ecx, [ebp - 0x40]
call fcn.10006ac0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x100089ff
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100089f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008ac9
push edx
push ecx
call fcn.10033b8a
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x10008a49
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10008a3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008ace
push edx
push ecx
call fcn.10033b8a
add esp, 8
lea eax, [ebp - 0x58]
mov dword [ebp - 0x60], 0
push eax
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.10009430
mov esi, dword [ebp - 0xe8]
lea ecx, [ebp - 0xdc]
push esi
call fcn.1000a570
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x10008aac
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10008aa2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008ad3
push edx
push ecx
call fcn.10033b8a
add esp, 8
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.10033ba6
mov esp, ebp
pop ebp
ret
call fcn.100392dc
call fcn.100392dc
call fcn.100392dc
int3