Function at 0x1400101d0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov rbx, rcx
call fcn.1400102c0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
jne 0x1400101fb
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14001020b
mov r8d, esi
xor edx, edx
mov ecx, 0xd7b
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, qword [rbx]
mov rdi, rax
cmp rax, rcx
je 0x140010224
test rcx, rcx
jle 0x140010221
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
call fcn.140002000
cmp dword [rax + 0xc], 0xa
jb 0x140010262
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
jne 0x140010262
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 0x140010262
test rcx, rcx
jle 0x14001025f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
mov rdi, qword [rbx]
test rdi, rdi
jg 0x14001029f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rdi, rax
je 0x14001029f
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
je 0x14001029f
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 0x14002f9d0
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140095080]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov r14, rcx
xor eax, eax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x2f], rax
mov qword [rbp + 0x37], rax
lea rcx, [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rbp + 0xf], 0
jne 0x14002faca
mov ecx, 0x20
call fcn.14004625c
mov rbx, rax
mov qword [rbp - 0x29], rax
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov rcx, qword [r14]
lea rdi, vtable.blackbone::Native.0
mov qword [rbx], rdi
mov qword [rbx + 8], rcx
xor esi, esi
mov qword [rbx + 0x10], rsi
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
lea rcx, [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [rbp - 0x1d]
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 r15, [r14 + 0x10]
mov rcx, qword [r15]
mov qword [r15], rbx
test rcx, rcx
je 0x14002fb94
mov qword [rcx], rdi
jmp 0x14002fb8a
xor esi, esi
mov dword [rbp - 0x31], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
lea ecx, [rsi + 0x20]
cmp dword [rbp - 0x31], 1
jne 0x14002fb3b
call fcn.14004625c
mov rbx, rax
mov qword [rbp - 0x29], rax
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
xor r8d, r8d
mov rdx, qword [r14]
mov rcx, rbx
call fcn.140030f90
lea rax, vtable.blackbone::NativeWow64.0
mov qword [rbx], rax
lea r15, [r14 + 0x10]
mov rcx, qword [r15]
mov qword [r15], rbx
test rcx, rcx
je 0x14002fb94
lea rdi, vtable.blackbone::Native.0
mov qword [rcx], rdi
jmp 0x14002fb8a
call fcn.14004625c
mov qword [rbp - 0x29], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
xor r8d, r8d
mov rdx, qword [r14]
mov rcx, rax
call fcn.140030f90
lea r15, [r14 + 0x10]
lea rcx, [rbp - 0x29]
cmp r15, rcx
je 0x14002fb78
mov rcx, qword [r15]
mov qword [r15], rax
jmp 0x14002fb2a
test rax, rax
je 0x14002fb94
lea rdi, vtable.blackbone::Native.0
mov qword [rax], rdi
mov rcx, rax
mov edx, 0x20
call fcn.14004654c
mov rax, qword [r15]
cmp byte [rax + 0x15], 0
jne 0x14002fba7
mov byte [r14 + 0x18], 1
jmp 0x14002fc41
mov dword [rbp - 0x31], esi
mov dword [rbp - 0x29], esi
call fcn.14000fbb0
mov rbx, rax
mov qword [rbp - 0x11], rsi
mov qword [rbp - 9], 0xf
mov byte [rbp - 0x21], 0
mov r8d, 0x13
lea rdx, str.GetProcessDEPPolicy
lea rcx, [rbp - 0x21]
call fcn.140002580
nop
lea rdx, [rbp - 0x21]
mov rcx, rbx
call fcn.140011060
test rax, rax
je 0x14002fbfc
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x31]
mov rcx, qword [r14]
call rax
mov esi, eax
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x14002fc33
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fc2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002fc6c
call fcn.14004654c
test esi, esi
je 0x14002fc41
movzx eax, byte [rbp - 0x31]
and al, 1
mov byte [r14 + 0x18], al
xor eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140045ef0
lea r11, [rsp + 0xa0]
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
call fcn.14004cff4
int3