Function at 0x140094270
Capabilities:
Get file version info

Disassembly:
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 [0x1402930e8]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r13, r9
mov rbx, rcx
mov qword [rbp - 0x80], r8
test r8, r8
jne 0x140093326
xor al, al
jmp 0x14009388c
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, [0x140116608]
mov ecx, 2
call sub.VERSION.dll_GetFileVersionInfoSizeExW
xorps xmm0, xmm0
mov r15d, eax
movdqu xmmword [rbp - 0x70], xmm0
xor eax, eax
mov esi, eax
mov qword [rbp - 0x60], rax
mov edi, eax
mov r12d, eax
test r15, r15
je 0x1400933f2
cmp r15, 0x1000
jb 0x1400933c2
lea rcx, [r15 + 0x27]
cmp rcx, r15
jbe 0x1400938b6
call fcn.140106704
test rax, rax
je 0x1400934d0
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400933cd
mov rcx, r15
call fcn.140106704
mov rdi, rax
mov r14, rdi
mov qword [rbp - 0x70], rdi
lea rsi, [rdi + r15]
mov r12, rsi
mov qword [rbp - 0x60], rsi
mov r8, r15
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x68], rsi
jmp 0x1400933f6
mov r14, qword [rbp - 0x70]
sub r12, rdi
mov qword [rsp + 0x20], rdi
mov r9d, r12d
mov r8d, dword [rbp - 0x78]
lea rdx, [0x140116608]
mov ecx, 2
call sub.VERSION.dll_GetFileVersionInfoExW
xor r12d, r12d
mov qword [rsp + 0x70], r12
mov dword [rbp - 0x74], r12d
lea r9, [rbp - 0x74]
lea r8, [rsp + 0x70]
lea rdx, [0x140116624]
mov rcx, r14
call sub.VERSION.dll_VerQueryValueW
mov rax, qword [rsp + 0x70]
movzx ecx, word [rax + 0xe]
mov eax, 0x4a61
cmp cx, ax
jb 0x14009369d
lea rcx, [0x140116828]
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 0x1400934d7
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.140001c20
lea rdx, [0x140003e10]
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 0x140093889
sub rsi, r14
mov rax, r14
cmp rsi, 0x1000
jb 0x14009387e
add rsi, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009387e
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
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rsp + 0x50]
call fcn.1400152e0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], reloc.WLDAP32.dll_Ordinal_22
mov qword [rsp + 0x68], Ordinal_32
movups xmm0, xmmword [str.NtQueryInformationAtom]
movups xmmword [rax], xmm0
mov ecx, dword [0x140116820]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x140116824]
mov word [rax + 0x14], cx
mov byte [rax + 0x16], r12b
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], listen
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.ntoskrnl.exe]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x1401166f0]
mov dword [rsp + 0x38], eax
mov byte [rsp + 0x3c], 0
lea rcx, [rsp + 0x30]
call fcn.14009b290
mov rdx, rax
lea r8, [rsp + 0x50]
mov rcx, rbx
call fcn.1400943f0
mov rdi, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400935dd
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400935d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400935d8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140106740
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140093630
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009362b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009362b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140106740
test rdi, rdi
jne 0x140093641
lea rdx, str.____Failed_to_get_export_ntoskrnl.NtQueryInformationAtom
jmp 0x14009347d
mov r9d, listen
mov r8, rdi
lea rdx, [rbp + 0x60]
mov rcx, rbx
call fcn.140095950
test al, al
je 0x140093499
mov r9d, listen
lea r8, [rbp + 0x50]
mov rdx, rdi
mov rcx, rbx
call fcn.140095e40
test al, al
je 0x140093499
mov rcx, r13
call r15
mov r9d, listen
lea r8, [rbp + 0x60]
mov rdx, rdi
mov rcx, rbx
call fcn.140095e40
mov bl, 1
jmp 0x14009349b
mov eax, 0x47ba
cmp cx, ax
jb 0x1400937d9
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 rdi, rax
test r15, r15
jne 0x140093701
test rax, rax
jne 0x140093701
lea rdx, str.____Failed_to_get_export_gdi32full.NtGdiDdDDIReclaimAllocations2___win32u.NtGdiGetCOPPCompatibleOPMInformation
jmp 0x14009347d
mov qword [rsp + 0x78], r12
mov qword [rbp + 0x50], 0xb848
mov dword [rbp + 0x58], 0xe0ff0000
mov qword [rbp + 0x60], r12
lea rdx, [rsp + 0x78]
mov rcx, rbx
test r15, r15
je 0x14009377d
lea r8, [rbp + 0x60]
call fcn.140094710
test al, al
je 0x140093499
mov r9d, 8
lea r8, [rbp - 0x80]
mov r12, qword [rsp + 0x78]
mov rdx, r12
mov rcx, rbx
call fcn.140095e40
test al, al
je 0x140093499
mov rdi, r15
mov rcx, r13
call rdi
mov r9d, 8
lea r8, [rbp + 0x60]
mov rdx, r12
mov rcx, rbx
call fcn.140095e40
mov bl, 1
jmp 0x14009349b
lea r8, [rbp + 0x70]
call fcn.140094950
test al, al
je 0x140093499
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0x52], rax
mov r9d, listen
lea r8, [rbp + 0x50]
mov r12, qword [rsp + 0x78]
mov rdx, r12
mov rcx, rbx
call fcn.140095e40
test al, al
je 0x140093499
mov rcx, r13
call rdi
mov r9d, listen
lea r8, [rbp + 0x70]
mov rdx, r12
mov rcx, rbx
call fcn.140095e40
mov bl, 1
jmp 0x14009349b
mov eax, 0x42ee
cmp cx, ax
jb 0x140093499
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 0x140093818
lea rdx, str.____Failed_to_get_export_gdi32full.NtGdiDdDDIReclaimAllocations2
jmp 0x14009347d
mov qword [rbp + 0x60], r12
mov qword [rsp + 0x78], r12
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x60]
mov rcx, rbx
call fcn.140094710
test al, al
je 0x140093499
mov r9d, 8
lea r8, [rbp - 0x80]
mov rdi, qword [rbp + 0x60]
mov rdx, rdi
mov rcx, rbx
call fcn.140095e40
test al, al
je 0x140093499
mov rcx, r13
call r15
mov r9d, 8
lea r8, [rsp + 0x78]
mov rdx, rdi
mov rcx, rbx
call fcn.140095e40
mov bl, 1
jmp 0x14009349b
mov rdx, rsi
mov rcx, r14
call fcn.140106740
movzx eax, bl
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140106b10
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.140014ff0
int3
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x60
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
jne 0x140094295
xor al, al
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
cmp qword [0x140293ed8], 0
jne 0x1400943cb
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0xa
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.ExFreePool]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x140116700]
mov word [rsp + 0x48], ax
mov byte [rsp + 0x4a], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], listen
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.ntoskrnl.exe]
movsd qword [rsp + 0x20], xmm0
mov eax, dword [0x1401166f0]
mov dword [rsp + 0x28], eax
mov byte [rsp + 0x2c], 0
lea rcx, [rsp + 0x20]
call fcn.14009b290
mov rdx, rax
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.1400943f0
mov qword [0x140293ed8], rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140094374
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009436f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009436f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140106740
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400943cb
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400943c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400943c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140106740
mov r9, rbx
mov r8, qword [0x140293ed8]
xor edx, edx
mov rcx, rdi
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
jmp 0x1400932e0