Function at 0x140031970
Capabilities:
Get file version info

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov qword [rsp + 0x140], rbx
mov rax, qword [0x1401a5020]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rdx
mov qword [rbp - 0x51], rdx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
lea rsi, [rcx + 8]
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400319c2
mov rcx, qword [rsi]
lea rdx, [rbp - 0x61]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov r14d, eax
test eax, eax
jne 0x140031a02
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r15b
xor r8d, r8d
lea rdx, [0x14015c210]
mov rcx, rdi
call fcn.1400086c0
nop
mov dword [rsp + 0x40], 1
jmp 0x140031bf0
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.140032700
nop
cmp qword [rsi + 0x18], 8
jb 0x140031a1a
mov rsi, qword [rsi]
mov rbx, qword [rsp + 0x48]
mov r9, rbx
mov r8d, r14d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x140031a9a
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], al
xor r8d, r8d
lea rdx, [0x14015c210]
mov rcx, rdi
call fcn.1400086c0
mov dword [rsp + 0x40], 1
test rbx, rbx
je 0x140031bf0
mov rdx, qword [rbp - 0x71]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x140031bdb
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031c1c
jmp 0x140031bdb
mov dword [rsp + 0x44], r15d
mov qword [rbp - 0x69], r15
lea r9, [rsp + 0x44]
lea r8, [rbp - 0x69]
lea rdx, [0x14015c32c]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x140031b26
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], al
xor r8d, r8d
lea rdx, [0x14015c210]
mov rcx, rdi
call fcn.1400086c0
mov dword [rsp + 0x40], 1
test rbx, rbx
je 0x140031bf0
mov rdx, qword [rbp - 0x71]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x140031bdb
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031c22
jmp 0x140031bdb
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [rbp - 0x49]
call fcn.140081700
mov r9, qword [rbp - 0x69]
movzx eax, word [r9 + 0x14]
movzx ecx, word [r9 + 0x16]
movzx r8d, word [r9 + 0x10]
movzx r9d, word [r9 + 0x12]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r8d
lea r8, str._u._u._u._u
mov edx, 0x64
lea rcx, [rbp - 0x49]
call fcn.140026fc0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
lea rax, [rbp - 0x49]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140031b90
lea rdx, [rbp - 0x49]
mov rcx, rdi
call fcn.1400086c0
mov dword [rsp + 0x40], 1
test rbx, rbx
je 0x140031bf0
mov rdx, qword [rbp - 0x71]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x140031bdb
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031c16
mov rcx, rbx
call fcn.1400514f4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rbp - 0x71], r15
mov rax, rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140050f90
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140090478
int3
call fcn.140090478
int3
call fcn.140090478
int3