Function at 0x4b9a60
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, 0x26c
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 - 0x250], 0x208
mov dword [ebp - 0x24c], 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 0x4b9afa
lea edx, [ebp - 0x250]
push edx
mov edx, dword [ebp - 0x248]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x24c]
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 0x4b9b20
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 0x4b9b57
lea eax, [ebp - 0x224]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebx
cmp eax, 0xffffffff
je 0x4b9bc3
cmp dword [ebp - 0x210], 8
mov eax, dword [ebp - 0x224]
jae 0x4b9b7b
lea eax, [ebp - 0x224]
push eax
call ebx
test al, 0x10
je 0x4b9bc3
push edi
push 0xffffffffffffffff
push 0x50f2fc
lea ecx, [ebp - 0x228]
call fcn.00461050
mov ecx, dword [ebp - 0x214]
dec ecx
cmp eax, ecx
je 0x4b9bb1
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 0x4b9bd8
lea eax, [ebp - 0x224]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x4b9d36
mov eax, dword [esi + 0x60]
add esi, 0x60
sub eax, 0x10
cmp dword [eax + 0xc], edi
jle 0x4b9bfd
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 0x4b9c21
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 0x4b9c58
push ecx
push eax
call fcn.004eb0bf
add esp, 8
test eax, eax
jl 0x4b9d2c
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x4b9d2c
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 - 0x26c]
push ecx
call fcn.0046f700
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x228]
call fcn.00402df0
mov esi, 8
cmp dword [ebp - 0x254], esi
jb 0x4b9cb5
mov edx, dword [ebp - 0x268]
push edx
call fcn.004ea481
add esp, 4
mov eax, dword [ebp - 0x224]
cmp dword [ebp - 0x210], esi
jae 0x4b9cc9
lea eax, [ebp - 0x224]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x4b9d13
push str.srie_srie.exe
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x26c]
push ecx
call fcn.0046f700
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x228]
call fcn.00402df0
cmp dword [ebp - 0x254], esi
jb 0x4b9d13
mov edx, dword [ebp - 0x268]
push edx
call fcn.004ea481
add esp, 4
cmp dword [ebp - 0x22c], esi
jb 0x4b9d3b
mov eax, dword [ebp - 0x240]
push eax
call fcn.004ea481
add esp, 4
jmp 0x4b9d3b
push 0x80070057
call fcn.0045f890
mov esi, 8
mov eax, dword [ebp - 0x224]
cmp dword [ebp - 0x210], esi
jae 0x4b9d4f
lea eax, [ebp - 0x224]
push eax
call ebx
pop ebx
cmp eax, 0xffffffff
je 0x4b9d77
mov eax, dword [ebp - 0x224]
cmp dword [ebp - 0x210], esi
jae 0x4b9d6c
lea eax, [ebp - 0x224]
mov ecx, dword [ebp + 8]
push 5
push 0
push ecx
push eax
jmp 0x4b9d81
mov edx, dword [ebp + 8]
push 5
push 0
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x210], esi
pop edi
pop esi
jb 0x4b9da7
mov eax, dword [ebp - 0x224]
push eax
call fcn.004ea481
add esp, 4
mov eax, dword [ebp + 8]
xor ecx, ecx
add eax, 0xfffffff0
mov word [ebp - 0x224], cx
mov dword [ebp - 0x210], 7
mov dword [ebp - 0x214], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b9de3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret 4