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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x328]
sub rsp, 0x410
mov rax, qword [0x1400502a8]
xor rax, rsp
mov qword [rbp + 0x300], rax
xor r15d, r15d
mov rdi, rcx
mov ebx, r15d
cmp dword [rcx + 0x128], r15d
je 0x14002783e
mov rcx, qword [rcx + 0x78]
test rcx, rcx
je 0x14002783e
cmp dword [rdi + 0x124], r15d
je 0x140027822
cmp dword [rdi + 0x12c], r15d
je 0x140027822
call fcn.140017448
test eax, eax
je 0x140027822
mov rcx, qword [rdi + 0x78]
lea r9d, [r15 + 1]
mov edx, r9d
xor r8d, r8d
call fcn.140018fe0
mov ebx, eax
test eax, eax
jns 0x14002749a
mov rcx, qword [rdi + 0x78]
lea r9d, [r15 + 1]
mov r8d, r9d
xor edx, edx
call fcn.140018fe0
mov ebx, eax
test eax, eax
js 0x140027834
mov r8, qword [rdi + 0x78]
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x38], r15
mov r12d, 0x105
mov qword [rsp + 0x30], r15
or r9d, 0xffffffff
mov dword [rsp + 0x28], r12d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov r9, rdi
lea r8, [0x140027880]
xor edx, edx
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.SETUPAPI.dll_SetupIterateCabinetA]
test eax, eax
je 0x1400277e8
mov r8, qword [rdi + 0x78]
lea rdx, str._Cab_extraction_succeeded_for__S._r_n
mov ecx, 4
call fcn.140016868
cmp dword [rdi + 0x134], r15d
je 0x140027799
mov rcx, qword [rdi + 0x88]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov r14, rax
test rax, rax
je 0x14002781e
cmp r15w, word [rax]
je 0x14002781e
lea rdx, str..exe
mov rcx, rax
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x1400276b0
mov rax, qword [rdi + 0x88]
lea r8, str.__s_s_
mov r9, qword [rdi + 0x80]
lea rcx, [rbp - 0x20]
mov edx, r12d
mov qword [rsp + 0x20], rax
call fcn.140001734
test eax, eax
js 0x14002781e
mov ebx, 0x70
lea rcx, [rsp + 0x70]
mov r8d, ebx
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, qword [rdi + 0x90]
lea r9, [0x14003f4a0]
mov rax, qword [rbp - 0x70]
lea r8, [rbp - 0x20]
test rcx, rcx
mov dword [rsp + 0x74], 0x40
lea rdx, str.Executing:__S__S._r_n
mov dword [rsp + 0x70], ebx
cmovne rax, rcx
mov dword [rbp - 0x60], 1
mov qword [rbp - 0x70], rax
cmovne r9, rcx
mov rax, qword [0x1400516d8]
lea ecx, [rbx - 0x6c]
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x20]
mov qword [rbp - 0x78], rax
mov rax, qword [rdi + 0x80]
mov qword [rbp - 0x68], rax
call fcn.140016868
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140027679
mov r12d, 0x14
mov ebx, r15d
mov ecx, r12d
mov r14d, 0x1f4
call fcn.140015c04
xor ecx, ecx
call fcn.1400159e8
mov edx, r14d
jmp 0x140027646
cmp ebx, r12d
je 0x140027633
mov ecx, ebx
call fcn.140015cc0
inc ebx
lea eax, [r14 + 0x12c]
cmp ebx, 0xe
cmovbe eax, r14d
mov r14d, eax
mov edx, eax
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140027625
mov ecx, r12d
call fcn.140015cc0
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp - 0x58], 0x20
mov ebx, 0x80004005
cmova ebx, r15d
jmp 0x140027697
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 0x57
cmove eax, ecx
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov r8d, ebx
lea rdx, str._Service_install_returned_0x_x._r_n
mov ecx, 4
call fcn.140016868
jmp 0x14002781e
lea rdx, str..inf
mov rcx, r14
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x140027757
mov rax, qword [rdi + 0x88]
lea r8, str._s_s
mov r9, qword [rdi + 0x80]
lea rcx, [rbp - 0x20]
xorps xmm0, xmm0
mov qword [rsp + 0x20], rax
mov rdx, r12
mov dword [rsp + 0x68], 0x2a
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], r15d
call fcn.140001734
test eax, eax
js 0x14002773f
xor r9d, r9d
lea r8, str.DefaultInstall
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x48]
call fcn.140034cdc
mov r9d, eax
lea r8, [rbp - 0x20]
lea rdx, str._Install_for__S_returned_0x_x._r_n
mov ecx, 4
mov ebx, eax
call fcn.140016868
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002781e
call fcn.14003c2b8
jmp 0x14002781e
mov rcx, qword [0x140050310]
cmp rcx, 0xffffffffffffffff
jne 0x14002777d
lea edx, [rcx + 3]
call fcn.140016148
mov rcx, qword [0x140050310]
cmp rcx, 0xffffffffffffffff
je 0x14002781e
cmp dword [0x1400516e0], 2
jl 0x14002781e
mov r8d, 0x3a
lea rdx, str.ERROR:_Unknown_install_type_in_Service_provider_install._r_n
jmp 0x1400277d1
mov rcx, qword [0x140050310]
cmp rcx, 0xffffffffffffffff
jne 0x1400277bb
lea edx, [rcx + 3]
call fcn.140016148
mov rcx, qword [0x140050310]
cmp rcx, 0xffffffffffffffff
je 0x14002781e
cmp dword [0x1400516e0], 2
jl 0x14002781e
mov r8d, 0x2a
lea rdx, str.ERROR:_Install_files_were_not_available._r_n
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x40], r15d
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x14002781e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rdi + 0x78]
lea rdx, str.ERROR:_Cab_extraction_failed_for__S.__Error_0x_x._r_n
test eax, eax
mov ecx, 0x57
cmove eax, ecx
mov ecx, 2
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov r9d, ebx
call fcn.140016868
test ebx, ebx
js 0x140027834
mov rcx, rdi
call fcn.140026b04
test eax, eax
mov ecx, 0x80040152
cmove ebx, ecx
mov dword [rdi + 0x138], ebx
mov eax, ebx
jmp 0x140027843
mov eax, 1
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.14003c6c0
lea r11, [rsp + 0x410]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret