Function at 0x1400619c4
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rax, qword [0x1400a3310]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov r15, rcx
xor edi, edi
lea rdx, [0x14008306c]
call fcn.14000c69c
mov r8b, byte [rbp + 0x2c8]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400615b0
test al, al
je 0x140061bff
cmp qword [rsp + 0x20], rdi
je 0x140061bff
mov r9, qword [rsp + 0x20]
mov r8, rsi
mov ebx, 0x104
mov edx, ebx
lea rcx, [rbp + 0x50]
call fcn.1400617d4
test al, al
je 0x140061bf4
cmp word [rbp + 0x50], di
je 0x140061bf4
lea rcx, [rbp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x140061bf4
mov r8, r12
mov edx, ebx
lea rcx, [rbp + 0x50]
call fcn.14001ef98
test eax, eax
js 0x140061bf4
xor edx, edx
lea rcx, [rbp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test eax, eax
je 0x140061bf4
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x140061bf4
mov r9, rax
mov r8d, esi
xor edx, edx
lea rcx, [rbp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140061beb
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x48]
lea rdx, [0x140083068]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140061beb
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea edx, [rdi + 1]
lea rcx, [rsp + 0x60]
call fcn.140022840
nop
mov rax, qword [rsp + 0x48]
movzx edx, word [rax + 0xa]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_short_int____ptr64]
lea rsi, [0x140087598]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140014428
mov rax, qword [rsp + 0x48]
movzx edx, word [rax + 8]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_short_int____ptr64]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140014428
mov rax, qword [rsp + 0x48]
movzx edx, word [rax + 0xe]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_short_int____ptr64]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140014428
mov rax, qword [rsp + 0x48]
movzx edx, word [rax + 0xc]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_short_int____ptr64]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x68]
call fcn.1400142d0
lea rax, [rsp + 0x28]
cmp r15, rax
je 0x140061bcb
mov rcx, r15
call fcn.140004738
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [r15 + 0x10], xmm1
movdqa xmm0, xmmword [0x140089d70]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], di
lea rcx, [rsp + 0x28]
call fcn.140004738
mov dil, 1
lea rcx, [rbp - 0x18]
call fcn.1400227c8
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov al, dil
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1400652d0
mov rbx, qword [rsp + 0x3b8]
add rsp, 0x370
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret