Function at 0x140008650
Capabilities:
Get file version info

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x360
mov rax, qword [0x140086080]
xor rax, rsp
mov qword [rsp + 0x350], rax
mov rsi, r8
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x28], rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
mov qword [rcx], r12
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], 7
mov word [rcx], r12w
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x44], r12d
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x1400086b7
mov rcx, qword [rdx]
lea rdx, [rsp + 0x44]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
test eax, eax
je 0x1400088e2
lea ebp, [rax + 1]
mov edi, ebp
add rdi, rdi
mov rcx, rdi
call fcn.140044acc
mov r15, rax
test rax, rax
je 0x1400088e2
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.14003a810
cmp qword [rbx + 0x18], 8
jb 0x1400086fd
mov rbx, qword [rbx]
mov r9, r15
mov r8d, ebp
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1400088da
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x30], r12
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
lea rdx, [0x14007afe0]
mov rcx, r15
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1400088da
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x150]
call fcn.14003a810
mov rax, qword [rsp + 0x30]
movzx r8d, word [rax]
shl r8d, 0x10
movzx eax, word [rax + 2]
or r8d, eax
cmp qword [rsi + 0x18], 8
jb 0x140008775
mov rsi, qword [rsi]
mov r9, rsi
lea rdx, str.StringFileInfo_08lx_s
lea rcx, [rsp + 0x150]
call fcn.140006800
mov qword [rsp + 0x38], r12
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x150]
mov rcx, r15
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1400088da
mov rdx, qword [rsp + 0x38]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400087c0
mov rcx, r14
call fcn.140004f60
mov rbx, r14
cmp qword [r14 + 0x18], 8
jb 0x1400087e0
mov rbx, qword [r14]
mov rdi, qword [r14 + 0x10]
test rdi, rdi
je 0x1400088ad
mov esi, 0x100
mov r8d, esi
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14003a810
lea rcx, [0x14007b04c]
lea rdx, [0x14007b04e]
nop
movzx eax, word [rcx]
cmp ax, si
jae 0x140008862
movzx eax, al
mov byte [rsp + rax + 0x50], 1
add rcx, 2
cmp rcx, rdx
jne 0x140008810
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea rcx, [rbx + rax*2]
nop
movzx eax, word [rcx]
cmp ax, si
jae 0x14000885a
cmp byte [rsp + rax + 0x50], 0
je 0x14000885a
cmp rcx, rbx
je 0x1400088ad
sub rcx, 2
jmp 0x140008840
sub rcx, rbx
sar rcx, 1
jmp 0x1400088b4
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea rcx, [rbx + rax*2]
nop dword [rax + rax]
mov edx, 1
lea rax, [0x14007b04c]
movzx r8d, word [rcx]
cmp word [rax], r8w
je 0x1400088a2
add rax, 2
sub rdx, 1
je 0x14000885a
jmp 0x140008890
cmp rcx, rbx
je 0x1400088ad
sub rcx, 2
jmp 0x140008880
mov rcx, 0xffffffffffffffff
cmp ecx, 0xffffffff
je 0x1400088da
movsxd rax, ecx
inc rax
cmp rdi, rax
jb 0x140008907
mov qword [r14 + 0x10], rax
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x1400088d5
mov rcx, qword [r14]
mov word [rcx + rax*2], r12w
mov rcx, r15
call fcn.14003e6c4
mov rax, r14
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.140038070
add rsp, 0x360
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.14000b7f0
int3