Function at 0x1800182b0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
jne 0x1800182d2
xor al, al
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
cmp qword [0x18038c560], 0
jne 0x180018374
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
mov r8d, 0xa
lea rdx, str.ExFreePool
lea rcx, [rsp + 0x40]
call fcn.1800052d0
nop
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str.ntoskrnl.exe
lea rcx, [rsp + 0x20]
call fcn.1800052d0
nop
lea rcx, [rsp + 0x20]
call fcn.18001d100
mov rdx, rax
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.180018390
mov qword [0x18038c560], rax
lea rcx, [rsp + 0x20]
call fcn.180005250
nop
lea rcx, [rsp + 0x40]
call fcn.180005250
mov r9, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
jmp 0x180019f20
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov r13, r9
mov r12, rcx
mov rax, qword [0x18038c560]
mov qword [rbp + 0xb8], rax
test rax, rax
je 0x18001a35a
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xe4]
call fcn.180211600
mov dword [rbp + 0xe0], 0x114
lea rcx, [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea r8, [rbp + 0xb0]
lea rdx, str.kernel32.dll
mov ecx, 2
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeExW]
xorps xmm0, xmm0
mov edi, eax
movdqu xmmword [rbp + 0xc0], xmm0
xor esi, esi
mov r14d, esi
mov qword [rbp + 0xd0], rsi
mov eax, esi
mov ebx, esi
test rdi, rdi
je 0x18001a03e
cmp rdi, 0x1000
jb 0x18001a005
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x18001a560
call fcn.18007b16c
test rax, rax
je 0x18001a55a
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x18001a010
mov rcx, rdi
call fcn.18007b16c
mov rbx, rax
mov r15, rbx
mov qword [rbp + 0xc0], rbx
lea r14, [rbx + rdi]
mov qword [rbp + 0xd0], r14
mov r8, rdi
xor edx, edx
mov rcx, rbx
call fcn.180211600
mov qword [rbp + 0xc8], r14
mov rax, r14
jmp 0x18001a045
mov r15, qword [rbp + 0xc0]
sub rax, rbx
mov qword [rsp + 0x20], r15
mov r9d, eax
mov r8d, dword [rbp + 0xb0]
lea rdx, str.kernel32.dll
mov ecx, 2
call qword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
mov qword [rbp + 0x98], rsi
mov dword [rbp + 0xb4], esi
lea r9, [rbp + 0xb4]
lea r8, [rbp + 0x98]
lea rdx, [0x1803124c0]
mov rcx, r15
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rbx, qword [rbp + 0x98]
mov qword [rbp + 0xa0], rbx
movzx edx, word [rbx + 0xc]
lea rcx, [rbp + 0x78]
call fcn.180017330
mov rsi, rax
movzx edx, word [rbx + 0xe]
lea rcx, [rbp + 0x58]
call fcn.180017330
mov rdi, rax
movzx edx, word [rbx + 8]
lea rcx, [rbp + 0x38]
call fcn.180017330
mov rbx, rax
mov rax, qword [rbp + 0xa0]
movzx edx, word [rax + 0xa]
lea rcx, [rbp + 0x18]
call fcn.180017330
nop
mov r9d, 4
lea r8, [0x1803127a0]
xor edx, edx
mov rcx, rax
call fcn.18000a090
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x1803121ec]
lea rcx, [rsp + 0x38]
call fcn.180005430
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r9, rbx
lea r8, [rbp - 0x68]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 8]
call fcn.180016e20
nop
mov r8d, 1
lea rdx, [0x1803121ec]
lea rcx, [rbp - 8]
call fcn.180005430
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
mov r9, rdi
lea r8, [rsp + 0x78]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x28]
call fcn.180016e20
nop
lea r8d, [rbx + 1]
lea rdx, [0x1803121ec]
lea rcx, [rbp - 0x28]
call fcn.180005430
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
mov r9, rsi
lea r8, [rsp + 0x58]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.180016e20
lea rcx, [rbp - 0x48]
call fcn.180005250
nop
lea rcx, [rsp + 0x58]
call fcn.180005250
nop
lea rcx, [rbp - 0x28]
call fcn.180005250
nop
lea rcx, [rsp + 0x78]
call fcn.180005250
nop
lea rcx, [rbp - 8]
call fcn.180005250
nop
lea rcx, [rbp - 0x68]
call fcn.180005250
nop
lea rcx, [rsp + 0x38]
call fcn.180005250
nop
lea rcx, [rbp + 0x18]
call fcn.180005250
nop
lea rcx, [rbp + 0x38]
call fcn.180005250
nop
lea rcx, [rbp + 0x58]
call fcn.180005250
nop
lea rcx, [rbp + 0x78]
call fcn.180005250
mov rsi, qword [rbp + 0xa0]
movzx eax, word [rsi + 0xe]
mov ecx, 0x47ba
cmp ax, cx
jb 0x18001a49b
lea rcx, str.gdi32full.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.NtGdiDdDDIReclaimAllocations2
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.NtGdiGetCOPPCompatibleOPMInformation
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rdi, rdi
jne 0x18001a384
test rax, rax
jne 0x18001a384
mov qword [rsp + 0x48], rdi
lea r8d, [rax + 0x6e]
lea rdx, str.____Failed_to_get_export_gdi32full.NtGdiDdDDIReclaimAllocations2___win32u.NtGdiGetCOPPCompatibleOPMInformation
mov byte [rsp + 0x38], 0
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
lea rcx, [rsp + 0x38]
call fcn.1800052d0
lea rcx, [rsp + 0x38]
call fcn.180005250
xor bl, bl
test r15, r15
je 0x18001a357
sub r14, r15
mov rax, r15
cmp r14, 0x1000
jb 0x18001a34c
add r14, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001a55a
mov rdx, r14
mov rcx, r15
call fcn.18007b164
movzx eax, bl
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.18007b140
mov rbx, qword [rsp + 0x378]
add rsp, 0x330
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor eax, eax
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0x200], 0xb848
mov dword [rbp + 0x208], 0xe0ff0000
mov qword [rbp + 0xa8], rax
lea rdx, [rbp + 0xa0]
mov rcx, r12
test rdi, rdi
je 0x18001a41a
lea r8, [rbp + 0xa8]
call fcn.180018670
test al, al
je 0x18001a31d
mov r9d, 8
lea r8, [rbp + 0xb8]
mov rsi, qword [rbp + 0xa0]
mov rdx, rsi
mov rcx, r12
call fcn.180017be0
test al, al
je 0x18001a31d
mov rbx, rdi
mov rcx, r13
call rbx
mov r9d, 8
lea r8, [rbp + 0xa8]
mov rdx, rsi
mov rcx, r12
call fcn.180017be0
mov bl, 1
jmp 0x18001a31f
mov eax, 0x4a61
cmp word [rsi + 0xe], ax
setae r9b
lea r8, [rbp + 0x210]
call fcn.1800187f0
test al, al
je 0x18001a31d
mov rax, qword [rbp + 0xb8]
mov qword [rbp + 0x202], rax
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rbp + 0x200]
mov rsi, qword [rbp + 0xa0]
mov rdx, rsi
mov rcx, r12
call fcn.180017be0
test al, al
je 0x18001a31d
test rdi, rdi
cmovne rbx, rdi
mov rcx, r13
call rbx
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rbp + 0x210]
mov rdx, rsi
mov rcx, r12
call fcn.180017be0
mov bl, 1
jmp 0x18001a31f
mov ecx, 0x42ee
cmp ax, cx
jb 0x18001a31d
lea rcx, str.gdi32full.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.NtGdiDdDDIReclaimAllocations2
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x18001a4e3
mov qword [rsp + 0x48], rbx
lea r8d, [rax + 0x40]
lea rdx, str.____Failed_to_get_export_gdi32full.NtGdiDdDDIReclaimAllocations2
jmp 0x18001a2fb
mov qword [rbp + 0xa8], rbx
mov qword [rbp + 0xa0], rbx
lea r8, [rbp + 0xa0]
lea rdx, [rbp + 0xa8]
mov rcx, r12
call fcn.180018670
test al, al
je 0x18001a31d
mov r9d, 8
lea r8, [rbp + 0xb8]
mov rbx, qword [rbp + 0xa8]
mov rdx, rbx
mov rcx, r12
call fcn.180017be0
test al, al
je 0x18001a31d
mov rcx, r13
call rdi
mov r9d, 8
lea r8, [rbp + 0xa0]
mov rdx, rbx
mov rcx, r12
call fcn.180017be0
mov bl, 1
jmp 0x18001a31f
call fcn.18021e9c0
int3
call fcn.180002140
int3