Function at 0x10005eb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c6171
mov eax, dword fs:[0]
push eax
sub esp, 0x85c
mov eax, dword [0x1010d03c]
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 esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x828]
mov edi, dword [ebp + 8]
xor eax, eax
push 0x15
push 0x100e98a4
mov dword [ebp - 0x868], esi
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
call fcn.10004af0
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x864], 1
call fcn.10096b80
add esp, 0xc
mov dword [ebp - 0x860], 0x800
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x85c]
lea eax, [ebp - 0x828]
mov bl, 1
cmovae eax, dword [ebp - 0x828]
push ecx
push 0x20019
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10005ff5
lea eax, [ebp - 0x860]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x864]
push eax
push 0
push 0x100e9bf0
push dword [ebp - 0x85c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10005fe8
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005fc0
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.10004af0
push dword [ebp - 0x85c]
call esi
xor bl, bl
push 0x80000002
call esi
mov esi, dword [ebp - 0x868]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x814]
cmp edx, 8
jb 0x1000603c
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006032
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000620b
push edx
push ecx
call fcn.1009441c
add esp, 8
test bl, bl
je 0x10006047
xor al, al
jmp 0x100061ed
push edi
lea ecx, [ebp - 0x840]
call fcn.10006950
push 0x11
push 0x100e98d0
lea ecx, [ebp - 0x840]
mov dword [ebp - 4], 1
call fcn.10005970
push 0xb
xor eax, eax
mov dword [ebp - 0x818], 0
push 0x100e98f4
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
call fcn.10004af0
push esi
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.10006710
test al, al
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x814]
sete bl
cmp edx, 8
jb 0x100060fc
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100060f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006210
push edx
push ecx
call fcn.1009441c
add esp, 8
test bl, bl
je 0x10006107
xor bl, bl
jmp 0x100061af
push edi
lea eax, [ebp - 0x828]
push str.Install_Path:
push eax
call fcn.10004d00
mov edx, dword [ebp - 0x814]
add esp, 0xc
cmp edx, 8
jb 0x1000615c
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006152
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006215
push edx
push ecx
call fcn.1009441c
add esp, 8
push esi
lea eax, [ebp - 0x858]
push str.Install_Version:
push eax
call fcn.10004d00
mov edx, dword [ebp - 0x844]
add esp, 0xc
cmp edx, 8
jb 0x100061ad
mov ecx, dword [ebp - 0x858]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100061a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000621a
push edx
push ecx
call fcn.1009441c
add esp, 8
mov bl, 1
mov edx, dword [ebp - 0x82c]
cmp edx, 8
jb 0x100061eb
mov ecx, dword [ebp - 0x840]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100061e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000621f
push edx
push ecx
call fcn.1009441c
add esp, 8
mov al, bl
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.10093f25
mov esp, ebp
pop ebp
ret 8
call fcn.1009ba34
call fcn.1009ba34
call fcn.1009ba34
call fcn.1009ba34
call fcn.1009ba34
int3