Function at 0x1400c7588
Capabilities:
Get file version info

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x12f0]
mov eax, 0x13f0
call fcn.1401a4ab0
sub rsp, rax
mov qword [rbp + 0xf0], 0xfffffffffffffffe
mov qword [rsp + 0x1448], rbx
movaps xmmword [rsp + 0x13e0], xmm6
mov rax, qword [0x1402338a8]
xor rax, rsp
mov qword [rbp + 0x12d0], rax
mov r13, r8
mov qword [rbp - 0x20], rdx
mov r14, rcx
mov qword [rsp + 0x68], rdx
mov qword [rbp + 0xea0], r8
mov rbx, qword [rbp + 0x1328]
mov r8d, 0x105
lea rdx, [rbp + 0x10c0]
lea rcx, [0x140000000]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor r12d, r12d
test eax, eax
je 0x1400c820e
lea rdx, [rbp + 0x10c0]
lea rcx, [rbp + 0x370]
call fcn.14000ec4c
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.14004e62c
nop
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, qword [rbp - 0x40]
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test eax, eax
jne 0x1400c765f
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
jmp 0x1400c772d
mov rdx, rdi
lea rcx, [rbp + 0xf40]
call fcn.14004ae90
nop
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, qword [rbp - 0x40]
mov rbx, qword [rbp + 0xf40]
mov r9, rbx
mov r8d, edi
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov rcx, qword [rbp + 0x1328]
test eax, eax
je 0x1400c8223
lea r9, [rbp + 0xee0]
lea r8, [rbp + 0xe98]
lea rdx, [0x1401cbe68]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rcx, qword [rbp + 0x1328]
test eax, eax
je 0x1400c8235
mov rcx, qword [rbp + 0xe98]
mov eax, dword [rcx + 0xc]
mov dword [rbp - 0x80], eax
mov eax, dword [rcx + 8]
mov dword [rbp - 0x7c], eax
mov rax, qword [rbp - 0x80]
mov qword [rbp - 0x60], rax
mov byte [rbp - 0x58], 1
test rbx, rbx
je 0x1400c772d
mov rdx, qword [rbp + 0xf50]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400c7724
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c7724
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14015449c
nop
lea rcx, [rbp - 0x40]
call fcn.14000f680
lea rax, [rbp + 0x320]
mov qword [rsp + 0x68], rax
lea rcx, [0x1401c0638]
mov qword [rbp + 0x120], rcx
lea rax, [rbp + 0x120]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x120]
mov qword [rsp + 0x60], rax
mov qword [rbp + 0x90], rcx
lea rax, [rbp + 0x90]
mov qword [rbp + 0xc8], rax
lea rax, [rbp + 0x90]
mov qword [rbp + 0xeb0], rax
mov qword [rbp + 0x358], r12
lea rcx, [rbp + 0x90]
call fcn.1400eec58
mov qword [rbp + 0x358], rax
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x1400c77d0
lea rax, [rbp + 0x90]
cmp rcx, rax
je 0x1400c77c9
mov edx, 0x10
call fcn.14015449c
mov qword [rbp + 0xc8], r12
mov rcx, qword [rbp + 0x158]
test rcx, rcx
je 0x1400c77f2
lea rax, [rbp + 0x120]
cmp rcx, rax
je 0x1400c77f2
mov edx, 0x10
call fcn.14015449c
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp + 0x110], xmm0
lea r8, [rbp + 0x320]
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x220]
call fcn.1401410e4
nop
lea rax, [rbp + 0x970]
mov qword [rsp + 0x60], rax
lea rsi, [r14 + 0x10]
mov qword [rsp + 0x68], rsi
mov rdx, rsi
lea rcx, [rbp + 0x970]
call fcn.14009c2c0
mov rdi, rax
lea rax, [rbp + 0x418]
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov rcx, qword [r14 + 0x88]
test rcx, rcx
je 0x1400c786b
lock inc dword [rcx + 8]
mov rcx, qword [r14 + 0x88]
mov rax, qword [r14 + 0x80]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rcx
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x418]
call fcn.1400c8248
mov rbx, rax
lea rax, [rbp + 0x2e0]
mov qword [rbp + 0xeb0], rax
mov qword [rbp + 0x318], r12
mov rcx, qword [rbp + 0x258]
test rcx, rcx
je 0x1400c78c8
mov rax, qword [rcx]
lea rdx, [rbp + 0x2e0]
mov rax, qword [rax]
call qword [case.0x140055453.0]
mov qword [rbp + 0x318], rax
mov r9, rdi
mov r8, rbx
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp + 0xfe0]
call fcn.140141834
nop
mov rdi, qword [rbp + 0xfe8]
mov rbx, qword [rdi]
mov qword [rbp + 0x108], rbx
mov qword [rbp + 0xeb0], rbx
cmp rbx, rdi
je 0x1400c7975
lea r9, [rbx + 0x10]
mov rax, qword [r13 + 8]
mov rsi, qword [rax]
mov r15, qword [rsi + 8]
mov r8, r15
mov rdx, rsi
call fcn.1400fac0c
mov rdx, rax
mov rax, qword [r13 + 0x10]
movabs rcx, 0x1642c8590b21641
sub rcx, rax
cmp rcx, 1
jb 0x1400c8201
inc rax
mov qword [r13 + 0x10], rax
mov qword [rsi + 8], rdx
mov qword [r15], rdx
mov r9, qword [r13 + 8]
mov r8, qword [r9]
add r8, 0x10
mov r9, qword [r9]
lea rdx, [rbp + 0x360]
mov rcx, r13
call fcn.1400de904
mov rbx, qword [rbx]
mov qword [rbp + 0xeb0], rbx
cmp rbx, rdi
jne 0x1400c78ff
lea rsi, [r14 + 0x10]
mov ecx, 0x138
call fcn.140154508
mov r15, rax
mov qword [rsp + 0x78], rax
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, [0x1401c2628]
mov qword [r15], rax
lea rdi, [r15 + 0x10]
lea rax, [0x1401c26a8]
mov qword [rdi], rax
lea rcx, [rdi + 0x10]
xor edx, edx
mov r8d, 0x118
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rdi + 0xc], 0x11c
lea rcx, [rdi + 0xc]
call qword [sym.imp.ntdll.dll_RtlGetVersion]
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], r15
lea rax, [rbp + 0xf8]
mov qword [rsp + 0x78], rax
lea rdx, [r14 + 0x98]
lea rcx, [rbp + 0xf8]
call fcn.1400ce39c
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x738]
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0x160]
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x168], xmm0
lock inc dword [r15 + 8]
mov rax, qword [rbp - 0x50]
mov qword [rbp + 0x168], rax
mov qword [rbp + 0x170], r15
lea rax, [rbp + 0x178]
mov qword [rsp + 0x48], rax
movdqu xmmword [rbp + 0x178], xmm0
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x1400c7a59
lock inc dword [rcx + 8]
mov rcx, qword [r14 + 8]
mov rax, qword [r14]
mov qword [rbp + 0x178], rax
mov qword [rbp + 0x180], rcx
mov rdx, rsi
lea rcx, [rbp + 0x188]
call fcn.14009c2c0
mov rax, qword [r14 + 0x60]
mov qword [rbp + 0x1d8], rax
lea r12, [r14 + 0x68]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1e0], xmm0
mov rcx, qword [r12 + 8]
test rcx, rcx
je 0x1400c7aa6
lock inc dword [rcx + 8]
mov rcx, qword [r12 + 8]
mov rax, qword [r12]
mov qword [rbp + 0x1e0], rax
mov qword [rbp + 0x1e8], rcx
movaps xmm0, xmmword [rbp - 0x60]
movdqu xmmword [rbp + 0x1f0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x200], xmm1
mov rcx, qword [r14 + 0x88]
test rcx, rcx
je 0x1400c7ae6
lock inc dword [rcx + 8]
mov rcx, qword [r14 + 0x88]
mov rax, qword [r14 + 0x80]
mov qword [rbp + 0x200], rax
mov qword [rbp + 0x208], rcx
lea rax, [rbp + 0x160]
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0xc30]
call fcn.1400e2154
mov rdi, rax
mov qword [rsp + 0x70], rax
mov rdx, rax
lea rcx, [rbp + 0xce8]
call fcn.1400e2154
mov rbx, rax
mov qword [rsp + 0x58], rax
mov ecx, 0xb8
call fcn.140154508
mov qword [rsp + 0x40], rax
mov rdx, rbx
mov rcx, rax
call fcn.1400e2154
nop
mov qword [rbp + 0x740], rax
lea rax, [0x1401c0208]
mov qword [rbp + 0x738], rax
mov rcx, rbx
call fcn.1400d0cb4
nop
mov rcx, rdi
call fcn.1400d0cb4
nop
lea rcx, [rbp + 0x160]
call fcn.1400d0cb4
nop
lea rax, [rbp + 0x458]
mov qword [rsp + 0x40], rax
mov rdx, r13
lea rcx, [rbp + 0x458]
call fcn.1400b8d84
mov rbx, rax
lea rax, [rbp + 0x2a0]
mov qword [rsp + 0x58], rax
and qword [rbp + 0x2d8], 0
mov rcx, qword [rbp + 0x258]
test rcx, rcx
je 0x1400c7be0
mov rax, qword [rcx]
lea rdx, [rbp + 0x2a0]
mov rax, qword [rax]
call qword [case.0x140055453.0]
mov qword [rbp + 0x2d8], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x738]
mov r8, rbx
lea rdx, [rbp + 0x2a0]
lea rcx, [rbp + 0x9c0]
call fcn.140141c6c
mov rdi, rax
mov ecx, 0x98
call fcn.140154508
mov rsi, rax
mov qword [rsp + 0x40], rax
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, [0x1401be6c0]
mov qword [rsi], rax
lea rbx, [rsi + 0x10]
mov rax, qword [rdi]
mov rdx, rbx
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x140055453.0]
mov qword [rbp + 0xe0], rbx
lea rax, [0x1401bfef8]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x20], rsi
lea rax, [rbp + 0x10]
mov qword [rbp + 0x48], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
lea rsi, [0x1401bff28]
mov qword [rbp + 0x50], rsi
lea rax, [0x140013030]
mov qword [rbp + 0x58], rax
lea rax, [rbp + 0x50]
mov qword [rbp + 0x88], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x58], rax
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0xf60]
call fcn.14004efcc
nop
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0xfa0]
call fcn.14004efcc
nop
lea rax, [rbp + 0x578]
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0xf60]
lea rcx, [rbp + 0x578]
call fcn.14004efcc
nop
lea rdx, [rbp + 0xfa0]
lea rcx, [rbp + 0x5b8]
call fcn.14004efcc
nop
xor edi, edi
mov r8b, dil
lea rdx, [rbp + 0x578]
lea rcx, [rbp + 0xb40]
call fcn.1400c8d4c
nop
mov rdx, rax
lea rcx, [rbp + 0x1020]
call fcn.1400d0fa4
nop
lea rcx, [rbp + 0xb40]
call fcn.1400d0eb4
nop
mov rcx, qword [rbp + 0xfd8]
test rcx, rcx
je 0x1400c7d59
mov rax, qword [rcx]
lea rdx, [rbp + 0xfa0]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x140055453.0]
mov qword [rbp + 0xfd8], rdi
mov rcx, qword [rbp + 0xf98]
test rcx, rcx
je 0x1400c7d86
mov rax, qword [rcx]
lea rdx, [rbp + 0xf60]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x140055453.0]
mov qword [rbp + 0xf98], rdi
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x1400c7db0
mov rax, qword [rcx]
lea rdx, [rbp + 0x50]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x140055453.0]
mov qword [rbp + 0x88], rdi
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x1400c7dd4
mov rax, qword [rcx]
lea rdx, [rbp + 0x10]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x140055453.0]
mov qword [rbp + 0x48], rdi
mov rax, qword [rbp + 0x9c0]
xor edx, edx
lea rcx, [rbp + 0x9c0]
mov rax, qword [rax]
call qword [case.0x140055453.0]
mov al, byte [rbp + 0xea8]
mov byte [rbp + 0xea8], al
mov qword [rbp], r12
lea rax, [rbp + 0xea8]
mov qword [rbp + 8], rax
lea rdx, [rbp + 0xec0]
lea rcx, [rbp]
call fcn.1400ddcb4
mov rax, qword [rbp + 0xec8]
test rax, rax
je 0x1400c7e2f
lock inc dword [rax + 8]
mov rax, qword [rbp + 0xec8]
movaps xmm6, xmmword [rbp + 0xec0]
movdqa xmmword [rbp - 0x10], xmm6
test rax, rax
je 0x1400c7e4b
lock inc dword [rax + 8]
movaps xmm6, xmmword [rbp + 0xec0]
movaps xmmword [rbp + 0xed0], xmm6
lea rcx, [rbp - 0x10]
call fcn.14000a660
lea rcx, [rbp + 0xec0]
call fcn.14000a660
nop
psrldq xmm6, 8
movq rcx, xmm6
test rcx, rcx
je 0x1400c7e82
lock inc dword [rcx + 8]
mov rcx, qword [rbp + 0xed8]
mov rax, qword [rbp + 0xed0]
mov qword [rbp + 0xef0], rax
mov qword [rbp + 0xef8], rcx
lea rbx, [r14 + 0x98]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400c7eaf
lock inc dword [rcx + 8]
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rbp + 0xf00], rax
mov qword [rbp + 0xf08], rcx
lock inc dword [r15 + 8]
mov rax, qword [rbp - 0x50]
mov qword [rbp + 0xf10], rax
mov qword [rbp + 0xf18], r15
lea rdx, [r14 + 0xa8]
lea rcx, [rbp + 0xf20]
call fcn.14000b4bc
nop
cmp byte [r14 + 0xc8], dil
je 0x1400c7f1f
lea r8, [rbp + 0xef0]
lea rdx, [rbp + 0x1020]
lea rcx, [rbp + 0xda0]
call fcn.1400ca3a0
mov rdx, rax
lea rdi, [r14 + 0x10]
mov rcx, rdi
call fcn.1400ca524
jmp 0x1400c7f24
mov rdi, qword [rsp + 0x68]
lea rax, [rbp + 0x8d0]
mov qword [rsp + 0x40], rax
mov rdx, rdi
lea rcx, [rbp + 0x8d0]
call fcn.14009c2c0
mov r12, rax
lea rax, [rbp + 0x260]
mov qword [rbp - 0x18], rax
mov qword [rbp + 0x260], rsi
lea rax, [0x140013030]
mov qword [rbp + 0x268], rax
lea rax, [rbp + 0x260]
mov qword [rbp + 0x298], rax
lea rax, [rbp + 0x498]
mov qword [rsp + 0x58], rax
mov rdx, rbx
lea rcx, [rbp + 0xd0]
call fcn.1400ce39c
mov rdx, rax
lea rcx, [rbp + 0x498]
call fcn.1401421b8
mov r15, rax
lea rdx, [rbp + 0x1020]
lea rcx, [rbp + 0x698]
call fcn.1400d0fa4
lea rax, [rbp + 0x698]
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x698]
lea rcx, [rbp + 0x5f8]
call fcn.1400d0fa4
lea rax, [rbp + 0x5f8]
mov qword [rsp + 0x70], rax
lea rdx, [rbp + 0x5f8]
lea rcx, [rbp + 0x4d8]
call fcn.1400d0fa4
lea rax, [rbp + 0x4d8]
mov qword [rbp - 0x78], rax
mov ecx, 0xa0
call fcn.140154508
mov rbx, rax
mov qword [rsp + 0x50], rax
lea rdx, [rbp + 0x4d8]
mov rcx, rax
call fcn.1400d0fa4
nop
mov qword [rbp + 0x7c8], rbx
lea rax, [0x1401c0188]
mov qword [rbp + 0x7c0], rax
lea rcx, [rbp + 0x4d8]
call fcn.1400d0eb4
nop
lea rcx, [rbp + 0x5f8]
call fcn.1400d0eb4
nop
lea rcx, [rbp + 0x698]
call fcn.1400d0eb4
lea rdx, [rbp + 0xef0]
lea rcx, [rbp + 0x920]
call fcn.1400d11f0
mov r14, rax
mov rdx, rax
lea rcx, [rbp + 0xbe0]
call fcn.1400d11f0
mov rsi, rax
mov rdx, rax
lea rcx, [rbp + 0xa50]
call fcn.1400d11f0
mov rdi, rax
mov rdx, rax
lea rcx, [rbp + 0xaa0]
call fcn.1400d11f0
mov rbx, rax
mov rdx, rax
lea rcx, [rbp + 0xaf0]
call fcn.1400d11f0
mov rdx, rax
lea rax, [0x1401c08d0]
mov qword [rbp + 0x390], rax
lea rcx, [rbp + 0x398]
call fcn.1400d11f0
mov rcx, rdx
call fcn.1400d10a0
lea rax, [0x1401c08f0]
mov qword [rbp + 0x390], rax
mov rcx, rbx
call fcn.1400d10a0
mov rcx, rdi
call fcn.1400d10a0
mov rcx, rsi
call fcn.1400d10a0
mov rcx, r14
call fcn.1400d10a0
mov al, byte [rbp + 0xea8]
mov byte [rbp + 0x850], al
lea rax, [0x1401c0970]
mov qword [rbp + 0x848], rax
mov qword [rsp + 0x30], r12
lea rax, [rbp + 0x260]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x7c0]
lea r8, [rbp + 0x390]
lea rdx, [rbp + 0x848]
mov rbx, qword [rbp - 0x20]
mov rcx, rbx
call fcn.14014a0bc
nop
lea rcx, [rbp + 0xef0]
call fcn.1400d10a0
nop
lea rcx, [rbp + 0xed0]
call fcn.14000a660
nop
lea rcx, [rbp + 0x1020]
call fcn.1400d0eb4
nop
lea rcx, [rbp - 0x50]
call fcn.14000a660
nop
lea rcx, [rbp + 0xfe0]
call fcn.1400b5eb8
nop
mov rcx, qword [rbp + 0x258]
test rcx, rcx
sete al
test al, al
jne 0x1400c81c7
mov rax, qword [rcx]
lea rdx, [rbp + 0x220]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x140055453.0]
and qword [rbp + 0x258], 0
mov rcx, r13
call fcn.1400b5eb8
mov rax, rbx
mov rcx, qword [rbp + 0x12d0]
xor rcx, rsp
call fcn.140154030
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.list_T__too_long
call fcn.14003b54c
nop
lea r8, str.amcore_smartscreencommonwindows_srcpath.cpp
mov edx, 0x97
mov rcx, rbx
call fcn.14004eb18
nop
lea r8, str.amcore_smartscreencommonwindows_src_file.cpp
mov edx, 0x13
call fcn.14004eb18
int3
lea r8, str.amcore_smartscreencommonwindows_src_file.cpp
mov edx, 0x17
call fcn.14004eb18
int3