Function at 0x1400163a4
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400163e1
mov rcx, qword [rcx]
xor r13d, r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r13 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14001667a
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140016469
lea r9d, [r13 + 0x4e]
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludeSHA256Gen.cpp
lea edx, [r13 + 2]
lea rcx, [rbp - 0x40]
call fcn.14000e798
nop
lea rdx, str._CSHA256Gen::cal_FileMapping__check_file_size_error
lea rcx, [0x1400ba1e0]
call fcn.14001448c
nop
lea rcx, [rbp - 0x40]
call fcn.14000e9c4
jmp 0x1400166ce
mov qword [rbp - 0x30], r13
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
lea r14d, [r9 + 2]
mov r8d, r14d
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rsi, rax
mov qword [rbp - 0x38], rax
lea rcx, [rax + 1]
test rcx, 0xfffffffffffffffe
jne 0x1400164fb
lea r9d, [r14 + 0x52]
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludeSHA256Gen.cpp
mov edx, r14d
lea rcx, [rbp - 0x40]
call fcn.14000e798
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._CSHA256Gen::cal_FileMapping__CreateFileMapping_fail__error:
lea rcx, [0x1400ba1e0]
call fcn.14001448c
mov rcx, rax
mov edx, ebx
call fcn.14000b5b8
nop
lea rcx, [rbp - 0x40]
call fcn.14000e9c4
nop
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400166ce
jmp 0x14001666f
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r12, rax
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x14001656c
lea r9d, [rax + 0x5a]
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludeSHA256Gen.cpp
mov edx, r14d
lea rcx, [rbp - 0x40]
call fcn.14000e798
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._CSHA256Gen::cal_FileMapping__MapViewOfFile_fail__error:
lea rcx, [0x1400ba1e0]
call fcn.14001448c
mov rcx, rax
mov edx, ebx
call fcn.14000b5b8
nop
lea rcx, [rbp - 0x40]
call fcn.14000e9c4
nop
jmp 0x14001666f
mov r9d, ebx
mov r8, r12
lea rdx, [rbp - 0x28]
call fcn.140016d80
lea rbx, [rdi + 0x20]
cmp rbx, rax
je 0x140016592
mov r8b, r13b
mov rdx, rax
mov rcx, rbx
call fcn.140007a18
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1400165cd
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400165c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001670b
call fcn.14002ae70
cmp qword [rdi + 0x30], r13
jne 0x14001661e
mov r9d, 0x60
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludeSHA256Gen.cpp
mov edx, r14d
lea rcx, [rbp - 0x40]
call fcn.14000e798
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._CSHA256Gen::cal_FileMapping__sha256_crypt_fail__error:
lea rcx, [0x1400ba1e0]
call fcn.14001448c
mov rcx, rax
mov edx, ebx
call fcn.14000b5b8
nop
lea rcx, [rbp - 0x40]
call fcn.14000e9c4
jmp 0x140016666
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140016630
mov r14, qword [rbx]
mov rcx, r14
jmp 0x140016636
mov rcx, rbx
mov r14, rbx
mov r13, qword [rax + 0x10]
add r13, rcx
cmp qword [rbx + 0x18], 0x10
jb 0x140016647
mov rbx, qword [rbx]
cmp rbx, r13
je 0x140016663
sub r14, rbx
movsx ecx, byte [rbx]
call fcn.14005e540
mov byte [r14 + rbx], al
inc rbx
cmp rbx, r13
jne 0x14001664f
xor r13d, r13d
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400166ce
mov r9d, 0x47
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludeSHA256Gen.cpp
lea edx, [r9 - 0x45]
lea rcx, [rbp - 0x40]
call fcn.14000e798
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._CSHA256Gen::cal_FileMapping__cannot_open_file__error:
lea rcx, [0x1400ba1e0]
call fcn.14001448c
mov rcx, rax
mov edx, ebx
call fcn.14000b5b8
nop
lea rcx, [rbp - 0x40]
call fcn.14000e9c4
lea rax, [r15 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400166d7
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rdi + 0x30], r13
setne al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140077b20
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140058c18
nop
int3