Function at 0x14003c624
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 [0x140115ab8]
xor rax, rsp
mov qword [rsp + 0xa70], rax
mov r14, rcx
lea rbx, [rcx + 0x50]
cmp qword [rbx + 0x18], 8
jb 0x14003c65f
mov rdx, qword [rbx]
jmp 0x14003c662
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 esi, eax
xor r15d, r15d
test eax, eax
jne 0x14003c6cb
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x270]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x270]
call fcn.14003c930
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 0x14003c8fd
lea rdi, [r14 + 0x70]
mov rdx, rsi
mov rcx, rdi
call fcn.14003cbc4
nop
mov rax, qword [rdi]
cmp qword [rbx + 0x18], 8
jb 0x14003c6e8
mov rbx, qword [rbx]
mov qword [rsp + 0x20], rax
mov r9d, esi
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 0x14003c731
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x270]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x270]
call fcn.14003c9c8
jmp 0x14003c6a0
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 0x14003c786
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x270]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x270]
call fcn.14003ca60
jmp 0x14003c6a0
mov eax, dword [rsp + 0x30]
and eax, 0xfffffffc
cmp eax, 4
jae 0x14003c7a1
call fcn.14003ed8c
mov eax, 0x80004005
jmp 0x14003c8fd
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 0x14003c7ec
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], r14
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
lea rdx, [0x1400f3418]
lea rcx, [rsp + 0x40]
call fcn.14003caf8
mov qword [r14 + 0x88], rax
lea rdx, [0x1400f3430]
lea rcx, [rsp + 0x40]
call fcn.14003caf8
mov qword [r14 + 0x90], rax
lea rdx, [0x1400f3450]
lea rcx, [rsp + 0x40]
call fcn.14003caf8
mov qword [r14 + 0x98], rax
lea rdx, [0x1400f3468]
lea rcx, [rsp + 0x40]
call fcn.14003caf8
mov qword [r14 + 0xa0], rax
lea rdx, [0x1400f3488]
lea rcx, [rsp + 0x40]
call fcn.14003caf8
mov qword [r14 + 0xa8], rax
lea rdx, [0x1400f34a8]
lea rcx, [rsp + 0x40]
call fcn.14003caf8
mov qword [r14 + 0xb0], rax
lea rdx, [0x1400f34d0]
lea rcx, [rsp + 0x40]
call fcn.14003caf8
mov qword [r14 + 0xb8], rax
lea rdx, [0x1400f34e8]
lea rcx, [rsp + 0x40]
call fcn.14003caf8
mov qword [r14 + 0xc0], rax
xor eax, eax
jmp 0x14003c8fd
mov rcx, qword [rsp + 0xa70]
xor rcx, rsp
call fcn.1400d22a0
lea r11, [rsp + 0xa80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret