Function at 0x459370
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1409
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x51a074]
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 - 0x1bc], edi
mov dword [ebp - 0x1b0], edi
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x1b0], edi
call fcn.00452e50
push ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push str.__d_._d_._d_._d__
movups xmmword [ebp - 0x24], xmm0
call fcn.004569c0
push 0x38
lea eax, [ebp - 0x8c]
push 0
push eax
call fcn.00481150
xorps xmm0, xmm0
mov dword [ebp - 0x8c], 0
add esp, 0xc
mov byte [ebp - 0x88], 0
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 0x10
cmovae ecx, dword [ebp - 0xbc]
mov edx, ecx
lea esi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x459460
push ecx
push ecx
lea eax, [ebp - 0x24]
sub edx, esi
push eax
lea eax, [ebp - 0x8c]
add edx, ecx
push eax
call fcn.00456ec0
add esp, 0x10
test al, al
je 0x459a1c
push str.Platform.xml
lea ecx, [ebp - 0x54]
call fcn.00457080
mov byte [ebp - 4], 3
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x80]
mov esi, dword [ebp - 0x84]
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
lea eax, [ebp - 0x60]
jbe 0x4594bf
lea eax, [esi + 0xc]
cmp byte [eax + 8], 0
je 0x4594d4
mov edx, dword [eax]
mov ecx, edx
mov eax, dword [eax + 4]
mov dword [ebp - 0x1b0], eax
jmp 0x4594da
xor edx, edx
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
cmp ecx, eax
je 0x4594fc
sub eax, ecx
lea ecx, [ebp - 0x3c]
push eax
push edx
call fcn.00465e10
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x208]
call fcn.0045ebb0
push str.PlatformsUAP
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 5
call fcn.00457080
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 6
call fcn.004572b0
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x238]
call fcn.0045be90
lea ecx, [ebp - 0x208]
mov byte [ebp - 4], 8
push ecx
mov edx, eax
lea ecx, [ebp - 0x220]
call fcn.0045be90
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0xa4]
call fcn.0045be90
add esp, 0xc
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x20c]
cmp edx, 8
jb 0x4595be
mov ecx, dword [ebp - 0x220]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4595b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459d79
push edx
push ecx
call fcn.004697c4
add esp, 8
xor eax, eax
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x20c], 7
mov word [ebp - 0x220], ax
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x45961f
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x459615
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459d79
push edx
push ecx
call fcn.004697c4
add esp, 8
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x1c4]
cmp edx, 8
jb 0x459680
mov ecx, dword [ebp - 0x1d8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x459676
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459d79
push edx
push ecx
call fcn.004697c4
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 7
mov word [ebp - 0x1d8], ax
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x1dc]
cmp edx, 8
jb 0x4596e1
mov ecx, dword [ebp - 0x1f0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4596d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459d79
push edx
push ecx
call fcn.004697c4
add esp, 8
xor eax, eax
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1dc], 7
mov word [ebp - 0x1f0], ax
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x1f4]
cmp edx, 8
jb 0x459742
mov ecx, dword [ebp - 0x208]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x459738
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459d79
push edx
push ecx
call fcn.004697c4
add esp, 8
xor eax, eax
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1f4], 7
mov word [ebp - 0x208], ax
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x459797
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45978d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459d79
push edx
push ecx
call fcn.004697c4
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x40]
cmp edx, 8
jb 0x4597e7
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4597dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459d79
push edx
push ecx
call fcn.004697c4
add esp, 8
xor eax, eax
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
call fcn.0045c3a0
test al, al
je 0x4599d8
mov ecx, dword [ebp - 0x80]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x84]
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
lea eax, [ebp - 0x60]
jbe 0x459834
lea eax, [esi + 0xc]
cmp byte [eax + 8], 0
je 0x459843
mov edx, dword [eax]
mov ecx, edx
mov eax, dword [eax + 4]
jmp 0x459849
xor edx, edx
xor eax, eax
xor ecx, ecx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
cmp ecx, eax
je 0x45986f
sub eax, ecx
mov ecx, edi
push eax
push edx
call fcn.00465e10
mov esi, dword [ebp - 0x84]
mov edx, dword [ebp - 0x90]
cmp edx, 8
jb 0x4598b5
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4598a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459d7e
push edx
push ecx
call fcn.004697c4
mov esi, dword [ebp - 0x84]
add esp, 8
xor eax, eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
test esi, esi
je 0x459931
mov ecx, dword [ebp - 0x7c]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x45990f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459d7e
push ecx
push esi
call fcn.004697c4
add esp, 8
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x459960
or eax, 0xffffffff
lock xadd dword [ecx + 0x20], eax
jne 0x459960
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x459960
mov ecx, esi
lea eax, [esi + 0xc]
mov esi, dword [eax]
mov dword [eax], 0
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x459949
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], 0
test ecx, ecx
je 0x459981
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, eax
test ecx, ecx
je 0x459981
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [ebp - 0xa8]
cmp edx, 0x10
jb 0x4599bb
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4599b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459d7e
push edx
push ecx
call fcn.004697c4
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.004697b3
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x90]
cmp edx, 8
jb 0x459a1c
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x459a12
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459d7e
push edx
push ecx
call fcn.004697c4
add esp, 8
lea ecx, [ebp - 0x1b8]
call fcn.004573f0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
push 0x64
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 0x13
mov esi, dword [ebp - 0x1b8]
push eax
push 0
push esi
mov dword [ebp - 0x1ac], 1
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x459d5a
nop
lea ecx, [ebp - 0x120]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x459a80
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x120]
sub ecx, edx
add eax, ecx
mov dword [ebp - 0x1b0], eax
test edi, edi
je 0x459c0a
push 0x80
lea eax, [ebp - 0x1a0]
push 0
push eax
call fcn.00481150
add esp, 8
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x1a0]
push dword [edi + 0x14]
push dword [edi + 0x1c]
push edi
push eax
push dword [ebp - 0x1b0]
lea eax, [ebp - 0x120]
push eax
call fcn.004575c0
push 1
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x1a0]
call fcn.004591c0
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x160]
mov byte [ebp - 0x1a5], al
test ecx, ecx
je 0x459b5f
mov eax, dword [ebp - 0x158]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
mov eax, ecx
cmp edx, 0x1000
jb 0x459b37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459d79
push edx
push ecx
call fcn.004697c4
add esp, 8
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0
lea ecx, [ebp - 0x180]
call fcn.00451e60
lea ecx, [ebp - 0x1a0]
call fcn.00451e60
cmp byte [ebp - 0x1a5], 0
je 0x459c0a
lea eax, [ebp - 0x120]
xor edi, edi
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x1a4]
push 0xa
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.00484ee6
add esp, 0xc
cmp eax, dword [ebp - 0x34]
jb 0x459c0a
lea ecx, [ebp - 0x34]
mov dword [ecx], eax
cmp edi, 3
je 0x459be8
mov eax, dword [ebp - 0x1a4]
test eax, eax
je 0x459c0a
push 0xa
lea ecx, [ebp - 0x1a4]
inc eax
push ecx
push eax
mov dword [ebp - 0x1a4], eax
inc edi
call fcn.00484ee6
lea ecx, [ebp - 0x34]
add esp, 0xc
cmp eax, dword [ecx + edi*4]
lea ecx, [ecx + edi*4]
jae 0x459bb0
jmp 0x459c0a
lea ecx, [ebp - 0x120]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x459bf1
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.00465e10
mov edi, dword [ebp - 0x1ac]
lea ecx, [ebp - 0x120]
push 0x64
mov eax, edi
inc edi
push ecx
push eax
push esi
mov dword [ebp - 0x1ac], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x459a70
cmp dword [ebp - 0x44], 0
je 0x459d5a
mov edi, dword [ebp - 0x1bc]
movups xmm0, xmmword [ebp - 0x54]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x44]
movq qword [edi + 0x10], xmm0
test esi, esi
je 0x459c6c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x84]
test esi, esi
je 0x459cd1
mov ecx, dword [ebp - 0x7c]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x459caf
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459d83
push ecx
push esi
call fcn.004697c4
add esp, 8
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x459d00
or eax, 0xffffffff
lock xadd dword [ecx + 0x20], eax
jne 0x459d00
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x459d00
mov ecx, esi
lea eax, [esi + 0xc]
mov esi, dword [eax]
mov dword [eax], 0
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x459ce9
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], 0
test ecx, ecx
je 0x459d21
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, eax
test ecx, ecx
je 0x459d21
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [ebp - 0xa8]
cmp edx, 0x10
jb 0x4599bb
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4599b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459d83
jmp 0x4599b1
push str.Could_not_find_the_Windows_SDK
lea ecx, [ebp - 0x1d8]
call fcn.00465f50
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 0x15
call fcn.00465de0
call fcn.0048409c
call fcn.0048409c
call fcn.0048409c
int3