Function at 0x180221400
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov r14, rdx
xor esi, esi
mov dword [rsp + 0x30], esi
lea rax, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov qword [rdx], rax
mov dword [rsp + 0x30], 1
lea rcx, [rsp + 0x38]
call sym.Qt5Core.dll_class_QString___cdecl_qAppFileName_void_
nop
mov rbx, qword [rsp + 0x38]
mov eax, dword [rbx + 4]
inc eax
mov dword [rbp + 0x94], eax
cmp eax, 0x100
jle 0x180221495
movsxd rcx, eax
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
mov qword [rbp + 0x98], rax
test rax, rax
jne 0x180221487
call sym.Qt5Core.dll_void___cdecl_qBadAlloc_void_
mov rcx, qword [rbp + 0x98]
mov eax, dword [rbp + 0x94]
mov dword [rbp + 0x90], eax
jmp 0x1802214ad
lea rcx, [rbp + 0xa0]
mov qword [rbp + 0x98], rcx
mov dword [rbp + 0x90], 0x100
movsxd rdi, dword [rbx + 4]
mov rdx, qword [rbx + 0x10]
add rdx, rbx
je 0x1802214ca
lea r8, [rdi + rdi]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbp + 0x98]
mov word [rcx + rdi*2], si
xor edx, edx
mov rcx, qword [rbp + 0x98]
call sub.VERSION.dll_GetFileVersionInfoSizeW
movsxd rsi, eax
mov edi, 0xffffffff
test eax, eax
je 0x18022176f
mov dword [rbp - 0x7c], esi
cmp esi, 0x100
jle 0x18022151d
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
mov qword [rbp - 0x78], rax
test rax, rax
jne 0x180221515
call sym.Qt5Core.dll_void___cdecl_qBadAlloc_void_
mov r9, qword [rbp - 0x78]
mov eax, dword [rbp - 0x7c]
mov dword [rbp - 0x80], eax
jmp 0x18022152c
lea r9, [rbp - 0x70]
mov qword [rbp - 0x78], r9
mov dword [rbp - 0x80], 0x100
mov r8d, esi
xor edx, edx
mov rcx, qword [rbp + 0x98]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x18022175b
lea r9, [rbp + 0x2e8]
lea r8, [rsp + 0x68]
lea rdx, [0x18040ee68]
mov rcx, qword [rbp - 0x78]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x18022175b
cmp dword [rbp + 0x2e8], 0
je 0x18022175b
mov rbx, qword [rsp + 0x68]
mov byte [rbp + 0x2e0], 0
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x2e0]
call fcn.1802212b0
nop
mov esi, 0x20
movzx r8d, word [rbx + 0x12]
mov word [rsp + 0x28], si
mov dword [rsp + 0x20], 0xa
xor r9d, r9d
lea rdx, [rsp + 0x50]
mov rcx, rax
call sym.Qt5Core.dll_public:_class_QString___cdecl_QString::arg_unsigned_long_long_unsigned___int64___int__int__class_QChar____ptr64
mov dword [rsp + 0x30], 3
movzx r8d, word [rbx + 0x10]
mov word [rsp + 0x28], si
mov dword [rsp + 0x20], 0xa
xor r9d, r9d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call sym.Qt5Core.dll_public:_class_QString___cdecl_QString::arg_unsigned_long_long_unsigned___int64___int__int__class_QChar____ptr64
mov dword [rsp + 0x30], 7
movzx r8d, word [rbx + 0x16]
mov word [rsp + 0x28], si
mov dword [rsp + 0x20], 0xa
xor r9d, r9d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call sym.Qt5Core.dll_public:_class_QString___cdecl_QString::arg_unsigned_long_long_unsigned___int64___int__int__class_QChar____ptr64
mov dword [rsp + 0x30], 0xf
movzx r8d, word [rbx + 0x14]
mov word [rsp + 0x28], si
mov dword [rsp + 0x20], 0xa
xor r9d, r9d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call sym.Qt5Core.dll_public:_class_QString___cdecl_QString::arg_unsigned_long_long_unsigned___int64___int__int__class_QChar____ptr64
mov rcx, qword [r14]
mov qword [rbp + 0x2d8], rcx
mov rax, qword [rsp + 0x58]
mov qword [r14], rax
mov qword [rsp + 0x58], rcx
mov eax, dword [rcx]
test eax, eax
je 0x180221673
cmp eax, 0xffffffff
je 0x180221687
mov ecx, edi
mov rax, qword [rbp + 0x2d8]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180221687
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x58]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
nop
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax]
test ecx, ecx
je 0x1802216a7
cmp ecx, 0xffffffff
je 0x1802216bb
mov ecx, edi
mov rax, qword [rsp + 0x40]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1802216bb
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x40]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
nop
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax]
test ecx, ecx
je 0x1802216db
cmp ecx, 0xffffffff
je 0x1802216ef
mov ecx, edi
mov rax, qword [rsp + 0x48]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1802216ef
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x48]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
nop
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
test ecx, ecx
je 0x18022170f
cmp ecx, 0xffffffff
je 0x180221723
mov ecx, edi
mov rax, qword [rsp + 0x50]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180221723
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x50]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
nop
mov rax, qword [rsp + 0x60]
mov ecx, dword [rax]
test ecx, ecx
je 0x180221743
cmp ecx, 0xffffffff
je 0x180221756
mov ecx, edi
mov rax, qword [rsp + 0x60]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180221756
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x60]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov rbx, qword [rsp + 0x38]
lea rax, [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
cmp rcx, rax
je 0x18022176f
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rax, [rbp + 0xa0]
mov rcx, qword [rbp + 0x98]
cmp rcx, rax
je 0x180221789
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov eax, dword [rbx]
test eax, eax
je 0x1802217a2
cmp eax, 0xffffffff
je 0x1802217b5
mov rax, qword [rsp + 0x38]
lock xadd dword [rax], edi
cmp edi, 1
jne 0x1802217b5
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x38]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov rax, r14
add rsp, 0x3a0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret