Function at 0x140124ee0
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 [0x140672360]
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.1400733c0
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 0x140124f94
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140124f8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140125308
call fcn.140359090
test r15d, r15d
je 0x14012530e
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r13
lfence
mov rcx, r15
call fcn.140073800
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.14035c350
mov qword [rbp + 0x98], rbx
cmp qword [rsi + 0x18], 8
jb 0x140124fea
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 0x140125329
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 0x1401252e7
cmp qword [rbp + 0x70], 0
je 0x1401252e7
cmp dword [rbp + 0x80], 4
jb 0x1401252e7
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0xb0]
call fcn.14035c350
lea rcx, [rbp + 0xb0]
call fcn.14006f550
nop
lea rdx, str.StringFileInfo_
lea rcx, [rbp + 0xc0]
call fcn.1400705d0
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.140332d38
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.0x1401cd220.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.140125450
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.140332d38
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.0x1401cd220.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.140125450
mov rcx, rax
lea rdx, [0x1405f6474]
call fcn.1400a9f70
mov rdx, r12
cmp qword [r12 + 0x18], 8
jb 0x140125180
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.1400714e0
mov qword [rbp + 0x78], r13
mov dword [rbp + 0x84], r13d
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0xb0]
call fcn.14006f480
cmp qword [rax + 0x18], 8
jb 0x1401251b3
mov rax, qword [rax]
lea r9, [rbp + 0x84]
lea r8, [rbp + 0x78]
mov rdx, rax
mov rcx, qword [rbp + 0x90]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rcx, qword [rbp + 0x78]
test eax, eax
je 0x1401251e8
test rcx, rcx
je 0x1401251e8
cmp dword [rbp + 0x84], 0
jbe 0x1401251e8
xor bl, bl
jmp 0x1401251ea
mov bl, 1
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14012522f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140125226
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140125344
call fcn.140359090
mov rcx, qword [rbp + 0x78]
test bl, bl
jne 0x14012534a
mov qword [rsp + 0x40], rcx
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140125243
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.14014e6b0
nop
lea rcx, [rbp + 0xb0]
call fcn.14006b330
nop
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x1401252b4
mov rdx, qword [rbp + 0xa0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401252af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401252e1
call fcn.140359090
mov rax, r14
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140359070
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.140368068
nop
lea rdx, str.Failure_querying_for_VarFileInfoTranslation
lea rcx, [rbp - 0x58]
call fcn.1400b9f40
lea rdx, [0x1406690c0]
lea rcx, [rbp - 0x58]
call fcn.14035c4f0
nop
call fcn.140368068
int3
lea rdx, str.GetFileVersionInfoSizeW_failed
lea rcx, [rbp - 0x10]
call fcn.140073260
nop
lea rcx, [rbp - 0x10]
call fcn.140124ec0
nop
lea rdx, str.GetFileVersionInfoW_failed
lea rcx, [rbp + 0x10]
call fcn.140073260
nop
lea rcx, [rbp + 0x10]
call fcn.140124ec0
nop
call fcn.140368068
int3
lea rdx, [rbp - 0x20]
mov rcx, r12
call fcn.1400b8190
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x30]
call fcn.14014e6b0
nop
mov r8, rax
lea rdx, str.Failure_querying_for_StringFileInfo..._
lea rcx, [rbp + 0x50]
call fcn.140100980
nop
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140072960
lea rdx, [0x1406690c0]
lea rcx, [rbp - 0x70]
call fcn.14035c4f0
int3