Function at 0x471160
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x53f4a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
mov edi, 1
push eax
mov esi, ecx
mov dword [ebp - 0x254], 0x208
mov dword [ebp - 0x250], edi
call fcn.004eb2d0
add esp, 0xc
lea ecx, [ebp - 0x248]
push ecx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4711fa
lea edx, [ebp - 0x254]
push edx
mov edx, dword [ebp - 0x248]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x250]
push ecx
push 0
push 0x50f300
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 7
mov dword [ebp - 0x214], 0
mov word [ebp - 0x224], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x471220
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x20c]
push edx
lea ecx, [ebp - 0x228]
call fcn.00403060
cmp dword [ebp - 0x210], 8
mov eax, dword [ebp - 0x224]
jae 0x471257
lea eax, [ebp - 0x224]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebx
cmp eax, 0xffffffff
je 0x4712c3
cmp dword [ebp - 0x210], 8
mov eax, dword [ebp - 0x224]
jae 0x47127b
lea eax, [ebp - 0x224]
push eax
call ebx
test al, 0x10
je 0x4712c3
push edi
push 0xffffffffffffffff
push 0x50f2fc
lea ecx, [ebp - 0x228]
call fcn.00461050
mov ecx, dword [ebp - 0x214]
dec ecx
cmp eax, ecx
je 0x4712b1
push edi
push 0x50f2fc
lea ecx, [ebp - 0x228]
call fcn.00468840
push 8
push str.srie.exe
lea ecx, [ebp - 0x228]
call fcn.00468840
cmp dword [ebp - 0x210], 8
mov eax, dword [ebp - 0x224]
jae 0x4712d8
lea eax, [ebp - 0x224]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x47143c
mov eax, dword [esi + 0x33c]
add esi, 0x33c
sub eax, 0x10
cmp dword [eax + 0xc], edi
jle 0x471303
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00460a30
mov edx, dword [esi]
xor eax, eax
mov word [ebp - 0x240], ax
mov eax, edx
mov dword [ebp - 0x22c], 7
mov dword [ebp - 0x230], 0
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x471327
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x244]
call fcn.00403060
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x47135e
push ecx
push eax
call fcn.004eb0bf
add esp, 8
test eax, eax
jl 0x471432
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x471432
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
push str.srie.exe
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x270]
push ecx
call fcn.0046f700
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x228]
call fcn.00402df0
mov edi, 8
cmp dword [ebp - 0x258], edi
jb 0x4713bb
mov edx, dword [ebp - 0x26c]
push edx
call fcn.004ea481
add esp, 4
mov eax, dword [ebp - 0x224]
cmp dword [ebp - 0x210], edi
jae 0x4713cf
lea eax, [ebp - 0x224]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x471419
push str.srie_srie.exe
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x270]
push ecx
call fcn.0046f700
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x228]
call fcn.00402df0
cmp dword [ebp - 0x258], edi
jb 0x471419
mov edx, dword [ebp - 0x26c]
push edx
call fcn.004ea481
add esp, 4
cmp dword [ebp - 0x22c], edi
jb 0x471441
mov eax, dword [ebp - 0x240]
push eax
call fcn.004ea481
add esp, 4
jmp 0x471441
push 0x80070057
call fcn.0045f890
mov edi, 8
mov eax, dword [ebp - 0x224]
cmp dword [ebp - 0x210], edi
jae 0x471455
lea eax, [ebp - 0x224]
push eax
call ebx
pop ebx
cmp eax, 0xffffffff
je 0x471495
mov ecx, dword [ebp + 0xc]
cmp dword [ebp + 0x20], edi
jae 0x471469
lea ecx, [ebp + 0xc]
mov eax, dword [ebp - 0x224]
cmp dword [ebp - 0x210], edi
jae 0x47147d
lea eax, [ebp - 0x224]
push 5
push 0
push ecx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x471537
cmp byte [ebp + 0x24], 0
je 0x4714c2
cmp dword [ebp + 0x1c], 0
jbe 0x4714c2
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], edi
jae 0x4714ac
lea eax, [ebp + 0xc]
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x471537
mov edx, dword [0x5427f0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5427f0
call eax
mov esi, eax
push 0
add esi, 0x10
push 0x86
mov dword [ebp - 0x24c], esi
call fcn.0045f9f0
add esp, 8
test eax, eax
je 0x471507
push 0x86
push eax
lea ecx, [ebp - 0x24c]
call fcn.00467270
mov esi, dword [ebp - 0x24c]
push 5
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x471537
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x210], edi
jb 0x47154e
mov ecx, dword [ebp - 0x224]
push ecx
call fcn.004ea481
add esp, 4
xor edx, edx
cmp dword [ebp + 0x20], edi
pop edi
mov dword [ebp - 0x210], 7
mov dword [ebp - 0x214], 0
mov word [ebp - 0x224], dx
pop esi
jb 0x47157e
mov eax, dword [ebp + 0xc]
push eax
call fcn.004ea481
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret 0x20