Function at 0x14020c7a0
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 [0x140418a10]
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 0x14020c978
call qword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffff8ec
cmp eax, 1
jbe 0x14020c8de
mov qword [rsp + 0x50], rsi
lea rbx, [0x140348ca0]
mov qword [rsp + 0x48], rbx
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.140200570
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 0x14020c851
mov qword [rbp - 0x78], rbx
jmp 0x14020c879
lea rcx, [rbp - 0x78]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rsp + 0x54]
lea rcx, [rbp - 0x78]
call fcn.140200570
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 0x14020c89f
mov qword [rbp - 0x68], rbx
jmp 0x14020c8c0
lea rcx, [rbp - 0x68]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rdi + 0xc]
lea rcx, [rbp - 0x68]
call fcn.140200570
nop
lea rdx, [0x140410a90]
lea rcx, [rbp - 0x80]
call fcn.1402c1558
nop
mov ecx, 0x68
call fcn.1402b968c
mov r14, rax
test rax, rax
je 0x14020c93f
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, [0x140348ca0]
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 0x14020c942
mov r14, rsi
mov edx, dword [rdi + 0xc]
lea rcx, [r14 + 0x48]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rdi + 0xc]
lea rcx, [r14 + 0x48]
call fcn.140200570
jmp 0x14020cd52
mov ecx, 0x68
call fcn.1402b968c
mov r14, rax
test rax, rax
je 0x14020c9d9
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, [0x140348ca0]
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 0x14020c9dc
mov r14, rsi
mov edx, dword [rdi + 0xc]
lea rcx, [r14 + 0x48]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rdi + 0xc]
lea rcx, [r14 + 0x48]
call fcn.140200570
mov rcx, r15
call fcn.1402b968c
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 0x14020cd4a
movups xmm0, xmmword [0x14036baa8]
movups xmmword [rbp - 0x18], xmm0
movsd xmm1, qword [0x14036bab8]
movsd qword [rbp - 8], xmm1
movups xmm0, xmmword [0x14030c5a8]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x14030c5b8]
movups xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [0x14036ba88]
movups xmmword [rbp], xmm0
movsd xmm1, qword [0x14036ba98]
movsd qword [rbp + 0x10], xmm1
mov eax, dword [0x14036baa0]
mov dword [rbp + 0x18], eax
movzx eax, word [0x14036baa4]
mov word [rbp + 0x1c], ax
movups xmm0, xmmword [0x14036ba68]
movups xmmword [rbp - 0x58], xmm0
movsd xmm1, qword [0x14036ba78]
movsd qword [rbp - 0x48], xmm1
mov eax, dword [0x14036ba80]
mov dword [rbp - 0x40], eax
movzx eax, word [0x14036ba84]
mov word [rbp - 0x3c], ax
movups xmm0, xmmword [str._s_04X_04x_s]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [0x14036ba58]
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 0x14020cb72
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 0x14020cb85
inc ebx
cmp ebx, dword [rsp + 0x44]
jb 0x14020cb10
jmp 0x14020cb76
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x14020cb85
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 0x14020cc58
mov ebx, esi
jmp 0x14020cc93
mov rbx, rdi
nop dword [rax + rax]
inc rbx
cmp word [r12 + rbx*2], si
jne 0x14020cc60
test ebx, ebx
jle 0x14020cc93
mov edx, ebx
lea rcx, [r14 + 0x28]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [r14 + 0x30]
inc eax
movsxd rdx, eax
mov r8, r12
mov rcx, qword [r14 + 0x28]
call fcn.1402bd21c
jmp 0x14020cc99
cmp dword [r14 + 0x34], esi
jle 0x14020cca4
mov edx, ebx
lea rcx, [r14 + 0x28]
call fcn.140200570
mov r15, qword [rsp + 0x70]
test r15, r15
jne 0x14020ccb2
mov ebx, esi
jmp 0x14020cce8
mov rbx, rdi
inc rbx
cmp word [r15 + rbx*2], si
jne 0x14020ccb5
test ebx, ebx
jle 0x14020cce8
mov edx, ebx
lea rcx, [r14 + 0x38]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [r14 + 0x40]
inc eax
movsxd rdx, eax
mov r8, r15
mov rcx, qword [r14 + 0x38]
call fcn.1402bd21c
jmp 0x14020ccee
cmp dword [r14 + 0x44], esi
jle 0x14020ccf9
mov edx, ebx
lea rcx, [r14 + 0x38]
call fcn.140200570
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14020cd38
inc rdi
cmp word [rbx + rdi*2], si
jne 0x14020cd03
movsxd rsi, edi
test edi, edi
jle 0x14020cd38
mov edx, esi
lea rcx, [r14 + 0x58]
call fcn.1401ff260
mov r9, rsi
mov eax, dword [r14 + 0x60]
inc eax
movsxd rdx, eax
mov r8, rbx
mov rcx, qword [r14 + 0x58]
call fcn.1402bd21c
jmp 0x14020cd3f
cmp dword [r14 + 0x64], 0
jle 0x14020cd4a
mov edx, esi
lea rcx, [r14 + 0x58]
call fcn.140200570
mov rcx, r13
call fcn.1402177e0
mov rax, r14
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1402b9610
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