Function at 0x1402141e0
Capabilities:
Check if file exists
Create process on windows
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1403f04b0]
xor rax, rsp
mov qword [rbp + 0x10], rax
lea rbx, [rcx + 0x20]
xor r14d, r14d
mov rdi, rdx
mov rsi, rcx
cmp qword [rbx], r14
jne 0x14021442b
xor edx, edx
mov dword [rsp + 0x60], 0x68
lea r8d, [r14 + 0x60]
lea rcx, [rsp + 0x68]
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
call fcn.140048a14
mov r10, qword [rax + 8]
cmp dword [r10], 5
jbe 0x1402142bd
cmp qword [rdi + 0x18], 8
lea rax, str.Calling_SenseSampleUploader_process
mov qword [rbp - 0x10], rax
mov rax, rdi
mov qword [rbp - 8], 0x24
jb 0x140214265
mov rax, qword [rdi]
lea rdx, [0x1402cb810]
mov rcx, r14
test rax, rax
je 0x140214285
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r14w
jne 0x14021427b
lea eax, [rcx*2 + 2]
mov qword [rbp], rdx
mov dword [rbp + 8], eax
mov dword [rbp + 0xc], r14d
lea rax, [rbp - 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x14034fbc8]
xor r8d, r8d
mov dword [rsp + 0x20], 4
mov rcx, r10
call fcn.140001078
cmp qword [rdi + 0x18], 8
jb 0x1402142c7
mov rdi, qword [rdi]
cmp qword [rsi + 0x18], 8
mov rcx, rsi
jb 0x1402142d4
mov rcx, qword [rsi]
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], r14
xor r8d, r8d
mov qword [rsp + 0x30], r14
mov rdx, rdi
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
test eax, eax
jne 0x14021437f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x50], eax
call fcn.140048a14
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x140214369
lea rax, [rsp + 0x50]
mov qword [rbp - 8], 4
mov qword [rbp - 0x10], rax
lea rax, str.Failed_to_launch_sample_uploader_process
mov qword [rbp], rax
mov qword [rbp + 8], 0x52
lea rax, [rbp - 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x14034fb99]
xor r8d, r8d
mov dword [rsp + 0x20], 4
call fcn.140001078
mov ecx, dword [rsp + 0x50]
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x140214407
mov edx, dword [rsi + 0x38]
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rcx, qword [rbx]
cmp eax, 0x102
jne 0x1402143eb
mov edx, 0x5b4
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
call fcn.140048a14
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x1402143e4
lea rax, str.Uploader_process_time_out
mov qword [rbp - 8], 0x34
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x14034ea87]
xor r8d, r8d
mov dword [rsp + 0x20], 3
call fcn.140001078
mov eax, 0x800705b4
jmp 0x1402143fa
lea rdx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
mov eax, dword [rsp + 0x50]
xor ecx, ecx
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rcx
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14027a710
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea rdx, str.File_operations_was_run_while_previous_operation_process_info_was_not_null
lea rcx, [rbp - 0x30]
call fcn.140086ab0
lea rdx, [0x1403d42d0]
lea rcx, [rbp - 0x30]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3