Function at 0x14020fed0
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 [0x14041da10]
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 0x1402100a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffff8ec
cmp eax, 1
jbe 0x14021000e
mov qword [rsp + 0x50], rsi
lea rbx, [0x14034d1a0]
mov qword [rsp + 0x48], rbx
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.140203bb0
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 0x14020ff81
mov qword [rbp - 0x78], rbx
jmp 0x14020ffa9
lea rcx, [rbp - 0x78]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rsp + 0x54]
lea rcx, [rbp - 0x78]
call fcn.140203bb0
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 0x14020ffcf
mov qword [rbp - 0x68], rbx
jmp 0x14020fff0
lea rcx, [rbp - 0x68]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rdi + 0xc]
lea rcx, [rbp - 0x68]
call fcn.140203bb0
nop
lea rdx, [0x140416038]
lea rcx, [rbp - 0x80]
call fcn.1402c4a18
nop
mov ecx, 0x68
call fcn.1402bcb4c
mov r14, rax
test rax, rax
je 0x14021006f
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, [0x14034d1a0]
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 0x140210072
mov r14, rsi
mov edx, dword [rdi + 0xc]
lea rcx, [r14 + 0x48]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rdi + 0xc]
lea rcx, [r14 + 0x48]
call fcn.140203bb0
jmp 0x140210482
mov ecx, 0x68
call fcn.1402bcb4c
mov r14, rax
test rax, rax
je 0x140210109
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, [0x14034d1a0]
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 0x14021010c
mov r14, rsi
mov edx, dword [rdi + 0xc]
lea rcx, [r14 + 0x48]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rdi + 0xc]
lea rcx, [r14 + 0x48]
call fcn.140203bb0
mov rcx, r15
call fcn.1402bcb4c
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 0x14021047a
movups xmm0, xmmword [0x1403707b8]
movups xmmword [rbp - 0x18], xmm0
movsd xmm1, qword [0x1403707c8]
movsd qword [rbp - 8], xmm1
movups xmm0, xmmword [0x140310608]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x140310618]
movups xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [0x140370798]
movups xmmword [rbp], xmm0
movsd xmm1, qword [0x1403707a8]
movsd qword [rbp + 0x10], xmm1
mov eax, dword [0x1403707b0]
mov dword [rbp + 0x18], eax
movzx eax, word [0x1403707b4]
mov word [rbp + 0x1c], ax
movups xmm0, xmmword [0x140370778]
movups xmmword [rbp - 0x58], xmm0
movsd xmm1, qword [0x140370788]
movsd qword [rbp - 0x48], xmm1
mov eax, dword [0x140370790]
mov dword [rbp - 0x40], eax
movzx eax, word [0x140370794]
mov word [rbp - 0x3c], ax
movups xmm0, xmmword [str._s_04X_04x_s]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [0x140370768]
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 0x1402102a2
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 0x1402102b5
inc ebx
cmp ebx, dword [rsp + 0x44]
jb 0x140210240
jmp 0x1402102a6
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x1402102b5
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 0x140210388
mov ebx, esi
jmp 0x1402103c3
mov rbx, rdi
nop dword [rax + rax]
inc rbx
cmp word [r12 + rbx*2], si
jne 0x140210390
test ebx, ebx
jle 0x1402103c3
mov edx, ebx
lea rcx, [r14 + 0x28]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [r14 + 0x30]
inc eax
movsxd rdx, eax
mov r8, r12
mov rcx, qword [r14 + 0x28]
call fcn.1402c06dc
jmp 0x1402103c9
cmp dword [r14 + 0x34], esi
jle 0x1402103d4
mov edx, ebx
lea rcx, [r14 + 0x28]
call fcn.140203bb0
mov r15, qword [rsp + 0x70]
test r15, r15
jne 0x1402103e2
mov ebx, esi
jmp 0x140210418
mov rbx, rdi
inc rbx
cmp word [r15 + rbx*2], si
jne 0x1402103e5
test ebx, ebx
jle 0x140210418
mov edx, ebx
lea rcx, [r14 + 0x38]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [r14 + 0x40]
inc eax
movsxd rdx, eax
mov r8, r15
mov rcx, qword [r14 + 0x38]
call fcn.1402c06dc
jmp 0x14021041e
cmp dword [r14 + 0x44], esi
jle 0x140210429
mov edx, ebx
lea rcx, [r14 + 0x38]
call fcn.140203bb0
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x140210468
inc rdi
cmp word [rbx + rdi*2], si
jne 0x140210433
movsxd rsi, edi
test edi, edi
jle 0x140210468
mov edx, esi
lea rcx, [r14 + 0x58]
call fcn.1402028a0
mov r9, rsi
mov eax, dword [r14 + 0x60]
inc eax
movsxd rdx, eax
mov r8, rbx
mov rcx, qword [r14 + 0x58]
call fcn.1402c06dc
jmp 0x14021046f
cmp dword [r14 + 0x64], 0
jle 0x14021047a
mov edx, esi
lea rcx, [r14 + 0x58]
call fcn.140203bb0
mov rcx, r13
call fcn.14021ae20
mov rax, r14
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1402bcad0
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