Function at 0x1401f5660
Capabilities:
Check os version
Get hostname
Get memory capacity
Get session user name
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rax, qword [0x1403e3c28]
xor rax, rsp
mov qword [rbp + 0x260], rax
cmp dword [rcx + 0x18], 0
mov rbx, rcx
je 0x1401f56c9
mov rax, qword [rcx]
lea rdx, [rbp + 0x200]
mov r8d, 0x20
call qword [rax + 0xe0]
mov rax, qword [rbx]
lea r8, [rbp + 0x200]
lea rdx, str.Computer_name
mov rcx, rbx
call qword [rax + 0x80]
cmp dword [rbx + 0x18], 0
je 0x1401f570c
lea rdx, [rbx + 0x528]
mov dword [rsp + 0x30], 0x200
lea r8, [rsp + 0x30]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExA]
test eax, eax
jle 0x1401f570c
mov rax, qword [rbx]
lea r8, [rbx + 0x528]
lea rdx, str.Computer_DNS_name
mov rcx, rbx
call qword [rax + 0x80]
cmp dword [rbx + 0x14], 0
je 0x1401f574a
lea rcx, [rbx + 0x528]
mov dword [rsp + 0x30], 0x200
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jle 0x1401f574a
mov rax, qword [rbx]
lea r8, [rbx + 0x528]
lea rdx, str.User_name
mov rcx, rbx
call qword [rax + 0x80]
mov rax, qword [rbx]
lea r8, str.Windows_on_x64
lea rdx, str.EA_PLATFORM
mov rcx, rbx
call qword [rax + 0x80]
xorps xmm0, xmm0
lea rcx, [rbp - 0x50]
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x50], 0x9c
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp + 0x40], rax
movups xmmword [rbp - 0x30], xmm0
mov dword [rbp + 0x48], eax
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
xor esi, esi
test eax, eax
je 0x1401f615c
movaps xmm0, xmmword [str.Unknown__probably_a_successor_to_Windows_7_or_Windows_server_2008.]
movups xmmword [rbx + 0x528], xmm0
movaps xmm1, xmmword [0x1403506a0]
movups xmmword [rbx + 0x538], xmm1
movaps xmm0, xmmword [0x1403506b0]
movups xmmword [rbx + 0x548], xmm0
movaps xmm1, xmmword [0x1403506c0]
movups xmmword [rbx + 0x558], xmm1
movzx eax, word [0x1403506d0]
mov word [rbx + 0x568], ax
movzx eax, byte [0x1403506d2]
mov byte [rbx + 0x56a], al
mov eax, dword [rbp - 0x4c]
cmp eax, 0xa
jb 0x1401f5866
cmp dword [rbp - 0x48], esi
jne 0x1401f5b45
cmp byte [rbp + 0x4a], 1
jne 0x1401f5847
movsd xmm0, qword [str.Windows_10.0]
movsd qword [rbx + 0x528], xmm0
mov eax, dword [0x1403506e0]
mov dword [rbx + 0x530], eax
movzx eax, byte [0x1403506e4]
mov byte [rbx + 0x534], al
jmp 0x1401f5b45
movups xmm0, xmmword [str.Windows_Server_2016]
movups xmmword [rbx + 0x528], xmm0
mov eax, dword [0x1403506f8]
mov dword [rbx + 0x538], eax
jmp 0x1401f5b45
cmp eax, 6
jb 0x1401f59ea
mov eax, dword [rbp - 0x48]
cmp eax, 4
jae 0x1401f5b45
cmp eax, 3
jb 0x1401f58e1
cmp byte [rbp + 0x4a], 1
jne 0x1401f58a7
movsd xmm0, qword [str.Windows_8.1]
movsd qword [rbx + 0x528], xmm0
mov eax, dword [0x140350708]
mov dword [rbx + 0x530], eax
jmp 0x1401f5b45
movups xmm0, xmmword [str.Windows_Server_2012_R2]
movups xmmword [rbx + 0x528], xmm0
mov eax, dword [0x140350720]
mov dword [rbx + 0x538], eax
movzx eax, word [0x140350724]
mov word [rbx + 0x53c], ax
movzx eax, byte [0x140350726]
mov byte [rbx + 0x53e], al
jmp 0x1401f5b45
cmp eax, 2
jb 0x1401f592e
cmp byte [rbp + 0x4a], 1
jne 0x1401f590f
movsd xmm0, qword [str.Windows_8]
movsd qword [rbx + 0x528], xmm0
movzx eax, word [0x140350730]
mov word [rbx + 0x530], ax
jmp 0x1401f5b45
movups xmm0, xmmword [str.Windows_Server_2012]
movups xmmword [rbx + 0x528], xmm0
mov eax, dword [0x140350748]
mov dword [rbx + 0x538], eax
jmp 0x1401f5b45
cmp eax, 1
jb 0x1401f5996
cmp byte [rbp + 0x4a], 1
jne 0x1401f595c
movsd xmm0, qword [str.Windows_7]
movsd qword [rbx + 0x528], xmm0
movzx eax, word [0x140350758]
mov word [rbx + 0x530], ax
jmp 0x1401f5b45
movups xmm0, xmmword [str.Windows_Server_2008_R2]
movups xmmword [rbx + 0x528], xmm0
mov eax, dword [0x140350770]
mov dword [rbx + 0x538], eax
movzx eax, word [0x140350774]
mov word [rbx + 0x53c], ax
movzx eax, byte [0x140350776]
mov byte [rbx + 0x53e], al
jmp 0x1401f5b45
cmp byte [rbp + 0x4a], 1
jne 0x1401f59cb
movsd xmm0, qword [str.Windows_Vista]
movsd qword [rbx + 0x528], xmm0
mov eax, dword [0x140350780]
mov dword [rbx + 0x530], eax
movzx eax, word [0x140350784]
mov word [rbx + 0x534], ax
jmp 0x1401f5b45
movups xmm0, xmmword [str.Windows_Server_2008]
movups xmmword [rbx + 0x528], xmm0
mov eax, dword [0x140350798]
mov dword [rbx + 0x538], eax
jmp 0x1401f5b45
cmp eax, 5
jb 0x1401f5b1d
mov eax, dword [rbp - 0x48]
test eax, eax
jne 0x1401f5a28
movsd xmm0, qword [str.Windows_2000]
movsd qword [rbx + 0x528], xmm0
mov eax, dword [0x1403507a8]
mov dword [rbx + 0x530], eax
movzx eax, byte [0x1403507ac]
mov byte [rbx + 0x534], al
jmp 0x1401f5b45
cmp eax, 1
jne 0x1401f5a5d
movsd xmm0, qword [str.Windows_XP]
movsd qword [rbx + 0x528], xmm0
movzx eax, word [0x1403507b8]
mov word [rbx + 0x530], ax
movzx eax, byte [0x1403507ba]
mov byte [rbx + 0x532], al
jmp 0x1401f5b45
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x1401f5aa3
movups xmm0, xmmword [str.Windows_Server_2003_R2]
movups xmmword [rbx + 0x528], xmm0
mov eax, dword [0x1403507d0]
mov dword [rbx + 0x538], eax
movzx eax, word [0x1403507d4]
mov word [rbx + 0x53c], ax
movzx eax, byte [0x1403507d6]
mov byte [rbx + 0x53e], al
jmp 0x1401f5ac8
mov eax, 0x8000
test word [rbp + 0x48], ax
je 0x1401f5ac8
movups xmm0, xmmword [str.Windows_Home_Server]
movups xmmword [rbx + 0x528], xmm0
mov eax, dword [0x1403507e8]
mov dword [rbx + 0x538], eax
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x1401f5af3
movups xmm0, xmmword [str.Windows_Server_2003]
movups xmmword [rbx + 0x528], xmm0
mov eax, dword [0x140350800]
mov dword [rbx + 0x538], eax
jmp 0x1401f5b45
movups xmm0, xmmword [str.Windows_XP_Professional_x64_Edition]
movups xmmword [rbx + 0x528], xmm0
movups xmm1, xmmword [0x140350818]
movups xmmword [rbx + 0x538], xmm1
mov eax, dword [0x140350828]
mov dword [rbx + 0x548], eax
jmp 0x1401f5b45
movups xmm0, xmmword [str.Windows_98_or_earlier]
movups xmmword [rbx + 0x528], xmm0
mov eax, dword [0x140350840]
mov dword [rbx + 0x538], eax
movzx eax, word [0x140350844]
mov word [rbx + 0x53c], ax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.GetProductInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401f60b6
mov edx, dword [rbp - 0x48]
lea rcx, [rsp + 0x34]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov ecx, dword [rbp - 0x4c]
xor r8d, r8d
mov dword [rsp + 0x34], esi
call rax
mov r8d, dword [rsp + 0x34]
cmp r8d, 0xb
ja 0x1401f5db9
je 0x1401f5d8e
lea eax, [r8 - 1]
cmp eax, 9
ja case.0x1401f5de7.16
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x1f64d4]
add rax, rcx
jmp rax
lea rcx, [rbx + 0x527]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1401f5bc3
movups xmm0, xmmword [str.__Ultimate_Edition]
movups xmmword [rcx], xmm0
movzx eax, word [0x140350878]
mov word [rcx + 0x10], ax
movzx eax, byte [0x14035087a]
mov byte [rcx + 0x12], al
jmp 0x1401f60b6
lea rcx, [rbx + 0x527]
nop dword [rax + rax]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1401f5c00
movups xmm0, xmmword [str.__Home_Premium_Edition]
movups xmmword [rcx], xmm0
mov eax, dword [0x1403508a0]
mov dword [rcx + 0x10], eax
movzx eax, word [0x1403508a4]
mov word [rcx + 0x14], ax
movzx eax, byte [0x1403508a6]
mov byte [rcx + 0x16], al
jmp 0x1401f60b6
lea rcx, [rbx + 0x527]
nop
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1401f5c40
movups xmm0, xmmword [str.__Home_Basic_Edition]
movups xmmword [rcx], xmm0
mov eax, dword [0x1403508b8]
mov dword [rcx + 0x10], eax
movzx eax, byte [0x1403508bc]
mov byte [rcx + 0x14], al
jmp 0x1401f60b6
lea rcx, [rbx + 0x527]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1401f5c73
movups xmm0, xmmword [str.__Enterprise_Edition]
movups xmmword [rcx], xmm0
mov eax, dword [0x1403508d0]
mov dword [rcx + 0x10], eax
movzx eax, byte [0x1403508d4]
mov byte [rcx + 0x14], al
jmp 0x1401f60b6
lea rcx, [rbx + 0x527]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1401f5ca6
movups xmm0, xmmword [str.__Business_Edition]
movups xmmword [rcx], xmm0
movzx eax, word [0x1403508e8]
mov word [rcx + 0x10], ax
movzx eax, byte [0x1403508ea]
mov byte [rcx + 0x12], al
jmp 0x1401f60b6
lea rcx, [rbx + 0x527]
nop dword [rax + rax]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1401f5ce0
movups xmm0, xmmword [str.__Datacenter_Edition]
movups xmmword [rcx], xmm0
mov eax, dword [0x140350938]
mov dword [rcx + 0x10], eax
movzx eax, byte [0x14035093c]
mov byte [rcx + 0x14], al
jmp 0x1401f60b6
lea rcx, [rbx + 0x527]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1401f5d13
jmp 0x1401f5c7d
lea rax, [rbx + 0x527]
nop dword [rax]
cmp byte [rax + 1], sil
lea rax, [rax + 1]
jne 0x1401f5d30
movups xmm0, xmmword [str.__Small_Business_Server]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1403509e0]
movsd qword [rax + 0x10], xmm0
jmp 0x1401f60b6
lea rcx, [rbx + 0x527]
nop dword [rax]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1401f5d60
movups xmm0, xmmword [str.__Standard_Edition]
movups xmmword [rcx], xmm0
movzx eax, word [0x140350a20]
mov word [rcx + 0x10], ax
movzx eax, byte [0x140350a22]
mov byte [rcx + 0x12], al
jmp 0x1401f60b6
lea rcx, [rbx + 0x527]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1401f5d95
movups xmm0, xmmword [str.__Starter_Edition]
movups xmmword [rcx], xmm0
movzx eax, word [0x140350900]
mov word [rcx + 0x10], ax
jmp 0x1401f60b6
cmp r8d, 0x19
ja 0x1401f5fc4
je 0x1401f5f8c
lea eax, [r8 - 0xc]
cmp eax, 6
ja case.0x1401f5de7.16
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x1f64fc]
add rax, rcx
jmp rax
lea rcx, [rbx + 0x527]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1401f5df0
movups xmm0, xmmword [str.__Cluster_Server_Edition]
movups xmmword [rcx], xmm0
movsd xmm0, qword [0x140350918]
movsd qword [rcx + 0x10], xmm0
movzx eax, byte [0x140350920]
mov byte [rcx + 0x18], al
jmp 0x1401f60b6
lea rcx, [rbx + 0x527]
nop word [rax + rax]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1401f5e30
movups xmm0, xmmword [str.__Datacenter_Edition__core_installation_]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x140350950]
movups xmmword [rcx + 0x10], xmm1
movsd xmm0, qword [0x140350960]
movsd qword [rcx + 0x20], xmm0
movzx eax, byte [0x140350968]
mov byte [rcx + 0x28], al
jmp 0x1401f60b6
lea rcx, [rbx + 0x527]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1401f5e72
movups xmm0, xmmword [str.__Enterprise_Edition__core_installation_]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x140350980]
movups xmmword [rcx + 0x10], xmm1
movsd xmm0, qword [0x140350990]
movsd qword [rcx + 0x20], xmm0
movzx eax, byte [0x140350998]
mov byte [rcx + 0x28], al
jmp 0x1401f60b6
lea rcx, [rbx + 0x527]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1401f5eb4
movups xmm0, xmmword [str.__Enterprise_Edition_for_Itanium_based_Systems]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x1403509b0]
movups xmmword [rcx + 0x10], xmm1
movsd xmm0, qword [0x1403509c0]
movsd qword [rcx + 0x20], xmm0
mov eax, dword [0x1403509c8]
mov dword [rcx + 0x28], eax
movzx eax, word [0x1403509cc]
mov word [rcx + 0x2c], ax
movzx eax, byte [0x1403509ce]
mov byte [rcx + 0x2e], al
jmp 0x1401f60b6
lea rcx, [rbx + 0x527]
nop word [rax + rax]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1401f5f10
movups xmm0, xmmword [str.__Standard_Edition__core_installation_]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x140350a38]
movups xmmword [rcx + 0x10], xmm1
mov eax, dword [0x140350a48]
mov dword [rcx + 0x20], eax
movzx eax, word [0x140350a4c]
mov word [rcx + 0x24], ax
movzx eax, byte [0x140350a4e]
mov byte [rcx + 0x26], al
jmp 0x1401f60b6
lea rcx, [rbx + 0x527]
nop dword [rax]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1401f5f60
movups xmm0, xmmword [str.__Web_Server_Edition]
movups xmmword [rcx], xmm0
mov eax, dword [0x140350a60]
mov dword [rcx + 0x10], eax
movzx eax, byte [0x140350a64]
mov byte [rcx + 0x14], al
jmp 0x1401f60b6
lea rax, [rbx + 0x527]
cmp byte [rax + 1], sil
lea rax, [rax + 1]
jne 0x1401f5f93
movups xmm0, xmmword [str.__Small_Business_Server_Premium_Edition]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1403509f8]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x140350a08]
movsd qword [rax + 0x20], xmm0
jmp 0x1401f60b6
cmp r8d, 0x30
je 0x1401f607b
cmp r8d, 0xabcdabcd
je 0x1401f6042
xorps xmm0, xmm0
lea rdx, str.__Unknown_edition:__u
lea rcx, [rbp + 0x220]
movups xmmword [rbp + 0x220], xmm0
movups xmmword [rbp + 0x230], xmm0
movups xmmword [rbp + 0x240], xmm0
movups xmmword [rbp + 0x250], xmm0
call fcn.1400c7450
lea rcx, [rbx + 0x527]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1401f6010
lea r8, [rbp + 0x220]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1401f6030
jmp 0x1401f60b6
lea rcx, [rbx + 0x527]
nop dword [rax]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1401f6050
movsd xmm0, qword [str.__Unlicensed]
movsd qword [rcx], xmm0
mov eax, dword [0x140350860]
mov dword [rcx + 8], eax
movzx eax, byte [0x140350864]
mov byte [rcx + 0xc], al
jmp 0x1401f60b6
lea rcx, [rbx + 0x527]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1401f6082
movsd xmm0, qword [str.__Professional]
movsd qword [rcx], xmm0
mov eax, dword [0x140350888]
mov dword [rcx + 8], eax
movzx eax, word [0x14035088c]
mov word [rcx + 0xc], ax
movzx eax, byte [0x14035088e]
mov byte [rcx + 0xe], al
lea rcx, [rbx + 0x527]
nop dword [rax]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1401f60c0
movsd xmm0, qword [str.__64_bit]
lea r8, [rbx + 0x528]
movsd qword [rcx], xmm0
lea rdx, str.OS_name
movzx eax, byte [0x140350a88]
mov byte [rcx + 8], al
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + 0x80]
mov eax, dword [rbp - 0x44]
lea rcx, [rbx + 0x528]
mov r9d, dword [rbp - 0x48]
lea rdx, str._u._u._u
mov r8d, dword [rbp - 0x4c]
mov dword [rsp + 0x20], eax
call fcn.1400c7450
mov rax, qword [rbx]
lea r8, [rbx + 0x528]
lea rdx, str.OS_version_number
mov rcx, rbx
call qword [rax + 0x80]
cmp byte [rbp - 0x3c], sil
lea rcx, str._none_
mov rax, qword [rbx]
lea r8, [rbp - 0x3c]
cmove r8, rcx
lea rdx, str.OS_service_pack
mov rcx, rbx
call qword [rax + 0x80]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x80]
call fcn.1401f8e80
test al, al
lea rcx, [0x140350ad0]
lea r8, [0x140338ff8]
cmovne r8, rcx
lea rdx, str.Debugger_present
mov rcx, rbx
call rdi
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov r8d, dword [rsp + 0x58]
lea rcx, [rbx + 0x528]
lea rdx, [0x140327ac8]
call fcn.1400c7450
mov rax, qword [rbx]
lea r8, [rbx + 0x528]
lea rdx, str.CPU_count
mov rcx, rbx
call qword [rax + 0x80]
movzx eax, word [rsp + 0x38]
test ax, ax
jne 0x1401f61db
lea r8, [0x140350afc]
jmp 0x1401f61f7
cmp ax, 9
jne 0x1401f61ea
lea r8, str.x86_64
jmp 0x1401f61f7
cmp ax, 0xa
jne 0x1401f620a
lea r8, str.x86_on_x86_64
mov rax, qword [rbx]
lea rdx, str.Processor_type
mov rcx, rbx
call qword [rax + 0x80]
movzx r8d, word [rsp + 0x64]
lea rcx, [rbx + 0x528]
lea rdx, [0x140327ac8]
call fcn.1400c7450
mov rax, qword [rbx]
lea r8, [rbx + 0x528]
lea rdx, str.Processor_level
mov rcx, rbx
call qword [rax + 0x80]
movzx r8d, word [rsp + 0x66]
lea rcx, [rbx + 0x528]
lea rdx, [0x140327ac8]
call fcn.1400c7450
mov rax, qword [rbx]
lea r8, [rbx + 0x528]
lea rdx, str.Processor_revision
mov rcx, rbx
call qword [rax + 0x80]
xorps xmm0, xmm0
lea rcx, [rsp + 0x70]
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x70], 0x40
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x1401f6410
mov r8d, dword [rsp + 0x74]
lea rcx, [rbx + 0x528]
lea rdx, [0x140350b4c]
call fcn.1400c7450
mov rax, qword [rbx]
lea r8, [rbx + 0x528]
lea rdx, str.Memory_load
mov rcx, rbx
call qword [rax + 0x80]
mov r8, qword [rsp + 0x78]
lea rcx, [rbx + 0x528]
shr r8, 0x14
lea rdx, str._I64d_Mb
call fcn.1400c7450
mov rax, qword [rbx]
lea r8, [rbx + 0x528]
lea rdx, str.Total_physical_memory
mov rcx, rbx
call qword [rax + 0x80]
mov r8, qword [rbp - 0x80]
lea rcx, [rbx + 0x528]
shr r8, 0x14
lea rdx, str._I64d_Mb
call fcn.1400c7450
mov rax, qword [rbx]
lea r8, [rbx + 0x528]
lea rdx, str.Available_physical_memory
mov rcx, rbx
call qword [rax + 0x80]
mov r8, qword [rbp - 0x78]
lea rcx, [rbx + 0x528]
shr r8, 0x14
lea rdx, str._I64d_Mb
call fcn.1400c7450
mov rax, qword [rbx]
lea r8, [rbx + 0x528]
lea rdx, str.Total_page_file_memory
mov rcx, rbx
call qword [rax + 0x80]
mov r8, qword [rbp - 0x70]
lea rcx, [rbx + 0x528]
shr r8, 0x14
lea rdx, str._I64d_Mb
call fcn.1400c7450
mov rax, qword [rbx]
lea r8, [rbx + 0x528]
lea rdx, str.Available_page_file_memory
mov rcx, rbx
call qword [rax + 0x80]
mov r8, qword [rbp - 0x68]
lea rcx, [rbx + 0x528]
shr r8, 0x14
lea rdx, str._I64d_Mb
call fcn.1400c7450
mov rax, qword [rbx]
lea r8, [rbx + 0x528]
lea rdx, str.Total_virtual_memory
mov rcx, rbx
call qword [rax + 0x80]
mov r8, qword [rbp - 0x60]
lea rcx, [rbx + 0x528]
shr r8, 0x14
lea rdx, str._I64d_Mb
call fcn.1400c7450
mov rax, qword [rbx]
lea r8, [rbx + 0x528]
lea rdx, str.Free_virtual_memory
mov rcx, rbx
call qword [rax + 0x80]
xor edx, edx
lea rcx, [rbp + 0x50]
mov r8d, 0x1a8
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
mov dword [rbp + 0x50], 0x1a8
lea r8, [rbp + 0x50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayDevicesA]
test eax, eax
je 0x1401f64a8
nop dword [rax]
mov r9d, esi
lea r8, str.Display_Device__d
mov edx, 0x20
lea rcx, [rbp + 0x200]
call fcn.1400c7350
lea r9, [rbp + 0x74]
mov edx, 0x200
lea r8, [0x1402990b0]
lea rcx, [rbx + 0x528]
call fcn.1400c7350
mov rax, qword [rbx]
lea r8, [rbx + 0x528]
lea rdx, [rbp + 0x200]
mov rcx, rbx
call qword [rax + 0x80]
inc esi
lea r8, [rbp + 0x50]
mov edx, esi
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayDevicesA]
test eax, eax
jne 0x1401f6440
mov al, 1
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1401f11e0
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret