Function at 0x10008a80
Capabilities:
Check if file exists
Create directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004269d
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x1005545c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x224], edi
call fcn.10001c90
mov ecx, eax
test ecx, ecx
je 0x10008eb2
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x22c], esi
mov eax, dword [ebp + 8]
or ebx, 0xffffffff
mov dword [ebp - 4], 0
test eax, eax
jne 0x10008af0
mov edi, dword [edi + 0x1c]
push 7
push str.top.cab
jmp 0x10008b03
cmp eax, 1
jne 0x10008e6e
mov edi, dword [edi + 0x20]
push 9
push str.right.cab
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x220], edi
call fcn.100018b0
test edi, edi
je 0x10008e6e
mov esi, dword [ebp - 0x22c]
cmp dword [esi - 0xc], 0
je 0x10008e6e
mov edi, dword [edi]
mov dword [ebp - method.CResourceUnpack.virtual_0], vtable.CResourceUnpack.0
mov byte [ebp - 4], 1
call fcn.10001c90
mov ecx, eax
test ecx, ecx
je 0x10008ebc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
push esi
mov byte [ebp - 4], 2
lea eax, [ebp - 0x234]
mov esi, dword [ebp - 0x224]
push dword [esi + 0x3c]
push str._s_s
push eax
call fcn.1000a610
add esp, 0x10
call fcn.10001c90
mov ecx, eax
test ecx, ecx
je 0x10008ec6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x230], eax
push edi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x230]
push dword [esi + 0x38]
push str._s_d
push eax
call fcn.1000a610
mov esi, dword [ebp - 0x230]
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10008bce
push eax
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov edi, dword [ebp - 0x234]
test edi, edi
je 0x10008e14
test esi, esi
je 0x10008e14
push esi
push 0x100033f0
push 0
push edi
call dword [sym.imp.SETUPAPI.dll_SetupIterateCabinetW]
test eax, eax
je 0x10008e14
or ebx, 0xffffffff
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10008c19
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10008c34
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
mov edx, dword [ebp - 0x224]
push 0x1004f2a4
add edx, 0x34
call fcn.10002990
add esp, 4
mov edi, dword [ebp - 0x220]
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [edi + 0x44]
push ecx
lea ecx, [ebp - 0x228]
call fcn.1000a560
add esp, 4
mov byte [ebp - 4], 6
mov eax, ebx
mov edx, dword [ebp - 0x234]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10008c93
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x228]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10008cb4
push eax
push 0x1004e62c
lea ecx, [ebp - 0x228]
call fcn.100018b0
call fcn.10001c90
mov ecx, eax
test ecx, ecx
je 0x10008ed0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x224], esi
mov byte [ebp - 4], 7
mov ecx, dword [edi + 0x4c]
call fcn.10003710
push 0x208
mov edi, eax
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.10023f50
add esp, 0xc
mov dword [ebp - 0x238], 1
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x208
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x238]
push eax
mov eax, dword [ebp - 0x220]
push dword [eax + 0x54]
push dword [eax + 0x50]
push edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edi, dword [ebp - 0x220]
test eax, eax
jne 0x10008d98
mov eax, dword [edi + 0x58]
cmp dword [eax - 0xc], 0
je 0x10008d52
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10008d98
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10008d70
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x224]
call fcn.100018b0
mov esi, dword [ebp - 0x224]
mov eax, dword [edi + 0x38]
cmp dword [eax - 0xc], 0
jne 0x10008dd1
mov eax, dword [edi + 0x3c]
cmp dword [eax - 0xc], 0
jne 0x10008dd1
mov eax, dword [ebp - 0x228]
cmp dword [eax - 0xc], 0
jne 0x10008dd1
cmp dword [esi - 0xc], 0
jne 0x10008dd1
mov eax, dword [ebp + 8]
push eax
push str.no_action_after_click__not_pop__pos__d_
call fcn.10001490
add esp, 8
xor edi, edi
jmp 0x10008dd6
mov edi, 1
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10008df1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10008e70
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10008e70
push esi
push edi
push str.extract_cab_file__s__fail__dstPath__s_
call fcn.10001490
add esp, 0xc
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10008e3e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10008e59
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
push eax
push str.CheckCabResValid_return_false__pos__d_
mov byte [ebp - 4], 0
call fcn.10001490
add esp, 8
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10008e92
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001f332
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10001f00
push 0x80004005
call fcn.10001f00
push 0x80004005
call fcn.10001f00
push 0x80004005
call fcn.10001f00
int3