Function at 0x1400120a0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x240
mov rax, qword [0x140176808]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbp, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
test eax, eax
jne 0x140012138
lea rbx, str.C:.image_jenkinsworkspaceCC_Windows_ReleaseAppMonitorVECrashMonitorVECrashHandlerwincmdmdsw_engine_parse.cpp
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x140012115
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
lea rbx, [rax + 1]
mov r9d, 0x48
lea r8, str.LVDumpEngineParse::_is_engine_ready
mov rdx, rbx
lea rcx, str._lv_crash_handler___s:_s:_d_:_call_GetModuleFileName_failed_
call fcn.140014070
xor al, al
jmp 0x1400123a9
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_wcsrchr
test rax, rax
jne 0x140012192
lea rbx, str.C:.image_jenkinsworkspaceCC_Windows_ReleaseAppMonitorVECrashMonitorVECrashHandlerwincmdmdsw_engine_parse.cpp
mov rcx, rbx
lea edx, [rax + 0x5c]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x14001216f
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
lea rbx, [rax + 1]
mov r9d, 0x4f
lea r8, str.LVDumpEngineParse::_is_engine_ready
mov rdx, rbx
lea rcx, str._lv_crash_handler___s:_s:_d_:_engine_path_not_contain_char__
call fcn.140014070
xor al, al
jmp 0x1400123a9
mov qword [rsp + 0x258], rsi
xor ecx, ecx
mov qword [rsp + 0x260], rdi
mov rdi, 0xffffffffffffffff
mov word [rax], cx
mov r8, rdi
lea rax, [rsp + 0x20]
inc r8
cmp word [rax + r8*2], cx
jne 0x1400121b6
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x40]
call fcn.140009d10
mov r8d, 1
lea rdx, [0x140054d34]
lea rcx, [rbp + 0x40]
call fcn.14000e2b0
mov r8d, 0xf
lea rdx, str.crash_stack.txt
lea rcx, [rbp + 0x40]
call fcn.14000e2b0
xor sil, sil
nop dword [rax]
cmp qword [rbp + 0x58], 8
lea rcx, [rbp + 0x40]
jb 0x14001220f
mov rcx, qword [rbp + 0x40]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
cmp eax, edi
je 0x1400122e7
cmp qword [rbp + 0x58], 8
lea rcx, [rbp + 0x40]
jb 0x14001222e
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
test eax, eax
je 0x1400122e7
test sil, sil
jne 0x14001229a
mov sil, 1
lea rax, [rsp + 0x20]
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140012250
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x40]
call fcn.140009d10
mov r8d, 1
lea rdx, [0x140054d34]
lea rcx, [rbp + 0x40]
call fcn.14000e2b0
mov r8d, 0x16
lea rdx, str.crash_stack_backup.txt
lea rcx, [rbp + 0x40]
call fcn.14000e2b0
jmp 0x140012200
lea rbx, str.C:.image_jenkinsworkspaceCC_Windows_ReleaseAppMonitorVECrashMonitorVECrashHandlerwincmdmdsw_engine_parse.cpp
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400122c4
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
lea rbx, [rax + 1]
mov r9d, 0x63
lea r8, str.LVDumpEngineParse::_is_engine_ready
mov rdx, rbx
lea rcx, str._lv_crash_handler___s:_s:_d_:_crash_parse_file_remove_fail_
call fcn.140014070
xor al, al
jmp 0x140012399
lea rbx, [rbp + 0x20]
lea rax, [rsp + 0x20]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1400122f0
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140009d10
mov r8d, 1
lea rdx, [0x140054d34]
mov rcx, rbx
call fcn.14000e2b0
mov r8d, 0x16
lea rdx, str.minidump_stackwalk.exe
mov rcx, rbx
call fcn.14000e2b0
cmp qword [rbx + 0x18], 8
jb 0x14001233e
mov rbx, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
test eax, eax
je 0x140012397
lea rbx, str.C:.image_jenkinsworkspaceCC_Windows_ReleaseAppMonitorVECrashMonitorVECrashHandlerwincmdmdsw_engine_parse.cpp
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x140012377
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
lea rbx, [rax + 1]
mov r9d, 0x74
lea r8, str.LVDumpEngineParse::_is_engine_ready
mov rdx, rbx
lea rcx, str._lv_crash_handler___s:_s:_d_:_parse_engine_is_not_exist_
call fcn.140014070
xor al, al
jmp 0x140012399
mov al, 1
mov rsi, qword [rsp + 0x258]
mov rdi, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140049d60
mov rbx, qword [rsp + 0x268]
add rsp, 0x240
pop rbp
ret