Function at 0x4f5800
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5473f7
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x5b1fe4]
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 - 0x29c], eax
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], 0
lea eax, [ebp - 0x278]
mov dword [ebp - 4], 0
push eax
call fcn.004f5590
add esp, 4
mov dword [ebp - 0x294], 0
lea eax, [ebp - 0x294]
push eax
push 0x101
push 0
push str.SOFTWAREMicrosoftSQMClient
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4f58d7
push 0
push 0x54a532
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.004e7660
jmp 0x4f5996
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.005205c0
add esp, 0xc
mov dword [ebp - 0x2a0], 0x104
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push 0
push str.MachineId
push dword [ebp - 0x294]
call esi
push dword [ebp - 0x294]
mov esi, eax
call edi
test esi, esi
je 0x4f5950
push dword [ebp - 0x294]
call edi
push 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
push 0x54a532
jmp 0x4f5985
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x230], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f5974
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.004e7660
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x298]
mov byte [ebp - 4], 1
push eax
push 0x101
push 0
push str.SOFTWAREMicrosoftCryptography
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x298], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4f59ed
push 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
push 0x54a532
jmp 0x4f5aa1
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005205c0
add esp, 0xc
mov dword [ebp - 0x29c], 0x104
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push str.MachineGuid
push dword [ebp - 0x298]
call esi
push dword [ebp - 0x298]
mov esi, eax
call edi
test esi, esi
je 0x4f5a66
push dword [ebp - 0x298]
call edi
push 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
push 0x54a532
jmp 0x4f5aa1
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x248], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f5a90
sub ecx, edx
lea eax, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.004e7660
cmp dword [ebp - 0x264], 0x10
lea eax, [ebp - 0x278]
push dword [ebp - 0x268]
cmovae eax, dword [ebp - 0x278]
lea ecx, [ebp - 0x248]
push eax
push 0
mov byte [ebp - 4], 2
call fcn.004f5d80
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x260], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x250], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edi, dword [ebp - 0x24c]
mov eax, edi
mov ecx, dword [ebp - 0x250]
sub eax, ecx
mov edx, dword [ebp - 0x220]
mov esi, dword [ebp - 0x21c]
mov byte [ebp - 4], 3
cmp edx, eax
jbe 0x4f5b61
mov eax, esi
sub eax, edx
cmp eax, ecx
jb 0x4f5b61
cmp edi, 0x10
lea eax, [ebp - 0x260]
push ecx
cmovae eax, dword [ebp - 0x260]
lea ecx, [ebp - 0x230]
push eax
push 0
call fcn.004f5d80
jmp 0x4f5b7e
cmp esi, 0x10
lea eax, [ebp - 0x230]
push edx
cmovae eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x260]
push eax
call fcn.004e71d0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x290], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
movq qword [ebp - 0x280], xmm0
mov edx, dword [ebp - 0x24c]
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x4f5be4
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f5bda
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f5d5a
push edx
push ecx
call fcn.00508041
add esp, 8
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x4f5c3d
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f5c33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f5d5f
push edx
push ecx
call fcn.00508041
add esp, 8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x4f5c96
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f5c8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f5d64
push edx
push ecx
call fcn.00508041
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x220], 0
lea eax, [ebp - 0x290]
mov dword [ebp - 0x21c], 0xf
mov ecx, esp
mov byte [ebp - 0x230], 0
push eax
call fcn.004e6a70
mov esi, dword [ebp - 0x2a4]
push esi
call fcn.004fc600
mov edx, dword [ebp - 0x27c]
add esp, 0x1c
cmp edx, 0x10
jb 0x4f5d07
mov ecx, dword [ebp - 0x290]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f5cfd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f5d69
push edx
push ecx
call fcn.00508041
add esp, 8
mov edx, dword [ebp - 0x264]
cmp edx, 0x10
jb 0x4f5d3d
mov ecx, dword [ebp - 0x278]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f5d33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f5d6e
push edx
push ecx
call fcn.00508041
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.0050804f
mov esp, ebp
pop ebp
ret
call fcn.00523c69
call fcn.00523c69
call fcn.00523c69
call fcn.00523c69
call fcn.00523c69
int3