Function at 0x14004ba90
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0xc8]
sub rsp, 0x1b0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400da088]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
cmp qword [rcx + 0x18], 8
jb 0x14004badd
mov rcx, qword [rcx]
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov r14d, eax
test eax, eax
jne 0x14004bc04
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
je 0x14004bba4
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x14004bb0d
mov rax, qword [rdi]
mov qword [rsp + 0x60], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x80]
call fcn.140051060
mov rdi, rax
mov dword [rsp + 0x30], 1
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
mov r9d, 0x1f
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadutilwinmodule_version.cc
lea rdx, str.bool___cdecl_crashpad::GetModuleVersionAndType_const_class_base::FilePath__struct_tagVS_FIXEDFILEINFO__
lea rcx, [rsp + 0x78]
call fcn.14004fc20
nop
mov ebx, 3
mov dword [rsp + 0x30], ebx
lea rdx, str.GetFileVersionInfoSize:
mov rcx, rax
call fcn.140001300
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x14004bb98
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.140001f90
nop
test bl, 2
je 0x14004bbb7
and ebx, 0xfffffffd
lea rcx, [rsp + 0x78]
call fcn.14004ff50
nop
test bl, 1
je 0x14004bbfd
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x14004bbfd
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004bbf8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004be0d
call fcn.140059fc8
xor al, al
jmp 0x14004bde0
mov rcx, r14
call fcn.14005a480
mov rbx, rax
mov qword [rsp + 0x60], rax
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14004bc21
mov rcx, qword [rdi]
mov r9, rbx
mov r8d, r14d
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x14004bd31
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x14004bc43
mov rax, qword [rdi]
mov qword [rsp + 0x40], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x80]
call fcn.140051060
mov rdi, rax
mov dword [rsp + 0x30], 4
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
mov r9d, 0x26
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadutilwinmodule_version.cc
lea rdx, str.bool___cdecl_crashpad::GetModuleVersionAndType_const_class_base::FilePath__struct_tagVS_FIXEDFILEINFO__
lea rcx, [rsp + 0x78]
call fcn.14004fc20
nop
mov dword [rsp + 0x30], 0xc
lea rdx, str.GetFileVersionInfo:
mov rcx, rax
call fcn.140001300
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x14004bccd
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.140001f90
nop
lea rcx, [rsp + 0x78]
call fcn.14004ff50
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x14004bda0
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004bd24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004be07
call fcn.140059fc8
xor dil, dil
jmp 0x14004bdcf
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x58]
lea rdx, [0x1400aa898]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x14004bda5
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
mov r9d, 0x30
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadutilwinmodule_version.cc
lea rdx, str.bool___cdecl_crashpad::GetModuleVersionAndType_const_class_base::FilePath__struct_tagVS_FIXEDFILEINFO__
lea rcx, [rsp + 0x78]
call fcn.14004fc20
nop
mov dword [rsp + 0x30], 0x10
lea rdx, str.VerQueryValue
mov rcx, rax
call fcn.140001300
nop
lea rcx, [rsp + 0x78]
call fcn.14004ff50
xor dil, dil
jmp 0x14004bdcf
mov rax, qword [rsp + 0x58]
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rsi + 0x20], xmm0
mov eax, dword [rax + 0x30]
mov dword [rsi + 0x30], eax
mov eax, dword [rsi + 0x18]
and dword [rsi + 0x1c], eax
mov dil, 1
test rbx, rbx
je 0x14004bddc
mov rcx, rbx
call fcn.140059fc8
movzx eax, dil
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14005a430
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.14005e364
nop
call fcn.14005e364
int3