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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009948b
mov eax, dword fs:[0]
push eax
sub esp, 0xa94
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0xa8c], eax
push ebx
push esi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0xaa0]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x74], ax
lea eax, [esp + 0x76]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
xor eax, eax
push 0x16
push str.SoftwareElex_techYAC
lea ecx, [esp + 0x5c]
mov dword [esp + 0x54], 0x208
mov dword [esp + 0x58], 1
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
call fcn.100089b0
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0xab0], 0
cmp dword [esp + 0x70], 8
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [esp + 0x58]
push ecx
lea eax, [esp + 0x60]
cmovae eax, dword [esp + 0x60]
push str.path
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x10024ce9
lea eax, [esp + 0x6c]
push 0x100b2814
push eax
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x10024d62
push 0x39
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstalliSafe
lea ecx, [esp + 0x5c]
call fcn.100089b0
push 0x208
lea eax, [esp + 0x70]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [esp + 0x68], 8
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x58]
push ecx
lea eax, [esp + 0x60]
cmovae eax, dword [esp + 0x60]
push str.path
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x64], 0x208
call ebx
test eax, eax
jne 0x10024e81
lea eax, [esp + 0x6c]
push 0x100b2814
push eax
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x10024e81
xor eax, eax
push 0x40e
push eax
mov word [esp + 0x27c], ax
lea eax, [esp + 0x27e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x6c]
push 0x100b314c
push eax
lea eax, [esp + 0x27c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x274]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10024e81
push 0x38
lea eax, [esp + 0x18]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp byte [ebp + 0x14], 0
mov eax, 0x40
mov ecx, 0x440
cmovne eax, ecx
cmp dword [esi + 0x14], 8
mov dword [esp + 0x14], eax
lea eax, [esp + 0x274]
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x1c], str.open
mov dword [esp + 0x20], eax
jb 0x10024df9
mov esi, dword [esi]
xor eax, eax
push 0x40e
push eax
mov word [esp + 0x68c], ax
lea eax, [esp + 0x68e]
push eax
mov dword [esp + 0x30], esi
call sub.MSVCR110.dll_memset
add esp, 8
lea eax, [esp + 0x278]
push eax
push ecx
mov edx, 0x208
lea ecx, [esp + 0x690]
call fcn.1001a460
lea eax, [esp + 0x684]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x684]
mov dword [esp + 0x28], eax
xor eax, eax
cmp byte [ebp + 0x10], al
setne al
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x10024e81
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10024e7d
push eax
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov bl, 1
jmp 0x10024e83
xor bl, bl
cmp dword [esp + 0x68], 8
jb 0x10024e97
push dword [esp + 0x54]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
mov ecx, dword [esp + 0xaa0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xa8c]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret