Function at 0x10002230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b9891
mov eax, dword fs:[0]
push eax
sub esp, 0x85c
mov eax, dword [0x100fc03c]
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 0x100db4d4
mov dword [ebp - 0x868], esi
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
call fcn.10002eb0
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x864], 1
call fcn.1008bb90
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 0x10002375
lea eax, [ebp - 0x860]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x864]
push eax
push 0
push 0x100db834
push dword [ebp - 0x85c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10002368
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002340
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.10002eb0
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 0x100023bc
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100023b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000258b
push edx
push ecx
call fcn.10088fde
add esp, 8
test bl, bl
je 0x100023c7
xor al, al
jmp 0x1000256d
push edi
lea ecx, [ebp - 0x840]
call fcn.10002dc0
push 0x11
push 0x100db500
lea ecx, [ebp - 0x840]
mov dword [ebp - 4], 1
call fcn.10002ff0
push 0xb
xor eax, eax
mov dword [ebp - 0x818], 0
push 0x100db524
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
call fcn.10002eb0
push esi
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.10002a90
test al, al
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x814]
sete bl
cmp edx, 8
jb 0x1000247c
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10002472
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002590
push edx
push ecx
call fcn.10088fde
add esp, 8
test bl, bl
je 0x10002487
xor bl, bl
jmp 0x1000252f
push edi
lea eax, [ebp - 0x828]
push str.Install_Path:
push eax
call fcn.10003140
mov edx, dword [ebp - 0x814]
add esp, 0xc
cmp edx, 8
jb 0x100024dc
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100024d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002595
push edx
push ecx
call fcn.10088fde
add esp, 8
push esi
lea eax, [ebp - 0x858]
push str.Install_Version:
push eax
call fcn.10003140
mov edx, dword [ebp - 0x844]
add esp, 0xc
cmp edx, 8
jb 0x1000252d
mov ecx, dword [ebp - 0x858]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10002523
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000259a
push edx
push ecx
call fcn.10088fde
add esp, 8
mov bl, 1
mov edx, dword [ebp - 0x82c]
cmp edx, 8
jb 0x1000256b
mov ecx, dword [ebp - 0x840]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10002561
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000259f
push edx
push ecx
call fcn.10088fde
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.10088f98
mov esp, ebp
pop ebp
ret 8
call fcn.100907c4
call fcn.100907c4
call fcn.100907c4
call fcn.100907c4
call fcn.100907c4
int3