Function at 0x140002d30
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 0x140002d55
xor al, al
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
cmp qword [0x14014be80], 0
jne 0x140002e69
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.140004830
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, recvfrom
lea rdx, [0x1400f99e0]
lea rcx, [rsp + 0x20]
call fcn.140004830
nop
lea rcx, [rsp + 0x20]
call fcn.140008660
mov rdx, rax
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.140002e90
mov qword [0x14014be80], rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140002e16
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e44f4
movdqa xmm0, xmmword [0x1401335a0]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140002e69
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e64
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e44f4
mov r9, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
jmp 0x140004280
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140148080]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r15, r9
mov rbx, rcx
mov rax, qword [0x14014be80]
mov qword [rbp - 0x80], rax
test rax, rax
je 0x1400047de
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 edi, eax
movdqu xmmword [rbp - 0x70], xmm0
xor r12d, r12d
mov qword [rbp - 0x60], r12
test eax, eax
je 0x140004385
cmp rdi, 0x1000
jb 0x14000435e
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x140004804
call fcn.1400e4268
mov rcx, rax
test rax, rax
je 0x14000446f
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140004366
mov rcx, rdi
call fcn.1400e4268
mov qword [rbp - 0x70], rax
lea rsi, [rax + rdi]
mov qword [rbp - 0x60], rsi
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x68], rsi
jmp 0x140004389
mov rsi, qword [rbp - 0x68]
mov rax, qword [rbp - 0x70]
sub rsi, rax
mov qword [rsp + 0x20], rax
mov r9d, esi
mov r8d, dword [rbp - 0x78]
lea rdx, str.kernel32.dll
mov ecx, 2
call qword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
mov qword [rsp + 0x70], r12
mov dword [rbp - 0x74], r12d
lea r9, [rbp - 0x74]
lea r8, [rsp + 0x70]
lea rdx, [0x1400f991c]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rax, qword [rsp + 0x70]
movzx ecx, word [rax + 0xe]
mov eax, 0x4a61
cmp cx, ax
jb 0x1400045f8
lea rcx, [0x1400f9b28]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtQueryInformationAtom
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x140004476
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.140003ad0
lea rdx, [0x140003ca0]
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
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400047db
mov rdx, qword [rbp - 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400047d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400047d6
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.WLDAP32.dll_Ordinal_22
lea rdx, str.NtQueryInformationAtom
lea rcx, [rsp + 0x50]
call fcn.140004830
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, recvfrom
lea rdx, [0x1400f99e0]
lea rcx, [rsp + 0x30]
call fcn.140004830
nop
lea rcx, [rsp + 0x30]
call fcn.140008660
mov rdx, rax
lea r8, [rsp + 0x50]
mov rcx, rbx
call fcn.140002e90
mov rdi, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140004539
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004534
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004534
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e44f4
movdqa xmm0, xmmword [0x1401335a0]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14000458c
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004587
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004587
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e44f4
test rdi, rdi
jne 0x14000459d
lea rdx, str.____Failed_to_get_export_ntoskrnl.NtQueryInformationAtom
jmp 0x140004414
mov r9d, recvfrom
mov r8, rdi
lea rdx, [rbp + 0x60]
mov rcx, rbx
call fcn.1400027e0
test al, al
je 0x140004430
mov r9d, recvfrom
lea r8, [rbp + 0x50]
mov rdx, rdi
mov rcx, rbx
call fcn.140002920
test al, al
je 0x140004430
mov rcx, r15
call rsi
mov r9d, recvfrom
lea r8, [rbp + 0x60]
mov rdx, rdi
mov rcx, rbx
call fcn.140002920
mov bl, 1
jmp 0x140004432
mov eax, 0x47ba
cmp cx, ax
jb 0x140004732
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 rsi, 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 rsi, rsi
jne 0x14000465c
test rax, rax
jne 0x14000465c
lea rdx, str.____Failed_to_get_export_gdi32full.NtGdiDdDDIReclaimAllocations2___win32u.NtGdiGetCOPPCompatibleOPMInformation
jmp 0x140004414
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 rsi, rsi
je 0x1400046d7
lea r8, [rbp + 0x60]
call fcn.1400031b0
test al, al
je 0x140004430
mov r9d, 8
lea r8, [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, rbx
call fcn.140002920
test al, al
je 0x140004430
mov rdi, rsi
mov rcx, r15
call rdi
mov r9d, 8
lea r8, [rbp + 0x60]
mov rdx, qword [rsp + 0x78]
mov rcx, rbx
call fcn.140002920
mov bl, 1
jmp 0x140004432
lea r8, [rbp + 0x70]
call fcn.1400033b0
test al, al
je 0x140004430
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0x52], rax
mov r9d, recvfrom
lea r8, [rbp + 0x50]
mov rdx, qword [rsp + 0x78]
mov rcx, rbx
call fcn.140002920
test al, al
je 0x140004430
mov rcx, r15
call rdi
mov r9d, recvfrom
lea r8, [rbp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rcx, rbx
call fcn.140002920
mov bl, 1
jmp 0x140004432
mov eax, 0x42ee
cmp cx, ax
jb 0x140004430
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 rsi, rax
test rax, rax
jne 0x140004771
lea rdx, str.____Failed_to_get_export_gdi32full.NtGdiDdDDIReclaimAllocations2
jmp 0x140004414
mov qword [rbp + 0x60], r12
mov qword [rsp + 0x78], r12
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x60]
mov rcx, rbx
call fcn.1400031b0
test al, al
je 0x140004430
mov r9d, 8
lea r8, [rbp - 0x80]
mov rdi, qword [rbp + 0x60]
mov rdx, rdi
mov rcx, rbx
call fcn.140002920
test al, al
je 0x140004430
mov rcx, r15
call rsi
mov r9d, 8
lea r8, [rsp + 0x78]
mov rdx, rdi
mov rcx, rbx
call fcn.140002920
mov bl, 1
jmp 0x140004432
call fcn.1400e44f4
movzx eax, bl
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400e3fb0
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x190
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140001c70
int3