Function at 0x1401e2ce8
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2b0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14044e770]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov r14, rdx
mov r15, rcx
mov qword [rsp + 0x60], rcx
xor edi, edi
mov qword [rsp + 0x40], rdi
lea r9, [rsp + 0x40]
lea r12d, [rdi + 5]
mov r8d, r12d
mov edx, 0x80000000
mov rcx, r14
call fcn.1401e2bcc
test eax, eax
jns 0x1401e2d6b
mov qword [r15], rdi
mov qword [r15 + 8], rdi
mov rcx, qword [rsp + 0x40]
lea rdx, [rcx - 1]
cmp rdx, 0xfffffffffffffffd
setbe dl
test dl, dl
jmp 0x1401e337b
mov ecx, 0x190
call fcn.1402aee08
mov qword [rsp + 0x50], rax
mov rcx, rax
call fcn.1401e5ff4
mov rsi, rax
mov qword [rsp + 0x50], rax
lea r13, [rax + 0x10]
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], rax
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x1401e2da5
mov rdx, qword [r14]
lea r8, [rsp + 0x58]
mov ecx, 2
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_GetFileVersionInfoSizeExW]
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x1401e2ed5
call fcn.14004acb4
mov rbx, qword [rax + 8]
cmp dword [rbx], 4
jbe 0x1401e2e7f
lea rax, str.Failed_retrieve_version_information_for_a_file
mov qword [rsp + 0x220], rax
mov qword [rsp + 0x228], 0x5e
cmp qword [r14 + 0x18], 8
jb 0x1401e2df8
mov r14, qword [r14]
lea rcx, [0x14030cae0]
mov rax, rdi
test r14, r14
je 0x1401e2e18
mov rcx, r14
or rax, 0xffffffffffffffff
inc rax
cmp word [r14 + rax*2], di
jne 0x1401e2e0e
mov qword [rsp + 0x230], rcx
lea eax, [rax*2 + 2]
mov dword [rsp + 0x238], eax
mov dword [rsp + 0x23c], edi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x240], rax
mov qword [rsp + 0x248], 4
lea rax, [rsp + 0x200]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14039d90a]
mov rcx, rbx
call fcn.140001158
mov qword [r15], rdi
mov qword [r15 + 8], rdi
test rsi, rsi
je 0x1401e3369
or eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1401e3369
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax]
call qword [str.PM_]
or eax, 0xffffffff
lock xadd dword [rsi + 0xc], eax
cmp eax, 1
jne 0x1401e3369
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [str.PM_]
jmp 0x1401e3369
mov ecx, eax
call fcn.1402b45f8
mov rbx, rax
mov qword [rsp + 0x38], rax
mov rdx, r14
mov r12, rax
cmp qword [r14 + 0x18], 8
jb 0x1401e2ef4
mov rdx, qword [r14]
mov qword [rsp + 0x20], rbx
mov r9d, dword [rsp + 0x30]
xor r8d, r8d
lea ecx, [r8 + 2]
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_GetFileVersionInfoExW]
test eax, eax
jne 0x1401e304f
call fcn.14004acb4
mov r13, qword [rax + 8]
cmp dword [r13], 4
jbe 0x1401e2fd9
lea rax, str.GetFileVersionInfoEx_Failed
mov qword [rsp + 0x270], rax
mov qword [rsp + 0x278], 0x38
mov rax, qword [r14 + 0x18]
cmp rax, 8
jb 0x1401e2f4f
mov r14, qword [r14]
lea rcx, [0x14030cae0]
mov rax, rdi
test r14, r14
je 0x1401e2f6f
mov rcx, r14
or rax, 0xffffffffffffffff
inc rax
cmp word [r14 + rax*2], di
jne 0x1401e2f65
mov qword [rsp + 0x280], rcx
lea eax, [rax*2 + 2]
mov dword [rsp + 0x288], eax
mov dword [rsp + 0x28c], edi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x290], rax
mov qword [rsp + 0x298], 4
lea rax, [rsp + 0x250]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14039d88f]
mov rcx, r13
call fcn.140001158
mov qword [r15], rdi
mov qword [r15 + 8], rdi
test r12, r12
je 0x1401e2fee
mov rcx, rbx
call fcn.1402aecf4
nop
test rsi, rsi
je 0x1401e302d
or eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1401e302d
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax]
call qword [str.PM_]
or eax, 0xffffffff
lock xadd dword [rsi + 0xc], eax
cmp eax, 1
jne 0x1401e302d
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [str.PM_]
nop
mov rcx, qword [rsp + 0x40]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
setbe al
test al, al
je 0x1401e3047
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rax, r15
jmp 0x1401e3386
lea rdx, [0x14032f5d8]
lea rcx, [rsp + 0x80]
call fcn.14004a9e4
nop
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x140]
call fcn.1401d8ad4
mov rbx, rax
cmp r13, rax
je 0x1401e30b2
mov rcx, r13
call fcn.14004b500
movups xmm0, xmmword [rbx]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [r13 + 0x10], xmm1
mov qword [rbx + 0x10], rdi
mov r14d, 7
mov qword [rbx + 0x18], r14
mov word [rbx], di
jmp 0x1401e30b8
mov r14d, 7
lea rcx, [rsp + 0x140]
call fcn.14004b500
nop
lea rcx, [rsp + 0x80]
call fcn.14004b500
lea rdx, [0x14032f5f0]
lea rcx, [rsp + 0xa0]
call fcn.14004a9e4
nop
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x160]
call fcn.1401d8ad4
mov rbx, rax
lea r12, [r13 + 0x20]
cmp r12, rax
je 0x1401e3133
mov rcx, r12
call fcn.14004b500
movups xmm0, xmmword [rbx]
movups xmmword [r12], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [r12 + 0x10], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], r14
mov word [rbx], di
lea rcx, [rsp + 0x160]
call fcn.14004b500
nop
lea rcx, [rsp + 0xa0]
call fcn.14004b500
lea rdx, [0x14032eaf8]
lea rcx, [rsp + 0xc0]
call fcn.14004a9e4
nop
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x180]
call fcn.1401d8ad4
mov rbx, rax
lea r12, [r13 + 0x40]
cmp r12, rax
je 0x1401e31ae
mov rcx, r12
call fcn.14004b500
movups xmm0, xmmword [rbx]
movups xmmword [r12], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [r12 + 0x10], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], r14
mov word [rbx], di
lea rcx, [rsp + 0x180]
call fcn.14004b500
nop
lea rcx, [rsp + 0xc0]
call fcn.14004b500
lea rdx, [0x14032f608]
lea rcx, [rsp + 0xe0]
call fcn.14004a9e4
nop
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x1a0]
call fcn.1401d8ad4
mov rbx, rax
lea r12, [r13 + 0x60]
cmp r12, rax
je 0x1401e3229
mov rcx, r12
call fcn.14004b500
movups xmm0, xmmword [rbx]
movups xmmword [r12], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [r12 + 0x10], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], r14
mov word [rbx], di
lea rcx, [rsp + 0x1a0]
call fcn.14004b500
nop
lea rcx, [rsp + 0xe0]
call fcn.14004b500
lea rdx, [0x14032f628]
lea rcx, [rsp + 0x100]
call fcn.14004a9e4
nop
lea r8, [rsp + 0x100]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x1c0]
call fcn.1401d8ad4
mov rbx, rax
lea r12, [r13 + 0x80]
cmp r12, rax
je 0x1401e32a7
mov rcx, r12
call fcn.14004b500
movups xmm0, xmmword [rbx]
movups xmmword [r12], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [r12 + 0x10], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], r14
mov word [rbx], di
lea rcx, [rsp + 0x1c0]
call fcn.14004b500
nop
lea rcx, [rsp + 0x100]
call fcn.14004b500
lea rdx, [0x14032fd80]
lea rcx, [rsp + 0x120]
call fcn.14004a9e4
nop
lea r8, [rsp + 0x120]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x1e0]
call fcn.1401d8ad4
mov rbx, rax
lea r12, [r13 + 0xa0]
cmp r12, rax
je 0x1401e3325
mov rcx, r12
call fcn.14004b500
movups xmm0, xmmword [rbx]
movups xmmword [r12], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [r12 + 0x10], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], r14
mov word [rbx], di
lea rcx, [rsp + 0x1e0]
call fcn.14004b500
nop
lea rcx, [rsp + 0x120]
call fcn.14004b500
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1401e3351
call fcn.1402aecf4
nop
jmp 0x1401e3362
mov qword [r15], r13
mov qword [r15 + 8], rsi
mov rcx, qword [rsp + 0x40]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
setbe al
test al, al
je 0x1401e3383
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rax, r15
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1402ae860
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret