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

Disassembly:
mov eax, 0x100ba7b
call fcn.01007108
sub esp, 0x2a4
mov eax, dword [0x100d060]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x25c], eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x278], eax
xor ebx, ebx
mov dword [ebp - 0x268], ebx
mov dword [ebp - 0x264], 1
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x210], ebx
push 0x7e
pop ecx
xor eax, eax
lea edi, [ebp - 0x20c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [ebp - 4], ebx
mov edi, 0x10012d4
push edi
lea ecx, [ebp - 0x23c]
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
cmp dword [ebp - 0x25c], ebx
je 0x1004972
cmp esi, ebx
je 0x1004972
cmp dword [ebp - 0x260], ebx
je 0x1004972
cmp dword [ebp - 0x24c], ebx
je 0x1004972
cmp dword [ebp - 0x278], ebx
jne 0x100497c
push 0x80041008
call fcn.01006e59
push dword [ebp - 0x278]
push 0x10015a0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x280]
call fcn.010021ff
mov dword [ebp - 0x28c], eax
mov byte [ebp - 4], 3
mov eax, dword [eax]
cmp eax, ebx
je 0x10049bd
mov eax, dword [eax]
jmp 0x10049bf
xor eax, eax
mov ecx, dword [esi]
lea edx, [ebp - 0x26c]
push edx
push ebx
push 0x10
push eax
push 0x1001598
push esi
call dword [ecx + 0x50]
mov dword [ebp - 0x214], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x280]
cmp ecx, ebx
je 0x10049f4
call fcn.010027cc
mov dword [ebp - 0x280], ebx
cmp dword [ebp - 0x214], ebx
jge 0x1004a07
push dword [ebp - 0x214]
call fcn.01006e59
push dword [ebp - 0x288]
push dword [ebp - 0x26c]
call fcn.010020d4
mov dword [ebp - 0x214], eax
cmp eax, ebx
jge 0x1004a28
push eax
call fcn.01006e59
cmp dword [ebp - 0x264], 1
jne 0x1004b2f
mov eax, dword [ebp - 0x26c]
mov ecx, dword [eax]
lea edx, [ebp - 0x264]
push edx
lea edx, [ebp - 0x234]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x214], eax
cmp eax, ebx
jge 0x1004a63
push eax
call fcn.01006e59
cmp dword [ebp - 0x264], ebx
je 0x1004b2f
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x230]
push edx
push ebx
push 0x10014ac
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x214], eax
cmp eax, ebx
jge 0x1004a9a
push eax
call fcn.01006e59
cmp word [ebp - 0x230], 1
je 0x1004a28
cmp word [ebp - 0x230], bx
je 0x1004a28
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.010037c9
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x27c]
call fcn.010029bf
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 5
mov eax, dword [eax]
cmp eax, ebx
je 0x1004aed
mov eax, dword [eax]
jmp 0x1004aef
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 - 0x27c]
cmp ecx, ebx
je 0x1004b14
call fcn.010027cc
mov dword [ebp - 0x27c], ebx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2b0]
push eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
call esi
push eax
call fcn.01001ded
jmp 0x1004b35
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push dword [ebp - 0x260]
call fcn.01008dd7
mov dword [ebp - 0x284], eax
push 2
push 0xfe
call dword [sym.imp.msvcrt.dll_calloc]
pop ecx
pop ecx
mov dword [ebp - 0x220], eax
cmp eax, ebx
jne 0x1004be6
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 - 0x234]
cmp eax, ebx
je 0x1004ba8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x29c], 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 - 0x23c]
call sub.framedyn.dll_public:_void___thiscall_CHString::destructor_void_
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.01006d41
pop edi
pop esi
pop ebx
leave
ret 0x18
mov dword [ebp - 0x258], ebx
mov edi, dword [ebp - 0x25c]
mov eax, dword [ebp - 0x258]
cmp eax, dword [ebp - 0x284]
jae 0x100523a
push ebx
push 1
push 0x1001588
push eax
push dword [ebp - 0x260]
call fcn.0100952e
push eax
call fcn.01008741
test eax, eax
je 0x100519c
mov eax, dword [edi]
push ebx
lea ecx, [ebp - 0x244]
push ecx
push ebx
push ebx
push 0x1001494
push edi
call dword [eax + 0x18]
mov dword [ebp - 0x214], eax
cmp eax, ebx
jge 0x1004c4b
push eax
call fcn.01006e59
mov eax, dword [ebp - 0x244]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x240]
push edx
push ebx
push 0x1001560
push eax
call dword [ecx + 0x4c]
mov dword [ebp - 0x214], eax
cmp eax, ebx
jge 0x1004c75
push eax
call fcn.01006e59
mov eax, dword [ebp - 0x240]
mov ecx, dword [eax]
lea edx, [ebp - 0x238]
push edx
push ebx
push eax
call dword [ecx + 0x3c]
mov dword [ebp - 0x214], eax
cmp eax, ebx
jge 0x1004c99
push eax
call fcn.01006e59
mov word [ebp - 0x230], 3
mov dword [ebp - 0x228], 0x80000002
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x230]
push edx
push ebx
push 0x1001464
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x230]
push eax
call esi
cmp dword [ebp - 0x214], ebx
jge 0x1004ce8
push dword [ebp - 0x214]
call fcn.01006e59
push 0x1001518
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x258]
push dword [ebp - 0x260]
call fcn.0100952e
push eax
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x1001504
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov word [ebp - 0x230], 8
push dword [ebp - 0x220]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x230]
push edx
push ebx
push 0x1001390
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x230]
push eax
call esi
cmp dword [ebp - 0x214], ebx
jge 0x1004d7f
push dword [ebp - 0x214]
call fcn.01006e59
mov word [ebp - 0x230], 8
push 0x10014f8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x230]
push edx
push ebx
push 0x100136c
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x230]
push eax
call esi
cmp dword [ebp - 0x214], ebx
jge 0x1004dd5
push dword [ebp - 0x214]
call fcn.01006e59
mov eax, dword [edi]
push ebx
lea ecx, [ebp - 0x21c]
push ecx
push dword [ebp - 0x238]
push ebx
push ebx
push 0x1001560
push 0x1001494
push edi
call dword [eax + 0x60]
mov dword [ebp - 0x214], eax
cmp eax, ebx
jge 0x1004e05
push eax
call fcn.01006e59
mov word [ebp - 0x230], 3
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x230]
push edx
push ebx
push 0x1001354
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x214], eax
cmp eax, ebx
jge 0x1004e39
push eax
call fcn.01006e59
cmp dword [ebp - 0x228], ebx
jne 0x1004f83
lea eax, [ebp - 0x230]
push eax
call esi
mov word [ebp - 0x230], 8
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x230]
push edx
push ebx
push 0x1001344
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x214], eax
cmp eax, ebx
jge 0x1004e82
push eax
call fcn.01006e59
cmp word [ebp - 0x230], 1
je 0x1004f83
cmp word [ebp - 0x230], bx
je 0x1004f83
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x270], eax
cmp eax, ebx
je 0x1004f83
lea ecx, [ebp - 0x248]
push ecx
push 1
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
mov dword [ebp - 0x214], eax
cmp eax, ebx
jge 0x1004ed1
push eax
call fcn.01006e59
lea eax, [ebp - 0x250]
push eax
push 1
push dword [ebp - 0x270]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov dword [ebp - 0x214], eax
cmp eax, ebx
jge 0x1004ef6
push eax
call fcn.01006e59
mov dword [ebp - 0x268], ebx
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
cmp eax, dword [ebp - 0x250]
jg 0x1004f83
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
mov dword [ebp - 0x214], eax
cmp eax, ebx
jge 0x1004f40
push eax
call fcn.01006e59
push dword [ebp - 0x228]
lea ecx, [ebp - 0x23c]
call sub.framedyn.dll_public:_class_CHString_const____thiscall_CHString::operator_unsigned_short_int_const__
push dword [ebp - 0x254]
push dword [ebp - 0x23c]
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
mov dword [ebp - 0x2a0], eax
cmp eax, ebx
je 0x1004f7b
mov dword [ebp - 0x268], 1
jmp 0x1004f90
inc dword [ebp - 0x218]
jmp 0x1004f08
cmp dword [ebp - 0x268], 1
jne 0x100519c
mov word [ebp - 0x230], 8
push 0x10014e8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x230]
push edx
push ebx
push 0x100136c
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x230]
push eax
call esi
cmp dword [ebp - 0x214], ebx
jge 0x1004fe6
push dword [ebp - 0x214]
call fcn.01006e59
mov eax, dword [edi]
push ebx
lea ecx, [ebp - 0x21c]
push ecx
push dword [ebp - 0x238]
push ebx
push ebx
push 0x1001560
push 0x1001494
push edi
call dword [eax + 0x60]
mov dword [ebp - 0x214], eax
cmp eax, ebx
jge 0x1005016
push eax
call fcn.01006e59
mov word [ebp - 0x230], 3
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x230]
push edx
push ebx
push 0x1001354
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x214], eax
cmp eax, ebx
jge 0x100504a
push eax
call fcn.01006e59
cmp dword [ebp - 0x228], ebx
jne 0x100519c
lea eax, [ebp - 0x230]
push eax
call esi
mov word [ebp - 0x230], 8
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x230]
push edx
push ebx
push 0x1001344
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x214], eax
cmp eax, ebx
jge 0x1005093
push eax
call fcn.01006e59
cmp word [ebp - 0x230], 1
je 0x100519c
cmp word [ebp - 0x230], bx
je 0x100519c
mov edi, dword [ebp - 0x228]
mov dword [ebp - 0x270], edi
cmp edi, ebx
je 0x1005196
lea eax, [ebp - 0x248]
push eax
push 1
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
mov dword [ebp - 0x214], eax
cmp eax, ebx
jge 0x10050e2
push eax
call fcn.01006e59
lea eax, [ebp - 0x250]
push eax
push 1
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov dword [ebp - 0x214], eax
cmp eax, ebx
jge 0x1005102
push eax
call fcn.01006e59
mov dword [ebp - 0x274], ebx
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
cmp eax, dword [ebp - 0x250]
jg 0x10051b2
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
mov dword [ebp - 0x214], eax
cmp eax, ebx
jge 0x100514b
push eax
call fcn.01006e59
push dword [ebp - 0x228]
lea ecx, [ebp - 0x23c]
call sub.framedyn.dll_public:_class_CHString_const____thiscall_CHString::operator_unsigned_short_int_const__
push dword [ebp - 0x254]
push dword [ebp - 0x23c]
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
mov dword [ebp - 0x298], eax
cmp eax, ebx
je 0x10051a7
mov dword [ebp - 0x274], 1
push ebx
push dword [ebp - 0x23c]
push dword [ebp - 0x24c]
call fcn.010091d7
mov edi, dword [ebp - 0x25c]
inc dword [ebp - 0x258]
jmp 0x1004bf2
inc dword [ebp - 0x218]
jmp 0x1005114
cmp dword [ebp - 0x274], ebx
jne 0x1005196
lea eax, [ebp - 0x248]
push eax
push 1
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
cmp eax, dword [ebp - 0x250]
jg 0x1005196
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
mov dword [ebp - 0x214], eax
cmp eax, ebx
jge 0x100520f
push eax
call fcn.01006e59
push dword [ebp - 0x228]
lea ecx, [ebp - 0x23c]
call sub.framedyn.dll_public:_class_CHString_const____thiscall_CHString::operator_unsigned_short_int_const__
push ebx
push dword [ebp - 0x23c]
push dword [ebp - 0x24c]
call fcn.010091d7
inc dword [ebp - 0x218]
jmp 0x10051dc
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 - 0x23c]
call sub.framedyn.dll_public:_void___thiscall_CHString::destructor_void_
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x24c]
call fcn.01008dd7
test eax, eax
ja 0x100527e
push ebx
push 0x2b
call fcn.01008c99
push eax
push dword [ebp - 0x24c]
call fcn.010091d7
cmp dword [ebp - 0x220], ebx
je 0x1005293
push dword [ebp - 0x220]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov eax, dword [ebp - 0x234]
cmp eax, ebx
je 0x10052a9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x234], ebx
mov eax, dword [ebp - 0x244]
cmp eax, ebx
je 0x10052bf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x244], ebx
mov eax, dword [ebp - 0x21c]
cmp eax, ebx
je 0x10052d5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x21c], ebx
mov eax, dword [ebp - 0x240]
cmp eax, ebx
je 0x10052eb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x240], ebx
mov eax, dword [ebp - 0x238]
cmp eax, ebx
je 0x10052fb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
jmp 0x1004bcd