Function at 0x140026730
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 0x1400250b5
xor al, al
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
cmp qword [0x1400b1838], 0
jne 0x1400251c9
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.140026d40
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, recv
lea rdx, [0x14008c688]
lea rcx, [rsp + 0x20]
call fcn.140026d40
nop
lea rcx, [rsp + 0x20]
call fcn.14002ff30
mov rdx, rax
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.1400251f0
mov qword [0x1400b1838], rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140025176
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025171
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140025171
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007eb6c
movdqa xmm0, xmmword [0x140095950]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400251c9
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400251c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400251c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007eb6c
mov r9, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
jmp 0x140026730
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 [0x1400aa180]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r12, r9
mov rdi, rcx
mov rax, qword [0x1400b1838]
mov qword [rbp - 0x80], rax
test rax, rax
je 0x140026d0a
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 - 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 ebx, ebx
xor r13d, r13d
test eax, eax
je 0x140026844
cmp r15, 0x1000
jb 0x140026814
lea rcx, [r15 + 0x27]
cmp rcx, r15
jbe 0x140026d34
call fcn.14007e8f0
test rax, rax
je 0x140026993
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14002681f
mov rcx, r15
call fcn.14007e8f0
mov rbx, rax
mov r14, rbx
mov qword [rbp - 0x70], rbx
lea rsi, [rbx + r15]
mov r13, rsi
mov qword [rbp - 0x60], rsi
mov r8, r15
xor edx, edx
mov rcx, rbx
call fcn.14007f80e
mov qword [rbp - 0x68], rsi
jmp 0x140026848
mov r14, qword [rbp - 0x70]
sub r13, rbx
mov qword [rsp + 0x20], rbx
mov r9d, r13d
mov r8d, dword [rbp - 0x78]
lea rdx, str.kernel32.dll
mov ecx, 2
call qword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
xor r13d, r13d
mov qword [rsp + 0x70], r13
mov dword [rbp - 0x74], r13d
lea r9, [rbp - 0x74]
lea r8, [rsp + 0x70]
lea rdx, [0x14008c4e4]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rbx, qword [rsp + 0x70]
lea rdx, [0x14008c7c0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140025e10
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.140027030
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.140027030
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.140027030
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.140027030
movzx eax, word [rbx + 0xe]
mov ecx, 0x4a61
cmp ax, cx
jb 0x140026b1d
lea rcx, [0x14008c7e0]
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 0x14002699a
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.140025e10
lea rdx, [0x140025fe0]
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 0x140026d07
sub rsi, r14
mov rax, r14
cmp rsi, 0x1000
jb 0x140026cfc
add rsi, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026cfc
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 - 0x80]
mov qword [rbp + 0x52], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, reloc.WS2_32.dll_shutdown
lea rdx, str.NtQueryInformationAtom
lea rcx, [rsp + 0x50]
call fcn.140026d40
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, recv
lea rdx, [0x14008c688]
lea rcx, [rsp + 0x30]
call fcn.140026d40
nop
lea rcx, [rsp + 0x30]
call fcn.14002ff30
mov rdx, rax
lea r8, [rsp + 0x50]
mov rcx, rdi
call fcn.1400251f0
mov rbx, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140026a5d
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026a58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026a58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007eb6c
movdqa xmm0, xmmword [0x140095950]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140026ab0
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026aab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026aab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007eb6c
test rbx, rbx
jne 0x140026ac1
lea rdx, str.____Failed_to_get_export_ntoskrnl.NtQueryInformationAtom
jmp 0x140026940
mov r9d, recv
mov r8, rbx
lea rdx, [rbp + 0x60]
mov rcx, rdi
call fcn.140024b40
test al, al
je 0x14002695c
mov r9d, recv
lea r8, [rbp + 0x50]
mov rdx, rbx
mov rcx, rdi
call fcn.140024c80
test al, al
je 0x14002695c
mov rcx, r12
call r15
mov r9d, recv
lea r8, [rbp + 0x60]
mov rdx, rbx
mov rcx, rdi
call fcn.140024c80
mov bl, 1
jmp 0x14002695e
mov ecx, 0x47ba
cmp ax, cx
jb 0x140026c57
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 0x140026b81
test rax, rax
jne 0x140026b81
lea rdx, str.____Failed_to_get_export_gdi32full.NtGdiDdDDIReclaimAllocations2___win32u.NtGdiGetCOPPCompatibleOPMInformation
jmp 0x140026940
mov qword [rsp + 0x78], r13
mov qword [rbp + 0x50], 0xb848
mov dword [rbp + 0x58], 0xe0ff0000
mov qword [rbp + 0x60], r13
lea rdx, [rsp + 0x78]
mov rcx, rdi
test rbx, rbx
je 0x140026bfa
lea r8, [rbp + 0x60]
call fcn.140025530
test al, al
je 0x14002695c
mov r9d, 8
lea r8, [rbp - 0x80]
mov r15, qword [rsp + 0x78]
mov rdx, r15
mov rcx, rdi
call fcn.140024c80
test al, al
je 0x14002695c
mov rcx, r12
call rbx
mov r9d, 8
lea r8, [rbp + 0x60]
mov rdx, r15
mov rcx, rdi
call fcn.140024c80
mov bl, 1
jmp 0x14002695e
lea r8, [rbp + 0x70]
call fcn.140025730
test al, al
je 0x14002695c
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0x52], rax
mov r9d, recv
lea r8, [rbp + 0x50]
mov rbx, qword [rsp + 0x78]
mov rdx, rbx
mov rcx, rdi
call fcn.140024c80
test al, al
je 0x14002695c
mov rcx, r12
call r15
mov r9d, recv
lea r8, [rbp + 0x70]
mov rdx, rbx
mov rcx, rdi
call fcn.140024c80
mov bl, 1
jmp 0x14002695e
mov ecx, 0x42ee
cmp ax, cx
jb 0x14002695c
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 0x140026c96
lea rdx, str.____Failed_to_get_export_gdi32full.NtGdiDdDDIReclaimAllocations2
jmp 0x140026940
mov qword [rbp + 0x60], r13
mov qword [rsp + 0x78], r13
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x60]
mov rcx, rdi
call fcn.140025530
test al, al
je 0x14002695c
mov r9d, 8
lea r8, [rbp - 0x80]
mov rbx, qword [rbp + 0x60]
mov rdx, rbx
mov rcx, rdi
call fcn.140024c80
test al, al
je 0x14002695c
mov rcx, r12
call r15
mov r9d, 8
lea r8, [rsp + 0x78]
mov rdx, rbx
mov rcx, rdi
call fcn.140024c80
mov bl, 1
jmp 0x14002695e
mov rdx, rsi
mov rcx, r14
call fcn.14007eb6c
movzx eax, bl
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14007e7b0
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.1400242a0
int3