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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10132bbb
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x10167b84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2a4], ecx
mov dword [ebp - 0x2a0], 1
push 0x208
push 0
lea eax, [ebp - 0x294]
push eax
call fcn.1010db20
add esp, 0xc
mov dword [ebp - 0x29c], 0x104
mov ecx, 0x53
mov word [ebp - 0x8c], cx
mov edx, 0x6f
mov word [ebp - 0x8a], dx
mov eax, 0x66
mov word [ebp - 0x88], ax
mov ecx, 0x74
mov word [ebp - 0x86], cx
mov edx, 0x77
mov word [ebp - 0x84], dx
mov eax, 0x61
mov word [ebp - 0x82], ax
mov ecx, 0x72
mov word [ebp - 0x80], cx
mov edx, 0x65
mov word [ebp - 0x7e], dx
mov eax, 0x5c
mov word [ebp - 0x7c], ax
mov ecx, 0x4d
mov word [ebp - 0x7a], cx
mov edx, 0x69
mov word [ebp - 0x78], dx
mov eax, 0x63
mov word [ebp - 0x76], ax
mov ecx, 0x72
mov word [ebp - 0x74], cx
mov edx, 0x6f
mov word [ebp - 0x72], dx
mov eax, 0x73
mov word [ebp - 0x70], ax
mov ecx, 0x6f
mov word [ebp - 0x6e], cx
mov edx, 0x66
mov word [ebp - 0x6c], dx
mov eax, 0x74
mov word [ebp - 0x6a], ax
mov ecx, 0x5c
mov word [ebp - 0x68], cx
mov edx, 0x57
mov word [ebp - 0x66], dx
mov eax, 0x69
mov word [ebp - 0x64], ax
mov ecx, 0x6e
mov word [ebp - 0x62], cx
mov edx, 0x64
mov word [ebp - 0x60], dx
mov eax, 0x6f
mov word [ebp - 0x5e], ax
mov ecx, 0x77
mov word [ebp - 0x5c], cx
mov edx, 0x73
mov word [ebp - 0x5a], dx
mov eax, 0x5c
mov word [ebp - 0x58], ax
mov ecx, 0x43
mov word [ebp - 0x56], cx
mov edx, 0x75
mov word [ebp - 0x54], dx
mov eax, 0x72
mov word [ebp - 0x52], ax
mov ecx, 0x72
mov word [ebp - 0x50], cx
mov edx, 0x65
mov word [ebp - 0x4e], dx
mov eax, 0x6e
mov word [ebp - 0x4c], ax
mov ecx, 0x74
mov word [ebp - 0x4a], cx
mov edx, 0x56
mov word [ebp - 0x48], dx
mov eax, 0x65
mov word [ebp - 0x46], ax
mov ecx, 0x72
mov word [ebp - 0x44], cx
mov edx, 0x73
mov word [ebp - 0x42], dx
mov eax, 0x69
mov word [ebp - 0x40], ax
mov ecx, 0x6f
mov word [ebp - 0x3e], cx
mov edx, 0x6e
mov word [ebp - 0x3c], dx
mov eax, 0x5c
mov word [ebp - 0x3a], ax
mov ecx, 0x55
mov word [ebp - 0x38], cx
mov edx, 0x6e
mov word [ebp - 0x36], dx
mov eax, 0x69
mov word [ebp - 0x34], ax
mov ecx, 0x6e
mov word [ebp - 0x32], cx
mov edx, 0x73
mov word [ebp - 0x30], dx
mov eax, 0x74
mov word [ebp - 0x2e], ax
mov ecx, 0x61
mov word [ebp - 0x2c], cx
mov edx, 0x6c
mov word [ebp - 0x2a], dx
mov eax, 0x6c
mov word [ebp - 0x28], ax
mov ecx, 0x5c
mov word [ebp - 0x26], cx
mov edx, 0x33
mov word [ebp - 0x24], dx
mov eax, 0x36
mov word [ebp - 0x22], ax
mov ecx, 0x30
mov word [ebp - 0x20], cx
mov edx, 0x43
mov word [ebp - 0x1e], dx
mov eax, 0x68
mov word [ebp - 0x1c], ax
mov ecx, 0x72
mov word [ebp - 0x1a], cx
mov edx, 0x6f
mov word [ebp - 0x18], dx
mov eax, 0x6d
mov word [ebp - 0x16], ax
mov ecx, 0x65
mov word [ebp - 0x14], cx
xor edx, edx
mov word [ebp - 0x12], dx
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x294]
push ecx
lea edx, [ebp - 0x2a0]
push edx
push 0x10138f50
lea eax, [ebp - 0x8c]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1001a408
lea ecx, [ebp - 0x294]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x10138f70
lea edx, [ebp - 0x294]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001a408
lea ecx, [ebp - 0x294]
push ecx
lea ecx, [ebp - 0x298]
call fcn.10015730
mov dword [ebp - 4], 0
lea edx, [ebp - 0x298]
push edx
mov ecx, dword [ebp - 0x2a4]
add ecx, 4
call fcn.1001a0a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x298]
call fcn.100159b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100faee9
mov esp, ebp
pop ebp
ret