Function at 0x1400012a0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rbp + 0xd0], rax
movzx r15d, r8b
mov r14, rdx
mov rbx, rcx
xor esi, esi
mov qword [rcx], rsi
mov dword [rcx + 8], esi
mov byte [rcx + 0xc], sil
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov dword [rbx + 8], esi
mov dword [rbp - 0x60], 0x130
nop dword [rax]
nop dword [rax + rax]
lea rax, [rbp - 0x34]
mov r8, r14
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140001333
inc rax
test ecx, ecx
jne 0x140001320
mov rcx, rdi
test edx, edx
je 0x14000149c
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140001310
cmp dword [rbx + 8], esi
jne 0x1400014bc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbx + 8], esi
jne 0x1400014bc
lea rdx, str.Could_not_init_Memory_object._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400019c0
mov rdi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400013a4
mov qword [rsp + 0x50], rsi
mov eax, 0xf
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x40], 0
jmp 0x140001429
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov r8d, eax
mov qword [rsp + 0x78], rsi
mov eax, 0xf
mov qword [rbp - 0x80], rax
mov byte [rsp + 0x68], 0
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.140001860
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
movq rsi, xmm1
lea rdx, [rsp + 0x40]
cmp rax, 0x10
cmovae rdx, qword [rsp + 0x40]
mov r8, rsi
mov rcx, rdi
call fcn.140001c40
lea rdx, [0x140001b90]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140001542
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001492
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001492
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004770
jmp 0x140001542
mov eax, dword [rbp - 0x58]
mov dword [rbx + 8], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rbx + 8]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbx], rax
mov rdi, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rsp + 0x68], si
je 0x14000151f
mov dword [rsp + 0x60], esi
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140001513
lea rdx, [rsp + 0x60]
mov rcx, rdi
call rax
nop
cmp dword [rsp + 0x60], 0
sete al
cmp al, 1
je 0x140001542
lea rdx, str.x64_x86_bit_missmatch__Make_sure_to_match_the_target.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400019c0
lea rdx, [0x140001b90]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov byte [rbx + 0xc], r15b
mov rax, rbx
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.140004ad0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret