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

Disassembly:
mov eax, 0x100aa14
call fcn.01006a70
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 1
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [ebp - 4], ebx
push 0x10012c4
lea ecx, [ebp - 0x40]
call sub.framedyn.dll_public:_void___thiscall_CHString::constructor_unsigned_short_int_const__
mov byte [ebp - 4], 1
cmp dword [ebp + 8], ebx
je 0x1003e9d
cmp dword [ebp + 0x10], ebx
je 0x1003e9d
cmp dword [ebp + 0x14], ebx
je 0x1003e9d
cmp dword [ebp + 0x18], ebx
jne 0x1003ea7
push 0x80041008
call fcn.0100680f
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, dword [ebp + 0x14]
cmp dword [ebp - 0x14], 1
jne 0x10041cf
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 1
push 0xffffffffffffffff
push edi
call dword [eax + 0x10]
mov dword [ebp - 0x44], eax
cmp eax, ebx
jge 0x1003ed9
push eax
call fcn.0100680f
cmp dword [ebp - 0x14], ebx
je 0x10041cf
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x3c]
push edx
push ebx
push 0x10014b0
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x44], eax
cmp eax, ebx
jge 0x1003f04
push eax
call fcn.0100680f
cmp word [ebp - 0x3c], 1
je 0x1003eb0
cmp word [ebp - 0x3c], bx
je 0x1003eb0
push dword [ebp - 0x34]
lea ecx, [ebp - 0x40]
call sub.framedyn.dll_public:_class_CHString_const____thiscall_CHString::operator_unsigned_short_int_const__
lea eax, [ebp - 0x3c]
push eax
call esi
push ebx
push 1
push dword [ebp - 0x40]
push dword [ebp + 0x10]
call fcn.01007dd4
test eax, eax
jne 0x1003eb0
xor edi, edi
inc edi
mov dword [ebp - 0x48], edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x3c]
push edx
push ebx
push 0x100149c
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x44], eax
cmp eax, ebx
jge 0x1003f60
push eax
call fcn.0100680f
cmp word [ebp - 0x3c], di
je 0x10041cf
cmp word [ebp - 0x3c], bx
je 0x10041cf
push dword [ebp - 0x34]
lea ecx, [ebp - 0x40]
call sub.framedyn.dll_public:_class_CHString_const____thiscall_CHString::operator_unsigned_short_int_const__
lea eax, [ebp - 0x3c]
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 - 0x2c], edi
cmp edi, ebx
jne 0x1003ffd
push 0x2e
call fcn.01008316
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01007f0c
push 0x8007000e
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.0100819e
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x1003fdc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x40]
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 - 0x1c]
push edx
push ebx
push ebx
push 0x1001484
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x44], eax
cmp eax, ebx
jge 0x100401f
push eax
call fcn.0100680f
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x24]
push edx
push ebx
push 0x1001464
push eax
call dword [ecx + 0x4c]
mov dword [ebp - 0x44], eax
cmp eax, ebx
jge 0x1004040
push eax
call fcn.0100680f
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push ebx
push eax
call dword [ecx + 0x3c]
mov dword [ebp - 0x44], eax
cmp eax, ebx
jge 0x100405b
push eax
call fcn.0100680f
mov word [ebp - 0x3c], 3
mov dword [ebp - 0x34], 0x80000002
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x3c]
push edx
push ebx
push 0x1001454
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x3c]
push eax
call esi
cmp dword [ebp - 0x44], ebx
jge 0x1004092
push dword [ebp - 0x44]
call fcn.0100680f
push 0x10013b0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x40]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
call edi
push 0x1001398
push dword [ebp - 0x2c]
call edi
mov word [ebp - 0x3c], 8
push dword [ebp - 0x2c]
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
call edi
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x3c]
push edx
push ebx
push 0x1001380
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x3c]
push eax
call esi
cmp dword [ebp - 0x44], ebx
jge 0x10040f2
push dword [ebp - 0x44]
call fcn.0100680f
mov word [ebp - 0x3c], 8
push 0x1001374
call edi
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x3c]
push edx
push ebx
push 0x100135c
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x3c]
push eax
call esi
cmp dword [ebp - 0x44], ebx
jge 0x100412c
push dword [ebp - 0x44]
call fcn.0100680f
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push dword [ebp - 0x28]
push ebx
push ebx
push 0x1001464
push 0x1001484
push eax
call dword [ecx + 0x60]
mov dword [ebp - 0x44], eax
cmp eax, ebx
jge 0x1004156
push eax
call fcn.0100680f
mov word [ebp - 0x3c], 3
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x3c]
push edx
push ebx
push 0x1001344
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x44], eax
cmp eax, ebx
jge 0x100417e
push eax
call fcn.0100680f
cmp dword [ebp - 0x34], ebx
jne 0x10041cf
lea eax, [ebp - 0x3c]
push eax
call esi
mov word [ebp - 0x3c], 8
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x3c]
push edx
push ebx
push 0x1001334
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x44], eax
cmp eax, ebx
jge 0x10041b1
push eax
call fcn.0100680f
cmp word [ebp - 0x3c], 1
je 0x10041e3
cmp word [ebp - 0x3c], bx
je 0x10041e3
push dword [ebp - 0x34]
lea ecx, [ebp - 0x40]
call sub.framedyn.dll_public:_class_CHString_const____thiscall_CHString::operator_unsigned_short_int_const__
push ebx
push dword [ebp - 0x40]
jmp 0x10041d8
push ebx
push 0x2b
call fcn.01008316
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01008a3c
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x40]
call sub.framedyn.dll_public:_void___thiscall_CHString::destructor_void_
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x3c]
push eax
call esi
cmp dword [ebp - 0x2c], ebx
je 0x1004207
push dword [ebp - 0x2c]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x1004217
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x1004227
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x1004237
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x1004247
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x1004254
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
jmp 0x1003fec