Function at 0x140155470
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 - 0x250]
sub rsp, 0x350
mov rax, qword [0x1402922b8]
xor rax, rsp
mov qword [rbp + 0x240], rax
cmp dword [rcx + 0x18], 0
mov rdi, rcx
je 0x1401554d9
mov rax, qword [rcx]
lea rdx, [rbp + 0x200]
mov r8d, 0x20
call qword [rax + 0xe0]
mov rax, qword [rdi]
lea r8, [rbp + 0x200]
lea rdx, str.Computer_name
mov rcx, rdi
call qword [rax + 0x80]
cmp dword [rdi + 0x18], 0
je 0x14015551c
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], 0x200
lea rdx, [rdi + 0x528]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExA]
test eax, eax
jle 0x14015551c
mov rax, qword [rdi]
lea r8, [rdi + 0x528]
lea rdx, str.Computer_DNS_name
mov rcx, rdi
call qword [rax + 0x80]
cmp dword [rdi + 0x14], 0
je 0x14015555a
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x200
lea rcx, [rdi + 0x528]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jle 0x14015555a
mov rax, qword [rdi]
lea r8, [rdi + 0x528]
lea rdx, str.User_name
mov rcx, rdi
call qword [rax + 0x80]
mov rax, qword [rdi]
lea r8, str.Windows_on_x64
lea rdx, str.EA_PLATFORM
mov rcx, rdi
call qword [rax + 0x80]
xor edx, edx
lea rcx, [rbp - 0x50]
mov r8d, 0x9c
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x50]
mov dword [rbp - 0x50], 0x9c
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
xor esi, esi
test eax, eax
je 0x140155e60
movaps xmm0, xmmword [str.Unknown__probably_a_successor_to_Windows_7_or_Windows_server_2008.]
lea rbx, [rdi + 0x528]
movups xmmword [rbx], xmm0
movaps xmm1, xmmword [0x140237910]
movups xmmword [rbx + 0x10], xmm1
movaps xmm0, xmmword [0x140237920]
movups xmmword [rbx + 0x20], xmm0
movaps xmm1, xmmword [0x140237930]
movups xmmword [rbx + 0x30], xmm1
movzx eax, word [0x140237940]
mov word [rbx + 0x40], ax
movzx eax, byte [0x140237942]
mov byte [rbx + 0x42], al
mov eax, dword [rbp - 0x4c]
cmp eax, 0xa
jb 0x14015563a
cmp dword [rbp - 0x48], esi
jne 0x14015588f
cmp byte [rbp + 0x4a], 1
jne 0x140155622
movsd xmm0, qword [str.Windows_10.0]
movsd qword [rbx], xmm0
mov eax, dword [0x140237950]
mov dword [rbx + 8], eax
movzx eax, byte [0x140237954]
mov byte [rbx + 0xc], al
jmp 0x14015588f
movups xmm0, xmmword [str.Windows_Server_2016]
movups xmmword [rbx], xmm0
mov eax, dword [0x140237968]
mov dword [rbx + 0x10], eax
jmp 0x14015588f
cmp eax, 6
jb 0x140155777
mov eax, dword [rbp - 0x48]
cmp eax, 4
jae 0x14015588f
cmp eax, 3
jb 0x1401556a1
cmp byte [rbp + 0x4a], 1
jne 0x140155674
movsd xmm0, qword [str.Windows_8.1]
movsd qword [rbx], xmm0
mov eax, dword [0x140237978]
mov dword [rbx + 8], eax
jmp 0x14015588f
movups xmm0, xmmword [str.Windows_Server_2012_R2]
movups xmmword [rbx], xmm0
mov eax, dword [0x140237990]
mov dword [rbx + 0x10], eax
movzx eax, word [0x140237994]
mov word [rbx + 0x14], ax
movzx eax, byte [0x140237996]
mov byte [rbx + 0x16], al
jmp 0x14015588f
cmp eax, 2
jb 0x1401556e0
cmp byte [rbp + 0x4a], 1
jne 0x1401556c8
movsd xmm0, qword [str.Windows_8]
movsd qword [rbx], xmm0
movzx eax, word [0x1402379a0]
mov word [rbx + 8], ax
jmp 0x14015588f
movups xmm0, xmmword [str.Windows_Server_2012]
movups xmmword [rbx], xmm0
mov eax, dword [0x1402379b8]
mov dword [rbx + 0x10], eax
jmp 0x14015588f
cmp eax, 1
jb 0x140155734
cmp byte [rbp + 0x4a], 1
jne 0x140155707
movsd xmm0, qword [str.Windows_7]
movsd qword [rbx], xmm0
movzx eax, word [0x1402379c8]
mov word [rbx + 8], ax
jmp 0x14015588f
movups xmm0, xmmword [str.Windows_Server_2008_R2]
movups xmmword [rbx], xmm0
mov eax, dword [0x1402379e0]
mov dword [rbx + 0x10], eax
movzx eax, word [0x1402379e4]
mov word [rbx + 0x14], ax
movzx eax, byte [0x1402379e6]
mov byte [rbx + 0x16], al
jmp 0x14015588f
cmp byte [rbp + 0x4a], 1
jne 0x14015575f
movsd xmm0, qword [str.Windows_Vista]
movsd qword [rbx], xmm0
mov eax, dword [0x1402379f0]
mov dword [rbx + 8], eax
movzx eax, word [0x1402379f4]
mov word [rbx + 0xc], ax
jmp 0x14015588f
movups xmm0, xmmword [str.Windows_Server_2008]
movups xmmword [rbx], xmm0
mov eax, dword [0x140237a08]
mov dword [rbx + 0x10], eax
jmp 0x14015588f
cmp eax, 5
jb 0x140155871
mov eax, dword [rbp - 0x48]
test eax, eax
jne 0x1401557ab
movsd xmm0, qword [str.Windows_2000]
movsd qword [rbx], xmm0
mov eax, dword [0x140237a18]
mov dword [rbx + 8], eax
movzx eax, byte [0x140237a1c]
mov byte [rbx + 0xc], al
jmp 0x14015588f
cmp eax, 1
jne 0x1401557d6
movsd xmm0, qword [str.Windows_XP]
movsd qword [rbx], xmm0
movzx eax, word [0x140237a28]
mov word [rbx + 8], ax
movzx eax, byte [0x140237a2a]
mov byte [rbx + 0xa], al
jmp 0x14015588f
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x14015580f
movups xmm0, xmmword [str.Windows_Server_2003_R2]
movups xmmword [rbx], xmm0
mov eax, dword [0x140237a40]
mov dword [rbx + 0x10], eax
movzx eax, word [0x140237a44]
mov word [rbx + 0x14], ax
movzx eax, byte [0x140237a46]
mov byte [rbx + 0x16], al
jmp 0x14015582d
mov eax, 0x8000
test word [rbp + 0x48], ax
je 0x14015582d
movups xmm0, xmmword [str.Windows_Home_Server]
movups xmmword [rbx], xmm0
mov eax, dword [0x140237a58]
mov dword [rbx + 0x10], eax
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x140155851
movups xmm0, xmmword [str.Windows_Server_2003]
movups xmmword [rbx], xmm0
mov eax, dword [0x140237a70]
mov dword [rbx + 0x10], eax
jmp 0x14015588f
movups xmm0, xmmword [str.Windows_XP_Professional_x64_Edition]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [0x140237a88]
movups xmmword [rbx + 0x10], xmm1
mov eax, dword [0x140237a98]
mov dword [rbx + 0x20], eax
jmp 0x14015588f
movups xmm0, xmmword [str.Windows_98_or_earlier]
movups xmmword [rbx], xmm0
mov eax, dword [0x140237ab0]
mov dword [rbx + 0x10], eax
movzx eax, word [0x140237ab4]
mov word [rbx + 0x14], 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 0x140155dc9
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 0x140155ad6
je 0x140155aae
lea eax, [r8 - 1]
cmp eax, 9
ja case.0x140155b04.16
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x15619c]
add rax, rcx
jmp rax
lea rcx, [rbx - 1]
nop word [rax + rax]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140155910
movups xmm0, xmmword [str.__Ultimate_Edition]
movups xmmword [rcx], xmm0
movzx eax, word [0x140237ae8]
mov word [rcx + 0x10], ax
movzx eax, byte [0x140237aea]
mov byte [rcx + 0x12], al
jmp 0x140155dc9
lea rcx, [rbx - 1]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140155942
movups xmm0, xmmword [str.__Home_Premium_Edition]
movups xmmword [rcx], xmm0
mov eax, dword [0x140237b10]
mov dword [rcx + 0x10], eax
movzx eax, word [0x140237b14]
mov word [rcx + 0x14], ax
movzx eax, byte [0x140237b16]
mov byte [rcx + 0x16], al
jmp 0x140155dc9
lea rcx, [rbx - 1]
nop dword [rax]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140155980
movups xmm0, xmmword [str.__Home_Basic_Edition]
movups xmmword [rcx], xmm0
mov eax, dword [0x140237b28]
mov dword [rcx + 0x10], eax
movzx eax, byte [0x140237b2c]
mov byte [rcx + 0x14], al
jmp 0x140155dc9
lea rcx, [rbx - 1]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1401559b0
movups xmm0, xmmword [str.__Enterprise_Edition]
movups xmmword [rcx], xmm0
mov eax, dword [0x140237b40]
mov dword [rcx + 0x10], eax
movzx eax, byte [0x140237b44]
mov byte [rcx + 0x14], al
jmp 0x140155dc9
lea rcx, [rbx - 1]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1401559e0
movups xmm0, xmmword [str.__Business_Edition]
movups xmmword [rcx], xmm0
movzx eax, word [0x140237b58]
mov word [rcx + 0x10], ax
movzx eax, byte [0x140237b5a]
mov byte [rcx + 0x12], al
jmp 0x140155dc9
lea rcx, [rbx - 1]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140155a12
movups xmm0, xmmword [str.__Datacenter_Edition]
movups xmmword [rcx], xmm0
mov eax, dword [0x140237ba8]
mov dword [rcx + 0x10], eax
movzx eax, byte [0x140237bac]
mov byte [rcx + 0x14], al
jmp 0x140155dc9
lea rcx, [rbx - 1]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140155a42
jmp 0x1401559ba
lea rax, [rbx - 1]
cmp byte [rax + 1], sil
lea rax, [rax + 1]
jne 0x140155a55
movups xmm0, xmmword [str.__Small_Business_Server]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x140237c50]
movsd qword [rax + 0x10], xmm1
jmp 0x140155dc9
lea rcx, [rbx - 1]
nop
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140155a80
movups xmm0, xmmword [str.__Standard_Edition]
movups xmmword [rcx], xmm0
movzx eax, word [0x140237c90]
mov word [rcx + 0x10], ax
movzx eax, byte [0x140237c92]
mov byte [rcx + 0x12], al
jmp 0x140155dc9
lea rcx, [rbx - 1]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140155ab2
movups xmm0, xmmword [str.__Starter_Edition]
movups xmmword [rcx], xmm0
movzx eax, word [0x140237b70]
mov word [rcx + 0x10], ax
jmp 0x140155dc9
cmp r8d, 0x19
ja 0x140155cc1
je 0x140155c8c
lea eax, [r8 - 0xc]
cmp eax, 6
ja case.0x140155b04.16
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x1561c4]
add rax, rcx
jmp rax
lea rcx, [rbx - 1]
nop word [rax + rax]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140155b10
movups xmm0, xmmword [str.__Cluster_Server_Edition]
movups xmmword [rcx], xmm0
movsd xmm1, qword [0x140237b88]
movsd qword [rcx + 0x10], xmm1
movzx eax, byte [0x140237b90]
mov byte [rcx + 0x18], al
jmp 0x140155dc9
lea rcx, [rbx - 1]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140155b44
movups xmm0, xmmword [str.__Datacenter_Edition__core_installation_]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x140237bc0]
movups xmmword [rcx + 0x10], xmm1
movsd xmm0, qword [0x140237bd0]
movsd qword [rcx + 0x20], xmm0
movzx eax, byte [0x140237bd8]
mov byte [rcx + 0x28], al
jmp 0x140155dc9
lea rcx, [rbx - 1]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140155b83
movups xmm0, xmmword [str.__Enterprise_Edition__core_installation_]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x140237bf0]
movups xmmword [rcx + 0x10], xmm1
movsd xmm0, qword [0x140237c00]
movsd qword [rcx + 0x20], xmm0
movzx eax, byte [0x140237c08]
mov byte [rcx + 0x28], al
jmp 0x140155dc9
lea rcx, [rbx - 1]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140155bc2
movups xmm0, xmmword [str.__Enterprise_Edition_for_Itanium_based_Systems]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x140237c20]
movups xmmword [rcx + 0x10], xmm1
movsd xmm0, qword [0x140237c30]
movsd qword [rcx + 0x20], xmm0
mov eax, dword [0x140237c38]
mov dword [rcx + 0x28], eax
movzx eax, word [0x140237c3c]
mov word [rcx + 0x2c], ax
movzx eax, byte [0x140237c3e]
mov byte [rcx + 0x2e], al
jmp 0x140155dc9
lea rcx, [rbx - 1]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140155c15
movups xmm0, xmmword [str.__Standard_Edition__core_installation_]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x140237ca8]
movups xmmword [rcx + 0x10], xmm1
mov eax, dword [0x140237cb8]
mov dword [rcx + 0x20], eax
movzx eax, word [0x140237cbc]
mov word [rcx + 0x24], ax
movzx eax, byte [0x140237cbe]
mov byte [rcx + 0x26], al
jmp 0x140155dc9
lea rcx, [rbx - 1]
nop dword [rax + rax]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140155c60
movups xmm0, xmmword [str.__Web_Server_Edition]
movups xmmword [rcx], xmm0
mov eax, dword [0x140237cd0]
mov dword [rcx + 0x10], eax
movzx eax, byte [0x140237cd4]
mov byte [rcx + 0x14], al
jmp 0x140155dc9
lea rax, [rbx - 1]
cmp byte [rax + 1], sil
lea rax, [rax + 1]
jne 0x140155c90
movups xmm0, xmmword [str.__Small_Business_Server_Premium_Edition]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140237c68]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x140237c78]
movsd qword [rax + 0x20], xmm0
jmp 0x140155dc9
cmp r8d, 0x30
je 0x140155d91
cmp r8d, 0xabcdabcd
je 0x140155d62
xor eax, eax
lea rdx, str.__Unknown_edition:__u
lea rcx, [rbp + 0x200]
mov qword [rbp + 0x200], rax
mov qword [rbp + 0x208], rax
mov qword [rbp + 0x210], rax
mov qword [rbp + 0x218], rax
mov qword [rbp + 0x220], rax
mov qword [rbp + 0x228], rax
mov qword [rbp + 0x230], rax
mov qword [rbp + 0x238], rax
call fcn.14004b900
lea rcx, [rbx - 1]
nop dword [rax]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140155d30
lea r8, [rbp + 0x200]
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 0x140155d50
jmp 0x140155dc9
lea rcx, [rbx - 1]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140155d66
movsd xmm0, qword [str.__Unlicensed]
movsd qword [rcx], xmm0
mov eax, dword [0x140237ad0]
mov dword [rcx + 8], eax
movzx eax, byte [0x140237ad4]
mov byte [rcx + 0xc], al
jmp 0x140155dc9
lea rcx, [rbx - 1]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140155d95
movsd xmm0, qword [str.__Professional]
movsd qword [rcx], xmm0
mov eax, dword [0x140237af8]
mov dword [rcx + 8], eax
movzx eax, word [0x140237afc]
mov word [rcx + 0xc], ax
movzx eax, byte [0x140237afe]
mov byte [rcx + 0xe], al
lea rcx, [rbx - 1]
nop dword [rax]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140155dd0
movsd xmm0, qword [str.__64_bit]
lea rdx, str.OS_name
movsd qword [rcx], xmm0
mov r8, rbx
movzx eax, byte [0x140237cf8]
mov byte [rcx + 8], al
mov rcx, rdi
mov rax, qword [rdi]
call qword [rax + 0x80]
mov eax, dword [rbp - 0x44]
lea rdx, str._u._u._u
mov r9d, dword [rbp - 0x48]
mov rcx, rbx
mov r8d, dword [rbp - 0x4c]
mov dword [rsp + 0x20], eax
call fcn.14004b900
mov rax, qword [rdi]
lea rdx, str.OS_version_number
mov r8, rbx
mov rcx, rdi
call qword [rax + 0x80]
cmp byte [rbp - 0x3c], sil
lea rcx, [0x1401a2310]
mov rax, qword [rdi]
lea r8, [rbp - 0x3c]
cmove r8, rcx
lea rdx, str.OS_service_pack
mov rcx, rdi
call qword [rax + 0x80]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x80]
call fcn.1401584c0
test al, al
lea rcx, [0x140237d40]
lea r8, [0x14018ff54]
cmovne r8, rcx
lea rdx, str.Debugger_present
mov rcx, rdi
call rbx
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov r8d, dword [rsp + 0x58]
lea rbx, [rdi + 0x528]
mov rcx, rbx
lea rdx, [0x14022f354]
call fcn.14004b900
mov rax, qword [rdi]
lea rdx, str.CPU_count
mov r8, rbx
mov rcx, rdi
call qword [rax + 0x80]
movzx eax, word [rsp + 0x38]
test ax, ax
jne 0x140155ede
lea r8, [0x140237d6c]
jmp 0x140155efa
cmp ax, 9
jne 0x140155eed
lea r8, str.x86_64
jmp 0x140155efa
cmp ax, 0xa
jne 0x140155f0d
lea r8, str.x86_on_x86_64
mov rax, qword [rdi]
lea rdx, str.Processor_type
mov rcx, rdi
call qword [rax + 0x80]
movzx r8d, word [rsp + 0x64]
lea rdx, [0x14022f354]
mov rcx, rbx
call fcn.14004b900
mov rax, qword [rdi]
lea rdx, str.Processor_level
mov r8, rbx
mov rcx, rdi
call qword [rax + 0x80]
movzx r8d, word [rsp + 0x66]
lea rdx, [0x14022f354]
mov rcx, rbx
call fcn.14004b900
mov rax, qword [rdi]
lea rdx, str.Processor_revision
mov r8, rbx
mov rcx, rdi
call qword [rax + 0x80]
xor eax, eax
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x70], 0x40
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x1401560db
mov r8d, dword [rsp + 0x74]
lea rdx, str._d__
mov rcx, rbx
call fcn.14004b900
mov rax, qword [rdi]
lea rdx, str.Memory_load
mov r8, rbx
mov rcx, rdi
call qword [rax + 0x80]
mov r8, qword [rsp + 0x78]
lea rdx, str._I64d_Mb
shr r8, 0x14
mov rcx, rbx
call fcn.14004b900
mov rax, qword [rdi]
lea rdx, str.Total_physical_memory
mov r8, rbx
mov rcx, rdi
call qword [rax + 0x80]
mov r8, qword [rbp - 0x80]
lea rdx, str._I64d_Mb
shr r8, 0x14
mov rcx, rbx
call fcn.14004b900
mov rax, qword [rdi]
lea rdx, str.Available_physical_memory
mov r8, rbx
mov rcx, rdi
call qword [rax + 0x80]
mov r8, qword [rbp - 0x78]
lea rdx, str._I64d_Mb
shr r8, 0x14
mov rcx, rbx
call fcn.14004b900
mov rax, qword [rdi]
lea rdx, str.Total_page_file_memory
mov r8, rbx
mov rcx, rdi
call qword [rax + 0x80]
mov r8, qword [rbp - 0x70]
lea rdx, str._I64d_Mb
shr r8, 0x14
mov rcx, rbx
call fcn.14004b900
mov rax, qword [rdi]
lea rdx, str.Available_page_file_memory
mov r8, rbx
mov rcx, rdi
call qword [rax + 0x80]
mov r8, qword [rbp - 0x68]
lea rdx, str._I64d_Mb
shr r8, 0x14
mov rcx, rbx
call fcn.14004b900
mov rax, qword [rdi]
lea rdx, str.Total_virtual_memory
mov r8, rbx
mov rcx, rdi
call qword [rax + 0x80]
mov r8, qword [rbp - 0x60]
lea rdx, str._I64d_Mb
shr r8, 0x14
mov rcx, rbx
call fcn.14004b900
mov rax, qword [rdi]
lea rdx, str.Free_virtual_memory
mov r8, rbx
mov rcx, rdi
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 0x140156170
nop dword [rax + rax]
mov r9d, esi
lea r8, str.Display_Device__d
mov edx, 0x20
lea rcx, [rbp + 0x200]
call fcn.14004b8c0
lea r9, [rbp + 0x74]
mov edx, 0x200
lea r8, [0x1401a4120]
mov rcx, rbx
call fcn.14004b8c0
mov rax, qword [rdi]
lea rdx, [rbp + 0x200]
mov r8, rbx
mov rcx, rdi
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 0x140156110
mov al, 1
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.14012fd90
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret