Function at 0x140011dd0
Capabilities:
Delete file
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x20
cmp qword [rcx + 0x58], 8
lea rbx, [rcx + 0x40]
mov rbp, rdx
mov rcx, rbx
jb 0x140011dee
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
test eax, eax
je 0x140011e4d
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 0x140011e24
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
lea rbx, [rax + 1]
mov r9d, 0xce
lea r8, str.LVDumpEngineParse::_do_read_result
mov rdx, rbx
lea rcx, str._lv_crash_handler___s:_s:_d_:_no_engine_parse_file_exist_
call fcn.140014070
xor al, al
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
cmp qword [rbx + 0x18], 8
mov rdx, rbx
mov qword [rsp + 0x30], 0
jb 0x140011e63
mov rdx, qword [rbx]
lea r8, [0x140056784]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
jne 0x140011ed0
lea edx, [rcx + 0x5c]
lea rbx, str.C:.image_jenkinsworkspaceCC_Windows_ReleaseAppMonitorVECrashMonitorVECrashHandlerwincmdmdsw_engine_parse.cpp
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x140011ea7
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
lea rbx, [rax + 1]
mov r9d, 0xd6
lea r8, str.LVDumpEngineParse::_do_read_result
mov rdx, rbx
lea rcx, str._lv_crash_handler___s:_s:_d_:_open_engine_parse_file_failed_
call fcn.140014070
xor al, al
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
xor edx, edx
mov qword [rsp + 0x40], rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
xor edx, edx
mov edi, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test edi, edi
jg 0x140011f5a
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 0x140011f2c
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
lea rbx, [rax + 1]
mov r9d, 0xe0
lea r8, str.LVDumpEngineParse::_do_read_result
mov rdx, rbx
lea rcx, str._lv_crash_handler___s:_s:_d_:_engine_parse_file_size___0_
call fcn.140014070
mov rdi, qword [rsp + 0x40]
xor al, al
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, 0x20000
mov qword [rsp + 0x38], rsi
cmp edi, eax
cmovg edi, eax
mov esi, edi
lea rcx, [rdi + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140011fc6
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 0x140011fa3
lea edx, [rdi + 0x5c]
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
lea rbx, [rax + 1]
mov r9d, 0xec
lea r8, str.LVDumpEngineParse::_do_read_result
mov rdx, rbx
lea rcx, str._lv_crash_handler___s:_s:_d_:_engine_parse_read_file__malloc_failed_
call fcn.140014070
xor al, al
jmp 0x14001207d
mov r9, qword [rsp + 0x30]
mov r8d, 1
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, qword [rsp + 0x30]
mov byte [rsi + rdi], 0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x30], 0
nop dword [rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x140012000
mov rdx, rdi
mov rcx, rbp
call fcn.1400062b0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp qword [rbx + 0x18], 8
jb 0x140012028
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
test eax, eax
je 0x14001207b
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 0x14001205f
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
lea rbx, [rax + 1]
mov r9d, 0xfd
lea r8, str.LVDumpEngineParse::_do_read_result
mov rdx, rbx
lea rcx, str._lv_crash_handler___s:_s:_d_:_remove_parse_file_fail_after_handle_
call fcn.140014070
mov al, 1
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret