Function at 0x140012c40
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 0x140012c5e
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 0x140012cbd
lea rbx, str.C:.image_jenkinsworkspaceCC_Windows_ReleaseVECrashHandlerwincmdmdsw_engine_parse.cpp
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x140012c94
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.140014db0
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 0x140012cd3
mov rdx, qword [rbx]
lea r8, [0x1400c3594]
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 0x140012d40
lea edx, [rcx + 0x5c]
lea rbx, str.C:.image_jenkinsworkspaceCC_Windows_ReleaseVECrashHandlerwincmdmdsw_engine_parse.cpp
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x140012d17
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.140014db0
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 0x140012dca
lea rbx, str.C:.image_jenkinsworkspaceCC_Windows_ReleaseVECrashHandlerwincmdmdsw_engine_parse.cpp
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x140012d9c
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.140014db0
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 0x140012e36
lea rbx, str.C:.image_jenkinsworkspaceCC_Windows_ReleaseVECrashHandlerwincmdmdsw_engine_parse.cpp
mov rcx, rbx
lea edx, [rax + 0x5c]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x140012e13
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.140014db0
xor al, al
jmp 0x140012eed
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 0x140012e70
mov rdx, rdi
mov rcx, rbp
call fcn.140005d20
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp qword [rbx + 0x18], 8
jb 0x140012e98
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 0x140012eeb
lea rbx, str.C:.image_jenkinsworkspaceCC_Windows_ReleaseVECrashHandlerwincmdmdsw_engine_parse.cpp
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x140012ecf
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.140014db0
mov al, 1
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret