Function at 0x140025f90
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 - 0x90]
sub rsp, 0x190
mov rax, qword [0x14003e010]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r13, rdx
mov rbx, rcx
mov rax, qword [0x14003ea98]
mov qword [rbp - 0x78], rax
test rdx, rdx
je 0x1400264e3
test rax, rax
je 0x1400264e3
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 - 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 edi, edi
test eax, eax
je 0x1400260ae
cmp r15, 0x1000
jb 0x14002607e
lea rcx, [r15 + 0x27]
cmp rcx, r15
jbe 0x14002650f
call fcn.14002e420
test rax, rax
je 0x1400264cc
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140026089
mov rcx, r15
call fcn.14002e420
mov rdi, rax
mov rsi, rdi
mov qword [rbp - 0x68], rdi
lea r14, [rdi + r15]
mov r12, r14
mov qword [rbp - 0x58], r14
mov r8, r15
xor edx, edx
mov rcx, rdi
call fcn.14002f1e2
mov qword [rbp - 0x60], r14
jmp 0x1400260b2
mov rsi, qword [rbp - 0x68]
sub r12, rdi
mov qword [rsp + 0x20], rsi
mov r9d, r12d
mov r8d, dword [rbp - 0x70]
lea rdx, str.kernel32.dll
mov ecx, 2
call qword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
xor edi, edi
mov qword [rsp + 0x70], rdi
mov dword [rbp - 0x80], edi
lea r9, [rbp - 0x80]
lea r8, [rsp + 0x70]
lea rdx, [0x140030914]
mov rcx, rsi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
cmp dword [rbp - 0x80], 0x34
jae 0x140026114
lea r8d, [rdi + 0x7d]
lea rdx, str.C:UsersmitkoDesktopmapintel_driver.hpp
lea rcx, str.size___sizeof_VS_FIXEDFILEINFO_
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x14002613b
lea r8d, [rax + 0x7e]
lea rdx, str.C:UsersmitkoDesktopmapintel_driver.hpp
lea rcx, str.p___nullptr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 0xe]
mov ecx, 0x4a61
cmp ax, cx
jb 0x1400262ea
lea rcx, [0x140030ab0]
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
je 0x1400264a1
mov word [rbp + 0x50], 0xb848
mov word [rbp + 0x5a], 0xe0ff
mov rcx, qword [rbp - 0x78]
mov qword [rbp + 0x52], rcx
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.140026ab0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0xc
lea rdx, [0x140030948]
lea rcx, [rsp + 0x30]
call fcn.140026ab0
nop
lea rcx, [rsp + 0x30]
call fcn.14002cbf0
mov rdx, rax
lea r8, [rsp + 0x50]
mov rcx, rbx
call fcn.140025560
mov rdi, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140026239
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026234
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026234
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002e6ac
movdqa xmm0, xmmword [0x1400396c0]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14002628c
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026287
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026287
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002e6ac
test rdi, rdi
je 0x1400264a1
mov r9d, 0xc
mov r8, rdi
lea rdx, [rbp + 0x60]
mov rcx, rbx
call fcn.140024f60
test al, al
je 0x1400264a1
mov r9d, 0xc
lea r8, [rbp + 0x50]
mov rdx, rdi
mov rcx, rbx
call fcn.1400250a0
test al, al
je 0x1400264a1
mov rdx, qword [rbp + 0xf0]
xor ecx, ecx
call r15
mov r9d, 0xc
lea r8, [rbp + 0x60]
jmp 0x14002648e
mov ecx, 0x47ba
cmp ax, cx
jb 0x140026409
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
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 r12, rax
test r15, r15
jne 0x140026346
test rax, rax
je 0x1400264a1
mov qword [rsp + 0x78], rdi
mov qword [rbp + 0x50], 0xb848
mov dword [rbp + 0x58], 0xe0ff0000
mov qword [rbp + 0x60], rdi
lea rdx, [rsp + 0x78]
mov rcx, rbx
test r15, r15
je 0x1400263b3
lea r8, [rbp + 0x60]
call fcn.1400258a0
test al, al
je 0x1400264a1
mov r9d, 8
lea r8, [rbp - 0x78]
mov rdi, qword [rsp + 0x78]
mov rdx, rdi
mov rcx, rbx
call fcn.1400250a0
test al, al
je 0x1400264a1
mov rdx, qword [rbp + 0xf0]
xor ecx, ecx
call r15
lea r8, [rbp + 0x60]
jmp 0x140026488
lea r8, [rbp + 0x70]
call fcn.140025a70
test al, al
je 0x1400264a1
mov rax, qword [rbp - 0x78]
mov qword [rbp + 0x52], rax
mov r9d, 0xc
lea r8, [rbp + 0x50]
mov rdi, qword [rsp + 0x78]
mov rdx, rdi
mov rcx, rbx
call fcn.1400250a0
test al, al
je 0x1400264a1
mov rdx, qword [rbp + 0xf0]
xor ecx, ecx
call r12
mov r9d, 0xc
lea r8, [rbp + 0x70]
jmp 0x14002648e
mov ecx, 0x42ee
cmp ax, cx
jb 0x1400264a1
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
je 0x1400264a1
mov qword [rbp + 0x60], rdi
mov qword [rsp + 0x78], rdi
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x60]
mov rcx, rbx
call fcn.1400258a0
test al, al
je 0x1400264a1
mov r9d, 8
lea r8, [rbp - 0x78]
mov rdi, qword [rbp + 0x60]
mov rdx, rdi
mov rcx, rbx
call fcn.1400250a0
test al, al
je 0x1400264a1
mov rdx, qword [rbp + 0xf0]
xor ecx, ecx
call r15
lea r8, [rsp + 0x78]
mov r9d, 8
mov qword [r13], rax
mov rdx, rdi
mov rcx, rbx
call fcn.1400250a0
mov bl, 1
jmp 0x1400264a3
xor bl, bl
test rsi, rsi
je 0x1400264de
sub r14, rsi
mov rax, rsi
cmp r14, 0x1000
jb 0x1400264d3
add r14, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400264d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r14
mov rcx, rsi
call fcn.14002e6ac
movzx eax, bl
jmp 0x1400264e5
xor al, al
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14002e400
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400248d0
int3