Function at 0x14020a0e0
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x158]
sub rsp, 0x230
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x58], esi
lea rdx, [rsp + 0x58]
mov rcx, qword [rcx]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov r15d, eax
test eax, eax
jne 0x14020a2b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffff8ec
cmp eax, 1
jbe 0x14020a21e
mov qword [rsp + 0x50], rsi
lea rbx, [0x140346ce0]
mov qword [rsp + 0x48], rbx
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.1401fde50
nop
lea rax, vtable.Core::Exception.0
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x70], rsi
mov edx, dword [rsp + 0x54]
test edx, edx
jne 0x14020a191
mov qword [rbp - 0x78], rbx
jmp 0x14020a1b9
lea rcx, [rbp - 0x78]
call fcn.1401fcb40
movsxd r9, dword [rsp + 0x54]
mov eax, dword [rbp - 0x70]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x48]
mov rcx, qword [rbp - 0x78]
call fcn.1402ba94c
mov edx, dword [rsp + 0x54]
lea rcx, [rbp - 0x78]
call fcn.1401fde50
nop
lea rax, vtable.Core::FileNotFoundException.0
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x60], rsi
mov edx, dword [rdi + 0xc]
test edx, edx
jne 0x14020a1df
mov qword [rbp - 0x68], rbx
jmp 0x14020a200
lea rcx, [rbp - 0x68]
call fcn.1401fcb40
movsxd r9, dword [rdi + 0xc]
mov eax, dword [rbp - 0x60]
inc eax
movsxd rdx, eax
mov r8, qword [rdi]
mov rcx, qword [rbp - 0x68]
call fcn.1402ba94c
mov edx, dword [rdi + 0xc]
lea rcx, [rbp - 0x68]
call fcn.1401fde50
nop
lea rdx, [0x14040dc80]
lea rcx, [rbp - 0x80]
call fcn.1402bece8
nop
mov ecx, 0x68
call fcn.1402b6dbc
mov r14, rax
test rax, rax
je 0x14020a27f
lea rax, vtable.Core::Diagnostics::FileVersionInfo.0
mov qword [r14], rax
lea rax, [r14 + 0x28]
mov qword [r14 + 8], rax
lea rcx, [r14 + 0x38]
mov qword [r14 + 0x10], rcx
lea rdx, [r14 + 0x48]
mov qword [r14 + 0x18], rdx
lea r8, [r14 + 0x58]
mov qword [r14 + 0x20], r8
lea rbx, [0x140346ce0]
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rcx], rbx
mov qword [rcx + 8], rsi
mov qword [rdx], rbx
mov qword [rdx + 8], rsi
mov qword [r8], rbx
mov qword [r8 + 8], rsi
jmp 0x14020a282
mov r14, rsi
mov edx, dword [rdi + 0xc]
lea rcx, [r14 + 0x48]
call fcn.1401fcb40
movsxd r9, dword [rdi + 0xc]
mov edx, dword [r14 + 0x50]
inc edx
movsxd rdx, edx
mov r8, qword [rdi]
mov rcx, qword [r14 + 0x48]
call fcn.1402ba94c
mov edx, dword [rdi + 0xc]
lea rcx, [r14 + 0x48]
call fcn.1401fde50
jmp 0x14020a692
mov ecx, 0x68
call fcn.1402b6dbc
mov r14, rax
test rax, rax
je 0x14020a319
lea rax, vtable.Core::Diagnostics::FileVersionInfo.0
mov qword [r14], rax
lea rax, [r14 + 0x28]
mov qword [r14 + 8], rax
lea rcx, [r14 + 0x38]
mov qword [r14 + 0x10], rcx
lea rdx, [r14 + 0x48]
mov qword [r14 + 0x18], rdx
lea r8, [r14 + 0x58]
mov qword [r14 + 0x20], r8
lea rbx, [0x140346ce0]
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rcx], rbx
mov qword [rcx + 8], rsi
mov qword [rdx], rbx
mov qword [rdx + 8], rsi
mov qword [r8], rbx
mov qword [r8 + 8], rsi
jmp 0x14020a31c
mov r14, rsi
mov edx, dword [rdi + 0xc]
lea rcx, [r14 + 0x48]
call fcn.1401fcb40
movsxd r9, dword [rdi + 0xc]
mov eax, dword [r14 + 0x50]
inc eax
movsxd rdx, eax
mov r8, qword [rdi]
mov rcx, qword [r14 + 0x48]
call fcn.1402ba94c
mov edx, dword [rdi + 0xc]
lea rcx, [r14 + 0x48]
call fcn.1401fde50
mov rcx, r15
call fcn.1402b6dbc
mov r13, rax
mov r9, rax
mov r8d, r15d
xor edx, edx
mov rcx, qword [rdi]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14020a68a
movups xmm0, xmmword [0x140369250]
movups xmmword [rbp - 0x18], xmm0
movsd xmm1, qword [0x140369260]
movsd qword [rbp - 8], xmm1
movups xmm0, xmmword [0x14030a5e8]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x14030a5f8]
movups xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [0x140369230]
movups xmmword [rbp], xmm0
movsd xmm1, qword [0x140369240]
movsd qword [rbp + 0x10], xmm1
mov eax, dword [0x140369248]
mov dword [rbp + 0x18], eax
movzx eax, word [0x14036924c]
mov word [rbp + 0x1c], ax
movups xmm0, xmmword [0x140369288]
movups xmmword [rbp - 0x58], xmm0
movsd xmm1, qword [0x140369298]
movsd qword [rbp - 0x48], xmm1
mov eax, dword [0x1403692a0]
mov dword [rbp - 0x40], eax
movzx eax, word [0x1403692a4]
mov word [rbp - 0x3c], ax
movups xmm0, xmmword [str._s_04X_04x_s]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [0x140369278]
movups xmmword [rbp - 0x28], xmm1
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rsi
movzx edi, si
movzx r15d, si
mov dword [rsp + 0x44], esi
mov dword [rsp + 0x40], esi
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x48]
lea rdx, str.VarFileInfoTranslation
mov rcx, r13
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov ebx, esi
cmp dword [rsp + 0x44], ebx
jbe 0x14020a4b2
nop dword [rax]
mov ecx, ebx
mov rax, qword [rsp + 0x48]
movzx edi, word [rax + rcx*4]
movzx r15d, word [rax + rcx*4 + 2]
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], edi
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x38]
mov edx, 0x80
lea rcx, [rbp + 0x20]
call fcn.1400cac50
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x20]
mov rcx, r13
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x14020a4c5
inc ebx
cmp ebx, dword [rsp + 0x44]
jb 0x14020a450
jmp 0x14020a4b6
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x14020a4c5
mov edi, 0x409
mov r15d, 0x4e4
movzx ebx, r15w
movzx edi, di
lea rax, [rbp - 0x18]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edi
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x38]
mov edx, 0x80
lea rcx, [rbp + 0x20]
call fcn.1400cac50
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x20]
mov rcx, r13
call qword [sym.imp.VERSION.dll_VerQueryValueW]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edi
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x38]
mov edx, 0x80
lea rcx, [rbp + 0x20]
call fcn.1400cac50
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x20]
mov rcx, r13
call qword [sym.imp.VERSION.dll_VerQueryValueW]
lea rax, [rbp]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edi
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x38]
mov edx, 0x80
lea rcx, [rbp + 0x20]
call fcn.1400cac50
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x68]
lea rdx, [rbp + 0x20]
mov rcx, r13
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov r12, qword [rsp + 0x60]
or rdi, 0xffffffffffffffff
test r12, r12
jne 0x14020a598
mov ebx, esi
jmp 0x14020a5d3
mov rbx, rdi
nop dword [rax + rax]
inc rbx
cmp word [r12 + rbx*2], si
jne 0x14020a5a0
test ebx, ebx
jle 0x14020a5d3
mov edx, ebx
lea rcx, [r14 + 0x28]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [r14 + 0x30]
inc eax
movsxd rdx, eax
mov r8, r12
mov rcx, qword [r14 + 0x28]
call fcn.1402ba94c
jmp 0x14020a5d9
cmp dword [r14 + 0x34], esi
jle 0x14020a5e4
mov edx, ebx
lea rcx, [r14 + 0x28]
call fcn.1401fde50
mov r15, qword [rsp + 0x70]
test r15, r15
jne 0x14020a5f2
mov ebx, esi
jmp 0x14020a628
mov rbx, rdi
inc rbx
cmp word [r15 + rbx*2], si
jne 0x14020a5f5
test ebx, ebx
jle 0x14020a628
mov edx, ebx
lea rcx, [r14 + 0x38]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [r14 + 0x40]
inc eax
movsxd rdx, eax
mov r8, r15
mov rcx, qword [r14 + 0x38]
call fcn.1402ba94c
jmp 0x14020a62e
cmp dword [r14 + 0x44], esi
jle 0x14020a639
mov edx, ebx
lea rcx, [r14 + 0x38]
call fcn.1401fde50
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14020a678
inc rdi
cmp word [rbx + rdi*2], si
jne 0x14020a643
movsxd rsi, edi
test edi, edi
jle 0x14020a678
mov edx, esi
lea rcx, [r14 + 0x58]
call fcn.1401fcb40
mov r9, rsi
mov eax, dword [r14 + 0x60]
inc eax
movsxd rdx, eax
mov r8, rbx
mov rcx, qword [r14 + 0x58]
call fcn.1402ba94c
jmp 0x14020a67f
cmp dword [r14 + 0x64], 0
jle 0x14020a68a
mov edx, esi
lea rcx, [r14 + 0x58]
call fcn.1401fde50
mov rcx, r13
call fcn.1402150f0
mov rax, r14
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1402b6d40
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret