Function at 0x101e0bb
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x58
mov eax, 0x103032b
call fcn.0102ada8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x3c], edi
lea eax, [ebp - 0x34]
push eax
push 0x20019
push edi
mov esi, 0x1004bb0
push esi
push 0x80000002
mov byte [ebp - 4], 1
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x50], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
mov ebx, 0x80070000
jle 0x101e119
and eax, 0xffff
or eax, ebx
mov dword [ebp - 0x24], eax
cmp eax, edi
jne 0x101e60e
push edi
push edi
push edi
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x38]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp - 0x34]
mov dword [ebp - 0x58], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, edi
jle 0x101e14c
and eax, 0xffff
or eax, ebx
mov dword [ebp - 0x24], eax
mov ebx, 0x1035128
cmp eax, edi
jne 0x101e29b
mov eax, dword [ebp - 0x38]
cmp eax, edi
jne 0x101e18c
cmp dword [ebp - 0x34], edi
je 0x101e171
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1004b40
push 2
push 2
push 0x1035128
call fcn.0102c6ab
add esp, 0x10
jmp 0x101e636
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0102a176
xor edi, edi
pop ecx
mov dword [ebp - 0x50], eax
cmp eax, edi
je 0x101e281
mov ecx, dword [ebp - 0x38]
shl ecx, 2
push ecx
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x28], edi
cmp dword [ebp - 0x38], edi
jbe 0x101e59f
mov esi, dword [ebp - 0x58]
inc esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
mov dword [ebp - 0x48], esi
neg ecx
or ecx, eax
push ecx
call fcn.0102a176
mov edx, dword [ebp - 0x28]
pop ecx
mov ecx, dword [ebp - 0x50]
xor edi, edi
lea esi, [ecx + edx*4]
mov dword [esi], eax
cmp eax, edi
je 0x101e25e
push edi
push edi
push edi
xor ecx, ecx
mov word [eax], cx
push edi
lea eax, [ebp - 0x48]
push eax
push dword [esi]
push edx
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x101e2b1
cmp eax, edi
jne 0x101e23b
push dword [esi]
push 0x1004ae8
push 5
push 2
push ebx
call fcn.0102c6ab
add esp, 0x14
inc dword [ebp - 0x40]
jmp 0x101e24d
push eax
push 0x1004aa0
push edi
push 0x10
push ebx
call fcn.0102c6ab
add esp, 0x14
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x38]
jb 0x101e1cb
jmp 0x101e2b1
mov eax, 0x8007000e
push eax
push dword [ebp - 0x28]
mov dword [ebp - 0x40], edi
push 0x1004a20
push 2
push 0x10
push ebx
mov dword [ebp - 0x24], eax
call fcn.0102c6ab
add esp, 0x18
jmp 0x101e2b1
mov eax, 0x8007000e
push eax
push 0x10049b8
push 2
push 0x10
push ebx
mov dword [ebp - 0x24], eax
call fcn.0102c6ab
jmp 0x101e2ae
push eax
push 0x1004950
push 4
push 2
push ebx
call fcn.0102c6ab
mov dword [ebp - 0x24], edi
add esp, 0x14
cmp dword [ebp - 0x40], edi
jbe 0x101e59f
lea eax, [ebp - 0x30]
push eax
push 0x101bb38
push 0x401
push edi
push 0x101bb28
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x24], eax
cmp eax, edi
mov eax, dword [ebp - 0x30]
jl 0x101e2fb
cmp eax, edi
je 0x101e2fb
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xc]
cmp eax, edi
mov dword [ebp - 0x24], eax
jge 0x101e31a
push eax
push dword [ebp - 0x30]
push 0x10048d0
jmp 0x101e304
push dword [ebp - 0x24]
push eax
push 0x1004850
push 2
push 0x10
push ebx
call fcn.0102c6ab
add esp, 0x18
cmp dword [ebp - 0x24], edi
jl 0x101e590
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x101e34d
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push 0x101bb18
push eax
call dword [ecx + 0x1c]
cmp eax, edi
mov dword [ebp - 0x24], eax
jge 0x101e356
push eax
push dword [ebp - 0x30]
push 0x10047c8
push 2
push 0x10
push ebx
call fcn.0102c6ab
add esp, 0x18
cmp dword [ebp - 0x24], edi
jl 0x101e590
cmp dword [ebp - 0x30], edi
je 0x101e5b0
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 2
jmp 0x101e567
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x28], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
cmp eax, edi
mov dword [ebp - 0x24], eax
jge 0x101e396
push eax
push 0x1004750
push edi
push 0x10
push ebx
call fcn.0102c6ab
add esp, 0x14
jmp 0x101e55e
cmp dword [ebp - 0x28], edi
je 0x101e55e
mov dword [ebp - 0x4c], edi
cmp dword [ebp - 0x40], edi
jbe 0x101e54f
push 2
pop edi
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
lea esi, [eax + ecx*4]
push dword [esi]
push dword [ebp - 0x28]
push 0x10046e8
push 5
push edi
push ebx
call fcn.0102c6ab
mov esi, dword [esi]
mov eax, esi
add esp, 0x18
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, edi
test dx, dx
jne 0x101e3d4
sub eax, ecx
sar eax, 1
push eax
push esi
push dword [ebp - 0x28]
call dword [sym.imp.msvcrt.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x101e51c
push dword [ebp - 0x28]
push 0x10046b8
push 5
push edi
push ebx
call fcn.0102c6ab
mov eax, dword [ebp - 0x2c]
add esp, 0x14
lea edx, [ebp - 0x44]
xor esi, esi
push edx
mov dword [ebp - 0x44], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, esi
jl 0x101e43d
cmp dword [ebp - 0x44], esi
je 0x101e43d
push dword [ebp - 0x44]
push 0x1004690
push 5
push edi
push ebx
call fcn.0102c6ab
add esp, 0x14
jmp 0x101e452
push eax
push dword [ebp - 0x2c]
push 0x1004608
push edi
push 0x10
push ebx
call fcn.0102c6ab
add esp, 0x18
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [ecx + 0x20]
cmp eax, esi
mov dword [ebp - 0x24], eax
jl 0x101e499
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x48]
call fcn.0101c9ba
push dword [ebp - 0x48]
mov byte [ebp - 4], 3
push 0x10045dc
push 5
push edi
push ebx
call fcn.0102c6ab
add esp, 0x14
push dword [ebp - 0x48]
mov byte [ebp - 4], 2
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x101e4ae
push eax
push dword [ebp - 0x2c]
push 0x1004550
push edi
push 0x10
push ebx
call fcn.0102c6ab
add esp, 0x18
push dword [ebp - 0x44]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0x10
call fcn.0102a107
pop ecx
cmp eax, esi
je 0x101e4d4
lea esi, [ebp - 0x20]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 2
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x54], eax
pop edi
jmp 0x101e4d7
mov dword [ebp - 0x54], esi
push 4
call fcn.0102a107
pop ecx
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x101e4f8
push dword [ebp - 0x28]
mov ecx, eax
call fcn.0101c983
mov esi, eax
jmp 0x101e4fa
xor esi, esi
cmp dword [ebp - 0x54], 0
mov byte [ebp - 4], 2
je 0x101e52d
test esi, esi
je 0x101e52d
push dword [ebp - 0x54]
mov ecx, dword [ebp - 0x5c]
call fcn.0102fe80
mov ecx, dword [ebp - 0x60]
push esi
call fcn.0102fe80
inc dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x40]
jb 0x101e3ae
jmp 0x101e54d
mov eax, 0x8007000e
push eax
push dword [ebp - 0x44]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x28]
push 0x10044c0
push edi
push 0x10
push ebx
call fcn.0102c6ab
add esp, 0x1c
xor edi, edi
cmp dword [ebp - 0x2c], edi
je 0x101e55e
push edi
lea eax, [ebp - 0x2c]
push eax
call fcn.0101c355
push dword [ebp - 0x28]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x2c]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
mov eax, dword [ebp - 0x2c]
je 0x101e36b
mov byte [ebp - 4], 1
cmp eax, edi
je 0x101e590
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x101e5b0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
jmp 0x101e5b0
push 0x1004458
push edi
push 0x10
push ebx
call fcn.0102c6ab
add esp, 0x10
mov ebx, dword [ebp - 0x50]
cmp ebx, edi
je 0x101e5d9
xor esi, esi
cmp dword [ebp - 0x38], edi
jbe 0x101e5d2
mov eax, dword [ebx + esi*4]
cmp eax, edi
je 0x101e5cc
push eax
call fcn.0102a0f6
pop ecx
inc esi
cmp esi, dword [ebp - 0x38]
jb 0x101e5be
push ebx
call fcn.0102a0f6
pop ecx
cmp dword [ebp - 0x34], edi
je 0x101e5e7
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0
cmp eax, edi
je 0x101e5f8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
or dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x101e609
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
jmp 0x101e65a
cmp dword [ebp - 0x34], edi
je 0x101e61c
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x24]
push esi
push 0x10043e0
push 2
push 0x10
push 0x1035128
call fcn.0102c6ab
add esp, 0x18
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0
cmp eax, edi
je 0x101e647
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
or dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x101e658
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
call fcn.0102ae3a
ret 8