Function at 0x486790
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574799
mov eax, dword fs:[0]
push eax
sub esp, 0xd14
mov eax, dword [0x5edd38]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd10], ecx
xor eax, eax
mov dword [ebp - 0xc8c], 0
mov dword [ebp - 0xc88], 7
mov word [ebp - 0xc9c], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0xca4], eax
mov dword [ebp - 0xca0], 7
mov word [ebp - 0xcb4], ax
xorps xmm0, xmm0
mov dword [ebp - 0xc44], eax
movq qword [ebp - 0xc4c], xmm0
mov dword [ebp - 0xc4c], eax
mov dword [ebp - 0xc48], eax
mov dword [ebp - 0xc44], eax
lea eax, [ebp - 0xcc8]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xd0c]
mov dword [ebp - 0xcc8], 0x5868f8
mov dword [ebp - 0xcc4], 0x5868a8
call fcn.00485430
mov ecx, dword [ebp - 0xc48]
mov byte [ebp - 4], 3
cmp ecx, dword [ebp - 0xc44]
je 0x4868bb
mov dword [ecx + 0x10], 0
xor edx, edx
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], dx
mov dword [ecx + 0x28], edx
mov dword [ecx + 0x2c], edx
movups xmm0, xmmword [eax + 0x18]
movups xmmword [ecx + 0x18], xmm0
movq xmm0, qword [eax + 0x28]
movq qword [ecx + 0x28], xmm0
xor ecx, ecx
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], 7
mov word [eax + 0x18], cx
add dword [ebp - 0xc48], 0x30
jmp 0x4868c8
push eax
push ecx
lea ecx, [ebp - 0xc4c]
call fcn.004855e0
lea ecx, [ebp - 0xd0c]
mov byte [ebp - 4], 2
call fcn.0040f9d0
lea eax, [ebp - 0xcc8]
mov dword [ebp - 0xcc8], 0x586988
push eax
lea ecx, [ebp - 0xd0c]
mov dword [ebp - 0xcc4], str.AC76BA86_0000_0000_7761_7E8A45000000
call fcn.00485430
mov ecx, dword [ebp - 0xc48]
mov byte [ebp - 4], 4
cmp ecx, dword [ebp - 0xc44]
je 0x486971
mov dword [ecx + 0x10], 0
xor edx, edx
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], dx
mov dword [ecx + 0x28], edx
mov dword [ecx + 0x2c], edx
movups xmm0, xmmword [eax + 0x18]
movups xmmword [ecx + 0x18], xmm0
movq xmm0, qword [eax + 0x28]
movq qword [ecx + 0x28], xmm0
xor ecx, ecx
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], 7
mov word [eax + 0x18], cx
add dword [ebp - 0xc48], 0x30
jmp 0x48697e
push eax
push ecx
lea ecx, [ebp - 0xc4c]
call fcn.004855e0
lea ecx, [ebp - 0xd0c]
mov byte [ebp - 4], 2
call fcn.0040f9d0
lea eax, [ebp - 0xcc8]
mov dword [ebp - 0xcc8], 0x5869c4
push eax
lea ecx, [ebp - 0xd0c]
mov dword [ebp - 0xcc4], 0x586a00
call fcn.00485430
mov ecx, dword [ebp - 0xc48]
mov byte [ebp - 4], 5
cmp ecx, dword [ebp - 0xc44]
je 0x486a27
mov dword [ecx + 0x10], 0
xor edx, edx
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], dx
mov dword [ecx + 0x28], edx
mov dword [ecx + 0x2c], edx
movups xmm0, xmmword [eax + 0x18]
movups xmmword [ecx + 0x18], xmm0
movq xmm0, qword [eax + 0x28]
movq qword [ecx + 0x28], xmm0
xor ecx, ecx
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], 7
mov word [eax + 0x18], cx
add dword [ebp - 0xc48], 0x30
jmp 0x486a34
push eax
push ecx
lea ecx, [ebp - 0xc4c]
call fcn.004855e0
lea ecx, [ebp - 0xd0c]
mov byte [ebp - 4], 2
call fcn.0040f9d0
lea eax, [ebp - 0xcc8]
mov dword [ebp - 0xcc8], 0x586aa0
push eax
lea ecx, [ebp - 0xd0c]
mov dword [ebp - 0xcc4], str.AC76BA86_0000_0000_BA7E_7E8A45000000
call fcn.00485430
mov ecx, dword [ebp - 0xc48]
mov byte [ebp - 4], 6
cmp ecx, dword [ebp - 0xc44]
je 0x486add
mov dword [ecx + 0x10], 0
xor edx, edx
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], dx
mov dword [ecx + 0x28], edx
mov dword [ecx + 0x2c], edx
movups xmm0, xmmword [eax + 0x18]
movups xmmword [ecx + 0x18], xmm0
movq xmm0, qword [eax + 0x28]
movq qword [ecx + 0x28], xmm0
xor ecx, ecx
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], 7
mov word [eax + 0x18], cx
add dword [ebp - 0xc48], 0x30
jmp 0x486aea
push eax
push ecx
lea ecx, [ebp - 0xc4c]
call fcn.004855e0
lea ecx, [ebp - 0xd0c]
mov byte [ebp - 4], 2
call fcn.0040f9d0
mov edi, dword [ebp - 0xc48]
xor ecx, ecx
mov esi, dword [ebp - 0xc4c]
mov eax, 0x2aaaaaab
mov dword [ebp - 0xccc], ecx
mov ecx, edi
sub ecx, esi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x487259
xor edi, edi
mov dword [ebp - 0xcd0], edi
lea eax, [edi + esi]
lea ecx, [ebp - 0xcb4]
cmp ecx, eax
je 0x486b5c
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x486b47
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0xcb4]
call fcn.00408f30
mov esi, dword [ebp - 0xc4c]
lea eax, [esi + 0x18]
add eax, edi
lea ecx, [ebp - 0xc9c]
cmp ecx, eax
je 0x486b84
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x486b75
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0xc9c]
call fcn.00408f30
xor ecx, ecx
mov dword [ebp - 0xcd8], ecx
nop dword [eax]
cmp dword [ebp - 0xc88], 8
lea edx, [ebp - 0x420]
push edx
push ecx
lea eax, [ebp - 0xc9c]
cmovae eax, dword [ebp - 0xc9c]
push 0
push eax
call sub.msi.dll_MsiSourceListClearAllW
mov ecx, eax
mov dword [ebp - 0xcdc], ecx
test ecx, ecx
jne 0x4871fe
push 0x208
push eax
lea eax, [ebp - 0xc40]
push eax
call fcn.0053f340
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0053f340
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.0053f340
add esp, 0x24
mov dword [ebp - 0xc50], 0xa
lea eax, [ebp - 0xc50]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x586adc
lea eax, [ebp - 0x420]
push eax
call sub.msi.dll_MsiGetPropertyW
test eax, eax
jne 0x4871fe
push 0x208
push eax
lea eax, [ebp - 0x628]
mov dword [ebp - 0xc50], 0xa
push eax
call fcn.0053f340
add esp, 0xc
lea eax, [ebp - 0xc50]
push eax
lea eax, [ebp - 0x628]
push eax
push 0x586af8
lea eax, [ebp - 0x420]
push eax
call sub.msi.dll_MsiGetPropertyW
lea eax, [ebp - 0x628]
push eax
call fcn.0054a153
mov esi, eax
lea eax, [ebp - 0x218]
push eax
call fcn.0054a153
add esp, 8
cmp esi, 9
jb 0x486cdb
cmp eax, 0xb
jne 0x486cdb
lea eax, [ebp - 0x218]
mov esi, 0x586b14
mov ecx, eax
mov edx, 0x104
sub esi, ecx
nop dword [eax]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x486cce
movzx ecx, word [eax + esi]
test cx, cx
je 0x486cce
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x486cb0
test edx, edx
lea ecx, [eax - 2]
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
lea eax, [ebp - 0x218]
push eax
call fcn.0054a153
add esp, 4
cmp eax, dword [ebp + 8]
jb 0x4871fe
lea eax, [ebp - 0xc50]
mov dword [ebp - 0xc50], 0x14
push eax
lea eax, [ebp - 0xc40]
push eax
push 0x586b1c
lea eax, [ebp - 0x420]
push eax
call sub.msi.dll_MsiGetPropertyW
test eax, eax
jne 0x4871fe
lea eax, [ebp - 0xc50]
mov dword [ebp - 0xc50], 0x104
push eax
lea eax, [ebp - 0x830]
push eax
push 0x586b38
lea eax, [ebp - 0x420]
push eax
call sub.msi.dll_MsiGetPropertyW
test eax, eax
mov byte [ebp - 0xcbd], 0
lea ecx, [ebp - 0x830]
mov byte [ebp - 0xcbe], 0
mov esi, 0x586b64
mov dword [ebp - 0xc74], 0
cmove esi, ecx
mov dword [ebp - 0xc70], 7
xor eax, eax
mov dword [ebp - 0xcd4], esi
mov word [ebp - 0xc84], ax
mov ecx, esi
mov byte [ebp - 4], 7
mov dword [ebp - 0xc5c], eax
mov dword [ebp - 0xc58], 7
mov word [ebp - 0xc6c], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486db0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0xc6c]
call fcn.00408f30
mov ecx, dword [ebp - 0xc58]
lea eax, [ebp - 0xc6c]
mov edx, dword [ebp - 0xc6c]
lea edi, [ebp - 0xc6c]
mov esi, dword [ebp - 0xc5c]
cmp ecx, 8
mov byte [ebp - 4], 8
cmovae eax, edx
cmovae edi, edx
lea eax, [eax + esi*2]
lea esi, [ebp - 0xc6c]
mov dword [ebp - 0xc54], eax
cmovae esi, edx
cmp esi, eax
je 0x486e37
sub edi, esi
nop
movzx eax, word [esi]
push eax
call fcn.0040b320
mov word [esi + edi], ax
add esp, 4
add esi, 2
cmp esi, dword [ebp - 0xc54]
jne 0x486e10
mov ecx, dword [ebp - 0xc58]
mov edx, dword [ebp - 0xc6c]
push 6
push 0x586b80
cmp ecx, 8
lea eax, [ebp - 0xc6c]
push 0
push dword [ebp - 0xc5c]
cmovae eax, edx
push eax
call fcn.0040fea0
movzx ecx, byte [ebp - 0xcbe]
add esp, 0x14
cmp eax, 0xffffffff
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0xc54], ecx
call fcn.00489cd0
test eax, eax
je 0x486ea2
cmp byte [ebp - 0xc54], 0
mov edx, 0x586b90
mov eax, 0x586be8
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486e95
jmp 0x486ecb
cmp byte [ebp - 0xc54], 0
mov edx, 0x586c3c
mov eax, 0x586c7c
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486ec0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xc84]
call fcn.00408f30
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486ee5
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xc84]
call fcn.0040ddb0
push 2
push 0x586cb8
lea ecx, [ebp - 0xc84]
call fcn.0040ddb0
push 0xa
push 0x586cc0
lea ecx, [ebp - 0xc84]
call fcn.0040ddb0
cmp dword [ebp - 0xc70], 8
lea ecx, [ebp - 0xcbc]
push ecx
push 0x20019
lea eax, [ebp - 0xc84]
mov dword [ebp - 0xcbc], 0
cmovae eax, dword [ebp - 0xc84]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x486fd1
push 0x208
push eax
lea eax, [ebp - 0xa38]
push eax
call fcn.0053f340
add esp, 0xc
mov dword [ebp - 0xc54], 0x206
lea eax, [ebp - 0xc54]
push eax
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0xcb8]
push eax
push 0
push 0x586cd8
push dword [ebp - 0xcbc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xcbc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x486fd1
lea eax, [ebp - 0xa38]
push eax
call fcn.004899c0
add esp, 4
jmp 0x486fd7
mov al, byte [ebp - 0xcbd]
mov esi, dword [ebp - 0xd10]
lea ecx, [ebp - 0xd0c]
test al, al
mov eax, dword [ebp - 0xcd4]
je 0x487038
mov dword [ebp - 0xd18], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0xd14], eax
lea eax, [ebp - 0xd18]
push eax
call fcn.00485430
lea eax, [ebp - 0xd0c]
mov byte [ebp - 4], 9
push eax
push dword [esi + 4]
lea eax, [ebp - 0xcc4]
push eax
lea ecx, [esi + 4]
call fcn.004857c0
lea ecx, [ebp - 0xd0c]
call fcn.0040f9d0
jmp 0x487151
mov dword [ebp - 0xd20], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0xd1c], eax
lea eax, [ebp - 0xd20]
push eax
call fcn.00485430
mov eax, dword [esi + 8]
mov byte [ebp - 4], 0xa
cmp eax, dword [esi + 0xc]
je 0x4870e0
mov dword [eax + 0x10], 0
xor ecx, ecx
mov dword [eax + 0x14], 0
movups xmm0, xmmword [ebp - 0xd0c]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xcfc]
movq qword [eax + 0x10], xmm0
mov dword [ebp - 0xcfc], 0
mov dword [ebp - 0xcf8], 7
mov word [ebp - 0xd0c], cx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
movups xmm0, xmmword [ebp - 0xcf4]
movups xmmword [eax + 0x18], xmm0
movq xmm0, qword [ebp - 0xce4]
movq qword [eax + 0x28], xmm0
mov eax, 7
add dword [esi + 8], 0x30
mov dword [ebp - 0xce4], ecx
mov dword [ebp - 0xce0], eax
mov word [ebp - 0xcf4], cx
jmp 0x4870f6
lea ecx, [ebp - 0xd0c]
push ecx
push eax
lea ecx, [esi + 4]
call fcn.004855e0
mov eax, dword [ebp - 0xce0]
mov byte [ebp - 4], 0xb
cmp eax, 8
jb 0x487112
inc eax
lea ecx, [ebp - 0xcf4]
push eax
push dword [ebp - 0xcf4]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0xce4], 0
mov dword [ebp - 0xce0], 7
mov word [ebp - 0xcf4], ax
mov eax, dword [ebp - 0xcf8]
mov byte [ebp - 4], 0xc
cmp eax, 8
jb 0x487151
inc eax
lea ecx, [ebp - 0xd0c]
push eax
push dword [ebp - 0xd0c]
call fcn.0040a2e0
mov edx, dword [ebp - 0xc58]
cmp edx, 8
jb 0x487195
mov ecx, dword [ebp - 0xc6c]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 0xd
cmp edx, 0x1000
jb 0x48718b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48738b
push edx
push ecx
call fcn.00409f25
add esp, 8
mov edx, dword [ebp - 0xc70]
xor eax, eax
mov dword [ebp - 0xc5c], 0
mov dword [ebp - 0xc58], 7
mov word [ebp - 0xc6c], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4871fe
mov ecx, dword [ebp - 0xc84]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 0xe
cmp edx, 0x1000
jb 0x4871f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48738b
push edx
push ecx
call fcn.00409f25
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xcd8]
inc ecx
cmp dword [ebp - 0xcdc], 0
mov dword [ebp - 0xcd8], ecx
je 0x486b90
mov edi, dword [ebp - 0xc48]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0xc4c]
mov ecx, edi
inc dword [ebp - 0xccc]
sub ecx, esi
add dword [ebp - 0xcd0], 0x30
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xccc], eax
jae 0x487259
mov edi, dword [ebp - 0xcd0]
jmp 0x486b30
test esi, esi
je 0x4872e2
cmp esi, edi
je 0x487279
mov ecx, esi
call fcn.0040f9d0
add esi, 0x30
cmp esi, edi
jne 0x487265
mov esi, dword [ebp - 0xc4c]
mov ecx, dword [ebp - 0xc44]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 4
mov byte [ebp - 4], 0xf
cmp ecx, 0x1000
jb 0x4872ba
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48738b
push ecx
push esi
call fcn.00409f25
add esp, 8
mov dword [ebp - 0xc4c], 0
mov dword [ebp - 0xc48], 0
mov dword [ebp - 0xc44], 0
mov edx, dword [ebp - 0xca0]
cmp edx, 8
jb 0x487322
mov ecx, dword [ebp - 0xcb4]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 0x10
cmp edx, 0x1000
jb 0x487318
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487390
push edx
push ecx
call fcn.00409f25
add esp, 8
mov edx, dword [ebp - 0xc88]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x48736c
mov ecx, dword [ebp - 0xc9c]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 0x11
cmp edx, 0x1000
jb 0x487362
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487390
push edx
push ecx
call fcn.00409f25
add esp, 8
mov al, 1
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.00401682
mov esp, ebp
pop ebp
ret 4
call fcn.0054223b
call fcn.0054223b
int3