Function at 0x1401f62b0
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 [0x1403eaa10]
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 0x1401f6488
call qword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffff8ec
cmp eax, 1
jbe 0x1401f63ee
mov qword [rsp + 0x50], rsi
lea rbx, [0x140323de0]
mov qword [rsp + 0x48], rbx
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.1401ea290
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 0x1401f6361
mov qword [rbp - 0x78], rbx
jmp 0x1401f6389
lea rcx, [rbp - 0x78]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rsp + 0x54]
lea rcx, [rbp - 0x78]
call fcn.1401ea290
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 0x1401f63af
mov qword [rbp - 0x68], rbx
jmp 0x1401f63d0
lea rcx, [rbp - 0x68]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rdi + 0xc]
lea rcx, [rbp - 0x68]
call fcn.1401ea290
nop
lea rdx, [0x1403e2fc0]
lea rcx, [rbp - 0x80]
call fcn.14029f768
nop
mov ecx, 0x68
call fcn.14029806c
mov r14, rax
test rax, rax
je 0x1401f644f
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, [0x140323de0]
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 0x1401f6452
mov r14, rsi
mov edx, dword [rdi + 0xc]
lea rcx, [r14 + 0x48]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rdi + 0xc]
lea rcx, [r14 + 0x48]
call fcn.1401ea290
jmp 0x1401f6862
mov ecx, 0x68
call fcn.14029806c
mov r14, rax
test rax, rax
je 0x1401f64e9
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, [0x140323de0]
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 0x1401f64ec
mov r14, rsi
mov edx, dword [rdi + 0xc]
lea rcx, [r14 + 0x48]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rdi + 0xc]
lea rcx, [r14 + 0x48]
call fcn.1401ea290
mov rcx, r15
call fcn.14029806c
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 0x1401f685a
movups xmm0, xmmword [0x140344570]
movups xmmword [rbp - 0x18], xmm0
movsd xmm1, qword [0x140344580]
movsd qword [rbp - 8], xmm1
movups xmm0, xmmword [0x1402e9048]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x1402e9058]
movups xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [0x140344550]
movups xmmword [rbp], xmm0
movsd xmm1, qword [0x140344560]
movsd qword [rbp + 0x10], xmm1
mov eax, dword [0x140344568]
mov dword [rbp + 0x18], eax
movzx eax, word [0x14034456c]
mov word [rbp + 0x1c], ax
movups xmm0, xmmword [0x140344530]
movups xmmword [rbp - 0x58], xmm0
movsd xmm1, qword [0x140344540]
movsd qword [rbp - 0x48], xmm1
mov eax, dword [0x140344548]
mov dword [rbp - 0x40], eax
movzx eax, word [0x14034454c]
mov word [rbp - 0x3c], ax
movups xmm0, xmmword [str._s_04X_04x_s]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [0x140344520]
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 0x1401f6682
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.1400ca6e0
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 0x1401f6695
inc ebx
cmp ebx, dword [rsp + 0x44]
jb 0x1401f6620
jmp 0x1401f6686
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x1401f6695
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.1400ca6e0
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.1400ca6e0
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.1400ca6e0
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 0x1401f6768
mov ebx, esi
jmp 0x1401f67a3
mov rbx, rdi
nop dword [rax + rax]
inc rbx
cmp word [r12 + rbx*2], si
jne 0x1401f6770
test ebx, ebx
jle 0x1401f67a3
mov edx, ebx
lea rcx, [r14 + 0x28]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [r14 + 0x30]
inc eax
movsxd rdx, eax
mov r8, r12
mov rcx, qword [r14 + 0x28]
call fcn.14029b4d8
jmp 0x1401f67a9
cmp dword [r14 + 0x34], esi
jle 0x1401f67b4
mov edx, ebx
lea rcx, [r14 + 0x28]
call fcn.1401ea290
mov r15, qword [rsp + 0x70]
test r15, r15
jne 0x1401f67c2
mov ebx, esi
jmp 0x1401f67f8
mov rbx, rdi
inc rbx
cmp word [r15 + rbx*2], si
jne 0x1401f67c5
test ebx, ebx
jle 0x1401f67f8
mov edx, ebx
lea rcx, [r14 + 0x38]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [r14 + 0x40]
inc eax
movsxd rdx, eax
mov r8, r15
mov rcx, qword [r14 + 0x38]
call fcn.14029b4d8
jmp 0x1401f67fe
cmp dword [r14 + 0x44], esi
jle 0x1401f6809
mov edx, ebx
lea rcx, [r14 + 0x38]
call fcn.1401ea290
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x1401f6848
inc rdi
cmp word [rbx + rdi*2], si
jne 0x1401f6813
movsxd rsi, edi
test edi, edi
jle 0x1401f6848
mov edx, esi
lea rcx, [r14 + 0x58]
call fcn.1401e9030
mov r9, rsi
mov eax, dword [r14 + 0x60]
inc eax
movsxd rdx, eax
mov r8, rbx
mov rcx, qword [r14 + 0x58]
call fcn.14029b4d8
jmp 0x1401f684f
cmp dword [r14 + 0x64], 0
jle 0x1401f685a
mov edx, esi
lea rcx, [r14 + 0x58]
call fcn.1401ea290
mov rcx, r13
call fcn.1402012c0
mov rax, r14
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140297ff0
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