Function at 0x1400419e0
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2f8]
sub rsp, 0x3c0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x140121108]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov r12, r8
mov rbx, rdx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0x2c], r14d
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x140041a3a
mov rcx, qword [rdx]
lea rdx, [rsp + 0x2c]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test eax, eax
jne 0x140041a73
call fcn.14005f3e4
mov rcx, qword [rax]
mov rax, qword [rcx]
lea r8, str.GetFileVersionInfoSize_Failed
mov edx, 1
mov rax, qword [rax + 0x38]
call qword [case.0x14004f9b0.0]
xor al, al
jmp 0x140041e28
mov rdx, rdi
lea r8, [rsp + 0x24]
lea rcx, [rsp + 0x38]
call fcn.14000c3a8
nop
cmp qword [rbx + 0x18], 8
jb 0x140041a90
mov rbx, qword [rbx]
mov r9, qword [rsp + 0x38]
mov r8d, edi
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x140041b35
call fcn.14005f3e4
mov r9d, 1
mov r8, qword [rax]
mov edx, r9d
lea rcx, [rbp + 0x80]
call fcn.14000c28c
nop
lea rbx, [rax + 0x10]
lea rdx, str.GetFileVersionInfo_Failed_with_Error_code_
mov rcx, rbx
call fcn.140015984
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.1400138fc
nop
lea rcx, [rbp + 0x128]
call fcn.14000c21c
lea rax, [rbp + 0x128]
mov qword [rsp + 0x30], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0x128], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x128], rax
lea rcx, [rbp + 0x128]
call fcn.140066758
mov sil, r14b
jmp 0x140041dda
mov sil, r14b
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x58]
lea rdx, [0x1400e4358]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140041d55
mov rax, qword [rsp + 0x58]
movzx ebx, word [rax + 0xa]
movzx edi, word [rax + 8]
movzx esi, word [rax + 0xe]
movzx r14d, word [rax + 0xc]
mov r8d, 1
lea r15d, [r8 + 1]
mov edx, r15d
lea rcx, [rsp + 0x68]
call fcn.14000fad0
nop
movzx edx, bx
lea rcx, [rsp + 0x68]
call fcn.140013d0c
lea ebx, [r15 + 0x2c]
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.140015c48
mov edx, r15d
lea rcx, [rbp + 0x50]
call fcn.140066870
mov rcx, qword [rsp + 0x68]
movsxd r8, dword [rcx + 4]
lea rcx, [rsp + 0x68]
add rcx, r8
mov rdx, qword [rax + 8]
mov rax, qword [rax]
call qword [case.0x14004f9b0.0]
lea r13d, [r15 + 0x2e]
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
mov word [rbp + rcx - 0x40], r13w
movzx edx, di
lea rcx, [rsp + 0x68]
call fcn.140013d0c
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.140015c48
mov edx, r15d
lea rcx, [rbp + 0x60]
call fcn.140066870
mov rcx, qword [rsp + 0x68]
movsxd r8, dword [rcx + 4]
lea rcx, [rsp + 0x68]
add rcx, r8
mov rdx, qword [rax + 8]
mov rax, qword [rax]
call qword [case.0x14004f9b0.0]
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
mov word [rbp + rcx - 0x40], r13w
movzx edx, si
lea rcx, [rsp + 0x68]
call fcn.140013d0c
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.140015c48
lea edx, [rbx - 0x2a]
lea rcx, [rbp + 0x70]
call fcn.140066870
mov rcx, qword [rsp + 0x68]
movsxd r8, dword [rcx + 4]
lea rcx, [rsp + 0x68]
add rcx, r8
mov rdx, qword [rax + 8]
mov rax, qword [rax]
call qword [case.0x14004f9b0.0]
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
mov word [rbp + rcx - 0x40], r13w
movzx edx, r14w
lea rcx, [rsp + 0x68]
call fcn.140013d0c
nop
lea rdx, [rbp + 0x290]
lea rcx, [rsp + 0x70]
call fcn.140010d78
mov dword [rsp + 0x20], r15d
and r15d, 0xfffffffd
mov dword [rsp + 0x20], r15d
or r15d, 1
mov dword [rsp + 0x20], r15d
lea rax, [rbp + 0x290]
cmp r12, rax
je 0x140041d03
mov rcx, r12
call fcn.140001a14
lea r8d, [rbx - 0xe]
lea rdx, [rbp + 0x290]
mov rcx, r12
call fcn.1400866c0
movdqa xmm0, xmmword [0x1400fa420]
movdqu xmmword [rbp + 0x2a0], xmm0
xor r14d, r14d
mov word [rbp + 0x290], r14w
jmp 0x140041d06
xor r14d, r14d
and r15d, 0xfffffffe
mov dword [rsp + 0x20], r15d
lea rcx, [rbp + 0x290]
call fcn.140001a14
nop
lea rcx, [rbp - 0x10]
call fcn.14000c834
lea rax, [rbp - 0x10]
mov qword [rsp + 0x30], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 0x10], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x10]
call fcn.140066758
mov sil, 1
jmp 0x140041dda
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.14005f3e4
mov r9d, 1
mov r8, qword [rax]
mov edx, r9d
lea rcx, [rbp + 0x188]
call fcn.14000c28c
nop
lea rbx, [rax + 0x10]
lea rdx, str.VerQueryValue_Failed_with_error_code_
mov rcx, rbx
call fcn.140015984
mov edx, edi
mov rcx, rbx
call fcn.1400138fc
nop
lea rcx, [rbp + 0x230]
call fcn.14000c21c
lea rax, [rbp + 0x230]
mov qword [rsp + 0x30], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0x230], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x230], rax
lea rcx, [rbp + 0x230]
call fcn.140066758
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140041e25
mov rdx, qword [rsp + 0x48]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140041e12
lfence
add rdx, 0x27
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041e52
call fcn.1400682c0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
mov al, sil
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.1400683e0
mov rbx, qword [rsp + 0x400]
add rsp, 0x3c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14008a39c
int3