Function at 0x1400783e0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1400e0038]
xor rax, rsp
mov qword [rbp + 0x58], rax
xor r15d, r15d
mov rdi, rdx
mov dword [rsp + 0x20], r15d
mov rbx, rcx
cmp qword [rcx + 0x18], 8
mov esi, r15d
jb 0x140078421
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov r14d, eax
test eax, eax
jne 0x14007853d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
je 0x1400784e2
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x140078452
mov rcx, qword [rbx]
mov rdx, qword [rbx + 0x10]
lea r8, [rbp + 0x38]
xorps xmm0, xmm0
mov qword [rbp + 0x48], r15
movups xmmword [rbp + 0x38], xmm0
mov byte [rbp + 0x38], sil
mov qword [rbp + 0x50], 0xf
call fcn.1400111b0
mov esi, 3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x30]
mov ebx, eax
call fcn.140006da0
lea rax, str..._.._util_win_module_version.cc
mov qword [rbp + 0x20], r15
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x18], rax
mov dword [rbp + 0x28], 0x1f
mov dword [rbp + 0x2c], 1
call fcn.140013280
lea rdx, str.GetFileVersionInfoSize:
mov dword [rbp + 0x30], ebx
lea rcx, [rsp + 0x30]
call fcn.140006680
cmp qword [rbp + 0x50], 0x10
lea rdx, [rbp + 0x38]
mov r8, qword [rbp + 0x48]
mov rcx, rax
cmovae rdx, qword [rbp + 0x38]
call fcn.140009230
test sil, 2
je 0x1400784f5
and esi, 0xfffffffd
lea rcx, [rsp + 0x30]
call fcn.140013810
test sil, 1
je 0x140078536
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x140078536
mov rcx, qword [rbp + 0x38]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078531
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140078729
call fcn.1400809f0
xor al, al
jmp 0x140078700
mov rcx, r14
call fcn.140080a34
cmp qword [rbx + 0x18], 8
mov rsi, rax
mov rcx, rbx
jb 0x140078555
mov rcx, qword [rbx]
mov r9, rsi
mov r8d, r14d
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x140078653
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x140078578
mov rcx, qword [rbx]
mov rdx, qword [rbx + 0x10]
lea r8, [rbp + 0x38]
xorps xmm0, xmm0
mov qword [rbp + 0x48], r15
movups xmmword [rbp + 0x38], xmm0
mov byte [rbp + 0x38], r15b
mov qword [rbp + 0x50], 0xf
call fcn.1400111b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x30]
mov ebx, eax
call fcn.140006da0
lea rax, str..._.._util_win_module_version.cc
mov qword [rbp + 0x20], r15
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x18], rax
mov dword [rbp + 0x28], 0x26
mov dword [rbp + 0x2c], 1
call fcn.140013280
lea rdx, str.GetFileVersionInfo:
mov dword [rbp + 0x30], ebx
lea rcx, [rsp + 0x30]
call fcn.140006680
cmp qword [rbp + 0x50], 0x10
lea rdx, [rbp + 0x38]
mov r8, qword [rbp + 0x48]
mov rcx, rax
cmovae rdx, qword [rbp + 0x38]
call fcn.140009230
lea rcx, [rsp + 0x30]
call fcn.140013810
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x1400786c8
mov rcx, qword [rbp + 0x38]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078647
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140078723
call fcn.1400809f0
xor bl, bl
jmp 0x1400786f5
lea r9, [rsp + 0x20]
mov rcx, rsi
lea r8, [rsp + 0x28]
lea rdx, [0x1400cd198]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x1400786cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x30]
mov ebx, eax
call fcn.140006da0
lea rax, str..._.._util_win_module_version.cc
mov qword [rbp + 0x20], r15
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x18], rax
mov dword [rbp + 0x28], 0x30
mov dword [rbp + 0x2c], 1
call fcn.140013280
lea rdx, str.VerQueryValue
mov dword [rbp + 0x30], ebx
lea rcx, [rsp + 0x30]
call fcn.140006680
lea rcx, [rsp + 0x30]
call fcn.140013810
xor bl, bl
jmp 0x1400786f5
mov rax, qword [rsp + 0x28]
mov bl, 1
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdi + 0x20], xmm0
mov eax, dword [rax + 0x30]
mov dword [rdi + 0x30], eax
mov eax, dword [rdi + 0x18]
and dword [rdi + 0x1c], eax
mov rcx, rsi
call fcn.1400809f0
movzx eax, bl
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.1400809d0
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x160
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140087b78
int3
call fcn.140087b78
int3