Function at 0x1400f31a0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x14057b900]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov rbx, r8
mov r13d, edx
mov qword [rsp + 0x50], rcx
mov rdi, qword [rbp + 0x3e0]
xor r12d, r12d
test r9d, r9d
je 0x1400f31fc
cmp r9d, 1
je 0x1400f31f5
mov esi, r12d
jmp 0x1400f3201
mov esi, 0xebb67
jmp 0x1400f3201
mov esi, 0xe1965
mov rcx, qword [r8 + 0x10]
test rcx, rcx
je 0x1400f364a
test esi, esi
je 0x1400f364a
lea rcx, [rbp + 0x200]
call fcn.140094050
nop
lea rcx, [rbp + 0x200]
call fcn.140094a10
mov ecx, 2
cmp eax, 6
cmove esi, ecx
xor edx, edx
mov r8d, 0x240
lea rcx, [rbp - 0x40]
call fcn.1403ec370
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov r8d, 0xa
lea r15, str.DebugUtils
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.14001fb40
nop
lea r8, [rsp + 0x78]
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.1400f36d0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x1400f32c9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f32c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f36c6
call fcn.14014f510
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov r8d, 0xb
lea rdx, str.dbghelp.dll
lea rcx, [rsp + 0x78]
call fcn.14001fb40
nop
xor r9d, r9d
lea r8, [rsp + 0x78]
lea edx, [r9 + 1]
lea rcx, [rbp - 0x40]
call fcn.1400a59a0
movzx r14d, al
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x1400f334b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f3346
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f36c0
call fcn.14014f510
test r14b, r14b
jne 0x1400f3392
test rdi, rdi
je 0x1400f338b
mov rax, qword [rdi]
lea rcx, str.Unable_to_load_dbghelp.dll
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 1
mov r9d, 0x17b
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonDebugUtils.cpp
lea rdx, str.DumpProcess
mov rcx, rdi
call qword [rax + 0x18]
xor bl, bl
jmp 0x1400f363b
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400f33a6
mov rcx, qword [rbx]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
lea rax, vtable.mb::common::system::ScopedAny_void____ptr64__int____cdecl___void____ptr64___int___cdecl_CloseHandle_void____ptr64___2__0__0_.0
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], r14
lea rcx, [r14 + 1]
test rcx, 0xfffffffffffffffe
jne 0x1400f3449
test rdi, rdi
je 0x1400f3442
mov rcx, qword [rdi]
mov rsi, qword [rcx + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rbx + 0x18], 7
jbe 0x1400f3407
mov rbx, qword [rbx]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], rbx
lea rax, str.Unable_to_open_dump_file__ls:__u
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 2
mov r9d, 0x183
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonDebugUtils.cpp
lea rdx, str.DumpProcess
mov rcx, rdi
call rsi
xor bl, bl
jmp 0x1400f3627
mov dword [rbp - 0x60], esi
mov dword [rbp - 0x5c], r12d
mov r12d, dword [rbp + 0x3d0]
test r12d, r12d
je 0x1400f346e
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
add rax, r12
mov qword [rbp - 0x58], rax
xor r12d, r12d
jmp 0x1400f3475
xor r12d, r12d
mov qword [rbp - 0x58], r12
lea rax, [0x1400f3110]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x68], rax
mov rcx, qword [rbp + 0x78]
add rcx, 0x30
mov qword [rsp + 0x58], rcx
call fcn.14011a6a0
nop
mov rax, qword [rbp + 0x80]
test rax, rax
je 0x1400f34d1
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov r9d, esi
mov r8, r14
mov edx, r13d
mov rcx, qword [rsp + 0x50]
call rax
mov esi, eax
jmp 0x1400f34d7
mov esi, dword [rbp + 0x88]
lea rcx, [rsp + 0x58]
call fcn.140055c60
test esi, esi
jne 0x1400f35b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
lea r13, vtable._com_error.0
mov qword [rsp + 0x78], r13
mov dword [rbp - 0x80], eax
movdqu xmmword [rbp - 0x78], xmm0
test rdi, rdi
je 0x1400f356e
mov rax, qword [rdi]
mov r12, qword [rax + 0x20]
lea rcx, [rsp + 0x78]
call fcn.140025780
cmp qword [rbx + 0x18], 7
jbe 0x1400f352d
mov rbx, qword [rbx]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x38], rbx
lea rax, str.MiniDumpWriteDump_failed_to_write_dump_file__ls:__u___ws
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 2
mov r9d, 0x196
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonDebugUtils.cpp
lea rdx, str.DumpProcess
mov rcx, rdi
call r12
mov byte [rsp + 0x70], 1
mov r9d, 1
lea r8, [rsp + 0x70]
lea edx, [r9 + 3]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetFileInformationByHandle]
nop
mov qword [rsp + 0x78], r13
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400f35a0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400f35b0
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
xor bl, bl
jmp 0x1400f3627
mov qword [rbp - 0x68], 0
lea rdx, [rbp - 0x68]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test rdi, rdi
je 0x1400f3625
mov rax, qword [rdi]
mov r10, qword [rax + 0x20]
cmp qword [rbx + 0x18], 7
jbe 0x1400f35df
mov rbx, qword [rbx]
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], r13d
lea rax, str.Successfully_wrote_dump_of_process___u__to__ls:___I64u_bytes_
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 4
mov r9d, 0x1a2
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonDebugUtils.cpp
lea rdx, str.DumpProcess
mov rcx, rdi
call r10
mov bl, 1
lea rcx, [r14 - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400f363b
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x40]
call fcn.1400f3e20
nop
movzx eax, bl
jmp 0x1400f3696
test rdi, rdi
je 0x1400f3694
mov rax, qword [rdi]
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], ecx
lea rcx, str.Invalid_parameter:__u__u
mov qword [rsp + 0x30], rcx
lea r15, str.DebugUtils
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 1
mov r9d, 0x16c
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonDebugUtils.cpp
lea rdx, str.DumpProcess
mov rcx, rdi
call qword [rax + 0x20]
xor al, al
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.14014f4f0
mov rbx, qword [rsp + 0x4c8]
add rsp, 0x470
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14015fa1c
nop
call fcn.14015fa1c
int3