Function at 0x1402482d8
Capabilities:
Check if file exists
Impersonate user
Terminate process

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x110
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14049e510]
xor rax, rsp
mov qword [rbp - 0x20], rax
mov r14, rdx
mov rsi, rcx
lea rdi, [rcx + 0x20]
xor r15d, r15d
cmp qword [rdi], r15
jne 0x1402485c9
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
lea r9d, [r15 + 5]
lea r8, [0x140344690]
lea rdx, str.NT_AUTHORITY
lea rcx, str.LocalService
call qword [sym.imp.api_ms_win_security_logon_l1_1_1.dll_LogonUserW]
test eax, eax
jne 0x14024837c
mov ebx, r15d
mov qword [rsp + 0x58], rbx
mov rcx, qword [rsp + 0x50]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14024838b
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x14024838b
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], r15
lea rax, [rbx + 1]
test rax, 0xfffffffffffffffe
jne 0x14024844c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x50], eax
call fcn.14004d8a4
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x1402483f7
lea rax, [rsp + 0x50]
mov qword [rbp - 0x40], rax
mov edx, 4
mov qword [rbp - 0x38], rdx
lea rax, str.FileStreamingOperations::Run_Failed_to_create_LocalService_token
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 0x82
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edx
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403dfae7]
call fcn.140001158
mov r9d, dword [rsp + 0x50]
test r9d, r9d
je 0x140248432
mov rcx, qword [rbp + 0x38]
lea r8, str.amcorewcd_sourcecommon_src_filestreamingoperations.cpp
mov edx, 0x3b
call fcn.14005bb28
mov edi, eax
lea rcx, [rbx - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14024842b
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, edi
jmp 0x14024859c
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140248445
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
xor eax, eax
jmp 0x14024859c
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r15w
lea rdx, [0x140344690]
lea rcx, [rbp - 0x60]
call fcn.14004d5c4
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
mov r8, r14
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.1401f32e4
cmp rdi, rax
je 0x1402484de
movups xmm6, xmmword [rax]
movsd xmm7, qword [rax + 0x10]
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call fcn.1401ca054
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
movups xmmword [rdi], xmm6
movsd qword [rdi + 0x10], xmm7
lea rcx, [rbp - 0x80]
call fcn.1401ca054
nop
lea rcx, [rsp + 0x60]
call fcn.14006f548
nop
lea rcx, [rbp - 0x60]
call fcn.14004e0f0
mov edx, dword [rsi + 0x38]
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rcx, qword [rsi + 0x20]
cmp eax, 0x102
jne 0x140248569
mov edx, 0x5b4
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
call fcn.14004d8a4
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x140248562
lea rax, str.Uploader_process_time_out
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 0x34
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403e0652]
call fcn.140001158
mov ebx, 0x800705b4
jmp 0x140248578
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ebx, dword [rsp + 0x50]
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov rcx, qword [rsp + 0x58]
lea rdx, [rcx - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x14024859a
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.1402dfdb0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.File_operations_was_run_while_previous_operation_process_info_was_not_null
lea rcx, [rsp + 0x60]
call fcn.140067184
lea rdx, [0x14047cb68]
lea rcx, [rsp + 0x60]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3