Function at 0x10047c68
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18c
mov eax, 0x101a03cb
call fcn.10003f96
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0x10
pop edi
cmp dword [eax + 0x14], edi
jb 0x10047c87
mov eax, dword [eax]
xor ebx, ebx
mov dword [ebp - 0x2c], 0xf
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], bl
call fcn.10005476
push 0x101c35c0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.10005476
xor eax, eax
inc eax
mov byte [ebp - 4], al
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.10108fd4
push 0x101c35bc
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push eax
call fcn.10108fd4
add esp, 0x18
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], edi
jb 0x10047cf7
mov esi, dword [esi]
push esi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10108fd4
add esp, 0xc
lea ecx, [ebp - 0x70]
call fcn.100482a7
lea ecx, [ebp - 0x88]
call fcn.100482a7
mov eax, dword [ebp - 0x14]
cmp eax, edi
jb 0x10047d64
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x194], ecx
mov byte [ebp - 4], 8
cmp eax, 0x1000
jb 0x10047d5b
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.10108fd4
mov eax, dword [ebp - 0x190]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x194]
push eax
push ecx
call fcn.10108fd4
pop ecx
pop ecx
push 0xf
pop esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x28], bl
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 9
cmp eax, edi
jb 0x10047dc4
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x190], ecx
mov byte [ebp - 4], 0xa
cmp eax, 0x1000
jb 0x10047db7
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.10108fd4
mov eax, dword [ebp - 0x194]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x190]
push eax
push ecx
call fcn.10108fd4
pop ecx
pop ecx
mov byte [ebp - 4], 9
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x40], bl
mov dword [ebp - 0x198], 1
call fcn.10108fd4
test eax, eax
je 0x10047f0c
mov dword [ebp - 0x190], ebx
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0xb
push eax
push 0x101c3438
push 4
push ebx
push 0x101c3448
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x10047eec
mov eax, dword [ebp - 0x190]
push ecx
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x10047e2f
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x101b33f8]
call esi
call fcn.100dc747
mov edi, eax
pop ecx
test edi, edi
je 0x10047eec
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
push 3
cmovae ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x188]
push ecx
lea ecx, [ebp - 0x18c]
mov dword [ebp - 0x18c], eax
call fcn.10108fd4
push dword [ebp - 0x18c]
mov byte [ebp - 4], 0xc
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebx, eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x188]
cmp dword [ebp - 0x18c], eax
je 0x10047e95
push dword [ebp - 0x18c]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov eax, dword [ebp - 0x190]
lea ecx, [ebp - 0x198]
push ecx
push ebx
push edi
mov esi, dword [eax]
push eax
mov esi, dword [esi + 0x80]
mov ecx, esi
call dword [0x101b33f8]
call esi
mov ecx, dword [ebp - 0x198]
test eax, eax
push 1
pop eax
cmovne ecx, eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x198], ecx
push edi
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x8c]
mov ecx, esi
call dword [0x101b33f8]
call esi
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x190]
mov byte [ebp - 4], 9
test eax, eax
je 0x10047f64
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x101b33f8]
call esi
jmp 0x10047f64
call fcn.10108fd4
mov esi, eax
mov dword [ebp - 0x194], 4
test esi, esi
je 0x10047f64
cmp dword [ebp - 0x44], edi
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x58]
push ebx
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x198]
test eax, eax
push 1
pop eax
cmovne ecx, eax
push esi
mov dword [ebp - 0x198], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x198], 0
lea ecx, [ebp - 0x58]
setne bl
call fcn.100482a7
mov al, bl
call fcn.10005073
ret