Function at 0x140003920
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140018010]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r14, r9
mov rdi, rcx
mov rax, qword [0x14001a710]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140003f43
xorps xmm0, 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
movups xmmword [rbp + 0x44], xmm0
mov dword [rbp - 0x40], 0x94
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
lea r8, [rsp + 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 - 0x80], xmm0
xor r12d, r12d
mov qword [rbp - 0x70], r12
test eax, eax
je 0x140003a27
cmp rbx, 0x1000
jb 0x140003a00
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140003f69
call fcn.140009170
mov rcx, rax
test rax, rax
je 0x140003b83
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140003a08
mov rcx, rbx
call fcn.140009170
mov qword [rbp - 0x80], rax
lea rsi, [rax + rbx]
mov qword [rbp - 0x70], rsi
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x78], rsi
jmp 0x140003a2b
mov rsi, qword [rbp - 0x78]
mov rax, qword [rbp - 0x80]
sub rsi, rax
mov qword [rsp + 0x20], rax
mov r9d, esi
mov r8d, dword [rsp + 0x78]
lea rdx, str.kernel32.dll
mov ecx, 2
call qword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x7c], r12d
lea r9, [rsp + 0x7c]
lea r8, [rsp + 0x60]
lea rdx, [0x14000b8e4]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rbx, qword [rsp + 0x60]
lea rdx, [0x14000bbac]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001560
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.140004160
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.140004160
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.140004160
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.140004160
movzx eax, word [rbx + 0xe]
mov ecx, 0x4a61
cmp ax, cx
jb 0x140003d54
lea rcx, [0x14000bbd0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtQueryInformationAtom
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x140003b8a
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.140001560
lea rdx, [0x140001730]
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 - 0x80]
test rcx, rcx
je 0x140003f40
mov rdx, qword [rbp - 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003f3b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov word [rbp + 0x60], 0xb848
mov word [rbp + 0x6a], 0xe0ff
mov rax, qword [rsp + 0x70]
mov qword [rbp + 0x62], rax
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
mov r8d, 0x16
lea rdx, str.NtQueryInformationAtom
lea rcx, [rbp - 0x68]
call fcn.1400013d0
nop
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov r8d, 0xc
lea rdx, [0x14000ba88]
lea rcx, [rsp + 0x40]
call fcn.1400013d0
nop
lea rcx, [rsp + 0x40]
call fcn.140007a80
mov rdx, rax
lea r8, [rbp - 0x68]
mov rcx, rdi
call fcn.140002610
mov rbx, rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140003c56
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003c51
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091b4
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140003ca7
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ca2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003ca2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091b4
test rbx, rbx
jne 0x140003cb8
lea rdx, str.____Failed_to_get_export_ntoskrnl.NtQueryInformationAtom
jmp 0x140003b28
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x68], 0x33
mov qword [rbp - 0x58], rbx
lea rax, [rbp + 0x70]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 0xc
mov dword [rsp + 0x68], r12d
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9d, 0x28
lea r8, [rbp - 0x68]
mov edx, 0x80862007
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140003b44
mov r9d, 0xc
lea r8, [rbp + 0x60]
mov rdx, rbx
mov rcx, rdi
call fcn.1400023c0
test al, al
je 0x140003b44
mov rcx, r14
call rsi
mov r9d, 0xc
lea r8, [rbp + 0x70]
mov rdx, rbx
mov rcx, rdi
call fcn.1400023c0
mov bl, 1
jmp 0x140003b46
mov ecx, 0x47ba
cmp ax, cx
jb 0x140003e96
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 rsi, 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 rsi, rsi
jne 0x140003db8
test rax, rax
jne 0x140003db8
lea rdx, str.____Failed_to_get_export_gdi32full.NtGdiDdDDIReclaimAllocations2___win32u.NtGdiGetCOPPCompatibleOPMInformation
jmp 0x140003b28
mov qword [rsp + 0x68], r12
mov qword [rbp + 0x60], 0xb848
mov dword [rbp + 0x68], 0xe0ff0000
mov qword [rbp + 0x70], r12
lea rdx, [rsp + 0x68]
mov rcx, rdi
test rsi, rsi
je 0x140003e34
lea r8, [rbp + 0x70]
call fcn.1400029d0
test al, al
je 0x140003b44
mov r9d, 8
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, rdi
call fcn.1400023c0
test al, al
je 0x140003b44
mov rbx, rsi
mov rcx, r14
call rbx
mov r9d, 8
lea r8, [rbp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, rdi
call fcn.1400023c0
mov bl, 1
jmp 0x140003b46
lea r8, [rbp + 0x80]
call fcn.140002c60
test al, al
je 0x140003b44
mov rax, qword [rsp + 0x70]
mov qword [rbp + 0x62], rax
mov r9d, 0xc
lea r8, [rbp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rcx, rdi
call fcn.1400023c0
test al, al
je 0x140003b44
mov rcx, r14
call rbx
mov r9d, 0xc
lea r8, [rbp + 0x80]
mov rdx, qword [rsp + 0x68]
mov rcx, rdi
call fcn.1400023c0
mov bl, 1
jmp 0x140003b46
mov ecx, 0x42ee
cmp ax, cx
jb 0x140003b44
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 rsi, rax
test rax, rax
jne 0x140003ed5
lea rdx, str.____Failed_to_get_export_gdi32full.NtGdiDdDDIReclaimAllocations2
jmp 0x140003b28
mov qword [rbp + 0x70], r12
mov qword [rsp + 0x68], r12
lea r8, [rsp + 0x68]
lea rdx, [rbp + 0x70]
mov rcx, rdi
call fcn.1400029d0
test al, al
je 0x140003b44
mov r9d, 8
lea r8, [rsp + 0x70]
mov rbx, qword [rbp + 0x70]
mov rdx, rbx
mov rcx, rdi
call fcn.1400023c0
test al, al
je 0x140003b44
mov rcx, r14
call rsi
mov r9d, 8
lea r8, [rsp + 0x68]
mov rdx, rbx
mov rcx, rdi
call fcn.1400023c0
mov bl, 1
jmp 0x140003b46
call fcn.1400091b4
movzx eax, bl
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140009150
mov rbx, qword [rsp + 0x1d8]
add rsp, 0x1a0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400011a0
int3