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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x3e4
mov eax, dword [0x100b618c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x22c], esi
mov ebx, dword [ebp + 8]
lea edi, [esi + 0x40]
push 0x1008bff0
push edi
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x224], ebx
call fcn.10006d70
add esp, 8
test al, al
je 0x1000ab87
push edi
mov ecx, ebx
call fcn.10007240
jmp 0x1000aeee
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1005f8e0
add esp, 0xc
mov dword [ebp - 0x220], 1
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x1008bff4
push 0x1008c018
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1000ae84
call fcn.10044730
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000ad23
push 0x6f
push 0x1008c098
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], al
call fcn.100093b0
push 3
push 0x1008c014
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.100093b0
mov byte [ebp - 4], 1
call fcn.10044730
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x2a8]
push eax
call dword [edx + 0x10]
mov esi, eax
push 0x17
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x358]
call fcn.10007480
mov dword [ebp - 0x228], eax
push 0x1008c108
push eax
mov byte [ebp - 4], 3
call fcn.10008300
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x1000acb9
mov esi, dword [esi]
test esi, esi
mov eax, 0x1008bc78
cmovne eax, esi
mov esi, dword [ebp - 0x228]
push eax
push esi
call fcn.10006ac0
push 0x1008c110
push esi
call fcn.10008300
mov ecx, dword [ebp - 0x224]
add esp, 0x10
mov eax, dword [ecx]
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x358]
call fcn.10008420
lea ecx, [ebp - 0x2a8]
call fcn.10007e70
lea ecx, [ebp - 0x248]
call fcn.10007e20
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 0xffffffff
call fcn.10007e20
mov esi, dword [ebp - 0x22c]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x1008c128
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000ae84
call fcn.10044730
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000ae76
push 0x6f
push 0x1008c168
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], 0xf
mov byte [ebp - 0x290], al
call fcn.100093b0
push 3
push 0x1008c164
lea ecx, [ebp - 0x278]
mov dword [ebp - 4], 4
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], 0
call fcn.100093b0
mov byte [ebp - 4], 5
call fcn.10044730
mov edx, dword [esi]
mov ebx, eax
lea eax, [ebp - 0x2c0]
mov ecx, esi
push eax
call dword [edx + 0x10]
mov edi, eax
push 0x1b
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x3f0]
call fcn.10007480
mov esi, eax
push 0x1008c1d8
push esi
mov byte [ebp - 4], 7
call fcn.10008300
add esp, 8
mov ecx, esi
push edi
call fcn.1000a670
mov esi, eax
push 0x1008c1ec
push esi
call fcn.10008300
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3f0]
call fcn.10008420
lea ecx, [ebp - 0x2c0]
call fcn.10007e70
lea ecx, [ebp - 0x278]
call fcn.10007e20
lea ecx, [ebp - 0x290]
mov dword [ebp - 4], 0xffffffff
call fcn.10007e20
mov ebx, dword [ebp - 0x230]
push 0x1008c210
mov ecx, ebx
call fcn.1000a6a0
jmp 0x1000aeee
lea edx, [ebp - 0x218]
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1000ae90
sub edx, ecx
lea eax, [ebp - 0x218]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.100094b0
xor eax, eax
mov dword [ebx + 0x10], 0
lea ecx, [ebp - 0x218]
mov dword [ebx + 0x14], 7
mov word [ebx], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000aed0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.100094b0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10047a96
mov esp, ebp
pop ebp
ret 4