Function at 0x140002d50
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x14001b010]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r14, rdx
mov rbx, rcx
mov r12, qword [rbp + 0x100]
mov rax, qword [0x14001bb98]
mov qword [rsp + 0x78], rax
test rdx, rdx
je 0x1400033d3
test rax, rax
je 0x1400033d3
xorps xmm0, 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
movups xmmword [rbp + 0x54], xmm0
mov dword [rbp - 0x30], 0x94
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
lea r8, [rbp - 0x80]
lea rdx, str.kernel32.dll
mov ecx, 2
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeExW]
xorps xmm0, xmm0
mov edi, eax
movdqu xmmword [rbp - 0x78], xmm0
xor r13d, r13d
mov qword [rbp - 0x68], r13
test eax, eax
je 0x140002e6c
cmp rdi, 0x1000
jb 0x140002e45
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x140003400
call fcn.14000b0a8
mov rcx, rax
test rax, rax
je 0x14000300a
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140002e4d
mov rcx, rdi
call fcn.14000b0a8
mov qword [rbp - 0x78], rax
lea rsi, [rax + rdi]
mov qword [rbp - 0x68], rsi
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x70], rsi
jmp 0x140002e70
mov rsi, qword [rbp - 0x70]
mov rax, qword [rbp - 0x78]
sub rsi, rax
mov qword [rsp + 0x20], rax
mov r9d, esi
mov r8d, dword [rbp - 0x80]
lea rdx, str.kernel32.dll
mov ecx, 2
call qword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x70], r13d
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x60]
lea rdx, [0x14000d914]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
cmp dword [rsp + 0x70], 0x34
jae 0x140002edb
mov r8d, 0x7d
lea rdx, str.C:Users_nicovOneDriveDesktopSpoofer_SourceImportantkdmapperintel_driver.hpp
lea rcx, str.size___sizeof_VS_FIXEDFILEINFO_
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdi, qword [rsp + 0x60]
test rdi, rdi
jne 0x140002f02
lea r8d, [rdi + 0x7e]
lea rdx, str.C:Users_nicovOneDriveDesktopSpoofer_SourceImportantkdmapperintel_driver.hpp
lea rcx, str.p___nullptr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdi, qword [rsp + 0x60]
lea rdx, [0x14000dcf4]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002b40
movzx edx, word [rdi + 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.140003cb0
movzx edx, word [rdi + 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.140003cb0
movzx edx, word [rdi + 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.140003cb0
movzx edx, word [rdi + 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.140003cb0
movzx eax, word [rdi + 0xe]
mov ecx, 0x4a61
cmp ax, cx
jb 0x1400031d6
lea rcx, [0x14000dd18]
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 0x140003011
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.140002b40
lea rdx, [0x140002d10]
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 - 0x78]
test rcx, rcx
je 0x1400033ce
mov rdx, qword [rbp - 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400033c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400033c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov word [rbp + 0x70], 0xb848
mov word [rbp + 0x7a], 0xe0ff
mov rax, qword [rsp + 0x78]
mov qword [rbp + 0x72], rax
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
mov r8d, 0x16
lea rdx, str.NtQueryInformationAtom
lea rcx, [rbp - 0x60]
call fcn.140002930
nop
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov r8d, 0xc
lea rdx, [0x14000dab8]
lea rcx, [rsp + 0x40]
call fcn.140002930
nop
lea rcx, [rsp + 0x40]
call fcn.1400091f0
mov rdx, rax
lea r8, [rbp - 0x60]
mov rcx, rbx
call fcn.140001c00
mov rdi, rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400030dd
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400030d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400030d8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b334
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x14000312e
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003129
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003129
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b334
test rdi, rdi
jne 0x14000313f
lea rdx, str.____Failed_to_get_export_ntoskrnl.NtQueryInformationAtom
jmp 0x140002faf
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x60], 0x33
mov qword [rbp - 0x50], rdi
lea rax, [rbp + 0x80]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 0xc
mov dword [rsp + 0x68], r13d
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, 0x28
lea r8, [rbp - 0x60]
mov edx, 0x80862007
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140002fcb
mov r9d, 0xc
lea r8, [rbp + 0x70]
mov rdx, rdi
mov rcx, rbx
call fcn.1400019b0
test al, al
je 0x140002fcb
mov rdx, r12
xor ecx, ecx
call rsi
mov r9d, 0xc
lea r8, [rbp + 0x80]
jmp 0x1400033b4
mov ecx, 0x47ba
cmp ax, cx
jb 0x140003316
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 rdi, rax
test rsi, rsi
jne 0x14000323a
test rax, rax
jne 0x14000323a
lea rdx, str.____Failed_to_get_export_gdi32full.NtGdiDdDDIReclaimAllocations2___win32u.NtGdiGetCOPPCompatibleOPMInformation
jmp 0x140002faf
mov qword [rsp + 0x68], r13
mov qword [rbp + 0x70], 0xb848
mov dword [rbp + 0x78], 0xe0ff0000
mov qword [rbp + 0x80], r13
lea rdx, [rsp + 0x68]
mov rcx, rbx
test rsi, rsi
je 0x1400032af
lea r8, [rbp + 0x80]
call fcn.140001fe0
test al, al
je 0x140002fcb
mov r9d, 8
lea r8, [rsp + 0x78]
mov rdx, qword [rsp + 0x68]
mov rcx, rbx
call fcn.1400019b0
test al, al
je 0x140002fcb
mov rdi, rsi
mov rdx, r12
xor ecx, ecx
call rdi
mov r9d, 8
lea r8, [rbp + 0x80]
jmp 0x1400032ff
lea r8, [rbp + 0x90]
call fcn.140002270
test al, al
je 0x140002fcb
mov rax, qword [rsp + 0x78]
mov qword [rbp + 0x72], rax
mov r9d, 0xc
lea r8, [rbp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, rbx
call fcn.1400019b0
test al, al
je 0x140002fcb
mov rdx, r12
xor ecx, ecx
call rdi
mov r9d, 0xc
lea r8, [rbp + 0x90]
mov qword [r14], rax
mov rdx, qword [rsp + 0x68]
mov rcx, rbx
call fcn.1400019b0
mov bl, 1
jmp 0x140002fcd
mov ecx, 0x42ee
cmp ax, cx
jb 0x140002fcb
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 0x140003355
lea rdx, str.____Failed_to_get_export_gdi32full.NtGdiDdDDIReclaimAllocations2
jmp 0x140002faf
mov qword [rbp + 0x80], r13
mov qword [rsp + 0x68], r13
lea r8, [rsp + 0x68]
lea rdx, [rbp + 0x80]
mov rcx, rbx
call fcn.140001fe0
test al, al
je 0x140002fcb
mov r9d, 8
lea r8, [rsp + 0x78]
mov rdi, qword [rbp + 0x80]
mov rdx, rdi
mov rcx, rbx
call fcn.1400019b0
test al, al
je 0x140002fcb
mov rdx, r12
xor ecx, ecx
call rsi
mov r9d, 8
lea r8, [rsp + 0x68]
mov qword [r14], rax
mov rdx, rdi
mov rcx, rbx
call fcn.1400019b0
mov bl, 1
jmp 0x140002fcd
call fcn.14000b334
movzx eax, bl
jmp 0x1400033d5
xor al, al
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14000af90
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
call fcn.140001130
int3