Function at 0x1004137
Capabilities:
Query or enumerate registry value via stdregprov

Disassembly:
mov eax, 0x100ba1e
call fcn.01007108
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x34], 1
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [ebp - 4], ebx
push 0x10012d4
lea ecx, [ebp - 0x24]
call sub.framedyn.dll_public:_void___thiscall_CHString::constructor_unsigned_short_int_const__
mov byte [ebp - 4], 1
cmp dword [ebp + 8], ebx
je 0x1004197
cmp dword [ebp + 0x10], ebx
je 0x1004197
cmp dword [ebp + 0x14], ebx
je 0x1004197
cmp dword [ebp + 0x18], ebx
jne 0x10041a1
push 0x80041008
call fcn.01006e59
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, dword [ebp + 0x14]
cmp dword [ebp - 0x34], 1
jne 0x10044c9
mov eax, dword [edi]
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 1
push 0xffffffffffffffff
push edi
call dword [eax + 0x10]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jge 0x10041d3
push eax
call fcn.01006e59
cmp dword [ebp - 0x34], ebx
je 0x10044c9
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x50]
push edx
push ebx
push 0x10014c0
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jge 0x10041fe
push eax
call fcn.01006e59
cmp word [ebp - 0x50], 1
je 0x10041aa
cmp word [ebp - 0x50], bx
je 0x10041aa
push dword [ebp - 0x48]
lea ecx, [ebp - 0x24]
call sub.framedyn.dll_public:_class_CHString_const____thiscall_CHString::operator_unsigned_short_int_const__
lea eax, [ebp - 0x50]
push eax
call esi
push ebx
push 1
push dword [ebp - 0x24]
push dword [ebp + 0x10]
call fcn.01008741
test eax, eax
jne 0x10041aa
xor edi, edi
inc edi
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x50]
push edx
push ebx
push 0x10014ac
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jge 0x100425a
push eax
call fcn.01006e59
cmp word [ebp - 0x50], di
je 0x10044c9
cmp word [ebp - 0x50], bx
je 0x10044c9
push dword [ebp - 0x48]
lea ecx, [ebp - 0x24]
call sub.framedyn.dll_public:_class_CHString_const____thiscall_CHString::operator_unsigned_short_int_const__
lea eax, [ebp - 0x50]
push eax
call esi
push 2
push 0xfe
call dword [sym.imp.msvcrt.dll_calloc]
pop ecx
pop ecx
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, ebx
jne 0x10042f7
push 0x2e
call fcn.01008c99
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.0100888c
push 0x8007000e
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01008b14
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10042d6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x24]
call sub.framedyn.dll_public:_void___thiscall_CHString::destructor_void_
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x14
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x28]
push edx
push ebx
push ebx
push 0x1001494
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jge 0x1004319
push eax
call fcn.01006e59
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x2c]
push edx
push ebx
push 0x1001474
push eax
call dword [ecx + 0x4c]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jge 0x100433a
push eax
call fcn.01006e59
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push ebx
push eax
call dword [ecx + 0x3c]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jge 0x1004355
push eax
call fcn.01006e59
mov word [ebp - 0x50], 3
mov dword [ebp - 0x48], 0x80000002
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x50]
push edx
push ebx
push 0x1001464
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x50]
push eax
call esi
cmp dword [ebp - 0x14], ebx
jge 0x100438c
push dword [ebp - 0x14]
call fcn.01006e59
push 0x10013c0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x24]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
call edi
push 0x10013a8
push dword [ebp - 0x1c]
call edi
mov word [ebp - 0x50], 8
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
call edi
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x50]
push edx
push ebx
push 0x1001390
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x50]
push eax
call esi
cmp dword [ebp - 0x14], ebx
jge 0x10043ec
push dword [ebp - 0x14]
call fcn.01006e59
mov word [ebp - 0x50], 8
push 0x1001384
call edi
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x50]
push edx
push ebx
push 0x100136c
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x50]
push eax
call esi
cmp dword [ebp - 0x14], ebx
jge 0x1004426
push dword [ebp - 0x14]
call fcn.01006e59
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push dword [ebp - 0x30]
push ebx
push ebx
push 0x1001474
push 0x1001494
push eax
call dword [ecx + 0x60]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jge 0x1004450
push eax
call fcn.01006e59
mov word [ebp - 0x50], 3
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x50]
push edx
push ebx
push 0x1001354
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jge 0x1004478
push eax
call fcn.01006e59
cmp dword [ebp - 0x48], ebx
jne 0x10044c9
lea eax, [ebp - 0x50]
push eax
call esi
mov word [ebp - 0x50], 8
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x50]
push edx
push ebx
push 0x1001344
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jge 0x10044ab
push eax
call fcn.01006e59
cmp word [ebp - 0x50], 1
je 0x10044dd
cmp word [ebp - 0x50], bx
je 0x10044dd
push dword [ebp - 0x48]
lea ecx, [ebp - 0x24]
call sub.framedyn.dll_public:_class_CHString_const____thiscall_CHString::operator_unsigned_short_int_const__
push ebx
push dword [ebp - 0x24]
jmp 0x10044d2
push ebx
push 0x2b
call fcn.01008c99
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0100945f
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x24]
call sub.framedyn.dll_public:_void___thiscall_CHString::destructor_void_
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x50]
push eax
call esi
cmp dword [ebp - 0x1c], ebx
je 0x1004501
push dword [ebp - 0x1c]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x1004511
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x1004521
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x1004531
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x1004541
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x100454e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
jmp 0x10042e6