Function at 0x416ab0
Capabilities:
Create pipe
Create process on windows
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb8]
sub rsp, 0x1b8
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r15, r9
mov rsi, r8
mov qword [rsp + 0x68], rdx
mov r12, rcx
mov rax, qword [rbp + 0x138]
mov qword [rsp + 0x60], rax
xor edi, edi
mov r14d, edi
call fcn.00416760
mov ebx, eax
mov dword [rsi], edi
mov dword [r15], edi
cmp eax, 1
jae 0x416b17
mov eax, 0x520
jmp 0x416d38
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
mov dword [rbp + 0x44], edi
lea rdx, [rbp + 0x44]
mov ecx, eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ProcessIdToSessionId]
test eax, eax
jne 0x416b3b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
jmp 0x416d38
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x70], rdi
cmp dword [rbp + 0x44], edi
jne 0x416be6
lfence
mov qword [rbp - 0x80], rdi
lea rdx, [rbp - 0x80]
mov ecx, ebx
call qword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
je 0x416bce
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x416bb8
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x88], xmm0
mov qword [rbp + 0x98], rax
mov dword [rbp + 0x88], 0x18
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 1
lea r8, [rbp + 0x88]
mov edx, 0x2000000
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_DuplicateTokenEx]
test eax, eax
je 0x416bce
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
lea rcx, [rbp - 0x70]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x416bd7
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov r14d, eax
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x416be6
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov ebx, edi
mov qword [rbp - 0x78], rdi
mov qword [rsp + 0x70], rdi
mov dword [rbp - 0x50], 0x18
mov qword [rbp - 0x48], rdi
mov dword [rbp - 0x40], 1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rax
mov r13d, dword [rbp + 0x140]
test r14d, r14d
jne 0x416ce6
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rax
mov dword [rbp - 0x30], 0x68
mov dword [rbp + 0xc], 1
mov word [rbp + 0x10], ax
cmp qword [rsp + 0x60], rax
je 0x416c99
test r13d, r13d
je 0x416c99
xor r9d, r9d
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x78]
call qword [sym.imp.api_ms_win_core_namedpipe_l1_1_0.dll_CreatePipe]
mov ebx, eax
test eax, eax
je 0x416c8c
or dword [rbp + 0xc], 0x100
mov rcx, qword [rsp + 0x70]
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x28], rcx
jmp 0x416c99
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov r14d, eax
test eax, eax
jne 0x416ce6
lea rax, [rbp - 0x68]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdi
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x430
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, qword [rsp + 0x68]
mov rdx, r12
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessAsUserW]
mov edi, eax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x416cfd
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
xor eax, eax
mov qword [rsp + 0x78], rax
test edi, edi
jne 0x416d5b
test r14d, r14d
jne 0x416d0f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov r14d, eax
xor edi, edi
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x416d26
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rsp + 0x70], rdi
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x416d35
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, r14d
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.00479310
add rsp, 0x1b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, dword [rbp - 0x58]
mov dword [rsi], eax
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rdx, r15
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x416d95
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
xor edi, edi
mov qword [rsp + 0x70], rdi
jmp 0x416d97
xor edi, edi
test ebx, ebx
je 0x416fee
mov esi, edi
mov dword [rbp + 0x40], edi
mov qword [rbp + 0x68], rdi
mov qword [rbp + 0x78], rdi
mov qword [rbp + 0x80], SafeArrayGetDim
mov byte [rbp + 0x68], 0
xor r8d, r8d
lea rdx, [0x004baa2b]
lea rcx, [rbp + 0x68]
call sym.AsusSoftwareManager.exe_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x58], rdi
mov qword [rbp + 0x60], SafeArrayGetDim
mov byte [rbp + 0x48], 0
xor r8d, r8d
mov edx, 0x100
lea rcx, [rbp + 0x48]
call sym.AsusSoftwareManager.exe_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_unsigned_long_long_unsigned___int64___char____ptr64
nop
nop word [rax + rax]
lea rdx, [rbp + 0x48]
cmp qword [rbp + 0x60], 0x10
cmovae rdx, qword [rbp + 0x48]
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x40]
mov r8d, dword [rbp + 0x58]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
setne r15b
test eax, eax
je 0x416e9b
lea r9, [rbp + 0x48]
cmp qword [rbp + 0x60], 0x10
cmovae r9, qword [rbp + 0x48]
mov edi, dword [rbp + 0x40]
mov rcx, qword [rbp + 0x78]
mov rdx, qword [rbp + 0x80]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x416e82
lea rax, [rcx + rdi]
mov qword [rbp + 0x78], rax
lea rbx, [rbp + 0x68]
cmp rdx, 0x10
cmovae rbx, qword [rbp + 0x68]
add rbx, rcx
mov r8d, edi
mov rdx, r9
mov rcx, rbx
call fcn.004a2610
mov byte [rbx + rdi], 0
jmp 0x416e96
lfence
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp + 0x68]
call fcn.0040bc20
add esi, dword [rbp + 0x40]
xor edi, edi
cmp esi, r13d
jae 0x416eab
cmp r15b, 1
jne 0x416eb1
jmp 0x416e00
mov r14d, 8
mov r12, qword [rbp + 0x80]
mov rbx, qword [rbp + 0x68]
test esi, esi
je 0x416f63
test r14d, r14d
jne 0x416f63
mov r8, r13
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.004a2370
lea eax, [r13 - 1]
cmp esi, r13d
cmovae esi, eax
mov edi, esi
lea rsi, [rbp + 0x68]
cmp r12, 0x10
cmovae rsi, rbx
test rdi, rdi
je 0x416f63
mov rax, qword [rsp + 0x60]
test rax, rax
jne 0x416f11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayAccessData
jmp 0x416f5c
test rsi, rsi
je 0x416f2b
cmp r13, rdi
jb 0x416f2b
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.004a2610
jmp 0x416f63
mov r8, r13
xor edx, edx
mov rcx, rax
call fcn.004a2370
test rsi, rsi
jne 0x416f4b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayAccessData
jmp 0x416f5c
cmp r13, rdi
jae 0x416f63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x416fa1
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x416f9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x416f9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.00479330
xor edi, edi
mov qword [rbp + 0x58], rdi
mov qword [rbp + 0x60], SafeArrayGetDim
mov byte [rbp + 0x48], dil
cmp r12, 0x10
jb 0x416fee
lea rdx, [r12 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x416fe6
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x416fe6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.00479330
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x416d11