Function at 0x140078570
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.140028610
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
jne 0x14002829e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x1400282ab
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 0x1400282c4
test rcx, rcx
jle 0x1400282c1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
cmp dword [0x1402054ac], 0xa
jb 0x140028300
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
jne 0x140028300
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 0x140028300
test rcx, rcx
jle 0x1400282fd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
mov rdi, qword [rbx]
test rdi, rdi
jg 0x14002833d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rdi, rax
je 0x14002833d
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
je 0x14002833d
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 0x140078570
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 [0x140200100]
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 0x140078653
lea ecx, [rsi + 0x20]
call fcn.140115b58
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 0x1400786ee
jmp 0x1400786e1
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 0x1400786ae
call fcn.140115b58
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.1400791e0
lea rax, vtable.blackbone::NativeWow64.0
mov qword [rbx], rax
mov rcx, qword [rdi]
mov qword [rdi], rbx
jmp 0x1400786d5
call fcn.140115b58
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.1400791e0
mov rcx, qword [rdi]
mov qword [rdi], rax
test rcx, rcx
je 0x1400786ee
lea r14, vtable.blackbone::Native.0
mov qword [rcx], r14
mov edx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1401160d4
mov rax, qword [rdi]
cmp byte [rax + 0x15], sil
jne 0x140078701
mov byte [r15 + 0x18], 1
jmp 0x14007885a
mov dword [rbp - 0x49], esi
mov dword [rbp - 0x45], esi
call fcn.140027af0
mov rdi, rax
lea rdx, str.GetProcessDEPPolicy
lea rcx, [rbp - 0x39]
call fcn.140009fc0
nop
call fcn.140069c70
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.140009ca0
mov rbx, rax
lea rcx, [rbp - 0x39]
call fcn.140009cb0
mov r8, rbx
mov rdx, rax
movabs rcx, 0xcbf29ce484222325
call fcn.1400014b0
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 0x1400787e1
add r13, r13
mov r13, qword [rcx + r13*8]
nop
lea rcx, [rdi + 0x10]
mov rbx, qword [rcx + 0x10]
call fcn.14000c100
mov r12, rax
mov r14, qword [rbp - 0x29]
lea rcx, [rbp - 0x39]
call fcn.14000c100
cmp r14, rbx
jne 0x1400787c4
mov r8, r14
mov rdx, r12
mov rcx, rax
call fcn.140198bd0
test eax, eax
je 0x1400787cf
cmp rdi, r13
je 0x1400787d9
mov rdi, qword [rdi + 8]
jmp 0x140078790
mov r14, qword [rbp - 0x51]
mov r12, qword [rbp - 0x59]
jmp 0x1400787e4
mov r14, qword [rbp - 0x51]
mov r12, qword [rbp - 0x59]
mov rdi, rsi
test rdi, rdi
jne 0x1400787ec
mov rdi, qword [r14]
mov qword [rbp - 0x41], rdi
mov rdx, r14
lea rcx, [rbp - 0x41]
call fcn.140001c20
mov rax, qword [r14]
mov qword [rbp - 0x59], rax
mov rdx, r14
lea rcx, [rbp - 0x59]
call fcn.140001c20
mov rax, qword [rbp - 0x41]
mov rcx, r12
cmp rax, qword [rbp - 0x59]
je 0x14007883c
mov rbx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140078843
lea r8, [rbp - 0x45]
lea rdx, [rbp - 0x49]
mov rcx, qword [r15]
call rbx
mov esi, eax
jmp 0x140078843
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rbp - 0x39]
call fcn.140009ed0
test esi, esi
je 0x14007885a
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.140115b30
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