Function at 0x1400013d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
xor edi, edi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], 7
mov word [rbp - 0x20], di
lea r9, str.taskkill__F__IM_EABackgroundService.exe
lea edx, [rdi + 0x27]
lea rcx, [rbp - 0x20]
call fcn.140001a10
nop
lea rcx, [rbp - 0x20]
call fcn.1400011c0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140001459
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001454
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001454
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001bec
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], 7
mov word [rbp - 0x20], di
lea r9, str.taskkill__F__IM_EADesktop.exe
mov edx, 0x1d
lea rcx, [rbp - 0x20]
call fcn.140001a10
nop
lea rcx, [rbp - 0x20]
call fcn.1400011c0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x1400014d0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400014cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400014cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001bec
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], 7
mov word [rbp - 0x20], di
lea r9, str.taskkill__F__IM_EACefSubProcess.exe
mov edx, 0x23
lea rcx, [rbp - 0x20]
call fcn.140001a10
nop
lea rcx, [rbp - 0x20]
call fcn.1400011c0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140001547
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001542
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001542
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001bec
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], 7
mov word [rbp - 0x20], di
lea r9, str.copy___Installation.py__C:ProgramDataMicrosoftWindowsStart_MenuProgramsEADLC_
mov edx, 0x53
lea rcx, [rbp - 0x20]
call fcn.140001a10
nop
lea rcx, [rbp - 0x20]
call fcn.1400011c0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x1400015be
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400015b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400015b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001bec
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], 7
lea r9, str.version.dll
mov edx, 0xb
lea rcx, [rbp - 0x20]
call fcn.140001a10
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140001640
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000163b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000163b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001bec
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], 7
lea rcx, [rbp - 0x20]
mov word [rbp - 0x20], di
test bl, bl
je 0x1400016ba
lea r9, str.copy_version.dll__C:Program_FilesElectronic_ArtsEA_DesktopEA_Desktop_
mov edx, 0x4a
call fcn.140001a10
nop
lea rcx, [rbp - 0x20]
call fcn.1400011c0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140001719
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001714
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001714
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea r9, str.copy___appdata__anadius_version.dll___C:Program_FilesElectronic_ArtsEA_DesktopEA_Desktop_
mov edx, 0x5e
call fcn.140001a10
nop
lea rcx, [rbp - 0x20]
call fcn.1400011c0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140001719
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001714
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001714
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001bec
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret