Function at 0x1401cc388
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 + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1403f04b0]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov r14, rdx
mov r15, rcx
mov qword [rsp + 0x58], rcx
xor ebx, ebx
mov qword [rsp + 0x38], rbx
lea r9, [rsp + 0x38]
mov edx, 0x80000000
lea r8d, [rbx + 5]
mov rcx, r14
call fcn.1401cc26c
test eax, eax
jns 0x1401cc403
mov qword [r15], rbx
mov qword [r15 + 8], rbx
mov rcx, qword [rsp + 0x38]
lea rdx, [rcx - 1]
cmp rdx, 0xfffffffffffffffd
jmp 0x1401cca60
mov ecx, 0xd0
call fcn.14027abe8
mov rdi, rax
mov qword [rsp + 0x50], rax
mov eax, 1
mov dword [rdi + 8], eax
mov dword [rdi + 0xc], eax
lea rax, vtable.std::_Ref_count_obj_struct_sense::cyberData::FileVersionInformation_.0
mov qword [rdi], rax
lea rsi, [rdi + 0x10]
test rsi, rsi
je 0x1401cc4a4
xor edx, edx
mov r8d, 0xc0
mov rcx, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
mov qword [rsi + 0x10], rbx
mov r12d, 7
mov qword [rsi + 0x18], r12
mov word [rsi], bx
mov qword [rsi + 0x30], rbx
mov qword [rsi + 0x38], r12
mov word [rsi + 0x20], bx
mov qword [rsi + 0x50], rbx
mov qword [rsi + 0x58], r12
mov word [rsi + 0x40], bx
mov qword [rsi + 0x70], rbx
mov qword [rsi + 0x78], r12
mov word [rsi + 0x60], bx
mov qword [rsi + 0x90], rbx
mov qword [rsi + 0x98], r12
mov word [rsi + 0x80], bx
mov qword [rsi + 0xb0], rbx
mov qword [rsi + 0xb8], r12
mov word [rsi + 0xa0], bx
jmp 0x1401cc4aa
mov r12d, 7
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], rsi
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x1401cc4c1
mov rdx, qword [r14]
lea r8, [rsp + 0x48]
mov ecx, 2
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_GetFileVersionInfoSizeExW]
mov r13d, eax
test eax, eax
jne 0x1401cc5ec
call fcn.140048a14
mov rbx, qword [rax + 8]
xor esi, esi
cmp dword [rbx], 4
jbe 0x1401cc59f
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 0x1401cc515
mov r14, qword [r14]
lea rcx, [0x1402cb810]
mov rax, rsi
test r14, r14
je 0x1401cc535
mov rcx, r14
or rax, 0xffffffffffffffff
inc rax
cmp word [r14 + rax*2], si
jne 0x1401cc52b
mov qword [rsp + 0x230], rcx
lea eax, [rax*2 + 2]
mov dword [rsp + 0x238], eax
mov dword [rsp + 0x23c], esi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x240], rax
mov qword [rsp + 0x248], 4
lea rax, [rsp + 0x200]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14034e623]
mov rcx, rbx
call fcn.140001078
mov qword [r15], rsi
mov qword [r15 + 8], rsi
or eax, 0xffffffff
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1401cca53
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [str.__v__]
or eax, 0xffffffff
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x1401cca53
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [str.__v__]
jmp 0x1401cca53
mov rcx, r13
call fcn.1402803c0
mov rbx, rax
mov qword [rsp + 0x30], rax
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x1401cc609
mov rdx, qword [r14]
mov qword [rsp + 0x20], rbx
mov r9d, r13d
xor r8d, r8d
lea ecx, [r8 + 2]
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_GetFileVersionInfoExW]
xor r13d, r13d
test eax, eax
jne 0x1401cc757
call fcn.140048a14
mov rsi, qword [rax + 8]
cmp dword [rsi], 4
jbe 0x1401cc6eb
lea rax, str.GetFileVersionInfoEx_Failed
mov qword [rsp + 0x270], rax
mov qword [rsp + 0x278], 0x38
cmp qword [r14 + 0x18], 8
jb 0x1401cc660
mov r14, qword [r14]
lea rcx, [0x1402cb810]
mov rax, r13
test r14, r14
je 0x1401cc680
mov rcx, r14
or rax, 0xffffffffffffffff
inc rax
cmp word [r14 + rax*2], r13w
jne 0x1401cc676
mov qword [rsp + 0x280], rcx
lea eax, [rax*2 + 2]
mov dword [rsp + 0x288], eax
mov dword [rsp + 0x28c], r13d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x44], eax
lea rax, [rsp + 0x44]
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, [0x14034e41b]
mov rcx, rsi
call fcn.140001078
mov qword [r15], r13
mov qword [r15 + 8], r13
test rbx, rbx
je 0x1401cc700
mov rcx, rbx
call fcn.14027ffa8
nop
or eax, 0xffffffff
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1401cc73a
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [str.__v__]
or eax, 0xffffffff
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x1401cc73a
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [str.__v__]
nop
mov rcx, qword [rsp + 0x38]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1401cc74f
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rax, r15
jmp 0x1401cca6b
lea rdx, [0x1402e9850]
lea rcx, [rsp + 0x78]
call fcn.140048750
nop
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x138]
call fcn.1401b8030
mov rbx, rax
cmp rsi, rax
je 0x1401cc7aa
mov rcx, rsi
call fcn.1400492c0
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r12
mov word [rbx], r13w
lea rcx, [rsp + 0x138]
call fcn.1400492c0
nop
lea rcx, [rsp + 0x78]
call fcn.1400492c0
lea rdx, [0x1402e9838]
lea rcx, [rsp + 0x98]
call fcn.140048750
nop
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x158]
call fcn.1401b8030
mov rbx, rax
lea r14, [rsi + 0x20]
cmp r14, rax
je 0x1401cc821
mov rcx, r14
call fcn.1400492c0
movups xmm0, xmmword [rbx]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [r14 + 0x10], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r12
mov word [rbx], r13w
lea rcx, [rsp + 0x158]
call fcn.1400492c0
nop
lea rcx, [rsp + 0x98]
call fcn.1400492c0
lea rdx, [0x1402e9810]
lea rcx, [rsp + 0xb8]
call fcn.140048750
nop
lea r8, [rsp + 0xb8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x178]
call fcn.1401b8030
mov rbx, rax
lea r14, [rsi + 0x40]
cmp r14, rax
je 0x1401cc89b
mov rcx, r14
call fcn.1400492c0
movups xmm0, xmmword [rbx]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [r14 + 0x10], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r12
mov word [rbx], r13w
lea rcx, [rsp + 0x178]
call fcn.1400492c0
nop
lea rcx, [rsp + 0xb8]
call fcn.1400492c0
lea rdx, [0x1402e97f0]
lea rcx, [rsp + 0xd8]
call fcn.140048750
nop
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x198]
call fcn.1401b8030
mov rbx, rax
lea r14, [rsi + 0x60]
cmp r14, rax
je 0x1401cc915
mov rcx, r14
call fcn.1400492c0
movups xmm0, xmmword [rbx]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [r14 + 0x10], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r12
mov word [rbx], r13w
lea rcx, [rsp + 0x198]
call fcn.1400492c0
nop
lea rcx, [rsp + 0xd8]
call fcn.1400492c0
lea rdx, [0x1402e97d0]
lea rcx, [rsp + 0xf8]
call fcn.140048750
nop
lea r8, [rsp + 0xf8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x1b8]
call fcn.1401b8030
mov rbx, rax
lea r14, [rsi + 0x80]
cmp r14, rax
je 0x1401cc992
mov rcx, r14
call fcn.1400492c0
movups xmm0, xmmword [rbx]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [r14 + 0x10], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r12
mov word [rbx], r13w
lea rcx, [rsp + 0x1b8]
call fcn.1400492c0
nop
lea rcx, [rsp + 0xf8]
call fcn.1400492c0
lea rdx, [0x1402e97b0]
lea rcx, [rsp + 0x118]
call fcn.140048750
nop
lea r8, [rsp + 0x118]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x1d8]
call fcn.1401b8030
mov rbx, rax
lea r14, [rsi + 0xa0]
cmp r14, rax
je 0x1401cca0f
mov rcx, r14
call fcn.1400492c0
movups xmm0, xmmword [rbx]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [r14 + 0x10], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r12
mov word [rbx], r13w
lea rcx, [rsp + 0x1d8]
call fcn.1400492c0
nop
lea rcx, [rsp + 0x118]
call fcn.1400492c0
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1401cca3b
call fcn.14027ffa8
nop
jmp 0x1401cca4c
mov qword [r15], rsi
mov qword [r15 + 8], rdi
mov rcx, qword [rsp + 0x38]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1401cca68
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.14027a710
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