Function at 0x100bc710
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101aa871
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x10206370]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x12
mov esi, 0x101c4970
lea edi, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x64]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x100bc9cc
xor edx, edx
mov word [ebp - 0x274], dx
push 0x206
push 0
lea eax, [ebp - 0x272]
push eax
call fcn.101845c0
add esp, 0xc
mov dword [ebp - 0x278], 1
mov dword [ebp - 0x29c], 0x206
lea ecx, [ebp - 0x29c]
push ecx
lea edx, [ebp - 0x274]
push edx
lea eax, [ebp - 0x278]
push eax
push 0
push str.Version
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x274]
mov dword [ebp - 0x2ac], eax
mov ecx, dword [ebp - 0x2ac]
add ecx, 2
mov dword [ebp - 0x2b0], ecx
mov edx, dword [ebp - 0x2ac]
mov ax, word [edx]
mov word [ebp - 0x2b2], ax
add dword [ebp - 0x2ac], 2
cmp word [ebp - 0x2b2], 0
jne 0x100bc7fa
mov ecx, dword [ebp - 0x2ac]
sub ecx, dword [ebp - 0x2b0]
sar ecx, 1
mov dword [ebp - 0x2b8], ecx
mov edx, dword [ebp - 0x2b8]
mov dword [ebp - 0x280], edx
cmp dword [ebp - 0x280], 0
ja 0x100bc84b
xor eax, eax
jmp 0x100bc9ce
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x27c]
call fcn.1000b560
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x298]
call fcn.1001b050
mov byte [ebp - 4], 1
push 0x101c496c
lea ecx, [ebp - 0x2a0]
call fcn.1000b560
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x298]
push ecx
lea edx, [ebp - 0x2a0]
push edx
lea eax, [ebp - 0x27c]
push eax
call fcn.100e5e4c
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a0]
call fcn.100056e0
lea ecx, [ebp - 0x298]
call fcn.1001b0f0
cmp eax, 4
je 0x100bc8f9
mov dword [ebp - 0x2a4], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x298]
call fcn.1001afc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.100056e0
mov eax, dword [ebp - 0x2a4]
jmp 0x100bc9ce
cmp dword [ebp + 8], 0
je 0x100bc921
push 0
lea ecx, [ebp - 0x298]
call fcn.1008a030
mov ecx, eax
call fcn.1004f530
push eax
call fcn.10180316
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
cmp dword [ebp + 0xc], 0
je 0x100bc949
push 1
lea ecx, [ebp - 0x298]
call fcn.1008a030
mov ecx, eax
call fcn.1004f530
push eax
call fcn.10180316
add esp, 4
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
cmp dword [ebp + 0x10], 0
je 0x100bc971
push 2
lea ecx, [ebp - 0x298]
call fcn.1008a030
mov ecx, eax
call fcn.1004f530
push eax
call fcn.10180316
add esp, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
cmp dword [ebp + 0x14], 0
je 0x100bc999
push 3
lea ecx, [ebp - 0x298]
call fcn.1008a030
mov ecx, eax
call fcn.1004f530
push eax
call fcn.10180316
add esp, 4
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov dword [ebp - 0x2a8], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x298]
call fcn.1001afc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.100056e0
mov eax, dword [ebp - 0x2a8]
jmp 0x100bc9ce
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1017e01c
mov esp, ebp
pop ebp
ret