Function at 0x140091a10
Capabilities:
Get file size

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x340]
sub rsp, 0x440
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x498], rbx
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rbp + 0x330], rax
mov rdi, r8
mov r13d, edx
mov qword [rsp + 0x50], rcx
mov rsi, qword [rbp + 0x3b0]
test r9d, r9d
je 0x140091a77
cmp r9d, 1
je 0x140091a6f
xor r14d, r14d
jmp 0x140091a7d
mov r14d, 0xebb67
jmp 0x140091a7d
mov r14d, 0xe1965
mov rcx, qword [r8 + 0x10]
test rcx, rcx
je 0x140091eac
test r14d, r14d
je 0x140091eac
lea rcx, [rbp + 0x1d0]
call fcn.14007d910
nop
lea rcx, [rbp + 0x1d0]
call fcn.14007dfa0
mov r15d, 2
cmp eax, 6
cmove r14d, r15d
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x30]
call fcn.140286140
lea r12, str.DebugUtils
mov rdx, r12
lea rcx, [rbp - 0x80]
call fcn.14000d360
nop
lea r8, [rbp - 0x80]
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.140091f30
nop
lea rcx, [rbp - 0x80]
call fcn.14000c300
lea rdx, str.dbghelp.dll
lea rcx, [rbp - 0x80]
call fcn.14000d360
nop
xor r9d, r9d
lea r8, [rbp - 0x80]
lea edx, [r15 - 1]
lea rcx, [rbp - 0x30]
call fcn.1400811b0
movzx ebx, al
lea rcx, [rbp - 0x80]
call fcn.14000c300
test bl, bl
jne 0x140091b6f
test rsi, rsi
je 0x140091b68
mov rax, qword [rsi]
lea rcx, str.Unable_to_load_dbghelp.dll
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 1
mov r9d, 0x17b
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommondebugutils.cpp
lea rdx, str.DumpProcess
mov rcx, rsi
call qword [rax + 0x18]
xor bl, bl
jmp 0x140091e29
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140091b86
mov rcx, qword [rdi]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, 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 - 0x60], rax
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x58], r15
lea rcx, [r15 + 1]
test rcx, 0xfffffffffffffffe
jne 0x140091c30
test rsi, rsi
je 0x140091d91
cmp qword [rdi + 0x18], 8
jb 0x140091be1
mov rdi, qword [rdi]
mov rbx, qword [rsi]
add rbx, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], rdi
lea rax, str.Unable_to_open_dump_file__ls:__u
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 2
mov r9d, 0x183
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommondebugutils.cpp
lea rdx, str.DumpProcess
mov rcx, rsi
call qword [rbx]
xor bl, bl
jmp 0x140091e03
mov dword [rbp - 0x48], r14d
mov dword [rbp - 0x44], eax
mov ebx, dword [rbp + 0x3a0]
test ebx, ebx
je 0x140091c4a
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
add rax, rbx
mov qword [rbp - 0x40], rax
lea rax, [0x140091970]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x70], rax
mov rcx, qword [rbp + 0x48]
add rcx, 0x30
mov qword [rsp + 0x58], rcx
call fcn.140112220
nop
mov rax, qword [rbp + 0x50]
test rax, rax
je 0x140091ca9
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x30], rcx
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
mov r9d, r14d
mov r8, r15
mov edx, r13d
mov rcx, qword [rsp + 0x50]
call rax
mov ebx, eax
jmp 0x140091cac
mov ebx, dword [rbp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.14000ecf0
nop
test ebx, ebx
jne 0x140091d95
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
lea r13, vtable._com_error.0
mov qword [rbp - 0x80], r13
mov dword [rbp - 0x78], r14d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
test rsi, rsi
je 0x140091d51
cmp qword [rdi + 0x18], 8
jb 0x140091d00
mov rdi, qword [rdi]
mov rbx, qword [rsi]
add rbx, 0x20
lea rcx, [rbp - 0x80]
call fcn.14004c5b0
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x38], rdi
lea rax, str.MiniDumpWriteDump_failed_to_write_dump_file__ls:__u___ws
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 2
mov r9d, 0x196
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommondebugutils.cpp
lea rdx, str.DumpProcess
mov rcx, rsi
call qword [rbx]
mov byte [rsp + 0x78], 1
mov r9d, 1
lea r8, [rsp + 0x78]
lea edx, [r9 + 3]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetFileInformationByHandle]
nop
mov qword [rbp - 0x80], r13
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140091d82
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140091d91
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor bl, bl
jmp 0x140091e03
xor eax, eax
mov qword [rbp - 0x50], rax
lea rdx, [rbp - 0x50]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test rsi, rsi
je 0x140091e01
cmp qword [rdi + 0x18], 8
jb 0x140091db7
mov rdi, qword [rdi]
mov r10, qword [rsi]
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdi
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], r12
mov dword [rsp + 0x20], 4
mov r9d, 0x1a2
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommondebugutils.cpp
lea rdx, str.DumpProcess
mov rcx, rsi
call qword [r10 + 0x20]
mov bl, 1
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 - 0x60], rax
lea rax, [r15 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140091e21
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x58], 0
lea rcx, [rbp + 0x1b0]
call fcn.14000b890
nop
lea rcx, [rbp + 0x178]
call fcn.14000b890
nop
lea rcx, [rbp + 0x140]
call fcn.14000b890
nop
lea rcx, [rbp + 0x108]
call fcn.14000b890
nop
lea rcx, [rbp + 0xd0]
call fcn.14000b890
nop
lea rcx, [rbp + 0x98]
call fcn.14000b890
nop
lea rcx, [rbp + 0x60]
call fcn.14000b890
nop
lea rcx, [rbp - 0x30]
call fcn.140013440
nop
lea rax, vtable.mb::common::system::SysInfoUtils.0
mov qword [rbp + 0x1d0], rax
lea rax, vtable.mb::common::misc::Singleton_class_mb::common::system::SysInfoUtils_.0
mov qword [rbp + 0x1d0], rax
movzx eax, bl
jmp 0x140091ef9
test rsi, rsi
je 0x140091ef7
mov rax, qword [rsi]
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x38], ecx
lea rcx, str.Invalid_parameter:__u__u
mov qword [rsp + 0x30], rcx
lea r12, str.DebugUtils
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 1
mov r9d, 0x16c
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommondebugutils.cpp
lea rdx, str.DumpProcess
mov rcx, rsi
call qword [rax + 0x20]
xor al, al
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.140282c10
mov rbx, qword [rsp + 0x498]
add rsp, 0x440
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret