Function at 0x1002c5a2
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1414]
mov eax, 0x1414
call fcn.10039d10
push 0xffffffffffffffff
push 0x10059199
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x1410], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x141c]
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], edi
xor ebx, ebx
inc ebx
push 0x10069eac
mov dword [ebp - 4], ebx
call fcn.10001309
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp + 0x1208], ax
lea eax, [ebp + 0x120a]
push edi
push eax
mov dword [ebp - 0x20], ebx
call fcn.10039d40
xor eax, eax
push esi
mov word [ebp + 0x1000], ax
lea eax, [ebp + 0x1002]
push edi
push eax
call fcn.10039d40
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
add esp, 0x18
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1208]
push eax
push str.CLSID08B0E5C0_4FCB_11CF_AAA5_00401C608501TreatAs
mov edi, SysReAllocStringLen
push edi
mov dword [ebp - 0x18], 0x104
call esi
test eax, eax
jne 0x1002c7bd
push 0x10069f1c
lea ecx, [ebp - 0x10]
call fcn.10001309
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.10001524
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], bl
test ecx, ecx
je 0x1002c68f
call fcn.10001441
push 0x10069f28
lea ecx, [ebp - 0x10]
call fcn.10001309
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.10001524
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], bl
test ecx, ecx
je 0x1002c6bb
call fcn.10001441
lea eax, [ebp + 0x1208]
push eax
lea ecx, [ebp - 0x10]
call fcn.10001309
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.10001524
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], bl
test ecx, ecx
je 0x1002c6e9
call fcn.10001441
push 0x10069f2c
lea ecx, [ebp - 0x10]
call fcn.10001309
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.10001524
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], bl
test ecx, ecx
je 0x1002c715
call fcn.10001441
push 0x10069f30
lea ecx, [ebp - 0x10]
call fcn.10001309
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.10001524
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], bl
test ecx, ecx
je 0x1002c73e
call fcn.10001441
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x104
test eax, eax
je 0x1002c750
mov eax, dword [eax]
jmp 0x1002c752
xor eax, eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp + 0x1000]
push ecx
push eax
push edi
call esi
test eax, eax
jne 0x1002c7bd
lea eax, [ebp + 0x1000]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002c7bd
xor eax, eax
push 0xffe
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.10039d40
lea eax, [ebp]
push 0x800
push eax
call fcn.10036629
add esp, 0x14
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.10001309
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.1000147f
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1002c7bd
call fcn.10001441
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1002c7c9
call fcn.10001441
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1410]
xor ecx, ebp
call fcn.10039bc2
add ebp, 0x1414
leave
ret