Function at 0x140013180
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x60
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
jne 0x140011da5
xor al, al
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
cmp qword [0x1400ac0c8], 0
jne 0x140011eb9
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0xa
lea rdx, str.ExFreePool
lea rcx, [rsp + 0x40]
call fcn.1400105e0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, ntohs
lea rdx, [0x140095668]
lea rcx, [rsp + 0x20]
call fcn.1400105e0
nop
lea rcx, [rsp + 0x20]
call fcn.140020490
mov rdx, rax
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.140011ee0
mov qword [0x1400ac0c8], rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140011e66
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011e61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011e61
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140020998
movdqa xmm0, xmmword [0x14009eaa0]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140011eb9
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011eb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011eb4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140020998
mov r9, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
jmp 0x140013180
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1400ab010]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r13, r9
mov rbx, rcx
mov rax, qword [0x1400ac0c8]
mov qword [rbp - 0x78], rax
test rax, rax
je 0x14001379c
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], __WSAFDIsSet
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
lea r8, [rbp - 0x70]
lea rdx, str.kernel32.dll
mov ecx, 2
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeExW]
xorps xmm0, xmm0
mov r15d, eax
movdqu xmmword [rbp - 0x68], xmm0
xor r14d, r14d
mov qword [rbp - 0x58], r14
xor r12d, r12d
xor esi, esi
test eax, eax
je 0x140013295
cmp r15, 0x1000
jb 0x140013265
lea rcx, [r15 + 0x27]
cmp rcx, r15
jbe 0x1400137c6
call fcn.14002095c
test rax, rax
je 0x140013425
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140013270
mov rcx, r15
call fcn.14002095c
mov rsi, rax
mov rdi, rsi
mov qword [rbp - 0x68], rsi
lea r14, [rsi + r15]
mov r12, r14
mov qword [rbp - 0x58], r14
mov r8, r15
xor edx, edx
mov rcx, rsi
call fcn.140083f55
mov qword [rbp - 0x60], r14
jmp 0x140013299
mov rdi, qword [rbp - 0x68]
sub r12, rsi
mov qword [rsp + 0x20], rdi
mov r9d, r12d
mov r8d, dword [rbp - 0x70]
lea rdx, str.kernel32.dll
mov ecx, 2
call qword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
xor r12d, r12d
mov qword [rsp + 0x70], r12
mov dword [rbp - 0x80], r12d
lea r9, [rbp - 0x80]
lea r8, [rsp + 0x70]
lea rdx, [0x1400954cc]
mov rcx, rdi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
cmp dword [rbp - 0x80], 0x34
jae 0x1400132fe
lea r8d, [r12 + 0x7d]
lea rdx, str.E:16_09_2023desktopkdmapper_1803_20h2_bytes_mainintel_driver.hpp
lea rcx, str.size___sizeof_VS_FIXEDFILEINFO_
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rsi, qword [rsp + 0x70]
test rsi, rsi
jne 0x140013325
lea r8d, [rsi + 0x7e]
lea rdx, str.E:16_09_2023desktopkdmapper_1803_20h2_bytes_mainintel_driver.hpp
lea rcx, str.p___nullptr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rsi, qword [rsp + 0x70]
lea rdx, [0x140095884]
mov rcx, qword [0x1400865c0]
call fcn.140012900
movzx edx, word [rsi + 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, reloc.WLDAP32.dll_Ordinal_46
call fcn.140013830
movzx edx, word [rsi + 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, reloc.WLDAP32.dll_Ordinal_46
call fcn.140013830
movzx edx, word [rsi + 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, reloc.WLDAP32.dll_Ordinal_46
call fcn.140013830
movzx edx, word [rsi + 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.140013830
movzx eax, word [rsi + 0xe]
mov ecx, 0x4a61
cmp ax, cx
jb 0x1400135af
lea rcx, [0x1400958a8]
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 0x14001342c
lea rdx, str.____Failed_to_get_export_ntdll.NtQueryInformationAtom
mov rcx, qword [0x1400865c0]
call fcn.140012900
lea rdx, [0x140012ad0]
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 rdi, rdi
je 0x140013799
sub r14, rdi
mov rax, rdi
cmp r14, 0x1000
jb 0x14001378e
add r14, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001378e
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 - 0x78]
mov qword [rbp + 0x52], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, reloc.WLDAP32.dll_Ordinal_22
lea rdx, str.NtQueryInformationAtom
lea rcx, [rsp + 0x50]
call fcn.1400105e0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, ntohs
lea rdx, [0x140095668]
lea rcx, [rsp + 0x30]
call fcn.1400105e0
nop
lea rcx, [rsp + 0x30]
call fcn.140020490
mov rdx, rax
lea r8, [rsp + 0x50]
mov rcx, rbx
call fcn.140011ee0
mov rsi, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400134ef
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400134ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400134ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140020998
movdqa xmm0, xmmword [0x14009eaa0]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140013542
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001353d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001353d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140020998
test rsi, rsi
jne 0x140013553
lea rdx, str.____Failed_to_get_export_ntoskrnl.NtQueryInformationAtom
jmp 0x1400133d2
mov r9d, ntohs
mov r8, rsi
lea rdx, [rbp + 0x60]
mov rcx, rbx
call fcn.140011870
test al, al
je 0x1400133ee
mov r9d, ntohs
lea r8, [rbp + 0x50]
mov rdx, rsi
mov rcx, rbx
call fcn.1400119b0
test al, al
je 0x1400133ee
mov rcx, r13
call r15
mov r9d, ntohs
lea r8, [rbp + 0x60]
mov rdx, rsi
mov rcx, rbx
call fcn.1400119b0
mov bl, 1
jmp 0x1400133f0
mov ecx, 0x47ba
cmp ax, cx
jb 0x1400136e9
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 r15, rax
test rsi, rsi
jne 0x140013613
test rax, rax
jne 0x140013613
lea rdx, str.____Failed_to_get_export_gdi32full.NtGdiDdDDIReclaimAllocations2___win32u.NtGdiGetCOPPCompatibleOPMInformation
jmp 0x1400133d2
mov qword [rsp + 0x78], r12
mov qword [rbp + 0x50], 0xb848
mov dword [rbp + 0x58], 0xe0ff0000
mov qword [rbp + 0x60], r12
lea rdx, [rsp + 0x78]
mov rcx, rbx
test rsi, rsi
je 0x14001368c
lea r8, [rbp + 0x60]
call fcn.140012220
test al, al
je 0x1400133ee
mov r9d, 8
lea r8, [rbp - 0x78]
mov r15, qword [rsp + 0x78]
mov rdx, r15
mov rcx, rbx
call fcn.1400119b0
test al, al
je 0x1400133ee
mov rcx, r13
call rsi
mov r9d, 8
lea r8, [rbp + 0x60]
mov rdx, r15
mov rcx, rbx
call fcn.1400119b0
mov bl, 1
jmp 0x1400133f0
lea r8, [rbp + 0x70]
call fcn.140012420
test al, al
je 0x1400133ee
mov rax, qword [rbp - 0x78]
mov qword [rbp + 0x52], rax
mov r9d, ntohs
lea r8, [rbp + 0x50]
mov rsi, qword [rsp + 0x78]
mov rdx, rsi
mov rcx, rbx
call fcn.1400119b0
test al, al
je 0x1400133ee
mov rcx, r13
call r15
mov r9d, ntohs
lea r8, [rbp + 0x70]
mov rdx, rsi
mov rcx, rbx
call fcn.1400119b0
mov bl, 1
jmp 0x1400133f0
mov ecx, 0x42ee
cmp ax, cx
jb 0x1400133ee
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 0x140013728
lea rdx, str.____Failed_to_get_export_gdi32full.NtGdiDdDDIReclaimAllocations2
jmp 0x1400133d2
mov qword [rbp + 0x60], r12
mov qword [rsp + 0x78], r12
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x60]
mov rcx, rbx
call fcn.140012220
test al, al
je 0x1400133ee
mov r9d, 8
lea r8, [rbp - 0x78]
mov rsi, qword [rbp + 0x60]
mov rdx, rsi
mov rcx, rbx
call fcn.1400119b0
test al, al
je 0x1400133ee
mov rcx, r13
call r15
mov r9d, 8
lea r8, [rsp + 0x78]
mov rdx, rsi
mov rcx, rbx
call fcn.1400119b0
mov bl, 1
jmp 0x1400133f0
mov rdx, r14
mov rcx, rdi
call fcn.140020998
movzx eax, bl
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400206a0
mov rbx, qword [rsp + 0x1d8]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14000f9f0
int3