Function at 0x140144f10
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov esi, edx
mov rbx, rcx
call fcn.1400f33a0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
jne 0x1400f302e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x1400f303b
mov r8d, esi
xor edx, edx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, qword [rbx]
mov rdi, rax
cmp rax, rcx
je 0x1400f3054
test rcx, rcx
jle 0x1400f3051
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
cmp dword [0x1403b7f7c], 0xa
jb 0x1400f3090
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
jne 0x1400f3090
mov r8d, esi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, qword [rbx]
mov rdi, rax
cmp rax, rcx
je 0x1400f3090
test rcx, rcx
jle 0x1400f308d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
mov rdi, qword [rbx]
test rdi, rdi
jg 0x1400f30cd
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rdi, rax
je 0x1400f30cd
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
je 0x1400f30cd
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
mov dword [rbx + 8], esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140144f10
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 - 0x37]
sub rsp, 0xb0
mov rax, qword [0x1402e8100]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, rcx
xor esi, esi
mov dword [rbp - 9], esi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 5], xmm0
movups xmmword [rbp + 0xb], xmm0
mov qword [rbp + 0x1b], rax
mov dword [rbp + 0x23], eax
lea rcx, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rbp - 9], si
jne 0x140144ff3
lea ecx, [rsi + 0x20]
call fcn.1401e1fc4
mov rbx, rax
mov qword [rbp - 0x59], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov rax, qword [r15]
lea r14, vtable.blackbone::Native.0
mov qword [rbx], r14
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rsi
mov dword [rbp - 0x39], esi
xor eax, eax
movups xmmword [rbp - 0x35], xmm0
movups xmmword [rbp - 0x25], xmm0
mov qword [rbp - 0x15], rax
mov dword [rbp - 0xd], eax
lea rcx, [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [rbp - 0x35]
mov dword [rbx + 0x18], eax
mov word [rbx + 0x14], 0x101
mov dword [rbx + 0x10], esi
mov byte [rbx + 0x16], 1
lea rax, vtable.blackbone::x86Native.0
mov qword [rbx], rax
lea rdi, [r15 + 0x10]
mov rcx, qword [rdi]
mov qword [rdi], rbx
test rcx, rcx
je 0x14014508e
jmp 0x140145081
mov dword [rbp - 0x49], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
lea rdi, [r15 + 0x10]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
cmp dword [rbp - 0x49], 1
jne 0x14014504e
call fcn.1401e1fc4
mov rbx, rax
mov qword [rbp - 0x59], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
xor r8d, r8d
mov rdx, qword [r15]
mov rcx, rax
call fcn.140145b80
lea rax, vtable.blackbone::NativeWow64.0
mov qword [rbx], rax
mov rcx, qword [rdi]
mov qword [rdi], rbx
jmp 0x140145075
call fcn.1401e1fc4
mov qword [rbp - 0x59], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
xor r8d, r8d
mov rdx, qword [r15]
mov rcx, rax
call fcn.140145b80
mov rcx, qword [rdi]
mov qword [rdi], rax
test rcx, rcx
je 0x14014508e
lea r14, vtable.blackbone::Native.0
mov qword [rcx], r14
mov edx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1401e1f44
mov rax, qword [rdi]
cmp byte [rax + 0x15], sil
jne 0x1401450a1
mov byte [r15 + 0x18], 1
jmp 0x1401451fa
mov dword [rbp - 0x49], esi
mov dword [rbp - 0x45], esi
call fcn.1400f2830
mov rdi, rax
lea rdx, str.GetProcessDEPPolicy
lea rcx, [rbp - 0x39]
call fcn.1400caee0
nop
call fcn.1401362a0
lea r12, [rdi + 0x40]
mov qword [rbp - 0x59], r12
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rbp - 0x41], rsi
lea r14, [rdi + 8]
mov qword [rbp - 0x51], r14
lea rcx, [rbp - 0x39]
call fcn.1400dc9a0
mov rbx, rax
lea rcx, [rbp - 0x39]
call fcn.1400cad10
mov r8, rbx
mov rdx, rax
movabs rcx, 0xcbf29ce484222325
call fcn.1400721a0
mov r13, qword [rdi + 0x30]
and r13, rax
mov rcx, qword [rdi + 0x18]
mov rax, r13
add rax, rax
mov rdi, qword [rcx + rax*8 + 8]
cmp rdi, qword [r14]
je 0x140145181
add r13, r13
mov r13, qword [rcx + r13*8]
nop
lea rcx, [rdi + 0x10]
mov rbx, qword [rcx + 0x10]
call fcn.1400cdfd0
mov r12, rax
mov r14, qword [rbp - 0x29]
lea rcx, [rbp - 0x39]
call fcn.1400cdfd0
cmp r14, rbx
jne 0x140145164
mov r8, r14
mov rdx, r12
mov rcx, rax
call fcn.14026aaf0
test eax, eax
je 0x14014516f
cmp rdi, r13
je 0x140145179
mov rdi, qword [rdi + 8]
jmp 0x140145130
mov r14, qword [rbp - 0x51]
mov r12, qword [rbp - 0x59]
jmp 0x140145184
mov r14, qword [rbp - 0x51]
mov r12, qword [rbp - 0x59]
mov rdi, rsi
test rdi, rdi
jne 0x14014518c
mov rdi, qword [r14]
mov qword [rbp - 0x41], rdi
mov rdx, r14
lea rcx, [rbp - 0x41]
call fcn.140072660
mov rax, qword [r14]
mov qword [rbp - 0x59], rax
mov rdx, r14
lea rcx, [rbp - 0x59]
call fcn.140072660
mov rax, qword [rbp - 0x41]
mov rcx, r12
cmp rax, qword [rbp - 0x59]
je 0x1401451dc
mov rbx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x1401451e3
lea r8, [rbp - 0x45]
lea rdx, [rbp - 0x49]
mov rcx, qword [r15]
call rbx
mov esi, eax
jmp 0x1401451e3
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rbp - 0x39]
call fcn.1400cadf0
test esi, esi
je 0x1401451fa
movzx eax, byte [rbp - 0x49]
and al, 1
mov byte [r15 + 0x18], al
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1401e1ca0
lea r11, [rsp + 0xb0]
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