Function at 0x421600
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fde5d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6a3000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x20], edi
lea ecx, [ebp - 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
push 0xff
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0041f940
mov esi, dword [ebp - 0x1c]
push 0xff
push 0
push esi
call fcn.005d0030
add esp, 0xc
mov dword [ebp - 0x2c], 0
lea eax, [esi + 0xff]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], eax
call fcn.0041f820
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftCryptography
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x421718
xorps xmm0, xmm0
mov ecx, edi
push 0
movups xmmword [edi], xmm0
push 0x66b44d
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.004134c0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x421796
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x421714
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421845
push edx
push ecx
jmp 0x42178e
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
push 0
push str.MachineGuid
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x28]
test eax, eax
je 0x4217b3
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
mov ecx, edi
push 0
movups xmmword [edi], xmm0
push 0x66b44d
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.004134c0
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x421796
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x42178c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421845
push ecx
push edx
call fcn.005cacdd
add esp, 8
mov eax, edi
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.005ca888
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
jbe 0x4217ce
lea ecx, [eax - 1]
mov dword [ebp - 0x24], ecx
mov byte [edx + ecx], 0
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
inc ecx
mov edx, dword [ebp - 0x1c]
sub eax, edx
cmp ecx, eax
jae 0x4217e8
lea eax, [ecx + edx]
mov dword [ebp - 0x18], eax
mov ecx, edx
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421801
sub ecx, esi
push ecx
push edx
mov ecx, edi
call fcn.004134c0
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x421796
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x42178c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42178c
call fcn.005dd52a
int3