Function at 0x140302120
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 [0x140601e40]
xor rax, rsp
mov qword [rbp + 0x260], rax
cmp dword [rcx + 0x18], 0
mov rbx, rcx
je 0x140302189
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 0x1403021cc
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 0x1403021cc
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 0x14030220a
lea rcx, [rbx + 0x528]
mov dword [rsp + 0x30], 0x200
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jle 0x14030220a
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 0x140302c1c
movaps xmm0, xmmword [str.Unknown__probably_a_successor_to_Windows_7_or_Windows_server_2008.]
movups xmmword [rbx + 0x528], xmm0
movaps xmm1, xmmword [0x140522780]
movups xmmword [rbx + 0x538], xmm1
movaps xmm0, xmmword [0x140522790]
movups xmmword [rbx + 0x548], xmm0
movaps xmm1, xmmword [0x1405227a0]
movups xmmword [rbx + 0x558], xmm1
movzx eax, word [0x1405227b0]
mov word [rbx + 0x568], ax
movzx eax, byte [0x1405227b2]
mov byte [rbx + 0x56a], al
mov eax, dword [rbp - 0x4c]
cmp eax, 0xa
jb 0x140302326
cmp dword [rbp - 0x48], esi
jne 0x140302605
cmp byte [rbp + 0x4a], 1
jne 0x140302307
movsd xmm0, qword [str.Windows_10.0]
movsd qword [rbx + 0x528], xmm0
mov eax, dword [0x1405227c0]
mov dword [rbx + 0x530], eax
movzx eax, byte [0x1405227c4]
mov byte [rbx + 0x534], al
jmp 0x140302605
movups xmm0, xmmword [str.Windows_Server_2016]
movups xmmword [rbx + 0x528], xmm0
mov eax, dword [0x1405227d8]
mov dword [rbx + 0x538], eax
jmp 0x140302605
cmp eax, 6
jb 0x1403024aa
mov eax, dword [rbp - 0x48]
cmp eax, 4
jae 0x140302605
cmp eax, 3
jb 0x1403023a1
cmp byte [rbp + 0x4a], 1
jne 0x140302367
movsd xmm0, qword [str.Windows_8.1]
movsd qword [rbx + 0x528], xmm0
mov eax, dword [0x1405227e8]
mov dword [rbx + 0x530], eax
jmp 0x140302605
movups xmm0, xmmword [str.Windows_Server_2012_R2]
movups xmmword [rbx + 0x528], xmm0
mov eax, dword [0x140522800]
mov dword [rbx + 0x538], eax
movzx eax, word [0x140522804]
mov word [rbx + 0x53c], ax
movzx eax, byte [0x140522806]
mov byte [rbx + 0x53e], al
jmp 0x140302605
cmp eax, 2
jb 0x1403023ee
cmp byte [rbp + 0x4a], 1
jne 0x1403023cf
movsd xmm0, qword [str.Windows_8]
movsd qword [rbx + 0x528], xmm0
movzx eax, word [0x140522810]
mov word [rbx + 0x530], ax
jmp 0x140302605
movups xmm0, xmmword [str.Windows_Server_2012]
movups xmmword [rbx + 0x528], xmm0
mov eax, dword [0x140522828]
mov dword [rbx + 0x538], eax
jmp 0x140302605
cmp eax, 1
jb 0x140302456
cmp byte [rbp + 0x4a], 1
jne 0x14030241c
movsd xmm0, qword [str.Windows_7]
movsd qword [rbx + 0x528], xmm0
movzx eax, word [0x140522838]
mov word [rbx + 0x530], ax
jmp 0x140302605
movups xmm0, xmmword [str.Windows_Server_2008_R2]
movups xmmword [rbx + 0x528], xmm0
mov eax, dword [0x140522850]
mov dword [rbx + 0x538], eax
movzx eax, word [0x140522854]
mov word [rbx + 0x53c], ax
movzx eax, byte [0x140522856]
mov byte [rbx + 0x53e], al
jmp 0x140302605
cmp byte [rbp + 0x4a], 1
jne 0x14030248b
movsd xmm0, qword [str.Windows_Vista]
movsd qword [rbx + 0x528], xmm0
mov eax, dword [0x140522860]
mov dword [rbx + 0x530], eax
movzx eax, word [0x140522864]
mov word [rbx + 0x534], ax
jmp 0x140302605
movups xmm0, xmmword [str.Windows_Server_2008]
movups xmmword [rbx + 0x528], xmm0
mov eax, dword [0x140522878]
mov dword [rbx + 0x538], eax
jmp 0x140302605
cmp eax, 5
jb 0x1403025dd
mov eax, dword [rbp - 0x48]
test eax, eax
jne 0x1403024e8
movsd xmm0, qword [str.Windows_2000]
movsd qword [rbx + 0x528], xmm0
mov eax, dword [0x140522888]
mov dword [rbx + 0x530], eax
movzx eax, byte [0x14052288c]
mov byte [rbx + 0x534], al
jmp 0x140302605
cmp eax, 1
jne 0x14030251d
movsd xmm0, qword [str.Windows_XP]
movsd qword [rbx + 0x528], xmm0
movzx eax, word [0x140522898]
mov word [rbx + 0x530], ax
movzx eax, byte [0x14052289a]
mov byte [rbx + 0x532], al
jmp 0x140302605
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x140302563
movups xmm0, xmmword [str.Windows_Server_2003_R2]
movups xmmword [rbx + 0x528], xmm0
mov eax, dword [0x1405228b0]
mov dword [rbx + 0x538], eax
movzx eax, word [0x1405228b4]
mov word [rbx + 0x53c], ax
movzx eax, byte [0x1405228b6]
mov byte [rbx + 0x53e], al
jmp 0x140302588
mov eax, 0x8000
test word [rbp + 0x48], ax
je 0x140302588
movups xmm0, xmmword [str.Windows_Home_Server]
movups xmmword [rbx + 0x528], xmm0
mov eax, dword [0x1405228c8]
mov dword [rbx + 0x538], eax
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x1403025b3
movups xmm0, xmmword [str.Windows_Server_2003]
movups xmmword [rbx + 0x528], xmm0
mov eax, dword [0x1405228e0]
mov dword [rbx + 0x538], eax
jmp 0x140302605
movups xmm0, xmmword [str.Windows_XP_Professional_x64_Edition]
movups xmmword [rbx + 0x528], xmm0
movups xmm1, xmmword [0x1405228f8]
movups xmmword [rbx + 0x538], xmm1
mov eax, dword [0x140522908]
mov dword [rbx + 0x548], eax
jmp 0x140302605
movups xmm0, xmmword [str.Windows_98_or_earlier]
movups xmmword [rbx + 0x528], xmm0
mov eax, dword [0x140522920]
mov dword [rbx + 0x538], eax
movzx eax, word [0x140522924]
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 0x140302b76
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 0x140302879
je 0x14030284e
lea eax, [r8 - 1]
cmp eax, 9
ja case.0x1403028a7.16
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x302f94]
add rax, rcx
jmp rax
lea rcx, [rbx + 0x527]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140302683
movups xmm0, xmmword [str.__Ultimate_Edition]
movups xmmword [rcx], xmm0
movzx eax, word [0x140522958]
mov word [rcx + 0x10], ax
movzx eax, byte [0x14052295a]
mov byte [rcx + 0x12], al
jmp 0x140302b76
lea rcx, [rbx + 0x527]
nop dword [rax + rax]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1403026c0
movups xmm0, xmmword [str.__Home_Premium_Edition]
movups xmmword [rcx], xmm0
mov eax, dword [0x140522980]
mov dword [rcx + 0x10], eax
movzx eax, word [0x140522984]
mov word [rcx + 0x14], ax
movzx eax, byte [0x140522986]
mov byte [rcx + 0x16], al
jmp 0x140302b76
lea rcx, [rbx + 0x527]
nop
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140302700
movups xmm0, xmmword [str.__Home_Basic_Edition]
movups xmmword [rcx], xmm0
mov eax, dword [0x140522998]
mov dword [rcx + 0x10], eax
movzx eax, byte [0x14052299c]
mov byte [rcx + 0x14], al
jmp 0x140302b76
lea rcx, [rbx + 0x527]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140302733
movups xmm0, xmmword [str.__Enterprise_Edition]
movups xmmword [rcx], xmm0
mov eax, dword [0x1405229b0]
mov dword [rcx + 0x10], eax
movzx eax, byte [0x1405229b4]
mov byte [rcx + 0x14], al
jmp 0x140302b76
lea rcx, [rbx + 0x527]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140302766
movups xmm0, xmmword [str.__Business_Edition]
movups xmmword [rcx], xmm0
movzx eax, word [0x1405229c8]
mov word [rcx + 0x10], ax
movzx eax, byte [0x1405229ca]
mov byte [rcx + 0x12], al
jmp 0x140302b76
lea rcx, [rbx + 0x527]
nop dword [rax + rax]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1403027a0
movups xmm0, xmmword [str.__Datacenter_Edition]
movups xmmword [rcx], xmm0
mov eax, dword [0x140522a18]
mov dword [rcx + 0x10], eax
movzx eax, byte [0x140522a1c]
mov byte [rcx + 0x14], al
jmp 0x140302b76
lea rcx, [rbx + 0x527]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1403027d3
jmp 0x14030273d
lea rax, [rbx + 0x527]
nop dword [rax]
cmp byte [rax + 1], sil
lea rax, [rax + 1]
jne 0x1403027f0
movups xmm0, xmmword [str.__Small_Business_Server]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x140522ac0]
movsd qword [rax + 0x10], xmm0
jmp 0x140302b76
lea rcx, [rbx + 0x527]
nop dword [rax]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140302820
movups xmm0, xmmword [str.__Standard_Edition]
movups xmmword [rcx], xmm0
movzx eax, word [0x140522b00]
mov word [rcx + 0x10], ax
movzx eax, byte [0x140522b02]
mov byte [rcx + 0x12], al
jmp 0x140302b76
lea rcx, [rbx + 0x527]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140302855
movups xmm0, xmmword [str.__Starter_Edition]
movups xmmword [rcx], xmm0
movzx eax, word [0x1405229e0]
mov word [rcx + 0x10], ax
jmp 0x140302b76
cmp r8d, 0x19
ja 0x140302a84
je 0x140302a4c
lea eax, [r8 - 0xc]
cmp eax, 6
ja case.0x1403028a7.16
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x302fbc]
add rax, rcx
jmp rax
lea rcx, [rbx + 0x527]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1403028b0
movups xmm0, xmmword [str.__Cluster_Server_Edition]
movups xmmword [rcx], xmm0
movsd xmm0, qword [0x1405229f8]
movsd qword [rcx + 0x10], xmm0
movzx eax, byte [0x140522a00]
mov byte [rcx + 0x18], al
jmp 0x140302b76
lea rcx, [rbx + 0x527]
nop word [rax + rax]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1403028f0
movups xmm0, xmmword [str.__Datacenter_Edition__core_installation_]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x140522a30]
movups xmmword [rcx + 0x10], xmm1
movsd xmm0, qword [0x140522a40]
movsd qword [rcx + 0x20], xmm0
movzx eax, byte [0x140522a48]
mov byte [rcx + 0x28], al
jmp 0x140302b76
lea rcx, [rbx + 0x527]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140302932
movups xmm0, xmmword [str.__Enterprise_Edition__core_installation_]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x140522a60]
movups xmmword [rcx + 0x10], xmm1
movsd xmm0, qword [0x140522a70]
movsd qword [rcx + 0x20], xmm0
movzx eax, byte [0x140522a78]
mov byte [rcx + 0x28], al
jmp 0x140302b76
lea rcx, [rbx + 0x527]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140302974
movups xmm0, xmmword [str.__Enterprise_Edition_for_Itanium_based_Systems]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x140522a90]
movups xmmword [rcx + 0x10], xmm1
movsd xmm0, qword [0x140522aa0]
movsd qword [rcx + 0x20], xmm0
mov eax, dword [0x140522aa8]
mov dword [rcx + 0x28], eax
movzx eax, word [0x140522aac]
mov word [rcx + 0x2c], ax
movzx eax, byte [0x140522aae]
mov byte [rcx + 0x2e], al
jmp 0x140302b76
lea rcx, [rbx + 0x527]
nop word [rax + rax]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1403029d0
movups xmm0, xmmword [str.__Standard_Edition__core_installation_]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x140522b18]
movups xmmword [rcx + 0x10], xmm1
mov eax, dword [0x140522b28]
mov dword [rcx + 0x20], eax
movzx eax, word [0x140522b2c]
mov word [rcx + 0x24], ax
movzx eax, byte [0x140522b2e]
mov byte [rcx + 0x26], al
jmp 0x140302b76
lea rcx, [rbx + 0x527]
nop dword [rax]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140302a20
movups xmm0, xmmword [str.__Web_Server_Edition]
movups xmmword [rcx], xmm0
mov eax, dword [0x140522b40]
mov dword [rcx + 0x10], eax
movzx eax, byte [0x140522b44]
mov byte [rcx + 0x14], al
jmp 0x140302b76
lea rax, [rbx + 0x527]
cmp byte [rax + 1], sil
lea rax, [rax + 1]
jne 0x140302a53
movups xmm0, xmmword [str.__Small_Business_Server_Premium_Edition]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140522ad8]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x140522ae8]
movsd qword [rax + 0x20], xmm0
jmp 0x140302b76
cmp r8d, 0x30
je 0x140302b3b
cmp r8d, 0xabcdabcd
je 0x140302b02
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.1402f8b00
lea rcx, [rbx + 0x527]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140302ad0
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 0x140302af0
jmp 0x140302b76
lea rcx, [rbx + 0x527]
nop dword [rax]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140302b10
movsd xmm0, qword [str.__Unlicensed]
movsd qword [rcx], xmm0
mov eax, dword [0x140522940]
mov dword [rcx + 8], eax
movzx eax, byte [0x140522944]
mov byte [rcx + 0xc], al
jmp 0x140302b76
lea rcx, [rbx + 0x527]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140302b42
movsd xmm0, qword [str.__Professional]
movsd qword [rcx], xmm0
mov eax, dword [0x140522968]
mov dword [rcx + 8], eax
movzx eax, word [0x14052296c]
mov word [rcx + 0xc], ax
movzx eax, byte [0x14052296e]
mov byte [rcx + 0xe], al
lea rcx, [rbx + 0x527]
nop dword [rax]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140302b80
movsd xmm0, qword [str.__64_bit]
lea r8, [rbx + 0x528]
movsd qword [rcx], xmm0
lea rdx, str.OS_name
movzx eax, byte [0x140522b68]
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.1402f8b00
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, [0x14047a67c]
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.140305940
test al, al
lea rcx, [0x14043a834]
lea r8, [0x14043a844]
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, [0x14043b33c]
call fcn.1402f8b00
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 0x140302c9b
lea r8, [0x140522bd4]
jmp 0x140302cb7
cmp ax, 9
jne 0x140302caa
lea r8, str.x86_64
jmp 0x140302cb7
cmp ax, 0xa
jne 0x140302cca
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, [0x14043b33c]
call fcn.1402f8b00
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, [0x14043b33c]
call fcn.1402f8b00
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 0x140302ed0
mov r8d, dword [rsp + 0x74]
lea rcx, [rbx + 0x528]
lea rdx, str._d__
call fcn.1402f8b00
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.1402f8b00
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.1402f8b00
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.1402f8b00
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.1402f8b00
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.1402f8b00
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.1402f8b00
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 0x140302f68
nop dword [rax]
mov r9d, esi
lea r8, str.Display_Device__d
mov edx, 0x20
lea rcx, [rbp + 0x200]
call fcn.1402f8a00
lea r9, [rbp + 0x74]
mov edx, 0x200
lea r8, [0x140446fc0]
lea rcx, [rbx + 0x528]
call fcn.1402f8a00
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 0x140302f00
mov al, 1
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.140284180
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