Function at 0x18000a410
Capabilities:
Get memory capacity
Get system information on windows
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x180057040]
xor rax, rsp
mov qword [rbp + 0x208], rax
mov rsi, rcx
mov qword [rsp + 0x60], rcx
mov edx, 4
lea r8d, [rdx + 0xc]
lea rcx, str.Square_of__d_is__d_n
call fcn.1800011b0
mov edx, 7
lea rcx, str._d_is_odd_n
call fcn.1800011b0
mov dword [rbp + 0x40], 0x1a8
xor ebx, ebx
xor r9d, r9d
lea r8, [rbp + 0x40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayDevicesA]
test eax, eax
je 0x18000a5a6
mov edi, 0x9c
nop dword [rax]
lea rdx, str.Display_Device_Name:
lea rcx, [0x18005d270]
call fcn.180018200
mov rcx, rax
lea rdx, [rbp + 0x44]
call fcn.180018200
mov rcx, rax
call fcn.180018470
lea rdx, str.Display_Device_String:
lea rcx, [0x18005d270]
call fcn.180018200
mov rcx, rax
lea rdx, [rbp + 0x64]
call fcn.180018200
mov rcx, rax
call fcn.180018470
mov word [rbp - 0x6c], di
lea r8, [rsp + 0x70]
mov edx, 0xffffffff
lea rcx, [rbp + 0x44]
call qword [sym.imp.USER32.dll_EnumDisplaySettingsA]
test eax, eax
je 0x18000a57f
lea rdx, str.Display_Resolution:
lea rcx, [0x18005d270]
call fcn.180018200
mov rcx, rax
mov edx, dword [rbp - 0x24]
call fcn.1800157a0
mov rcx, rax
lea rdx, [0x180050f10]
call fcn.180018200
mov rcx, rax
mov edx, dword [rbp - 0x20]
call fcn.1800157a0
mov rcx, rax
call fcn.180018470
lea rdx, str.Display_Refresh_Rate:
lea rcx, [0x18005d270]
call fcn.180018200
mov rcx, rax
mov edx, dword [rbp - 0x18]
call fcn.1800157a0
mov rcx, rax
lea rdx, [0x180050f30]
call fcn.180018200
mov rcx, rax
call fcn.180018470
lea rcx, [0x18005d270]
call fcn.180018470
inc ebx
xor r9d, r9d
lea r8, [rbp + 0x40]
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayDevicesA]
test eax, eax
jne 0x18000a4a0
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
mov dword [rsp + 0x70], 0x94
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x18000a646
lea rdx, str.Operating_System_Version:
lea rcx, [0x18005d270]
call fcn.180018200
mov rcx, rax
mov edx, dword [rsp + 0x74]
call fcn.1800157a0
mov rcx, rax
lea rdx, [0x180050e94]
call fcn.180018200
mov rcx, rax
mov edx, dword [rsp + 0x78]
call fcn.1800157a0
mov rcx, rax
lea rdx, str.__Build
call fcn.180018200
mov rcx, rax
mov edx, dword [rsp + 0x7c]
call fcn.1800157a0
lea rdx, [0x180050e84]
jmp 0x18000a654
lea rax, [0x18005d270]
lea rdx, str.Failed_to_get_operating_system_version_
mov rcx, rax
call fcn.180018200
mov rcx, rax
call fcn.180018470
movsd xmm3, qword [0x1800510e8]
movq r9, xmm3
movsd xmm2, qword [0x1800510e0]
movq r8, xmm2
movsd xmm1, qword [0x1800510d8]
movq rdx, xmm1
lea rcx, str.Product_of__.2f_and__.2f_is__.2f_n
call fcn.1800011b0
mov edx, 0xf
mov r9d, 0x14
mov r8d, r9d
lea rcx, str.The_maximum_number_between__d_and__d_is__d_n
call fcn.1800011b0
cmp qword [rsi + 0x18], 0x10
jb 0x18000a6c3
mov rcx, qword [rsi]
mov rdx, rcx
mov r14, rcx
jmp 0x18000a6cc
mov r14, rsi
mov rdx, rsi
mov rcx, rsi
mov r13, qword [rsi + 0x10]
add r13, rdx
mov r12d, 1
cmp rcx, r13
je 0x18000aab0
nop dword [rax]
nop word [rax + rax]
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], 0
movzx r8d, byte [r14]
mov rdx, r12
lea rcx, [rbp + 0x10]
call fcn.180016d20
nop
mov edx, 0x20
lea rcx, str._c_is_a_whitespace_character._n
call fcn.1800011b0
mov edx, 0x7e4
lea rcx, str._d_is_a_leap_year._n
call fcn.1800011b0
mov edx, 0x19
mov r9d, edx
lea r8d, [rdx + 5]
lea rcx, str.The_minimum_number_between__d_and__d_is__d_n
call fcn.1800011b0
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
cmovae rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x18000a7d5
mov rdi, qword [rsp + 0x30]
shr rdi, 0x14
mov rbx, qword [rsp + 0x28]
shr rbx, 0x14
lea rdx, str.Memory_Usage:
lea rcx, [0x18005d270]
call fcn.180018200
mov rcx, rax
mov rdx, rbx
call fcn.1800155f0
mov rcx, rax
lea rdx, str._MB_Total_
call fcn.180018200
mov rcx, rax
mov rdx, rdi
call fcn.1800155f0
lea rdx, str._MB_Available
jmp 0x18000a7e3
lea rax, [0x18005d270]
lea rdx, str.Failed_to_get_memory_usage_
mov rcx, rax
call fcn.180018200
mov rcx, rax
call fcn.180018470
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x18000a85d
mov rdi, qword [rsp + 0x30]
shr rdi, 0x14
mov rbx, qword [rsp + 0x28]
shr rbx, 0x14
lea rdx, str.Memory_Usage:
lea rcx, [0x18005d270]
call fcn.180018200
mov rcx, rax
mov rdx, rbx
call fcn.1800155f0
mov rcx, rax
lea rdx, str._MB_Total_
call fcn.180018200
mov rcx, rax
mov rdx, rdi
call fcn.1800155f0
lea rdx, str._MB_Available
jmp 0x18000a86b
lea rax, [0x18005d270]
lea rdx, str.Failed_to_get_memory_usage_
mov rcx, rax
call fcn.180018200
mov rcx, rax
call fcn.180018470
mov edx, 6
mov r8d, 0x2d0
lea rcx, str.Factorial_of__d_is__d_n
call fcn.1800011b0
mov eax, r15d
inc r15d
cmp eax, 0x2710
jg 0x18000aa73
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0x65
lea rcx, str._c_is_a_lowercase_letter._n
call fcn.1800011b0
xor ecx, ecx
call fcn.1800264b0
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0x30]
call fcn.18002680c
mov r9, rax
lea r8, str._Y__m__d__H:_M:_S
mov edx, 0x14
lea rcx, [rbp + 0x1f0]
call fcn.180023bf4
lea rdx, [0x180050d08]
lea rcx, [0x18005d270]
call fcn.180018200
mov rcx, rax
lea rdx, [rbp + 0x1f0]
call fcn.180018200
mov rcx, rax
call fcn.180018470
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea rdx, str.Processor_Architecture:
lea rcx, [0x18005d270]
call fcn.180018200
movzx ecx, word [rsp + 0x20]
test ecx, ecx
je 0x18000a970
sub ecx, 5
je 0x18000a967
sub ecx, 1
je 0x18000a95e
cmp ecx, 3
je 0x18000a955
lea rdx, str.Unknown
jmp 0x18000a977
lea rdx, str.AMD64
jmp 0x18000a977
lea rdx, str.IA64
jmp 0x18000a977
lea rdx, [0x180050bb4]
jmp 0x18000a977
lea rdx, [0x180050bc0]
lea rcx, [0x18005d270]
call fcn.180018200
mov rcx, rax
call fcn.180018470
lea rdx, str.Number_of_Processors:
lea rcx, [0x18005d270]
call fcn.180018200
mov rcx, rax
mov edx, dword [rsp + 0x40]
call fcn.1800157a0
mov rcx, rax
call fcn.180018470
lea rdx, str.Processor_Type:
lea rcx, [0x18005d270]
call fcn.180018200
mov rcx, rax
mov edx, dword [rsp + 0x44]
call fcn.1800157a0
mov rcx, rax
call fcn.180018470
lea rdx, str.Processor_Level:
lea rcx, [0x18005d270]
call fcn.180018200
mov rcx, rax
movzx edx, word [rsp + 0x4c]
call fcn.180015950
mov rcx, rax
call fcn.180018470
lea rdx, str.Processor_Revision:
lea rcx, [0x18005d270]
call fcn.180018200
mov rcx, rax
movzx edx, word [rsp + 0x4e]
call fcn.180015950
mov rcx, rax
call fcn.180018470
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x18000aa65
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000aa60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000abf2
call fcn.18001e910
inc r14
cmp r14, r13
jne 0x18000a6f0
jmp 0x18000aab0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x18000aab0
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000aaa9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000abf2
call fcn.18001e910
nop
movsd xmm3, qword [0x1800510e8]
movq r9, xmm3
movsd xmm2, qword [0x1800510e0]
movq r8, xmm2
movsd xmm1, qword [0x1800510d8]
movq rdx, xmm1
lea rcx, str.Product_of__.2f_and__.2f_is__.2f_n
call fcn.1800011b0
mov ecx, 2
nop dword [rax + rax]
mov eax, 0x11
cdq
idiv ecx
test edx, edx
je 0x18000ab05
inc ecx
cmp ecx, 8
jle 0x18000aaf0
jmp 0x18000ab08
xor r12d, r12d
lea rax, str._d_is_not_a_prime_number._n
lea rcx, str._d_is_a_prime_number._n
test r12d, r12d
cmove rcx, rax
mov edx, 0x11
call fcn.1800011b0
mov edx, 0x7e4
lea rcx, str._d_is_a_leap_year._n
call fcn.1800011b0
xorps xmm0, xmm0
movsd xmm1, qword [0x1800510f0]
ucomisd xmm0, xmm1
ja 0x18000ab4f
sqrtpd xmm0, xmm1
jmp 0x18000ab57
movaps xmm0, xmm1
call fcn.180040a3c
cvtsd2ss xmm0, xmm0
xorps xmm2, xmm2
cvtss2sd xmm2, xmm0
movq r8, xmm2
mov edx, 9
lea rcx, str.Square_root_of__d_is__.2f_n
call fcn.1800011b0
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x18000abaf
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x18000abaa
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000abf8
mov rcx, r8
call fcn.18001e910
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rcx, qword [rbp + 0x208]
xor rcx, rsp
call fcn.18001e8f0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180026134
nop
call fcn.180026134
int3