Function at 0x14003cb38
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0xa90
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140132008]
xor rax, rsp
mov qword [rsp + 0xa80], rax
mov rsi, rcx
lea rbx, [rcx + 0x50]
cmp qword [rbx + 0x18], 8
jb 0x14003cb7d
mov rdx, qword [rbx]
jmp 0x14003cb80
mov rdx, rbx
xor r8d, r8d
lea ecx, [r8 + 2]
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_GetFileVersionInfoSizeExW]
mov r14d, eax
xor r15d, r15d
test eax, eax
jne 0x14003cbe7
mov word [rsp + 0x280], r15w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rsp + 0x282]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x280]
call fcn.14003ce8c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovns ecx, eax
mov eax, ecx
jmp 0x14003ce5c
lea rdi, [rsi + 0x70]
mov rdx, r14
mov rcx, rdi
call fcn.14003d2c8
nop
mov rax, qword [rdi]
cmp qword [rbx + 0x18], 8
jb 0x14003cc04
mov rbx, qword [rbx]
mov qword [rsp + 0x20], rax
mov r9d, r14d
xor r8d, r8d
mov rdx, rbx
lea ecx, [r8 + 2]
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_GetFileVersionInfoExW]
test eax, eax
jne 0x14003cc50
mov word [rsp + 0x280], r15w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rsp + 0x282]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x280]
call fcn.14003cf8c
jmp 0x14003cbc2
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, str.VarFileInfoTranslation
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW]
xor edx, edx
test eax, eax
jne 0x14003cca8
mov word [rsp + 0x280], r15w
mov r8d, 0x7fe
lea rcx, [rsp + 0x282]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x280]
call fcn.14003d08c
jmp 0x14003cbc2
mov eax, dword [rsp + 0x30]
and eax, 0xfffffffc
cmp eax, 4
jae 0x14003cce7
mov word [rsp + 0x280], r15w
mov r8d, 0x7fe
lea rcx, [rsp + 0x282]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x280]
call fcn.14003d18c
mov eax, 0x80004005
jmp 0x14003ce5c
mov word [rsp + 0x80], r15w
mov r8d, 0x1fe
lea rcx, [rsp + 0x82]
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0x38]
movzx ecx, word [rax + 2]
movzx r9d, word [rax]
mov dword [rsp + 0x20], ecx
lea r8, str.StringFileInfo_04x_04x_
mov ebx, 0x100
mov edx, ebx
lea rcx, [rsp + 0x80]
call qword [sym.imp.msvcrt.dll_swprintf_s]
lea rcx, [rsp + 0x80]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r15w
jne 0x14003cd3c
lea rcx, [rsp + 0x80]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x80]
sub rax, rcx
sar rax, 1
sub rbx, rax
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rsi
lea rax, [rsp + 0x80]
mov qword [rsp + 0x58], rax
lea rdx, [0x1400f0198]
lea rcx, [rsp + 0x40]
call fcn.14003d25c
mov qword [rsi + 0x88], rax
lea rdx, [0x1400f01b0]
lea rcx, [rsp + 0x40]
call fcn.14003d25c
mov qword [rsi + 0x90], rax
lea rdx, [0x1400f01d0]
lea rcx, [rsp + 0x40]
call fcn.14003d25c
mov qword [rsi + 0x98], rax
lea rdx, [0x1400f01e8]
lea rcx, [rsp + 0x40]
call fcn.14003d25c
mov qword [rsi + 0xa0], rax
lea rdx, [0x1400f0208]
lea rcx, [rsp + 0x40]
call fcn.14003d25c
mov qword [rsi + 0xa8], rax
lea rdx, [0x1400f0228]
lea rcx, [rsp + 0x40]
call fcn.14003d25c
mov qword [rsi + 0xb0], rax
lea rdx, [0x1400f0250]
lea rcx, [rsp + 0x40]
call fcn.14003d25c
mov qword [rsi + 0xb8], rax
lea rdx, [0x1400f0268]
lea rcx, [rsp + 0x40]
call fcn.14003d25c
mov qword [rsi + 0xc0], rax
xor eax, eax
jmp 0x14003ce5c
mov rcx, qword [rsp + 0xa80]
xor rcx, rsp
call fcn.1400cb2a0
lea r11, [rsp + 0xa90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret