Function at 0x1400a8430
Capabilities:
Create process on windows
Read file on windows
Write and execute a file
Write file on windows

Disassembly:
push rbp
push rbx
push rdi
push r13
lea rbp, [rsp - 0x438]
sub rsp, 0x538
mov rax, qword [0x140263a80]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov rax, qword [rcx + 8]
mov ebx, r8d
mov qword [0x140268368], rax
mov rdi, rdx
movzx eax, byte [rdx]
mov r13, rcx
cmp eax, 0xe
ja case.default.0x1400a848f
lea rdx, [0x140000000]
mov qword [rsp + 0x530], rsi
mov ecx, dword [rdx + rax*4 + 0xa8c34]
add rcx, rdx
jmp rcx
mov eax, dword [rdi + 1]
lea rdx, [0x140268323]
mov cl, 1
mov dword [0x140268323], eax
call fcn.1400aa2c0
jmp 0x1400a8c0e
mov rax, qword [rdi + 1]
lea rdx, [0x140268323]
mov cl, 2
mov qword [0x140268323], rax
call fcn.1400aa2c0
jmp 0x1400a8c0e
movzx ecx, byte [rdi + 1]
call fcn.1400aaff0
jmp 0x1400a8c0e
movzx eax, byte [rdi + 1]
mov word [0x1402683fa], ax
movzx eax, byte [rdi + 2]
and eax, 1
or eax, 8
mov dword [0x1402683fc], eax
test byte [rdi + 2], 2
jne 0x1400a8503
or eax, 2
mov dword [0x1402683fc], eax
lea rdx, [0x1402683f0]
call fcn.1400aa080
jmp 0x1400a8c0e
movzx eax, word [rdi + 1]
lea rdx, [0x140268323]
mov cl, 3
mov word [0x140268323], ax
call fcn.1400aa2c0
jmp 0x1400a8c0e
lea edx, [r8 - 1]
lea rcx, [rdi + 1]
call fcn.1400a9bc0
jmp 0x1400a8c0e
lea edx, [r8 - 1]
lea rcx, [rdi + 1]
call fcn.1400a9960
lea edx, [rbx - 1]
lea rcx, [rdi + 1]
call fcn.1400a9700
jmp 0x1400a8c0e
lea edx, [r8 - 1]
lea rcx, [rdi + 1]
call fcn.1400a9e20
jmp 0x1400a8c0e
mov ecx, dword [rdi + 1]
call qword [sym.imp.WS2_32.dll_ntohl]
mov rsi, qword [0x140269b88]
add rdi, 7
lea ebx, [rax - 2]
test rsi, rsi
jne 0x1400a8688
cmp ebx, 0x3f9
jg 0x1400a85ba
mov edx, 0x1fc
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
mov rdx, rax
mov rcx, rdi
call fcn.1400ab430
jmp 0x1400a8c0e
movsxd rbx, ebx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, rax
mov qword [0x140269b88], rax
mov r8d, 7
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdi]
lea rdi, [rdi + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rdi - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rdi - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rdi - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rdi - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rdi - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rdi - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rdi - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub r8, 1
jne 0x1400a85e1
movups xmm0, xmmword [rdi]
add dword [0x140269b84], 0x3f9
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rdi + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov rax, qword [rdi + 0x70]
mov qword [rcx + 0x70], rax
movzx eax, byte [rdi + 0x78]
mov byte [rcx + 0x78], al
jmp 0x1400a8c0e
mov edx, dword [0x140269b84]
mov eax, ebx
sub eax, edx
lea rcx, [rsi + rdx]
cmp eax, 0x3f9
ja 0x1400a86f6
mov r8d, eax
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, ebx
mov rcx, rsi
cdq
sub eax, edx
sar eax, 1
movsxd rdx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
mov rcx, qword [0x140269b88]
mov rdx, rax
call fcn.1400ab430
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [0x140269b88]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ebx, ebx
mov qword [0x140269b88], rbx
mov dword [0x140269b84], ebx
jmp 0x1400a8c0e
mov r8d, 7
nop dword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdi]
lea rdi, [rdi + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rdi - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rdi - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rdi - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rdi - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rdi - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rdi - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rdi - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub r8, 1
jne 0x1400a8700
movups xmm0, xmmword [rdi]
add edx, 0x3f9
mov dword [0x140269b84], edx
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rdi + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov rax, qword [rdi + 0x70]
mov qword [rcx + 0x70], rax
movzx eax, byte [rdi + 0x78]
mov byte [rcx + 0x78], al
jmp 0x1400a8c0e
lea edx, [r8 - 1]
lea rcx, [rdi + 1]
call fcn.1400a8c70
jmp 0x1400a8c0e
lea edx, [r8 - 1]
mov r9, r13
xor r8d, r8d
lea rcx, [rdi + 1]
call fcn.1400a8e20
jmp 0x1400a8c0e
lea edx, [r8 - 1]
lea rcx, [rdi + 1]
call fcn.1400a9510
jmp 0x1400a8c0e
movzx ecx, byte [rdi + 1]
test ecx, ecx
je 0x1400a8925
sub ecx, 1
je 0x1400a883b
cmp ecx, 1
jne 0x1400a8c0e
xor edx, edx
lea rcx, [rbp - 0x10]
mov r8d, 0x20c
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x20c
lea rdx, [rbp - 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edx, edx
lea rcx, [rbp - 0x10]
lea r8d, [rdx + 0x5c]
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
lea rdx, str._display_driver_remove
jmp 0x1400a8875
xor edx, edx
lea rcx, [rbp - 0x10]
mov r8d, 0x20c
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x20c
lea rdx, [rbp - 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edx, edx
lea rcx, [rbp - 0x10]
lea r8d, [rdx + 0x5c]
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
lea rdx, str._display_remove
movups xmm0, xmmword [str.driververifyx64.exe]
xor ebx, ebx
lea rdi, [rbp - 0x80]
mov ecx, 0x68
xor r9d, r9d
movups xmmword [rax + 2], xmm0
xor r8d, r8d
movups xmm1, xmmword [0x140248420]
movups xmmword [rax + 0x12], xmm1
movsd xmm0, qword [0x140248430]
movsd qword [rax + 0x22], xmm0
xor eax, eax
rep stosb byte [rdi], al
lea rax, [rsp + 0x58]
mov word [rbp - 0x40], bx
mov qword [rsp + 0x48], rax
lea rcx, [rbp - 0x10]
lea rax, [rbp - 0x80]
mov dword [rbp - 0x44], 1
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x20], ebx
mov dword [rbp - 0x80], 0x68
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400a8c0e
mov rcx, qword [rsp + 0x58]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400a8c0e
xor edx, edx
mov qword [rsp + 0x520], r15
mov r8d, 0x20c
lea rcx, [rbp + 0x200]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x20c
lea rdx, [rbp + 0x200]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edx, edx
lea rcx, [rbp + 0x200]
lea r8d, [rdx + 0x5c]
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
movups xmm0, xmmword [str.driververifyx64.exe]
xor ebx, ebx
lea rdi, [rbp - 0x80]
mov ecx, 0x68
lea rdx, str._display_add
movups xmmword [rax + 2], xmm0
xor r9d, r9d
xor r8d, r8d
movups xmm1, xmmword [0x140248420]
movups xmmword [rax + 0x12], xmm1
movsd xmm0, qword [0x140248430]
movsd qword [rax + 0x22], xmm0
xor eax, eax
rep stosb byte [rdi], al
lea rax, [rsp + 0x58]
mov dword [rbp - 0x80], 0x68
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x200]
lea rax, [rbp - 0x80]
mov dword [rbp - 0x44], 1
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x20], ebx
mov word [rbp - 0x40], bx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400a8a1a
mov rcx, qword [rsp + 0x58]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea rcx, [rbp - 0xe]
mov r8d, 0x1fe
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [0x140263af0]
mov r15, qword [0x140268120]
mov word [rbp - 0x10], 0x504
lea eax, [rcx - 6]
cmp eax, 1
jb 0x1400a8be0
mov edx, ecx
mov qword [rsp + 0x528], r14
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov esi, dword [0x140263af0]
mov rdi, rax
lea r14d, [rsi - 6]
cmp r14d, 1
jb 0x1400a8bca
mov r8d, esi
test rax, rax
jne 0x1400a8aa9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
lea rcx, [rdi + 2]
mov rax, rcx
lea r8d, [rsi - 2]
cmp r8, 4
jb 0x1400a8af0
mov dword [rcx], 1
jmp 0x1400a8b0c
cmp r8, 2
jb 0x1400a8ab6
mov word [rax], reloc.WS2_32.dll_select
jmp 0x1400a8ad2
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], Ordinal_35
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
lea rcx, [rdi + 2]
lea r8d, [rsi - 2]
mov rax, rcx
test rcx, rcx
jne 0x1400a8a9b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
jmp 0x1400a8b06
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], Ordinal_35
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
lea rcx, [rdi + 6]
mov r8d, r14d
test rcx, rcx
jne 0x1400a8b26
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
jmp 0x1400a8b44
cmp r8, 1
jb 0x1400a8b31
mov byte [rcx], 1
jmp 0x1400a8b4a
xor edx, edx
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], Ordinal_35
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
lea rdx, str..pipemonect_pipe_cap_server
mov rcx, r15
call fcn.140076d70
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400a8bca
lea rcx, [r15 + 0x50]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], rbx
mov r8d, 7
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400a8b94
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400a8bb1
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
mov r8d, 0x1fe
lea rdx, [rbp - 0xe]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
lea rcx, [r15 + 0x50]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rdx, str..pipemonect_pipe_cap_server
mov rcx, r15
call fcn.140077000
test rdi, rdi
je 0x1400a8bd8
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r14, qword [rsp + 0x528]
mov r8d, dword [rsp + 0x50]
lea rdx, [rbp - 0x10]
mov rcx, qword [r13 + 8]
add r8d, 2
call qword [0x140267ea0]
mov r15, qword [rsp + 0x520]
jmp 0x1400a8c0e
lea edx, [r8 - 1]
lea rcx, [rdi + 1]
call fcn.14009f280
mov rsi, qword [rsp + 0x530]
xor eax, eax
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.1401d0310
add rsp, 0x538
pop r13
pop rdi
pop rbx
pop rbp
ret