Function at 0x14003c4c8
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0xa80
mov rax, qword [0x140114ab8]
xor rax, rsp
mov qword [rsp + 0xa70], rax
mov rsi, rcx
lea rbx, [rcx + 0x50]
cmp qword [rbx + 0x18], 8
jb 0x14003c503
mov rdx, qword [rbx]
jmp 0x14003c506
mov rdx, rbx
xor r8d, r8d
lea ecx, [r8 + 2]
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_GetFileVersionInfoSizeExW]
nop dword [rax + rax]
mov r14d, eax
xor r15d, r15d
test eax, eax
jne 0x14003c570
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x270]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x270]
call fcn.14003c7d4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
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 0x14003c7a2
lea rdi, [rsi + 0x70]
mov rdx, r14
mov rcx, rdi
call fcn.14003ca64
nop
mov rax, qword [rdi]
cmp qword [rbx + 0x18], 8
jb 0x14003c58d
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]
nop dword [rax + rax]
test eax, eax
jne 0x14003c5d6
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x270]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x270]
call fcn.14003c86c
jmp 0x14003c545
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]
nop dword [rax + rax]
test eax, eax
jne 0x14003c62b
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x270]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x270]
call fcn.14003c904
jmp 0x14003c545
mov eax, dword [rsp + 0x30]
and eax, 0xfffffffc
cmp eax, 4
jae 0x14003c646
call fcn.14003ec3c
mov eax, 0x80004005
jmp 0x14003c7a2
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x70]
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 + 0x70]
call qword [sym.imp.msvcrt.dll_swprintf_s]
nop dword [rax + rax]
lea rax, [rsp + 0x70]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r15w
jne 0x14003c691
add rcx, rcx
lea rax, [rsp + 0x70]
add rax, rcx
mov qword [rsp + 0x60], rax
sar rcx, 1
sub rbx, rcx
mov qword [rsp + 0x68], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
lea rdx, [0x1400f33e8]
lea rcx, [rsp + 0x40]
call fcn.14003c99c
mov qword [rsi + 0x88], rax
lea rdx, [0x1400f3400]
lea rcx, [rsp + 0x40]
call fcn.14003c99c
mov qword [rsi + 0x90], rax
lea rdx, [0x1400f3420]
lea rcx, [rsp + 0x40]
call fcn.14003c99c
mov qword [rsi + 0x98], rax
lea rdx, [0x1400f3438]
lea rcx, [rsp + 0x40]
call fcn.14003c99c
mov qword [rsi + 0xa0], rax
lea rdx, [0x1400f3458]
lea rcx, [rsp + 0x40]
call fcn.14003c99c
mov qword [rsi + 0xa8], rax
lea rdx, [0x1400f3478]
lea rcx, [rsp + 0x40]
call fcn.14003c99c
mov qword [rsi + 0xb0], rax
lea rdx, [0x1400f34a0]
lea rcx, [rsp + 0x40]
call fcn.14003c99c
mov qword [rsi + 0xb8], rax
lea rdx, [0x1400f34b8]
lea rcx, [rsp + 0x40]
call fcn.14003c99c
mov qword [rsi + 0xc0], rax
xor eax, eax
jmp 0x14003c7a2
mov rcx, qword [rsp + 0xa70]
xor rcx, rsp
call fcn.1400d2540
lea r11, [rsp + 0xa80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret