Function at 0x14006cec0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1400ae010]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rsi, rdx
mov rdi, rcx
mov r15, qword [rbp + 0xe0]
mov rax, qword [0x140133358]
mov qword [rbp - 0x80], rax
test rdx, rdx
je 0x14006d4a4
test rax, rax
je 0x14006d4a4
xorps xmm0, xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp + 0x14], xmm0
movups xmmword [rbp + 0x24], xmm0
movups xmmword [rbp + 0x34], xmm0
mov dword [rbp - 0x50], 0x94
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
lea r8, [rbp - 0x78]
lea rdx, str.kernel32.dll
mov ecx, 2
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeExW]
xorps xmm0, xmm0
mov ebx, eax
movdqu xmmword [rbp - 0x70], xmm0
xor r13d, r13d
mov qword [rbp - 0x60], r13
test eax, eax
je 0x14006cfdb
cmp rbx, 0x1000
jb 0x14006cfb4
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x14006d4d1
call fcn.140070d24
mov rcx, rax
test rax, rax
je 0x14006d134
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14006cfbc
mov rcx, rbx
call fcn.140070d24
mov qword [rbp - 0x70], rax
lea r14, [rax + rbx]
mov qword [rbp - 0x60], r14
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.140071d96
mov qword [rbp - 0x68], r14
jmp 0x14006cfdf
mov r14, qword [rbp - 0x68]
mov rax, qword [rbp - 0x70]
sub r14, rax
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8d, dword [rbp - 0x78]
lea rdx, str.kernel32.dll
mov ecx, 2
call qword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
mov qword [rsp + 0x70], r13
mov dword [rbp - 0x74], r13d
lea r9, [rbp - 0x74]
lea r8, [rsp + 0x70]
lea rdx, [0x1400a1474]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rbx, qword [rsp + 0x70]
lea rdx, [0x1400a173c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140069960
movzx edx, word [rbx + 0xa]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64]
mov rcx, rax
mov dl, 0x2e
call fcn.14006daf0
movzx edx, word [rbx + 8]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64]
mov rcx, rax
mov dl, 0x2e
call fcn.14006daf0
movzx edx, word [rbx + 0xe]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64]
mov rcx, rax
mov dl, 0x2e
call fcn.14006daf0
movzx edx, word [rbx + 0xc]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64]
mov rcx, rax
mov dl, 0xa
call fcn.14006daf0
movzx eax, word [rbx + 0xe]
mov ecx, 0x4a61
cmp ax, cx
jb 0x14006d2c1
lea rcx, [0x1400a1760]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtQueryInformationAtom
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
jne 0x14006d13b
lea rdx, str.____Failed_to_get_export_ntdll.NtQueryInformationAtom
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140069960
lea rdx, [0x140069b30]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor bl, bl
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14006d49f
mov rdx, qword [rbp - 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d49a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d49a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov word [rbp + 0x50], 0xb848
mov word [rbp + 0x5a], 0xe0ff
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0x52], rax
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov r8d, 0x16
lea rdx, str.NtQueryInformationAtom
lea rcx, [rsp + 0x50]
call fcn.140069430
nop
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov r8d, 0xc
lea rdx, str.ntoskrnl.exe
lea rcx, [rsp + 0x30]
call fcn.140069430
nop
lea rcx, [rsp + 0x30]
call fcn.140070370
mov rdx, rax
lea r8, [rsp + 0x50]
mov rcx, rdi
call fcn.14006c5a0
mov rbx, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14006d20c
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d207
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d207
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070b28
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14006d25f
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d25a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d25a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070b28
test rbx, rbx
jne 0x14006d270
lea rdx, str.____Failed_to_get_export_ntoskrnl.NtQueryInformationAtom
jmp 0x14006d0d9
mov r9d, 0xc
mov r8, rbx
lea rdx, [rbp + 0x60]
mov rcx, rdi
call fcn.14006c2b0
test al, al
je 0x14006d0f5
mov r9d, 0xc
lea r8, [rbp + 0x50]
mov rdx, rbx
mov rcx, rdi
call fcn.14006c350
test al, al
je 0x14006d0f5
mov rdx, r15
xor ecx, ecx
call r14
mov r9d, 0xc
lea r8, [rbp + 0x60]
jmp 0x14006d485
mov ecx, 0x47ba
cmp ax, cx
jb 0x14006d3f0
lea rcx, str.gdi32full.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtGdiDdDDIReclaimAllocations2
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtGdiGetCOPPCompatibleOPMInformation
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test r14, r14
jne 0x14006d325
test rax, rax
jne 0x14006d325
lea rdx, str.____Failed_to_get_export_gdi32full.NtGdiDdDDIReclaimAllocations2___win32u.NtGdiGetCOPPCompatibleOPMInformation
jmp 0x14006d0d9
mov qword [rsp + 0x78], r13
mov qword [rbp + 0x50], 0xb848
mov dword [rbp + 0x58], 0xe0ff0000
mov qword [rbp + 0x60], r13
lea rdx, [rsp + 0x78]
mov rcx, rdi
test r14, r14
je 0x14006d390
lea r8, [rbp + 0x60]
call fcn.14006c8c0
test al, al
je 0x14006d0f5
mov r9d, 8
lea r8, [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, rdi
call fcn.14006c350
test al, al
je 0x14006d0f5
mov rbx, r14
mov rdx, r15
xor ecx, ecx
call rbx
mov r9d, 8
lea r8, [rbp + 0x60]
jmp 0x14006d3d9
lea r8, [rbp + 0x70]
call fcn.14006cab0
test al, al
je 0x14006d0f5
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0x52], rax
mov r9d, 0xc
lea r8, [rbp + 0x50]
mov rdx, qword [rsp + 0x78]
mov rcx, rdi
call fcn.14006c350
test al, al
je 0x14006d0f5
mov rdx, r15
xor ecx, ecx
call rbx
mov r9d, 0xc
lea r8, [rbp + 0x70]
mov qword [rsi], rax
mov rdx, qword [rsp + 0x78]
mov rcx, rdi
call fcn.14006c350
mov bl, 1
jmp 0x14006d0f7
mov ecx, 0x42ee
cmp ax, cx
jb 0x14006d0f5
lea rcx, str.gdi32full.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtGdiDdDDIReclaimAllocations2
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
jne 0x14006d42f
lea rdx, str.____Failed_to_get_export_gdi32full.NtGdiDdDDIReclaimAllocations2
jmp 0x14006d0d9
mov qword [rbp + 0x60], r13
mov qword [rsp + 0x78], r13
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x60]
mov rcx, rdi
call fcn.14006c8c0
test al, al
je 0x14006d0f5
mov r9d, 8
lea r8, [rbp - 0x80]
mov rbx, qword [rbp + 0x60]
mov rdx, rbx
mov rcx, rdi
call fcn.14006c350
test al, al
je 0x14006d0f5
mov rdx, r15
xor ecx, ecx
call r14
mov r9d, 8
lea r8, [rsp + 0x78]
mov qword [rsi], rax
mov rdx, rbx
mov rcx, rdi
call fcn.14006c350
mov bl, 1
jmp 0x14006d0f7
call fcn.140070b28
movzx eax, bl
jmp 0x14006d4a6
xor al, al
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140070580
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
call fcn.140059420
int3