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

Disassembly:
mov eax, 0x100aa67
call fcn.01006a70
sub esp, 0x28c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 1
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
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x23c], ebx
push 0x7e
pop ecx
xor eax, eax
lea edi, [ebp - 0x238]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [ebp - 4], ebx
mov edi, 0x10012c4
push edi
lea ecx, [ebp - 0x250]
call sub.framedyn.dll_public:_void___thiscall_CHString::constructor_unsigned_short_int_const__
mov byte [ebp - 4], 1
push edi
lea ecx, [ebp - 0x254]
call sub.framedyn.dll_public:_void___thiscall_CHString::constructor_unsigned_short_int_const__
mov byte [ebp - 4], 2
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x1004609
cmp dword [ebp + 0xc], ebx
je 0x1004609
cmp dword [ebp + 0x10], ebx
je 0x1004609
cmp dword [ebp + 0x14], ebx
je 0x1004609
cmp dword [ebp + 0x1c], ebx
jne 0x1004613
push 0x80041008
call fcn.0100680f
push dword [ebp + 0x1c]
push 0x1001590
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x258]
call fcn.010020cc
mov dword [ebp - 0x25c], eax
mov byte [ebp - 4], 3
mov eax, dword [eax]
cmp eax, ebx
je 0x1004651
mov eax, dword [eax]
jmp 0x1004653
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
lea edi, [ebp - 0x30]
push edi
push ebx
push 0x10
push eax
push 0x1001588
push ecx
call dword [edx + 0x50]
mov dword [ebp - 0x260], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x258]
cmp ecx, ebx
je 0x1004688
call fcn.01002644
mov dword [ebp - 0x258], ebx
cmp dword [ebp - 0x260], ebx
jge 0x100469b
push dword [ebp - 0x260]
call fcn.0100680f
push dword [ebp + 0x18]
push dword [ebp - 0x30]
call fcn.01001fb2
mov dword [ebp - 0x260], eax
cmp eax, ebx
jge 0x10046b6
push eax
call fcn.0100680f
cmp dword [ebp - 0x18], 1
jne 0x100479b
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x1c]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x260], eax
cmp eax, ebx
jge 0x10046e5
push eax
call fcn.0100680f
cmp dword [ebp - 0x18], ebx
je 0x100479b
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x24c]
push edx
push ebx
push 0x100149c
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x260], eax
cmp eax, ebx
jge 0x1004716
push eax
call fcn.0100680f
cmp word [ebp - 0x24c], 1
je 0x10046b6
cmp word [ebp - 0x24c], bx
je 0x10046b6
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x270]
call fcn.010035fa
mov byte [ebp - 4], 4
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x274]
call fcn.01002806
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 5
mov eax, dword [eax]
cmp eax, ebx
je 0x1004765
mov eax, dword [eax]
jmp 0x1004767
xor eax, eax
push eax
lea ecx, [ebp - 0x254]
call sub.framedyn.dll_public:_class_CHString_const____thiscall_CHString::operator_unsigned_short_int_const__
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x274]
cmp ecx, ebx
je 0x100478c
call fcn.01002644
mov dword [ebp - 0x274], ebx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x270]
call fcn.01001db8
push dword [ebp + 0x10]
call fcn.01008422
mov dword [ebp - 0x27c], eax
push 2
push 0xfe
call dword [sym.imp.msvcrt.dll_calloc]
pop ecx
pop ecx
mov dword [ebp - 0x34], eax
cmp eax, ebx
jne 0x1004834
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 - 0x1c]
cmp eax, ebx
je 0x10047fe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x280], ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x254]
call sub.framedyn.dll_public:_void___thiscall_CHString::destructor_void_
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x250]
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 0x18
mov dword [ebp - 0x284], ebx
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x284]
cmp eax, dword [ebp - 0x27c]
jae 0x1004dec
push ebx
push 1
push 0x1001578
push eax
push dword [ebp + 0x10]
call fcn.01008af4
push eax
call fcn.01007dd4
test eax, eax
je 0x1004d69
mov eax, dword [esi]
push ebx
lea ecx, [ebp - 0x20]
push ecx
push ebx
push ebx
push 0x1001484
push esi
call dword [eax + 0x18]
mov dword [ebp - 0x260], eax
cmp eax, ebx
jge 0x1004893
push eax
call fcn.0100680f
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x28]
push edx
push ebx
push 0x1001550
push eax
call dword [ecx + 0x4c]
mov dword [ebp - 0x260], eax
cmp eax, ebx
jge 0x10048b7
push eax
call fcn.0100680f
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push ebx
push eax
call dword [ecx + 0x3c]
mov dword [ebp - 0x260], eax
cmp eax, ebx
jge 0x10048d5
push eax
call fcn.0100680f
mov word [ebp - 0x24c], 3
mov dword [ebp - 0x244], 0x80000002
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x24c]
push edx
push ebx
push 0x1001454
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x24c]
push eax
call edi
cmp dword [ebp - 0x260], ebx
jge 0x1004921
push dword [ebp - 0x260]
call fcn.0100680f
push 0x1001508
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x284]
push dword [ebp + 0x10]
call fcn.01008af4
push eax
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x10014f4
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov word [ebp - 0x24c], 8
push dword [ebp - 0x34]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x24c]
push edx
push ebx
push 0x1001380
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x24c]
push eax
call edi
cmp dword [ebp - 0x260], ebx
jge 0x10049a6
push dword [ebp - 0x260]
call fcn.0100680f
mov word [ebp - 0x24c], 8
push 0x10014e8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x24c]
push edx
push ebx
push 0x100135c
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x24c]
push eax
call edi
cmp dword [ebp - 0x260], ebx
jge 0x10049f9
push dword [ebp - 0x260]
call fcn.0100680f
mov eax, dword [esi]
push ebx
lea ecx, [ebp - 0x24]
push ecx
push dword [ebp - 0x2c]
push ebx
push ebx
push 0x1001550
push 0x1001484
push esi
call dword [eax + 0x60]
mov dword [ebp - 0x260], eax
cmp eax, ebx
jge 0x1004a23
push eax
call fcn.0100680f
mov word [ebp - 0x24c], 3
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x24c]
push edx
push ebx
push 0x1001344
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x260], eax
cmp eax, ebx
jge 0x1004a54
push eax
call fcn.0100680f
cmp dword [ebp - 0x244], ebx
jne 0x1004b7d
lea eax, [ebp - 0x24c]
push eax
call edi
mov word [ebp - 0x24c], 8
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x24c]
push edx
push ebx
push 0x1001334
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x260], eax
cmp eax, ebx
jge 0x1004a9a
push eax
call fcn.0100680f
cmp word [ebp - 0x24c], 1
je 0x1004b7d
cmp word [ebp - 0x24c], bx
je 0x1004b7d
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x288], eax
cmp eax, ebx
je 0x1004b7d
lea ecx, [ebp - 0x38]
push ecx
push 1
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
mov dword [ebp - 0x260], eax
cmp eax, ebx
jge 0x1004ae6
push eax
call fcn.0100680f
lea eax, [ebp - 0x3c]
push eax
push 1
push dword [ebp - 0x288]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov dword [ebp - 0x260], eax
cmp eax, ebx
jge 0x1004b08
push eax
call fcn.0100680f
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x3c]
jg 0x1004b7d
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x288]
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
mov dword [ebp - 0x260], eax
cmp eax, ebx
jge 0x1004b40
push eax
call fcn.0100680f
push dword [ebp - 0x244]
lea ecx, [ebp - 0x250]
call sub.framedyn.dll_public:_class_CHString_const____thiscall_CHString::operator_unsigned_short_int_const__
push dword [ebp - 0x254]
push dword [ebp - 0x250]
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
mov dword [ebp - 0x28c], eax
cmp eax, ebx
je 0x1004b78
mov dword [ebp - 0x14], 1
jmp 0x1004b87
inc dword [ebp - 0x40]
jmp 0x1004b11
cmp dword [ebp - 0x14], 1
jne 0x1004d69
mov word [ebp - 0x24c], 8
push 0x10014d8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x24c]
push edx
push ebx
push 0x100135c
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x24c]
push eax
call edi
cmp dword [ebp - 0x260], ebx
jge 0x1004bda
push dword [ebp - 0x260]
call fcn.0100680f
mov eax, dword [esi]
push ebx
lea ecx, [ebp - 0x24]
push ecx
push dword [ebp - 0x2c]
push ebx
push ebx
push 0x1001550
push 0x1001484
push esi
call dword [eax + 0x60]
mov dword [ebp - 0x260], eax
cmp eax, ebx
jge 0x1004c04
push eax
call fcn.0100680f
mov word [ebp - 0x24c], 3
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x24c]
push edx
push ebx
push 0x1001344
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x260], eax
cmp eax, ebx
jge 0x1004c35
push eax
call fcn.0100680f
cmp dword [ebp - 0x244], ebx
jne 0x1004d69
lea eax, [ebp - 0x24c]
push eax
call edi
mov word [ebp - 0x24c], 8
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x24c]
push edx
push ebx
push 0x1001334
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x260], eax
cmp eax, ebx
jge 0x1004c7b
push eax
call fcn.0100680f
cmp word [ebp - 0x24c], 1
je 0x1004d69
cmp word [ebp - 0x24c], bx
je 0x1004d69
mov esi, dword [ebp - 0x244]
mov dword [ebp - 0x288], esi
cmp esi, ebx
je 0x1004d66
lea eax, [ebp - 0x38]
push eax
push 1
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
mov dword [ebp - 0x260], eax
cmp eax, ebx
jge 0x1004cc7
push eax
call fcn.0100680f
lea eax, [ebp - 0x3c]
push eax
push 1
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov dword [ebp - 0x260], eax
cmp eax, ebx
jge 0x1004ce4
push eax
call fcn.0100680f
mov dword [ebp - 0x290], ebx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x3c]
jg 0x1004d7c
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x40]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
mov dword [ebp - 0x260], eax
cmp eax, ebx
jge 0x1004d1e
push eax
call fcn.0100680f
push dword [ebp - 0x244]
lea ecx, [ebp - 0x250]
call sub.framedyn.dll_public:_class_CHString_const____thiscall_CHString::operator_unsigned_short_int_const__
push dword [ebp - 0x254]
push dword [ebp - 0x250]
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
mov dword [ebp - 0x294], eax
cmp eax, ebx
je 0x1004d74
mov dword [ebp - 0x290], 1
push ebx
push dword [ebp - 0x250]
push dword [ebp + 0x14]
call fcn.010087e9
mov esi, dword [ebp + 8]
inc dword [ebp - 0x284]
jmp 0x1004840
inc dword [ebp - 0x40]
jmp 0x1004cf0
cmp dword [ebp - 0x290], ebx
jne 0x1004d66
lea eax, [ebp - 0x38]
push eax
push 1
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x3c]
jg 0x1004d66
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x40]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
mov dword [ebp - 0x260], eax
cmp eax, ebx
jge 0x1004dc7
push eax
call fcn.0100680f
push dword [ebp - 0x244]
lea ecx, [ebp - 0x250]
call sub.framedyn.dll_public:_class_CHString_const____thiscall_CHString::operator_unsigned_short_int_const__
push ebx
push dword [ebp - 0x250]
push dword [ebp + 0x14]
call fcn.010087e9
inc dword [ebp - 0x40]
jmp 0x1004d9d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x254]
call sub.framedyn.dll_public:_void___thiscall_CHString::destructor_void_
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x250]
call sub.framedyn.dll_public:_void___thiscall_CHString::destructor_void_
or dword [ebp - 4], 0xffffffff
push dword [ebp + 0x14]
call fcn.01008422
test eax, eax
ja 0x1004e2a
push ebx
push 0x2b
call fcn.01008316
push eax
push dword [ebp + 0x14]
call fcn.010087e9
cmp dword [ebp - 0x34], ebx
je 0x1004e39
push dword [ebp - 0x34]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x1004e49
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x1004e59
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x1004e69
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x1004e79
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x1004e86
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
jmp 0x1004823