Function at 0x140005e00
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x14001a010]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov r12, rdx
mov rdi, rcx
mov r13, qword [rbp + 0x170]
mov rax, qword [0x140021a78]
mov qword [rbp - 0x80], rax
test rdx, rdx
je 0x140006415
test rax, rax
je 0x140006415
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x4c]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x50], 0x114
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea r8, [rbp - 0x78]
lea rdx, str.kernel32.dll
mov ecx, 2
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeExW]
xorps xmm0, xmm0
mov r15d, eax
movdqu xmmword [rbp - 0x70], xmm0
xor esi, esi
mov qword [rbp - 0x60], rsi
xor eax, eax
xor ebx, ebx
test r15, r15
je 0x140005f0e
cmp r15, 0x1000
jb 0x140005ede
lea rcx, [r15 + 0x27]
cmp rcx, r15
jbe 0x140006441
call fcn.14000ab60
test rax, rax
je 0x14000605b
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140005ee9
mov rcx, r15
call fcn.14000ab60
mov rbx, rax
mov r14, rbx
mov qword [rbp - 0x70], rbx
lea rsi, [rbx + r15]
mov qword [rbp - 0x60], rsi
mov r8, r15
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov rax, rsi
mov qword [rbp - 0x68], rax
jmp 0x140005f12
mov r14, qword [rbp - 0x70]
sub rax, rbx
mov qword [rsp + 0x20], r14
mov r9d, eax
mov r8d, dword [rbp - 0x78]
lea rdx, str.kernel32.dll
mov ecx, 2
call qword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
xor eax, eax
mov qword [rsp + 0x70], rax
mov dword [rbp - 0x74], eax
lea r9, [rbp - 0x74]
lea r8, [rsp + 0x70]
lea rdx, [0x14000cfa4]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rbx, qword [rsp + 0x70]
lea rdx, [0x14000d26c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003c80
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.140003e50
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.140003e50
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.140003e50
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.140003e50
movzx eax, word [rbx + 0xe]
mov ecx, 0x4a61
cmp ax, cx
jb 0x1400061ec
lea rcx, [0x14000d290]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtQueryInformationAtom
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rax, rax
jne 0x140006062
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.140003c80
lea rdx, [0x140004020]
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
test r14, r14
je 0x140006410
sub rsi, r14
mov rax, r14
cmp rsi, 0x1000
jb 0x140006405
add rsi, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006405
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov word [rbp + 0xd0], 0xb848
mov word [rbp + 0xda], 0xe0ff
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0xd2], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0x16
lea rdx, str.NtQueryInformationAtom
lea rcx, [rsp + 0x50]
call fcn.140004350
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0xc
lea rdx, [0x14000d148]
lea rcx, [rsp + 0x30]
call fcn.140004350
nop
lea rcx, [rsp + 0x30]
call fcn.14000a540
mov rdx, rax
lea r8, [rsp + 0x50]
mov rcx, rdi
call fcn.140005450
mov rbx, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14000612e
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006129
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006129
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000ab9c
movdqa xmm0, xmmword [0x140015f40]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140006181
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000617c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000617c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000ab9c
test rbx, rbx
jne 0x140006192
lea rdx, str.____Failed_to_get_export_ntoskrnl.NtQueryInformationAtom
jmp 0x140006008
mov r9d, 0xc
mov r8, rbx
lea rdx, [rbp + 0xe0]
mov rcx, rdi
call fcn.140004de0
test al, al
je 0x140006024
mov r9d, 0xc
lea r8, [rbp + 0xd0]
mov rdx, rbx
mov rcx, rdi
call fcn.140004f20
test al, al
je 0x140006024
mov rdx, r13
xor ecx, ecx
call r15
mov r9d, 0xc
lea r8, [rbp + 0xe0]
jmp 0x1400063ef
mov ecx, 0x47ba
cmp ax, cx
jb 0x14000634f
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 rbx, 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 r15, rax
test rbx, rbx
jne 0x140006250
test rax, rax
jne 0x140006250
lea rdx, str.____Failed_to_get_export_gdi32full.NtGdiDdDDIReclaimAllocations2___win32u.NtGdiGetCOPPCompatibleOPMInformation
jmp 0x140006008
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp + 0xd0], 0xb848
mov dword [rbp + 0xd8], 0xe0ff0000
mov qword [rbp + 0xe0], rax
lea rdx, [rsp + 0x78]
mov rcx, rdi
test rbx, rbx
je 0x1400062e0
lea r8, [rbp + 0xe0]
call fcn.140005790
test al, al
je 0x140006024
mov r9d, 8
lea r8, [rbp - 0x80]
mov r15, qword [rsp + 0x78]
mov rdx, r15
mov rcx, rdi
call fcn.140004f20
test al, al
je 0x140006024
mov rdx, r13
xor ecx, ecx
call rbx
mov r9d, 8
lea r8, [rbp + 0xe0]
mov rdx, r15
mov qword [r12], rax
mov rcx, rdi
call fcn.140004f20
mov bl, 1
jmp 0x140006026
lea r8, [rbp + 0xf0]
call fcn.140005990
test al, al
je 0x140006024
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0xd2], rax
mov r9d, 0xc
lea r8, [rbp + 0xd0]
mov rbx, qword [rsp + 0x78]
mov rdx, rbx
mov rcx, rdi
call fcn.140004f20
test al, al
je 0x140006024
mov rdx, r13
xor ecx, ecx
call r15
mov r9d, 0xc
lea r8, [rbp + 0xf0]
mov rdx, rbx
mov qword [r12], rax
mov rcx, rdi
call fcn.140004f20
mov bl, 1
jmp 0x140006026
mov ecx, 0x42ee
cmp ax, cx
jb 0x140006024
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 r15, rax
test rax, rax
jne 0x14000638e
lea rdx, str.____Failed_to_get_export_gdi32full.NtGdiDdDDIReclaimAllocations2
jmp 0x140006008
xor eax, eax
mov qword [rbp + 0xe0], rax
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0xe0]
mov rcx, rdi
call fcn.140005790
test al, al
je 0x140006024
mov r9d, 8
lea r8, [rbp - 0x80]
mov rbx, qword [rbp + 0xe0]
mov rdx, rbx
mov rcx, rdi
call fcn.140004f20
test al, al
je 0x140006024
mov rdx, r13
xor ecx, ecx
call r15
mov r9d, 8
lea r8, [rsp + 0x78]
mov qword [r12], rax
mov rdx, rbx
mov rcx, rdi
call fcn.140004f20
mov bl, 1
jmp 0x140006026
mov rdx, rsi
mov rcx, r14
call fcn.14000ab9c
movzx eax, bl
jmp 0x140006417
xor al, al
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14000ab40
mov rbx, qword [rsp + 0x260]
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140001130
int3