Function at 0x1400090c0
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 0x140007e25
xor al, al
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
cmp qword [0x1400a9a88], 0
jne 0x140007f39
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.1400069a0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, listen
lea rdx, [0x140092d78]
lea rcx, [rsp + 0x20]
call fcn.1400069a0
nop
lea rcx, [rsp + 0x20]
call fcn.14000d540
mov rdx, rax
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.140007f60
mov qword [0x1400a9a88], rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140007ee6
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007ee1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007ee1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400775c0
movdqa xmm0, xmmword [0x140093380]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140007f39
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007f34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007f34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400775c0
mov r9, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
jmp 0x1400090c0
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x1400a1080]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov r12, r9
mov rdi, rcx
mov rax, qword [0x1400a9a88]
mov qword [rbp - 0x80], rax
test rax, rax
je 0x1400096ba
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x4c]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x50], 0x114
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
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 r13d, r13d
xor ebx, ebx
test eax, eax
je 0x1400091be
cmp r15, 0x1000
jb 0x14000918e
lea rcx, [r15 + 0x27]
cmp rcx, r15
jbe 0x1400096e4
call fcn.140077344
test rax, rax
je 0x14000930d
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140009199
mov rcx, r15
call fcn.140077344
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 sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x68], rsi
jmp 0x1400091c2
mov r14, qword [rbp - 0x70]
sub r13d, ebx
mov qword [rsp + 0x20], r14
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, [0x140092bdc]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rbx, qword [rsp + 0x70]
lea rdx, [0x140092eb0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140006290
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, reloc.WLDAP32.dll_Ordinal_46
call fcn.140006470
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, reloc.WLDAP32.dll_Ordinal_46
call fcn.140006470
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, reloc.WLDAP32.dll_Ordinal_46
call fcn.140006470
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.140006470
movzx eax, word [rbx + 0xe]
mov ecx, 0x4a61
cmp ax, cx
jb 0x1400094a9
lea rcx, [0x140092ed0]
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 0x140009314
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.140006290
lea rdx, [0x140006640]
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 0x1400096b7
sub rsi, r14
mov rax, r14
cmp rsi, 0x1000
jb 0x1400096ac
add rsi, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400096ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov word [rbp + 0xd0], 0xb848
mov word [rbp + 0xda], 0xe0ff
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0xd2], 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.1400069a0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, listen
lea rdx, [0x140092d78]
lea rcx, [rsp + 0x30]
call fcn.1400069a0
nop
lea rcx, [rsp + 0x30]
call fcn.14000d540
mov rdx, rax
lea r8, [rsp + 0x50]
mov rcx, rdi
call fcn.140007f60
mov rbx, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400093e0
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400093db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400093db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400775c0
movdqa xmm0, xmmword [0x140093380]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140009433
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000942e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000942e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400775c0
test rbx, rbx
jne 0x140009444
lea rdx, str.____Failed_to_get_export_ntoskrnl.NtQueryInformationAtom
jmp 0x1400092ba
mov r9d, listen
mov r8, rbx
lea rdx, [rbp + 0xe0]
mov rcx, rdi
call fcn.1400078a0
test al, al
je 0x1400092d6
mov r9d, listen
lea r8, [rbp + 0xd0]
mov rdx, rbx
mov rcx, rdi
call fcn.1400079f0
test al, al
je 0x1400092d6
mov rcx, r12
call r15
mov r9d, listen
lea r8, [rbp + 0xe0]
mov rdx, rbx
mov rcx, rdi
call fcn.1400079f0
mov bl, 1
jmp 0x1400092d8
mov ecx, 0x47ba
cmp ax, cx
jb 0x1400095fe
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 0x14000950d
test rax, rax
jne 0x14000950d
lea rdx, str.____Failed_to_get_export_gdi32full.NtGdiDdDDIReclaimAllocations2___win32u.NtGdiGetCOPPCompatibleOPMInformation
jmp 0x1400092ba
mov qword [rsp + 0x78], r13
mov qword [rbp + 0xd0], 0xb848
mov dword [rbp + 0xd8], 0xe0ff0000
mov qword [rbp + 0xe0], r13
lea rdx, [rsp + 0x78]
mov rcx, rdi
test rbx, rbx
je 0x140009595
lea r8, [rbp + 0xe0]
call fcn.1400082a0
test al, al
je 0x1400092d6
mov r9d, 8
lea r8, [rbp - 0x80]
mov r15, qword [rsp + 0x78]
mov rdx, r15
mov rcx, rdi
call fcn.1400079f0
test al, al
je 0x1400092d6
mov rcx, r12
call rbx
mov r9d, 8
lea r8, [rbp + 0xe0]
mov rdx, r15
mov rcx, rdi
call fcn.1400079f0
mov bl, 1
jmp 0x1400092d8
lea r8, [rbp + 0xf0]
call fcn.1400084a0
test al, al
je 0x1400092d6
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0xd2], rax
mov r9d, listen
lea r8, [rbp + 0xd0]
mov rbx, qword [rsp + 0x78]
mov rdx, rbx
mov rcx, rdi
call fcn.1400079f0
test al, al
je 0x1400092d6
mov rcx, r12
call r15
mov r9d, listen
lea r8, [rbp + 0xf0]
mov rdx, rbx
mov rcx, rdi
call fcn.1400079f0
mov bl, 1
jmp 0x1400092d8
mov ecx, 0x42ee
cmp ax, cx
jb 0x1400092d6
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 0x14000963d
lea rdx, str.____Failed_to_get_export_gdi32full.NtGdiDdDDIReclaimAllocations2
jmp 0x1400092ba
mov qword [rbp + 0xe0], r13
mov qword [rsp + 0x78], r13
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0xe0]
mov rcx, rdi
call fcn.1400082a0
test al, al
je 0x1400092d6
mov r9d, 8
lea r8, [rbp - 0x80]
mov rbx, qword [rbp + 0xe0]
mov rdx, rbx
mov rcx, rdi
call fcn.1400079f0
test al, al
je 0x1400092d6
mov rcx, r12
call r15
mov r9d, 8
lea r8, [rsp + 0x78]
mov rdx, rbx
mov rcx, rdi
call fcn.1400079f0
mov bl, 1
jmp 0x1400092d8
mov rdx, rsi
mov rcx, r14
call fcn.1400775c0
movzx eax, bl
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140076fa0
mov rbx, qword [rsp + 0x258]
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140001890
int3