Function at 0x1400035d0
Capabilities:
Create process on windows
Resume thread
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1410]
mov eax, 0x1510
call fcn.140015370
sub rsp, rax
mov rax, qword [0x14004f678]
xor rax, rsp
mov qword [rbp + 0x1400], rax
mov rdi, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rbp + 0x400]
mov r8d, 0x1000
call fcn.1400171d0
xor edx, edx
lea rcx, [rbp + 0x1f0]
mov r8d, 0x208
call fcn.1400171d0
mov ebx, 0x104
lea rdx, [rbp + 0x1f0]
mov r8d, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test rax, rax
je 0x14000387a
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x14000387a
xor r14d, r14d
test rdi, rdi
je 0x14000368b
cmp word [rdi], r14w
je 0x14000368b
mov qword [rsp + 0x20], rdi
jmp 0x14000371a
xor edx, edx
lea rcx, [rbp - 0x20]
mov r8d, 0x208
call fcn.1400171d0
lea rax, [rbp - 0x20]
mov rdx, rsi
sub rdx, rax
lea rcx, [rbp - 0x20]
nop word [rax + rax]
lea rax, [rbx + 0x7ffffefa]
test rax, rax
je 0x1400036d2
movzx eax, word [rdx + rcx]
test ax, ax
je 0x1400036d2
mov word [rcx], ax
add rcx, 2
sub rbx, 1
jne 0x1400036b0
test rbx, rbx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x1400036ed
mov dword [0], r14d
jmp 0x1400036e3
lea rdx, str..inf
lea rcx, [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
lea rcx, [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, str._s__u__s__s
mov edx, 0x800
lea rcx, [rbp + 0x400]
call fcn.140007e50
test eax, eax
js 0x14000387a
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea rdx, [rbp + 0x400]
mov dword [rbp - 0x2c], eax
xor r9d, r9d
lea rax, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor ecx, ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x4000004
mov dword [rsp + 0x20], 1
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400037c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov edx, 0xffffffff
cmovne edx, eax
mov eax, edx
jmp 0x14000387f
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x58]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000381a
mov rcx, qword [rsp + 0x58]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x14000381a
mov rcx, qword [rsp + 0x58]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000381a
nop dword [rax + rax]
mov dword [0], r14d
jmp 0x140003810
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 1
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x140003840
cmp dword [rsp + 0x50], 0x103
jne 0x140003848
mov dword [rsp + 0x50], 1
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140003870
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140003870
mov eax, dword [rsp + 0x50]
jmp 0x14000387f
mov dword [0], r14d
jmp 0x140003870
mov eax, 0xe
mov rcx, qword [rbp + 0x1400]
xor rcx, rsp
call fcn.1400153e0
lea r11, [rsp + 0x1510]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret