Function at 0x180046100
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push r13
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x18005fa10]
lea rcx, str.win32kfull.sys
mov r13, qword [0x18005fa18]
mov qword [rbp + 0x6f], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r15, rax
test rax, rax
je 0x180040a42
movsxd rcx, dword [rax + 0x3c]
mov rdx, rax
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x80], rdi
mov r8d, dword [rcx + rax + 0x50]
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r14
call fcn.18003f740
mov r12d, dword [rax + 1]
add r12d, 5
sub r12, r15
add r12, rax
je 0x180040a17
xor esi, esi
lea r9, [rbp + 0x67]
xor r8d, r8d
mov dword [rbp + 0x67], esi
xor edx, edx
mov ebx, esi
lea ecx, [rsi + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x180040786
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x67]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rbp + 0x67]
lea r9, [rbp + 0x67]
mov rdx, rax
mov ecx, 0xb
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x180040740
test eax, eax
js 0x18004084a
mov edi, esi
cmp dword [rbx], esi
jbe 0x18004084a
nop dword [rax + rax]
mov r14d, edi
lea rdx, [rbx + 0x30]
imul rax, r14, 0x128
mov qword [rbp + 7], rsi
mov r8, 0xffffffffffffffff
mov qword [rbp + 0x17], rsi
mov qword [rbp + 0x1f], recv
movzx ecx, word [rax + rbx + 0x2e]
add rcx, rax
add rdx, rcx
inc r8
cmp byte [rdx + r8], sil
jne 0x1800407d0
lea rcx, [rbp + 7]
call fcn.1800028b0
cmp qword [rbp + 0x1f], 0x10
lea rcx, [rbp + 7]
lea rdx, str.win32kfull.sys
cmovae rcx, qword [rbp + 7]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x180040910
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x180040840
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004083b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180040963
call fcn.18004dbb4
inc edi
cmp edi, dword [rbx]
jb 0x1800407a0
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdi, qword [rbp + 0x6f]
lea rbx, [rsi + r12]
test rdi, rdi
je 0x180040a17
mov ecx, dword [0x18005f8b0]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x18005fb5c], ecx
jle 0x1800408d4
lea rcx, [0x18005fb5c]
call fcn.18004dd14
cmp dword [0x18005fb5c], 0xffffffff
jne 0x1800408d4
lea rcx, [0x18004f8b8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtShutdownSystem
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x18005fb5c]
mov qword [0x18005fb68], rax
call fcn.18004dcb4
mov rax, qword [0x18005f8d0]
mov dword [rbp - 0x19], 0x25ff
mov word [rbp - 0x15], 0
mov qword [rbp - 0x13], rbx
lea rcx, [rbp - 9]
mov qword [rbp + 0x67], recv
mov qword [rbp + 0x6f], rcx
mov rcx, qword [r13 + 0x38]
mov qword [rbp + 0x77], rax
test rcx, rcx
jne 0x180040974
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
imul rax, r14, 0x128
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
mov rsi, qword [rax + rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x18004085b
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004096a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004096a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004dbb4
jmp 0x18004085b
mov rax, qword [rcx]
lea r9, [rbp + 0x67]
lea r8, [rbp + 0x6f]
lea rdx, [rbp + 0x77]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [0x18005f8d0]
lea rcx, [rbp - 0x19]
mov qword [rbp + 0x67], recv
mov qword [rbp + 0x6f], rcx
mov rcx, qword [r13 + 0x78]
mov qword [rbp + 0x77], rax
test rcx, rcx
jne 0x1800409b1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rbp + 0x67]
lea r8, [rbp + 0x6f]
lea rdx, [rbp + 0x77]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [0x18005fb68]
mov r9b, send
mov r8d, 1
mov rdx, rdi
xor ecx, ecx
call rax
mov rax, qword [0x18005f8d0]
lea rcx, [rbp - 9]
mov qword [rbp + 0x67], recv
mov qword [rbp + 0x6f], rcx
mov rcx, qword [r13 + 0x78]
mov qword [rbp + 0x77], rax
test rcx, rcx
jne 0x180040a05
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rbp + 0x67]
lea r8, [rbp + 0x6f]
lea rdx, [rbp + 0x77]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r12, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0xc8]
mov r14, qword [rsp + 0x70]
add rsp, 0x90
pop r15
pop r13
pop rbp
ret
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0xc0
xor ebp, ebp
movaps xmmword [rax - 0x18], xmm6
lea r14, [0x180045f90]
mov qword [rax - 0x58], rbp
mov edx, 0x7f00
mov qword [rax - 0x60], r14
xor ecx, ecx
mov qword [rax - 0x50], rbp
mov qword [rax - 0x68], 0x50
call qword [sym.imp.USER32.dll_LoadIconA]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x80], rax
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0x88], rax
mov edx, 0x7f00
mov rax, qword [0x18005f9b8]
xor ecx, ecx
mov qword [rsp + 0xa0], rax
xorps xmm6, xmm6
call qword [sym.imp.USER32.dll_LoadIconA]
movups xmm0, xmmword [rsp + 0x60]
mov qword [rsp + 0xa8], rax
lea rcx, [0x18005f9c0]
movups xmm1, xmmword [rsp + 0x70]
movaps xmmword [0x18005f9c0], xmm0
movups xmm0, xmmword [rsp + 0x80]
movaps xmmword [0x18005f9d0], xmm1
movaps xmmword [0x18005f9e0], xmm0
movups xmm0, xmmword [rsp + 0xa0]
movaps xmmword [0x18005f9f0], xmm6
movaps xmmword [0x18005fa00], xmm0
call qword [sym.imp.USER32.dll_RegisterClassExA]
call fcn.180046bc0
cmp qword [rax + 0x18], rbp
je 0x180046243
call fcn.180046bc0
lea rdx, [0x18005fac8]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_GetClientRect]
call fcn.180046bc0
lea rdx, [0x180061cb8]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x180061cb8]
mov ebx, dword [0x18005fad0]
mov dword [0x18005fac8], eax
mov eax, dword [0x180061cbc]
mov dword [0x18005facc], eax
call fcn.180046bc0
mov dword [rax + 0x28], ebx
mov ebx, dword [0x18005fad4]
call fcn.180046bc0
mov dword [rax + 0x24], ebx
call fcn.180046bc0
mov esi, dword [rax + 0x24]
call fcn.180046bc0
mov edi, dword [rax + 0x28]
call fcn.180046bc0
mov ebx, dword [rax + 0x34]
call fcn.180046bc0
mov rdx, qword [0x18005f9b8]
mov r9d, 0x90000000
mov qword [rsp + 0x58], rbp
mov r8, rdx
mov qword [rsp + 0x50], rbp
mov ecx, dword [rax + 0x2c]
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ecx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov r8, r14
mov edx, 0xfffffffc
mov rcx, rax
mov qword [0x18005fa10], rax
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x18005fa10]
mov r9d, 2
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov rcx, qword [0x18005fa10]
lea rdx, [0x18005c040]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x18005fa10]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongA]
call fcn.180046bc0
mov ebx, dword [rax + 0x24]
call fcn.180046bc0
mov dword [rsp + 0x30], 8
xor r9d, r9d
mov dword [rsp + 0x28], ebx
xor r8d, r8d
xor edx, edx
mov ecx, dword [rax + 0x28]
mov dword [rsp + 0x20], ecx
mov rcx, qword [0x18005fa10]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x18005fa10]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x18005fa10]
call qword [sym.imp.USER32.dll_UpdateWindow]
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
jmp 0x180040690