Function at 0x140025050
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 0x140025075
xor al, al
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
cmp qword [0x1400b07e8], 0
jne 0x140025189
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.140026d00
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, recv
lea rdx, [0x14008b688]
lea rcx, [rsp + 0x20]
call fcn.140026d00
nop
lea rcx, [rsp + 0x20]
call fcn.14002f370
mov rdx, rax
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.1400251b0
mov qword [0x1400b07e8], rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140025136
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025131
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140025131
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007df6c
movdqa xmm0, xmmword [0x1400948a0]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140025189
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025184
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140025184
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007df6c
mov r9, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
jmp 0x1400266f0
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 [0x1400a9168]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r12, r9
mov rdi, rcx
mov rax, qword [0x1400b07e8]
mov qword [rbp - 0x80], rax
test rax, rax
je 0x140026cca
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 0x140026804
cmp r15, 0x1000
jb 0x1400267d4
lea rcx, [r15 + 0x27]
cmp rcx, r15
jbe 0x140026cf4
call fcn.14007dce0
test rax, rax
je 0x140026953
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400267df
mov rcx, r15
call fcn.14007dce0
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.14007ec0e
mov qword [rbp - 0x68], rsi
jmp 0x140026808
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, [0x14008b4e4]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rbx, qword [rsp + 0x70]
lea rdx, [0x14008b7ac]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140025dd0
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.140026ff0
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.140026ff0
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.140026ff0
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.140026ff0
movzx eax, word [rbx + 0xe]
mov ecx, 0x4a61
cmp ax, cx
jb 0x140026add
lea rcx, [0x14008b7d0]
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 0x14002695a
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.140025dd0
lea rdx, [0x140025fa0]
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 0x140026cc7
sub rsi, r14
mov rax, r14
cmp rsi, 0x1000
jb 0x140026cbc
add rsi, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026cbc
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.140026d00
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, recv
lea rdx, [0x14008b688]
lea rcx, [rsp + 0x30]
call fcn.140026d00
nop
lea rcx, [rsp + 0x30]
call fcn.14002f370
mov rdx, rax
lea r8, [rsp + 0x50]
mov rcx, rdi
call fcn.1400251b0
mov rbx, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140026a1d
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026a18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026a18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007df6c
movdqa xmm0, xmmword [0x1400948a0]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140026a70
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026a6b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026a6b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007df6c
test rbx, rbx
jne 0x140026a81
lea rdx, str.____Failed_to_get_export_ntoskrnl.NtQueryInformationAtom
jmp 0x140026900
mov r9d, recv
mov r8, rbx
lea rdx, [rbp + 0x60]
mov rcx, rdi
call fcn.140024b40
test al, al
je 0x14002691c
mov r9d, recv
lea r8, [rbp + 0x50]
mov rdx, rbx
mov rcx, rdi
call fcn.140024c80
test al, al
je 0x14002691c
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 0x14002691e
mov ecx, 0x47ba
cmp ax, cx
jb 0x140026c17
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 0x140026b41
test rax, rax
jne 0x140026b41
lea rdx, str.____Failed_to_get_export_gdi32full.NtGdiDdDDIReclaimAllocations2___win32u.NtGdiGetCOPPCompatibleOPMInformation
jmp 0x140026900
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 0x140026bba
lea r8, [rbp + 0x60]
call fcn.1400254f0
test al, al
je 0x14002691c
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 0x14002691c
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 0x14002691e
lea r8, [rbp + 0x70]
call fcn.1400256f0
test al, al
je 0x14002691c
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 0x14002691c
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 0x14002691e
mov ecx, 0x42ee
cmp ax, cx
jb 0x14002691c
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 0x140026c56
lea rdx, str.____Failed_to_get_export_gdi32full.NtGdiDdDDIReclaimAllocations2
jmp 0x140026900
mov qword [rbp + 0x60], r13
mov qword [rsp + 0x78], r13
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x60]
mov rcx, rdi
call fcn.1400254f0
test al, al
je 0x14002691c
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 0x14002691c
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 0x14002691e
mov rdx, rsi
mov rcx, r14
call fcn.14007df6c
movzx eax, bl
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14007dba0
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