Function at 0x140155c90
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r12, r8
mov rsi, rdx
mov r14, rcx
mov qword [rbp + 0x78], rcx
xor r13d, r13d
mov dword [rbp + 0x88], r13d
lea rcx, [rsp + 0x20]
call fcn.14000fcc0
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
lea rdx, [rbp + 0x88]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov r15d, eax
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140155d44
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140155d3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401560c3
call fcn.1401853a0
test r15d, r15d
je 0x1401560c9
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r13
lfence
mov rcx, r15
call fcn.140012d70
mov qword [rbp + 0x90], rax
lea rbx, [rax + r15]
mov qword [rbp + 0xa0], rbx
mov r8, r15
xor edx, edx
mov rcx, rax
call fcn.1401a8d80
mov qword [rbp + 0x98], rbx
cmp qword [rsi + 0x18], 8
jb 0x140155d9a
mov rsi, qword [rsi]
mov r9, qword [rbp + 0x90]
mov r8d, r15d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1401560e4
mov qword [rbp + 0x70], r13
mov dword [rbp + 0x80], r13d
lea r9, [rbp + 0x80]
lea r8, [rbp + 0x70]
lea rdx, str.VarFileInfoTranslation
mov rcx, qword [rbp + 0x90]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1401560a2
cmp qword [rbp + 0x70], 0
je 0x1401560a2
cmp dword [rbp + 0x80], 4
jb 0x1401560a2
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0xb0]
call fcn.1401a8d80
lea rcx, [rbp + 0xb0]
call fcn.14001e8d0
nop
lea rdx, str.StringFileInfo_
lea rcx, [rbp + 0xc0]
call fcn.1400b9f90
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
mov eax, dword [rcx + rbx + 0x18]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rcx + rbx + 0x18], eax
mov edx, 4
lea rcx, [rbp - 0x40]
call fcn.14018a924
mov rdx, qword [rax + 8]
mov r8, qword [rax]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov rax, r8
call qword [case.0x1400d90b6.0]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov edi, 0x30
mov word [rcx + rbx + 0x58], di
mov rax, qword [rbp + 0x70]
movzx edx, word [rax]
mov rcx, rbx
call fcn.140156210
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
mov eax, dword [rbp + rcx + 0xd8]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rbp + rcx + 0xd8], eax
lea edx, [rdi - 0x2c]
lea rcx, [rbp - 0x30]
call fcn.14018a924
mov rdx, qword [rax + 8]
mov r8, qword [rax]
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xc0]
add rcx, rax
mov rax, r8
call qword [case.0x1400d90b6.0]
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
mov word [rbp + rcx + 0x118], di
mov rax, qword [rbp + 0x70]
movzx edx, word [rax + 2]
lea rcx, [rbp + 0xc0]
call fcn.140156210
mov rcx, rax
lea rdx, [0x140214aa8]
call fcn.1400b9840
mov rdx, r12
cmp qword [r12 + 0x18], 8
jb 0x140155f30
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.1400bbcb0
mov qword [rbp + 0x78], r13
mov dword [rbp + 0x84], r13d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xc8]
call fcn.140020010
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
lea r9, [rbp + 0x84]
lea r8, [rbp + 0x78]
mov rcx, qword [rbp + 0x90]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rcx, qword [rbp + 0x78]
test eax, eax
je 0x140155f9c
test rcx, rcx
je 0x140155f9c
cmp dword [rbp + 0x84], 0
jbe 0x140155f9c
xor bl, bl
jmp 0x140155f9e
mov bl, 1
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140155fe4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140155fdb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401560ff
call fcn.1401853a0
mov rcx, qword [rbp + 0x78]
test bl, bl
jne 0x140156105
mov qword [rsp + 0x40], rcx
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140156000
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x80], xmm0
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.1401577f0
nop
lea rcx, [rbp + 0xb0]
call fcn.14001d9e0
nop
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x14015606f
mov rdx, qword [rbp + 0xa0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14015606a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14015609c
call fcn.1401853a0
mov rax, r14
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140185380
mov rbx, qword [rsp + 0x318]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1401b3c00
nop
lea rdx, str.Failure_querying_for_VarFileInfoTranslation
lea rcx, [rbp - 0x58]
call fcn.140030560
lea rdx, [0x14028fd98]
lea rcx, [rbp - 0x58]
call fcn.1401a8f20
nop
call fcn.1401b3c00
int3
lea rdx, str.GetFileVersionInfoSizeW_failed
lea rcx, [rbp - 0x10]
call fcn.140010040
nop
lea rcx, [rbp - 0x10]
call fcn.140030650
nop
lea rdx, str.GetFileVersionInfoW_failed
lea rcx, [rbp + 0x10]
call fcn.140010040
nop
lea rcx, [rbp + 0x10]
call fcn.140030650
nop
call fcn.1401b3c00
int3
lea rdx, [rbp - 0x20]
mov rcx, r12
call fcn.14000fc10
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x30]
call fcn.1401577f0
nop
mov r8, rax
lea rdx, str.Failure_querying_for_StringFileInfo..._
lea rcx, [rbp + 0x50]
call fcn.140011b70
nop
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140008a60
lea rdx, [0x14028fd98]
lea rcx, [rbp - 0x70]
call fcn.1401a8f20
int3