Function at 0x14006cda0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x1402bf200]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rbx, qword [rbp + 0x67]
mov qword [rbp - 0x59], rbx
mov r14, qword [rbp + 0x6f]
mov qword [rbp - 0x49], r14
xor edi, edi
mov rax, qword [r14]
mov rcx, qword [rax + 0x10]
mov qword [rbx], rcx
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rdi
mov rax, qword [r14 + 8]
test rax, rax
je 0x14006ce05
lock inc dword [rax + 8]
mov rax, qword [r14]
mov qword [rbx + 8], rax
mov rax, qword [r14 + 8]
mov qword [rbx + 0x10], rax
mov byte [rbx + 0x18], 0
xorps xmm0, xmm0
movups xmmword [rbx + 0x20], xmm0
mov qword [rbx + 0x30], rdi
mov qword [rbx + 0x38], 7
mov word [rbx + 0x20], di
mov qword [rbx + 0x40], rdi
mov qword [rbx + 0x48], rdi
mov dword [rbx + 0x50], edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r12, rax
mov dword [rbx + 0x68], edi
mov qword [rbx + 0x70], rdi
mov qword [rbx + 0x78], rdi
mov qword [rbx + 0x80], rdi
mov qword [rbx + 0x88], rdi
mov qword [rbx + 0x90], rdi
mov dword [rbx + 0x98], edi
mov qword [rbx + 0xa0], rdi
mov qword [rbx + 0xa8], rdi
mov qword [rbx + 0xb0], rdi
mov qword [rbx + 0xb8], rdi
mov qword [rbx + 0xc0], rdi
mov dword [rbx + 0x58], edi
lea rcx, [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [rbp + 7]
mov dword [rbx + 0x5c], eax
mov qword [rbx + 0x60], rdi
test r12, r12
je 0x14006ceee
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 2
xor r10d, r10d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r10d
lea r9, [rbx + 0x60]
mov r8, rdi
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x14006ceec
lea rcx, [rbx + 0x58]
call fcn.140078470
xor edi, edi
lea rsi, [rbx + 0xc8]
mov dword [rsi], edi
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], rdi
mov qword [rsi + 0x20], rdi
mov dword [rsi + 0x28], edi
mov qword [rsi + 0x30], rdi
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x40], rdi
mov qword [rsi + 0x48], rdi
xor edx, edx
mov rcx, rsi
call fcn.140077df0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], rdi
mov qword [rbp - 0x29], 7
mov word [rbp - 0x41], di
mov word [rsp + 0x20], di
mov r9d, 0x104
movzx r8d, byte [rbp - 0x69]
mov edx, r9d
lea rcx, [rbp - 0x41]
call fcn.14002a180
mov eax, dword [rbp - 0x31]
mov dword [rbp - 0x21], eax
lea rdi, [rbp - 0x41]
cmp qword [rbp - 0x29], 7
cmova rdi, qword [rbp - 0x41]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rbp - 0x21]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
je 0x14006d101
mov ecx, dword [rbp - 0x21]
mov r8, qword [rbp - 0x31]
cmp rcx, r8
ja 0x14006cfb4
lea rax, [rbp - 0x41]
cmp qword [rbp - 0x29], 7
cmova rax, qword [rbp - 0x41]
mov qword [rbp - 0x31], rcx
xor r10d, r10d
mov word [rax + rcx*2], r10w
jmp 0x14006d015
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rbp - 0x29]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x14006cffb
mov qword [rbp - 0x31], rcx
lea r9, [rbp - 0x41]
cmp rdi, 7
cmova r9, qword [rbp - 0x41]
lea rdi, [r9 + r8*2]
xor r10d, r10d
test rdx, rdx
je 0x14006cff0
movzx eax, r10w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r10w
jmp 0x14006d015
xor r10d, r10d
mov word [rsp + 0x20], r10w
mov r9, rdx
movzx r8d, byte [rbp - 0x69]
lea rcx, [rbp - 0x41]
call fcn.14002a180
cmp qword [rbp - 0x31], 0
je 0x14006d101
lea rdx, [rbp - 0x41]
cmp qword [rbp - 0x29], 7
cmova rdx, qword [rbp - 0x41]
movzx edx, word [rdx]
mov rcx, rsi
call fcn.140077df0
lea rcx, [rbp - 0x41]
mov rsi, qword [rbp - 0x41]
mov r12, qword [rbp - 0x29]
cmp r12, 7
cmova rcx, rsi
mov qword [rsp + 0x20], 2
lea r9, [0x140240d58]
mov rdi, qword [rbp - 0x31]
mov rdx, rdi
call fcn.140058140
cmp rax, 0xffffffffffffffff
je 0x14006d0a5
inc rax
cmp rdi, rax
cmovb rax, rdi
lea rcx, [rbp - 0x41]
cmp r12, 7
cmova rcx, rsi
sub rdi, rax
lea rdx, [rcx + rax*2]
lea r8, [rdi*2 + 2]
call fcn.1401d7a40
mov qword [rbp - 0x31], rdi
mov r12, qword [rbp - 0x29]
mov rsi, qword [rbp - 0x41]
movabs rax, 0x7ffffffffffffffe
sub rax, rdi
cmp rax, 0x4a
jb 0x14006d1a9
lea rax, [rbp - 0x41]
cmp r12, 7
cmova rax, rsi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x4a
lea r9, str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options_
lea rcx, [rbp - 0x19]
call fcn.1400230c0
lea rdx, [rbp - 0x19]
lea rcx, [rbx + 0x20]
call fcn.140024750
lea rcx, [rbp - 0x19]
call fcn.14002adf0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x140244018]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x128], rax
lea rcx, [0x14023d508]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtGetNextThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x130], rax
lea rcx, [0x14023d508]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlGetNtGlobalFlags
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x138], rax
lea rcx, [rbp - 0x41]
call fcn.14002adf0
nop
mov rcx, r14
call fcn.1400060d0
mov rax, rbx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14019acb0
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14002a900
nop
int3