Function at 0x1400ad660
Capabilities:
Get file version info
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x4c8
mov rax, qword [0x1401c00d8]
xor rax, rsp
mov qword [rsp + 0x4b8], rax
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x4e0]
call fcn.140004910
mov rcx, rax
call fcn.14000f840
xor edx, edx
mov rcx, rax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jne 0x1400ad840
call fcn.1400adbf0
cmp eax, 1
jg 0x1400ad7fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
je 0x1400ad7fe
lea rcx, [rsp + 0x37]
call fcn.140004910
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x140]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x4e0]
call fcn.140004910
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call fcn.14001b780
lea rcx, [rsp + 0x120]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x478]
call fcn.1400b75a0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x78], rax
call fcn.1400b5d50
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
mov r9d, 0x1f
lea r8, [0x140182500]
lea rdx, [0x1401825a0]
lea rcx, [rsp + 0x160]
call fcn.1400b67e0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x30]
or eax, 2
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x70]
call fcn.140004910
lea rdx, str.GetFileVersionInfoSize:
mov rcx, rax
call fcn.140003dd0
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call fcn.140003a20
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.140004830
nop
mov eax, dword [rsp + 0x30]
and eax, 2
test eax, eax
je 0x1400ad81c
and dword [rsp + 0x30], 0xfffffffd
lea rcx, [rsp + 0x160]
call fcn.1400b6840
nop
mov eax, dword [rsp + 0x30]
and eax, 1
test eax, eax
je 0x1400ad839
and dword [rsp + 0x30], 0xfffffffe
lea rcx, [rsp + 0x478]
call fcn.140009160
xor al, al
jmp 0x1400adbc3
mov eax, dword [rsp + 0x3c]
mov ecx, eax
call fcn.1400cb940
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x40]
call fcn.140003700
nop
lea rcx, [rsp + 0x40]
call fcn.140006040
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0x4e0]
call fcn.140004910
mov rcx, rax
call fcn.14000f840
mov qword [rsp + 0xa8], rax
mov r9, qword [rsp + 0xa0]
mov r8d, dword [rsp + 0x3c]
xor edx, edx
mov rcx, qword [rsp + 0xa8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x1400ada64
call fcn.1400adbf0
cmp eax, 1
jle 0x1400ad8c8
jmp 0x1400ada10
lea rcx, [rsp + 0x38]
call fcn.140004910
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0x4e0]
call fcn.140004910
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call fcn.14001b780
lea rcx, [rsp + 0x130]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x498]
call fcn.1400b75a0
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x30]
or eax, 4
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xd8], rax
call fcn.1400b5d50
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
mov r9d, 0x26
lea r8, [0x140182610]
lea rdx, [0x1401826a0]
lea rcx, [rsp + 0x268]
call fcn.1400b67e0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov eax, dword [rsp + 0x30]
or eax, 8
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0xd0]
call fcn.140004910
lea rdx, str.GetFileVersionInfo:
mov rcx, rax
call fcn.140003dd0
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xe0]
call fcn.140003a20
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xf0]
call fcn.140004830
nop
mov eax, dword [rsp + 0x30]
and eax, 8
test eax, eax
je 0x1400ada2e
and dword [rsp + 0x30], 0xfffffff7
lea rcx, [rsp + 0x268]
call fcn.1400b6840
nop
mov eax, dword [rsp + 0x30]
and eax, 4
test eax, eax
je 0x1400ada4b
and dword [rsp + 0x30], 0xfffffffb
lea rcx, [rsp + 0x498]
call fcn.140009160
mov byte [rsp + 0x34], 0
lea rcx, [rsp + 0x40]
call fcn.14005c0e0
movzx eax, byte [rsp + 0x34]
jmp 0x1400adbc3
lea rcx, [rsp + 0x40]
call fcn.140006040
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x118]
lea rdx, [0x140182698]
mov rcx, rax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x1400adb75
call fcn.1400adbf0
cmp eax, 1
jle 0x1400adaa1
jmp 0x1400adb42
lea rcx, [rsp + 0x39]
call fcn.140004910
mov qword [rsp + 0x110], rax
call fcn.1400b5d50
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
mov r9d, 0x30
lea r8, str.C:JenkinswACVSMainACVS_Main_NoWIP_WinACVSSoftwareExternalLibraries_sentry_nativeexternalcrashpadutilwinmodule_version.cc
lea rdx, str.bool___cdecl_crashpad::GetModuleVersionAndType_const_class_base::FilePath__struct_tagVS_FIXEDFILEINFO__
lea rcx, [rsp + 0x370]
call fcn.1400b67e0
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x100], rax
mov eax, dword [rsp + 0x30]
or eax, 0x10
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x100]
call fcn.140004910
lea rdx, str.VerQueryValue
mov rcx, rax
call fcn.140003dd0
mov qword [rsp + 0x108], rax
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x110]
call fcn.140004830
nop
mov eax, dword [rsp + 0x30]
and eax, 0x10
test eax, eax
je 0x1400adb5f
and dword [rsp + 0x30], 0xffffffef
lea rcx, [rsp + 0x370]
call fcn.1400b6840
mov byte [rsp + 0x35], 0
lea rcx, [rsp + 0x40]
call fcn.14005c0e0
movzx eax, byte [rsp + 0x35]
jmp 0x1400adbc3
mov rdi, qword [rsp + 0x4e8]
mov rsi, qword [rsp + 0x118]
mov ecx, 0x34
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x4e8]
mov rcx, qword [rsp + 0x4e8]
mov ecx, dword [rcx + 0x18]
mov eax, dword [rax + 0x1c]
and eax, ecx
mov rcx, qword [rsp + 0x4e8]
mov dword [rcx + 0x1c], eax
mov byte [rsp + 0x36], 1
lea rcx, [rsp + 0x40]
call fcn.14005c0e0
movzx eax, byte [rsp + 0x36]
mov rcx, qword [rsp + 0x4b8]
xor rcx, rsp
call fcn.1400cb890
add rsp, 0x4c8
pop rdi
pop rsi
ret