Function at 0x140063610
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x3b8]
sub rsp, 0x4a0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140121108]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rdi, rcx
xor r15d, r15d
mov qword [rcx], r15
mov qword [rcx + 8], r15
lea r14, [rcx + 0x10]
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x14006366a
mov rax, qword [r14]
mov qword [r14 + 0x10], r15
mov word [rax], r15w
lea rcx, [rsp + 0x78]
call fcn.1400634dc
mov rdx, rax
lea rcx, [rdi + 0x30]
call fcn.1400631ac
mov qword [rsp + 0x38], r15
lea r8, [rsp + 0x38]
lea rdx, [fcn.140063610]
mov ecx, 6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x14006388b
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.140086ad0
mov r8d, 0x104
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14006388b
mov dword [rsp + 0x28], r15d
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x80]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test eax, eax
je 0x14006388b
mov edx, esi
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.14000c3a8
nop
mov rbx, qword [rsp + 0x58]
mov r9, rbx
mov r8d, esi
xor edx, edx
lea rcx, [rbp - 0x80]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140063848
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x2c], 8
lea r9, [rsp + 0x2c]
lea r8, [rsp + 0x40]
lea rdx, [0x1400e4358]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140063848
mov rcx, qword [rsp + 0x40]
movzx eax, word [rcx + 0xa]
mov dword [rdi], eax
movzx eax, word [rcx + 8]
mov dword [rdi + 4], eax
movzx eax, word [rcx + 0xe]
mov dword [rdi + 8], eax
movzx eax, word [rcx + 0xc]
mov dword [rdi + 0xc], eax
mov dword [rsp + 0x24], 8
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x50]
lea rdx, str.VarFileInfoTranslation
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140063848
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x190]
call fcn.140086ad0
mov rdi, r15
mov eax, dword [rsp + 0x24]
mov esi, 1
test rax, 0xfffffffffffffffc
jbe 0x14006384b
mov rax, qword [rsp + 0x50]
movzx r9d, word [rax + rdi*4 + 2]
movzx r8d, word [rax + rdi*4]
lea rdx, str.StringFileInfo_04x_04xFileDescription
lea rcx, [rbp + 0x190]
call fcn.140063448
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x48], r15
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x190]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14006381e
mov rdx, qword [rsp + 0x48]
test rdx, rdx
jne 0x140063830
add rdi, rsi
mov eax, dword [rsp + 0x24]
shr rax, 2
cmp rdi, rax
jae 0x14006384b
jmp 0x1400637ca
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140063834
mov rcx, r14
call fcn.140001a78
jmp 0x14006384b
mov sil, r15b
test rbx, rbx
je 0x140063886
mov rdx, qword [rsp + 0x68]
sub rdx, rbx
cmp rdx, 0x1000
jb 0x14006387e
lfence
add rdx, 0x27
mov rax, qword [rsp + 0x58]
mov rbx, qword [rax - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400638b9
mov rcx, rbx
call fcn.1400682c0
mov al, sil
jmp 0x14006388d
xor al, al
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1400683e0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14008a39c
int3