Function at 0x5f67d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6429be
mov eax, dword fs:[0]
push eax
sub esp, 0xd14
mov eax, dword [0x6ccc30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xce0], ecx
xor eax, eax
mov dword [ebp - 0xc8c], 0
mov dword [ebp - 0xc88], 7
mov word [ebp - 0xc9c], ax
mov ebx, 7
mov dword [ebp - 4], eax
mov dword [ebp - 0xca4], eax
mov dword [ebp - 0xca0], ebx
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 - 0xd20]
mov dword [ebp - 0xcc8], 0x64f930
mov dword [ebp - 0xcc4], 0x64f8e0
call fcn.005f5660
mov ecx, dword [ebp - 0xc48]
push eax
mov byte [ebp - 4], 3
push ecx
cmp ecx, dword [ebp - 0xc44]
je 0x5f68b5
lea eax, [ebp - 0xc4c]
push eax
call fcn.005f5990
add esp, 0xc
add dword [ebp - 0xc48], 0x30
jmp 0x5f68c0
lea ecx, [ebp - 0xc4c]
call fcn.005f5820
lea ecx, [ebp - 0xd20]
mov byte [ebp - 4], 2
call fcn.005d6b70
lea eax, [ebp - 0xcc8]
mov dword [ebp - 0xcc8], 0x64f9c0
push eax
lea ecx, [ebp - 0xd20]
mov dword [ebp - 0xcc4], str.AC76BA86_0000_0000_7761_7E8A45000000
call fcn.005f5660
mov ecx, dword [ebp - 0xc48]
push eax
mov byte [ebp - 4], 4
push ecx
cmp ecx, dword [ebp - 0xc44]
je 0x5f6921
lea eax, [ebp - 0xc4c]
push eax
call fcn.005f5990
add esp, 0xc
add dword [ebp - 0xc48], 0x30
jmp 0x5f692c
lea ecx, [ebp - 0xc4c]
call fcn.005f5820
lea ecx, [ebp - 0xd20]
mov byte [ebp - 4], 2
call fcn.005d6b70
lea eax, [ebp - 0xcc8]
mov dword [ebp - 0xcc8], 0x64f9fc
push eax
lea ecx, [ebp - 0xd20]
mov dword [ebp - 0xcc4], 0x64fa38
call fcn.005f5660
mov ecx, dword [ebp - 0xc48]
push eax
mov byte [ebp - 4], 5
push ecx
cmp ecx, dword [ebp - 0xc44]
je 0x5f698d
lea eax, [ebp - 0xc4c]
push eax
call fcn.005f5990
add esp, 0xc
add dword [ebp - 0xc48], 0x30
jmp 0x5f6998
lea ecx, [ebp - 0xc4c]
call fcn.005f5820
lea ecx, [ebp - 0xd20]
mov byte [ebp - 4], 2
call fcn.005d6b70
lea eax, [ebp - 0xcc8]
mov dword [ebp - 0xcc8], 0x64fad8
push eax
lea ecx, [ebp - 0xd20]
mov dword [ebp - 0xcc4], str.AC76BA86_0000_0000_BA7E_7E8A45000000
call fcn.005f5660
mov ecx, dword [ebp - 0xc48]
push eax
mov byte [ebp - 4], 6
push ecx
cmp ecx, dword [ebp - 0xc44]
je 0x5f69f9
lea eax, [ebp - 0xc4c]
push eax
call fcn.005f5990
add esp, 0xc
add dword [ebp - 0xc48], 0x30
jmp 0x5f6a04
lea ecx, [ebp - 0xc4c]
call fcn.005f5820
lea ecx, [ebp - 0xd20]
mov byte [ebp - 4], 2
call fcn.005d6b70
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 0x5f7099
xor ebx, ebx
mov dword [ebp - 0xcd8], ebx
nop word [eax + eax]
lea eax, [esi + ebx]
lea ecx, [ebp - 0xcb4]
cmp ecx, eax
je 0x5f6a7b
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x5f6a68
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0xcb4]
call fcn.005d2810
mov esi, dword [ebp - 0xc4c]
lea eax, [ebx + 0x18]
add eax, esi
lea ecx, [ebp - 0xc9c]
cmp ecx, eax
je 0x5f6aa2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x5f6a95
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0xc9c]
call fcn.005d2810
xor ecx, ecx
mov dword [ebp - 0xcd4], ecx
nop word [eax + 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 0x5f7037
push 0x208
push eax
lea eax, [ebp - 0xc40]
push eax
call fcn.0061e8c0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0061e8c0
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.0061e8c0
add esp, 0x24
mov dword [ebp - 0xc50], 0xa
lea eax, [ebp - 0xc50]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x64fb14
lea eax, [ebp - 0x420]
push eax
call sub.msi.dll_MsiGetPropertyW
test eax, eax
jne 0x5f7037
push 0x208
push eax
lea eax, [ebp - 0x628]
mov dword [ebp - 0xc50], 0xa
push eax
call fcn.0061e8c0
add esp, 0xc
lea eax, [ebp - 0xc50]
push eax
lea eax, [ebp - 0x628]
push eax
push 0x64fb30
lea eax, [ebp - 0x420]
push eax
call sub.msi.dll_MsiGetPropertyW
lea eax, [ebp - 0x628]
push eax
call fcn.00622c44
mov esi, eax
lea eax, [ebp - 0x218]
push eax
call fcn.00622c44
add esp, 8
cmp esi, 9
jb 0x5f6bfb
cmp eax, 0xb
jne 0x5f6bfb
lea eax, [ebp - 0x218]
mov esi, 0x64fb4c
mov ecx, eax
mov edx, 0x104
sub esi, ecx
nop dword [eax]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x5f6bee
movzx ecx, word [eax + esi]
test cx, cx
je 0x5f6bee
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x5f6bd0
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.00622c44
add esp, 4
cmp eax, dword [ebp + 8]
jb 0x5f7037
lea eax, [ebp - 0xc50]
mov dword [ebp - 0xc50], 0x14
push eax
lea eax, [ebp - 0xc40]
push eax
push 0x64fb54
lea eax, [ebp - 0x420]
push eax
call sub.msi.dll_MsiGetPropertyW
test eax, eax
jne 0x5f7037
lea eax, [ebp - 0xc50]
mov dword [ebp - 0xc50], 0x104
push eax
lea eax, [ebp - 0x830]
push eax
push 0x64fb70
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 ebx, 0x64fb9c
mov dword [ebp - 0xc70], 0
cmove ebx, ecx
mov dword [ebp - 0xc6c], 7
xor eax, eax
mov dword [ebp - 0xcd0], ebx
mov word [ebp - 0xc80], ax
mov ecx, ebx
mov byte [ebp - 4], 7
mov dword [ebp - 0xc58], eax
mov dword [ebp - 0xc54], 7
mov word [ebp - 0xc68], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5f6cd0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0xc68]
call fcn.005d2810
mov ecx, dword [ebp - 0xc54]
lea eax, [ebp - 0xc68]
mov edx, dword [ebp - 0xc68]
lea edi, [ebp - 0xc68]
mov esi, dword [ebp - 0xc58]
cmp ecx, 8
mov byte [ebp - 4], 8
cmovae eax, edx
cmovae edi, edx
lea ebx, [eax + esi*2]
lea esi, [ebp - 0xc68]
cmovae esi, edx
cmp esi, ebx
je 0x5f6d53
sub edi, esi
nop dword [eax]
movzx eax, word [esi]
push eax
call fcn.005d2f70
mov word [esi + edi], ax
add esp, 4
add esi, 2
cmp esi, ebx
jne 0x5f6d30
mov ecx, dword [ebp - 0xc54]
mov edx, dword [ebp - 0xc68]
push 6
push 0x64fbb8
cmp ecx, 8
lea eax, [ebp - 0xc68]
push 0
push dword [ebp - 0xc58]
cmovae eax, edx
push eax
call fcn.005d6c50
movzx ebx, byte [ebp - 0xcbe]
add esp, 0x14
cmp eax, 0xffffffff
mov eax, 1
cmovne ebx, eax
call fcn.005f99b0
test eax, eax
je 0x5f6db3
test bl, bl
mov edx, 0x64fbc8
mov eax, 0x64fc20
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5f6da6
jmp 0x5f6dd2
test bl, bl
mov edx, 0x64fc74
mov eax, 0x64fcb4
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5f6dc7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xc80]
call fcn.005d2810
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5f6df0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xc80]
call fcn.005d7ff0
push 2
push 0x64fcf0
lea ecx, [ebp - 0xc80]
call fcn.005d7ff0
push 0xa
push 0x64fcf8
lea ecx, [ebp - 0xc80]
call fcn.005d7ff0
cmp dword [ebp - 0xc6c], 8
lea ecx, [ebp - 0xcbc]
push ecx
push 0x20019
lea eax, [ebp - 0xc80]
mov dword [ebp - 0xcbc], 0
cmovae eax, dword [ebp - 0xc80]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5f6edc
push 0x208
push eax
lea eax, [ebp - 0xa38]
push eax
call fcn.0061e8c0
add esp, 0xc
mov dword [ebp - 0xc84], 0x206
lea eax, [ebp - 0xc84]
push eax
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0xcb8]
push eax
push 0
push 0x64fd10
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 0x5f6edc
lea eax, [ebp - 0xa38]
push eax
call fcn.005f9650
add esp, 4
jmp 0x5f6ee2
mov al, byte [ebp - 0xcbd]
mov ebx, dword [ebp - 0xce0]
lea ecx, [ebp - 0xd20]
test al, al
mov eax, dword [ebp - 0xcd0]
lea esi, [ebx + 4]
je 0x5f6f37
mov dword [ebp - 0xce8], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0xce4], eax
lea eax, [ebp - 0xce8]
push eax
call fcn.005f5660
lea eax, [ebp - 0xd20]
mov byte [ebp - 4], 9
push eax
push dword [ebx + 4]
lea eax, [ebp - 0xcc4]
mov ecx, esi
push eax
call fcn.005f5a00
jmp 0x5f6f7f
mov dword [ebp - 0xcf0], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0xcec], eax
lea eax, [ebp - 0xcf0]
push eax
call fcn.005f5660
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0xd20]
push ecx
mov byte [ebp - 4], 0xa
push eax
cmp eax, dword [ebx + 0xc]
je 0x5f6f78
push esi
call fcn.005f5990
add esp, 0xc
add dword [esi + 4], 0x30
jmp 0x5f6f7f
mov ecx, esi
call fcn.005f5820
lea ecx, [ebp - 0xd20]
call fcn.005d6b70
mov edx, dword [ebp - 0xc54]
cmp edx, 8
jb 0x5f6fce
mov ecx, dword [ebp - 0xc68]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 0xb
cmp edx, 0x1000
jb 0x5f6fc4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5f71c6
push edx
push ecx
call fcn.005d319e
add esp, 8
mov edx, dword [ebp - 0xc6c]
xor eax, eax
mov dword [ebp - 0xc58], 0
mov dword [ebp - 0xc54], 7
mov word [ebp - 0xc68], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x5f7037
mov ecx, dword [ebp - 0xc80]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 0xc
cmp edx, 0x1000
jb 0x5f7029
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5f71c6
push edx
push ecx
call fcn.005d319e
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xcd4]
inc ecx
cmp dword [ebp - 0xcdc], 0
mov dword [ebp - 0xcd4], ecx
je 0x5f6ab0
mov edi, dword [ebp - 0xc48]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0xc4c]
mov ecx, edi
mov ebx, dword [ebp - 0xcd8]
sub ecx, esi
inc dword [ebp - 0xccc]
add ebx, 0x30
imul ecx
mov dword [ebp - 0xcd8], ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xccc], eax
jb 0x5f6a50
mov ebx, dword [ebp - 0xca0]
test esi, esi
je 0x5f7122
cmp esi, edi
je 0x5f70b9
mov ecx, esi
call fcn.005d6b70
add esi, 0x30
cmp esi, edi
jne 0x5f70a5
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], 0xd
cmp ecx, 0x1000
jb 0x5f70fa
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5f71c6
push ecx
push esi
call fcn.005d319e
add esp, 8
mov dword [ebp - 0xc4c], 0
mov dword [ebp - 0xc48], 0
mov dword [ebp - 0xc44], 0
cmp ebx, 8
jb 0x5f715c
mov ecx, dword [ebp - 0xcb4]
lea edx, [ebx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 0xe
cmp edx, 0x1000
jb 0x5f7152
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5f71cb
push edx
push ecx
call fcn.005d319e
add esp, 8
mov edx, dword [ebp - 0xc88]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x5f71a6
mov ecx, dword [ebp - 0xc9c]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 0xf
cmp edx, 0x1000
jb 0x5f719c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5f71cb
push edx
push ecx
call fcn.005d319e
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ce525
mov esp, ebp
pop ebp
ret 4
call fcn.006207e0
call fcn.006207e0
int3