Function at 0x41bb30
Capabilities:
Check os version
Create process on windows
Schedule task via schtasks

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4554f2
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x478990]
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
push 0x45bf78
lea ecx, [ebp - 0x174]
mov dword [ebp - 4], 0
mov dword [ebp - 0x174], 0
call fcn.00406740
push str.Start_function_LaunchAppGetExitCodeSchell...
push dword [ebp - 0x174]
mov byte [ebp - 4], 1
push 0xa
push 0x47d0b4
call fcn.00417de0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x178]
push str.TaskName
push eax
call fcn.00410d10
push dword [eax]
mov byte [ebp - 4], 2
push dword [ebp - 0x174]
push 0xa
push 0x47d0b4
call fcn.00417de0
mov edx, dword [ebp - 0x178]
add edx, 0xfffffff0
or ebx, 0xffffffff
add esp, 0x2c
mov byte [ebp - 4], 1
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x41bbf0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 0xc]
push str.TaskCommand_d
push dword [ebp - 0x174]
push 0xa
push 0x47d0b4
call fcn.00417de0
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x178]
push str.ExeToStartPath
push eax
call fcn.00410d10
push dword [eax]
mov byte [ebp - 4], 3
push dword [ebp - 0x174]
push 0xa
push 0x47d0b4
call fcn.00417de0
mov edx, dword [ebp - 0x178]
add edx, 0xfffffff0
add esp, 0x30
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41bc5d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x178]
push str.ExeToStartArgs
push eax
call fcn.00410d10
push dword [eax]
mov byte [ebp - 4], 4
push dword [ebp - 0x174]
push 0xa
push 0x47d0b4
call fcn.00417de0
mov edx, dword [ebp - 0x178]
add edx, 0xfffffff0
add esp, 0x1c
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41bcb0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x178]
push str.UserContext__RU_
push eax
call fcn.00410d10
push dword [eax]
mov byte [ebp - 4], 5
push dword [ebp - 0x174]
push 0xa
push 0x47d0b4
call fcn.00417de0
mov edx, dword [ebp - 0x178]
add edx, 0xfffffff0
add esp, 0x1c
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41bd03
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
movzx eax, byte [ebp + 0x1c]
push eax
push str.bWait_d
push dword [ebp - 0x174]
push 0xa
push 0x47d0b4
call fcn.00417de0
movzx eax, byte [ebp + 0x1d]
push eax
push str.bSilent_d
push dword [ebp - 0x174]
push 0xa
push 0x47d0b4
call fcn.00417de0
add esp, 0x28
lea ecx, [ebp + 8]
call fcn.004059c0
mov ecx, eax
call fcn.00405a40
mov eax, dword [eax]
mov ecx, 0x468518
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41bd7a
test dx, dx
je 0x41bd76
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41bd7a
add eax, 4
add ecx, 4
test dx, dx
jne 0x41bd54
xor eax, eax
jmp 0x41bd7f
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x41bdea
push 0x1e
push str.ContinueAfterReboot_SIAStarter
lea ecx, [ebp + 8]
call fcn.004065f0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x178]
push str.Set_default_TaskName
push eax
call fcn.00410d10
push dword [eax]
mov byte [ebp - 4], 6
push dword [ebp - 0x174]
push 0xa
push 0x47d0b4
call fcn.00417de0
mov edx, dword [ebp - 0x178]
add edx, 0xfffffff0
add esp, 0x1c
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41bdea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.schtasks.exe
lea ecx, [ebp - 0x184]
mov dword [ebp - 0x184], 0
call fcn.00406740
mov byte [ebp - 4], 7
call fcn.0041c8d4
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x41be24
push 0x80004005
call fcn.00406820
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x180], eax
mov byte [ebp - 4], 8
call fcn.0041c8d4
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x41be54
push 0x80004005
call fcn.00406820
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x178], eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 9
sub eax, 0
je 0x41beb7
dec eax
je 0x41be9b
lea ecx, [ebp - 0x180]
dec eax
je 0x41be8a
lea eax, [ebp + 0x14]
push eax
call fcn.00406090
jmp 0x41c007
push 0xe
push str._query__FO_CSV
call fcn.004065f0
jmp 0x41c007
push dword [ebp + 8]
lea eax, [ebp - 0x180]
push str._delete__f__tn__s
push eax
call fcn.00405f50
add esp, 0xc
jmp 0x41c007
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.00406100
lea esi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x170], esi
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 0xa
jle 0x41bfab
push 0x22
push esi
call fcn.0043f2e8
mov edi, eax
add esp, 8
test edi, edi
je 0x41bfab
sub edi, esi
sar edi, 1
js 0x41bfab
lea esp, [esp]
test edi, edi
jne 0x41bf54
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x17c]
push 0x468514
push eax
call fcn.00410d10
add esp, 0xc
push eax
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0xb
call fcn.00406090
mov edx, dword [ebp - 0x17c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xa
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41bf7d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41bf7d
lea eax, [edi - 1]
test eax, eax
js 0x41c079
cmp eax, dword [esi - 0xc]
jg 0x41c079
cmp word [esi + eax*2], 0x5c
je 0x41bf83
push 0x5c
push edi
lea ecx, [ebp - 0x170]
call fcn.0041baa0
mov esi, dword [ebp - 0x170]
add edi, 2
js 0x41bfab
cmp edi, dword [esi - 0xc]
jge 0x41bfab
lea eax, [esi + edi*2]
push 0x22
push eax
call fcn.0043f2e8
mov edi, eax
add esp, 8
test edi, edi
je 0x41bfab
sub edi, esi
sar edi, 1
jns 0x41bf00
mov eax, dword [ebp + 0x18]
cmp dword [eax - 0xc], 0
je 0x41bfc9
push eax
lea eax, [ebp - 0x178]
push str._RU__s
push eax
call fcn.00405f50
add esp, 0xc
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x180]
push dword [ebp + 8]
push dword [ebp - 0x178]
push str._create__s__sc_onlogon__tn___s___f__rl_highest__tr____s___s_
push eax
call fcn.00405f50
add esi, 0xfffffff0
add esp, 0x18
mov byte [ebp - 4], 9
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41c007
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x17c]
push str.SetTaskParams
push eax
call fcn.00410d10
push dword [eax]
mov byte [ebp - 4], 0xc
push dword [ebp - 0x174]
push 0xa
push 0x47d0b4
call fcn.00417de0
mov edx, dword [ebp - 0x17c]
add edx, 0xfffffff0
add esp, 0x1c
mov byte [ebp - 4], 9
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41c05d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0041c8d4
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x41c083
push 0x80004005
call fcn.00406820
push 0x80070057
call fcn.00406820
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x170], eax
mov byte [ebp - 4], 0xd
call fcn.0041c8d4
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x41c0b3
push 0x80004005
call fcn.00406820
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x188], edi
lea eax, [ebp - 0x130]
push eax
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x130], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41c113
cmp dword [ebp - 0x12c], 6
lea ecx, [ebp - 0x188]
jb 0x41c101
push 5
push str.runas
jmp 0x41c108
push 4
push str.open
call fcn.004065f0
mov edi, dword [ebp - 0x188]
push 0x3c
lea eax, [ebp - 0x16c]
push 0
push eax
call fcn.00441290
mov eax, dword [ebp - 0x184]
mov ebx, dword [ebp - 0x180]
add esp, 0xc
cmp byte [ebp + 0x1d], 0
mov dword [ebp - 0x16c], 0x3c
mov dword [ebp - 0x168], 0x40
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], edi
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x150], 0
je 0x41c17c
mov dword [ebp - 0x168], 0x440
push ebx
push eax
push str.Try_to_start__s_with_param__s
push dword [ebp - 0x174]
push 8
push 0x47d0b4
call fcn.00417de0
add esp, 0x18
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp - 0x14c], 0x20
jg 0x41c24c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x184]
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x170]
push str.ShellExecuteEx_failed_to_start_file_s._Errorcode_d
push eax
call fcn.00405f50
mov esi, dword [ebp - 0x170]
push esi
push dword [ebp - 0x174]
push 1
push 0x47d0b4
call fcn.00417de0
add esp, 0x20
cmp dword [ebp - 0x17c], 0x4c7
jne 0x41c22b
lea eax, [ebp - 0x170]
push str.Installation_is_canceled._User_denied_the_execution_of_setup_file.
push eax
call fcn.00405f50
mov esi, dword [ebp - 0x170]
push esi
push dword [ebp - 0x174]
push 1
push 0x47d0b4
call fcn.00417de0
add esp, 0x18
cmp byte [ebp + 0x1d], 0
jne 0x41c23b
push 0
push 0x30
push esi
call fcn.0041da3e
push dword [ebp - 0x134]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41c3f9
push dword [ebp - 0x184]
lea eax, [ebp - 0x170]
push str.ShellExecuteEx_successfully_starts_file_s
push eax
call fcn.00405f50
push dword [ebp - 0x170]
push dword [ebp - 0x174]
push 8
push 0x47d0b4
call fcn.00417de0
add esp, 0x1c
cmp byte [ebp + 0x1c], 0
lea eax, [ebp - 0x170]
jne 0x41c327
push str.Do_not_wait_for_started_process_due_WAITfalse
push eax
call fcn.00405f50
push dword [ebp - 0x170]
push dword [ebp - 0x174]
push 8
push 0x47d0b4
call fcn.00417de0
add esp, 0x18
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x134]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jle 0x41c2d6
mov eax, dword [ebp - 0x14]
cmp eax, 0x103
jne 0x41c2df
xor eax, eax
jmp 0x41c2dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0x170]
push str.Return_from_function_with_errorcode_d
push eax
call fcn.00405f50
mov esi, dword [ebp - 0x170]
push esi
push dword [ebp - 0x174]
push 8
push 0x47d0b4
call fcn.00417de0
add esp, 0x1c
push dword [ebp - 0x134]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x17c], edx
jmp 0x41c3f9
push str.Wait_for_exit_started_process...
push eax
call fcn.00405f50
push dword [ebp - 0x170]
push dword [ebp - 0x174]
push 8
push 0x47d0b4
call fcn.00417de0
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 0x18
push 0x927c0
push dword [ebp - 0x134]
call esi
cmp eax, 0x102
jne 0x41c370
mov dword [ebp - 0x14], 0x103
jmp 0x41c353
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x134]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x14]
cmp eax, 0x103
je 0x41c353
push eax
lea eax, [ebp - 0x170]
push str.Started_process_exits_with_errocode_d
push eax
call fcn.00405f50
push dword [ebp - 0x170]
push dword [ebp - 0x174]
push 8
push 0x47d0b4
call fcn.00417de0
push dword [ebp - 0x14]
lea eax, [ebp - 0x170]
push str.Return_from_function_with_errorcode_d
push eax
call fcn.00405f50
mov esi, dword [ebp - 0x170]
push esi
push dword [ebp - 0x174]
push 8
push 0x47d0b4
call fcn.00417de0
add esp, 0x38
push dword [ebp - 0x134]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x17c], eax
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], 0xd
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41c419
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 9
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41c436
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x178]
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41c459
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41c476
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x184]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41c499
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x174]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x41c4ba
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp + 8]
call fcn.004105c0
mov eax, dword [ebp - 0x17c]
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.0043e7dc
mov esp, ebp
pop ebp
ret 0x18