Function at 0x140005208
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140021bb8]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r14d, r14d
mov edi, 0x80004005
cmp dword [0x140028428], r14d
mov r12d, 1
jne 0x140005260
cmp qword [0x140027000], r14
mov r8d, r14d
je 0x140005263
mov r8d, r12d
cmp qword [0x140026fe0], r14
mov r9d, r14d
setne r9b
call fcn.140007dcc
cmp dword [0x140026794], r14d
mov r15d, 0x10
jne 0x1400052fe
cmp qword [0x140026640], r14
je 0x1400052fe
cmp dword [0x140021bd0], r14d
movups xmm6, xmmword [0x140014850]
je 0x1400052b7
cmp dword [0x140020020], r14d
jbe 0x1400052b7
mov rax, qword [0x140021f48]
test rax, rax
je 0x1400052b7
movups xmm6, xmmword [rax + 8]
mov rcx, r15
call fcn.14000d9b8
mov r8, rax
test rax, rax
je 0x1400052d0
movups xmm0, xmm6
movdqu xmmword [rax], xmm0
jmp 0x1400052d3
mov r8, r14
mov rcx, qword [0x140026640]
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov edx, 0xff000003
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [0x140011380]
call fcn.140007a18
mov eax, dword [0x140026ff8]
test eax, eax
je 0x1400053da
cmp dword [0x14002841c], r14d
jne 0x140005901
mov ecx, dword [0x1400269cc]
lea r15, [0x140000000]
test ecx, ecx
je 0x140005379
mov esi, r14d
mov rcx, qword [0x140026638]
xor r8d, r8d
mov edx, esi
mov rax, qword [rcx]
mov r9d, dword [r15 + rdx*4 + 0x26ee0]
mov rdx, qword [r15 + rdx*8 + 0x26ce0]
mov rax, qword [rax + 0x1f0]
call qword [0x140011380]
mov edi, eax
test eax, eax
jne 0x140005910
add esi, r12d
cmp esi, dword [0x1400269cc]
jb 0x140005332
mov eax, dword [0x140026ff8]
mov ebx, r14d
test eax, eax
je 0x1400058c2
mov rcx, qword [0x140026638]
xor r8d, r8d
mov esi, ebx
mov rax, qword [rcx]
mov rdx, qword [r15 + rsi*8 + 0x26ae0]
mov rax, qword [rax + 0x1e0]
call qword [0x140011380]
mov edi, eax
test eax, eax
jne 0x140005a65
cmp dword [r15 + rsi*4 + 0x269e0], r14d
je 0x1400053ca
mov rcx, qword [r15 + rsi*8 + 0x26ae0]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
add ebx, r12d
cmp ebx, dword [0x140026ff8]
jb 0x140005384
jmp 0x1400058c2
mov ecx, dword [0x140028428]
or rbx, 0xffffffffffffffff
cmp qword [0x140026ff0], r14
mov rdx, qword [0x140027000]
mov r8, qword [0x1400269d8]
jne 0x140005488
test ecx, ecx
jne 0x140005488
test rdx, rdx
jne 0x140005488
test r8, r8
je 0x140005423
mov rax, rbx
inc rax
cmp word [r8 + rax*2], r14w
jne 0x140005414
test rax, rax
jne 0x140005488
cmp dword [0x14002841c], r14d
je 0x14000544b
cmp qword [0x140026688], r14
je 0x140005943
cmp dword [0x140026794], r14d
je 0x1400058ca
jmp 0x140005943
mov rcx, qword [0x140026638]
mov r8, qword [0x140026fe8]
mov edx, dword [0x140028414]
mov rax, qword [rcx]
mov rax, qword [rax + 0x210]
call qword [0x140011380]
test byte [0x140028414], 4
mov edi, eax
jne 0x140005952
call fcn.140004960
jmp 0x1400058c2
cmp dword [0x14002841c], r14d
mov r10, r14
mov qword [rbp - 1], r14
jne 0x14000595a
mov r9, qword [0x140026fe0]
test r9, r9
je 0x1400054e8
mov rcx, qword [0x140026638]
lea r8, [rbp - 1]
mov rdx, r9
mov rax, qword [rcx]
mov rax, qword [rax + 0x230]
call qword [0x140011380]
mov edi, eax
test eax, eax
jne 0x140005969
mov r10, qword [rbp - 1]
mov ecx, dword [0x140028428]
mov rdx, qword [0x140027000]
mov r8, qword [0x1400269d8]
test rdx, rdx
je 0x140005536
mov rcx, qword [0x140026638]
lea r8, [rbp - 5]
mov r9d, dword [0x140028420]
mov qword [rsp + 0x20], r8
or r9d, 2
mov r8, rdx
mov rdx, r10
mov rax, qword [rcx]
mov rax, qword [rax + 0x1c0]
call qword [0x140011380]
mov edi, eax
test eax, eax
je 0x140005727
cmp eax, r12d
je 0x140005984
jmp 0x14000599b
test r8, r8
je 0x1400056e0
mov rax, rbx
inc rax
cmp word [r8 + rax*2], r14w
jne 0x140005542
test rax, rax
je 0x1400056e0
mov rax, qword [0x1400269d0]
test rax, rax
je 0x140005573
mov rcx, rbx
inc rcx
cmp word [rax + rcx*2], r14w
jne 0x140005564
test rcx, rcx
jne 0x140005599
mov rdx, qword [0x1400267b8]
test rdx, rdx
je 0x140005a1d
mov rcx, rbx
inc rcx
cmp word [rdx + rcx*2], r14w
jne 0x140005586
test rcx, rcx
je 0x140005a1d
mov dword [rbp + 7], r14d
mov dword [rbp - 9], r14d
test rax, rax
je 0x140005631
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x1400055aa
test rbx, rbx
je 0x140005631
mov rcx, qword [0x140026638]
lea r8, [rbp + 0xf]
mov qword [rbp + 0xf], r14
lea rdx, [0x140014840]
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [0x140011380]
mov ebx, eax
test eax, eax
jne 0x140005699
mov rcx, qword [rbp + 0xf]
lea rdx, [rbp - 9]
mov r9, qword [0x1400269d8]
or r8d, 0xffffffff
mov qword [rsp + 0x38], rdx
lea rdx, [rbp + 7]
mov qword [rsp + 0x30], rdx
mov rdx, qword [0x140026ff0]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdx
mov rdx, qword [0x1400269d0]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rbp - 1]
mov rax, qword [rax + 0x18]
call qword [0x140011380]
jmp 0x140005697
mov rcx, qword [0x140026638]
lea r8, [rbp + 0xf]
mov qword [rbp + 0xf], r14
lea rdx, [0x140014830]
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [0x140011380]
mov ebx, eax
test eax, eax
jne 0x140005699
mov rcx, qword [rbp + 0xf]
lea rdx, [rbp - 9]
mov r9, qword [0x1400269d8]
or r8d, 0xffffffff
mov qword [rsp + 0x30], rdx
lea rdx, [rbp + 7]
mov qword [rsp + 0x28], rdx
mov rdx, qword [0x1400267b8]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rbp - 1]
mov rax, qword [rax + 0x20]
call qword [0x140011380]
mov ebx, eax
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x1400056af
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140011380]
test ebx, ebx
jne 0x1400056ce
mov eax, dword [rbp - 9]
lea r8, [rbp - 9]
mov dword [0x140028418], eax
mov eax, dword [rbp + 7]
mov dword [0x140028428], eax
mov dword [rbp - 5], eax
jmp 0x1400056f3
mov rdx, qword [rbp - 1]
test rdx, rdx
je 0x1400059de
jmp 0x1400059ca
cmp dword [0x140028418], r14d
mov dword [rbp - 5], ecx
je 0x140005727
lea r8, [0x140028418]
mov rcx, qword [0x140026640]
mov r9d, 4
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov rax, qword [rcx]
lea edx, [r9 + 0x1e]
mov rax, qword [rax + 0x28]
call qword [0x140011380]
or dword [0x140028424], 8
mov rcx, qword [0x140026640]
lea rdx, [rbp + 0x17]
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r15d
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rax, qword [rcx]
lea edx, [r9 + 4]
mov rax, qword [rax + 0x28]
call qword [0x140011380]
mov ebx, eax
test eax, eax
jne 0x140005a8b
mov rcx, qword [0x140026640]
lea esi, [rbx + 5]
mov qword [rsp + 0x30], r14
lea r8, [0x140021bd8]
mov dword [rsp + 0x28], r14d
mov r9d, r15d
mov edx, esi
mov qword [rsp + 0x20], r14
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [0x140011380]
mov ebx, eax
test eax, eax
jne 0x140005a8b
cmp word [0x1400267c0], r14w
mov rcx, qword [0x140026638]
mov edx, dword [0x140028424]
mov r8, qword [0x140026ff0]
mov rax, qword [rcx]
jne 0x1400057e4
mov r9d, dword [0x140021bd8]
mov rax, qword [rax + 0x1d8]
mov dword [rsp + 0x28], edx
mov edx, dword [rbp - 5]
mov dword [rsp + 0x20], edx
mov rdx, qword [rbp - 1]
call qword [0x140011380]
jmp 0x14000581d
mov rax, qword [rax + 0x2a0]
lea r9, [0x140021bd8]
mov dword [rsp + 0x40], edx
mov edx, dword [rbp - 5]
mov dword [rsp + 0x38], edx
lea rdx, [0x1400267c0]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp - 1]
mov dword [rsp + 0x20], r15d
call qword [0x140011380]
mov rcx, qword [0x140026640]
lea r8, [rbp + 0x17]
mov edi, eax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov r9d, r15d
mov edx, esi
mov qword [rsp + 0x20], r14
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [0x140011380]
test eax, eax
jne 0x140005a2f
test edi, edi
jne 0x1400058a5
cmp dword [0x1400267b4], r14d
je 0x140005882
mov rcx, qword [0x140026638]
mov edx, r12d
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
call qword [0x140011380]
test eax, eax
jne 0x140005a4f
cmp dword [0x1400267b0], r14d
je 0x1400058a5
mov rcx, qword [0x140026638]
mov edx, r12d
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
call qword [0x140011380]
mov rdx, qword [rbp - 1]
test rdx, rdx
je 0x1400058c2
mov rcx, qword [0x140026638]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [0x140011380]
test edi, edi
jne 0x140005a65
call fcn.140007888
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14000e6b0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rdx, str.Inactive_mode_not_compatible_with_opening_a_dump_file_n
mov ecx, edi
call fcn.140002f30
int3
mov ecx, eax
call fcn.14000b774
mov ecx, edi
mov rbx, rax
call fcn.14000b6f8
mov r8d, esi
lea rdx, str.Unable_to_use__ws___s_n_s_n
mov r9, rax
mov qword [rsp + 0x20], rbx
mov ecx, edi
mov r8, qword [r15 + r8*8 + 0x26ce0]
call fcn.140002f30
int3
lea rdx, str.Inactive_mode_must_be_used_with__server_option_n
mov ecx, edi
call fcn.140002f30
int3
mov ecx, eax
call fcn.140002e94
int3
lea rdx, str.Inactive_mode_not_compatible_with_starting_a_debug_session_n
mov ecx, edi
call fcn.140002f30
int3
lea rdx, str.Unable_to_connect_to_process_server
call fcn.140003fe4
lea rdx, str.Unable_to_connect_to_process_server
mov ecx, edi
call fcn.140004b50
int3
mov r8, qword [0x140027000]
lea rdx, str.There_is_more_than_one__s_process_running.__Find_the_process_ID_nof_the_instance_you_are_interested_in_and_use__p__pid_._n
mov ecx, r12d
call fcn.140002f30
int3
mov ecx, eax
call fcn.14000b774
mov ecx, edi
mov rbx, rax
call fcn.14000b6f8
mov r8, qword [0x140027000]
lea rdx, str.Unable_to_find_process__s___s_n_s_n
mov r9, rax
mov qword [rsp + 0x20], rbx
mov ecx, edi
call fcn.140002f30
int3
mov rcx, qword [0x140026638]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [0x140011380]
mov rcx, qword [0x140026ff0]
lea rax, [0x14001272c]
mov r9, qword [0x1400269d8]
lea rdx, str.Error:__u___Could_not_launch_PLM_package__S__appName__S__arguments__S
test rcx, rcx
mov r8d, ebx
cmovne rax, rcx
mov ecx, ebx
mov qword [rsp + 0x28], rax
mov rax, qword [0x1400269d0]
mov qword [rsp + 0x20], rax
call fcn.140002f30
int3
lea rdx, str.Missing_application_name_or_background_task_id_for_PLM_package__s
mov ecx, 0x80070057
call fcn.140002f30
int3
mov ecx, eax
call fcn.14000b6f8
mov r9, rax
lea r8, [0x140014b58]
lea rdx, str._s:_unable_to_reset_additional_create_options___s_n
mov ecx, edi
call fcn.140002f30
int3
lea r8, [0x140014b58]
xor ecx, ecx
lea rdx, str._s:_The_system_does_not_support_detach_on_exit_n
call fcn.140002f30
int3
mov ecx, edi
call fcn.14000b774
mov ecx, edi
mov rbx, rax
call fcn.14000b6f8
mov r8, rax
lea rdx, str.Debuggee_initialization_failed___s_n_s_n
mov r9, rbx
mov ecx, edi
call fcn.140002f30
int3
mov ecx, ebx
call fcn.14000b6f8
mov r9, rax
lea r8, [0x140014b58]
lea rdx, str._s:_unable_to_set_additional_create_options___s_n
mov ecx, ebx
call fcn.140002f30
int3