Function at 0x14013ce99
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1401c8780
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x868
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x17e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x888]
mov rax, qword [0x1406af1c0]
xor rax, rbp
mov qword [rbp + 0x828], rax
mov dword [rbp + 0x7e4], 1
lea rcx, [0x1406e815a]
call fcn.140143037
nop
mov edx, 0x20
mov rcx, qword [rbp + 0x850]
call fcn.14013a919
mov rcx, qword [rbp + 0x850]
call fcn.140143b2c
nop
mov eax, dword [rbp + 0x7e4]
or eax, 1
mov dword [rbp + 0x7e4], eax
mov r8d, dword [rbp + 0x858]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x1401c88b7
lea rdx, str.Failed_to_open_process._Error:
lea rcx, [0x1406bc450]
call fcn.14013a0f9
mov qword [rbp + 0x7f8], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x800], eax
mov edx, dword [rbp + 0x800]
mov rcx, qword [rbp + 0x7f8]
call fcn.14013ca20
mov qword [rbp + 0x808], rax
lea rdx, [0x1401395e1]
mov rcx, qword [rbp + 0x808]
call fcn.14013e0fa
nop
mov dword [rbp + 0x7e4], 0
mov eax, dword [rbp + 0x7e4]
and eax, 1
test eax, eax
je 0x1401c88ab
and dword [rbp + 0x7e4], 0xfffffffe
mov rcx, qword [rbp + 0x850]
call fcn.14013c12e
nop
mov rax, qword [rbp + 0x850]
jmp 0x1401c8d30
lea rcx, [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0xb8], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0xd8], rax
mov rdx, qword [rbp + 0x860]
lea rcx, [rbp + 0xf8]
call fcn.14013a4b4
nop
lea rax, [rbp + 0x4c8]
mov qword [rbp + 0x4f8], rax
mov rdx, qword [rbp + 0x4f8]
lea rcx, [rbp + 0xf8]
call fcn.1401433b6
mov qword [rbp + 0x7f8], rax
mov rax, qword [rbp + 0x7f8]
mov qword [rbp + 0x800], rax
lea rax, [rbp + 0x518]
mov qword [rbp + 0x548], rax
mov rdx, qword [rbp + 0x548]
lea rcx, [rbp + 0xf8]
call fcn.14013a351
mov qword [rbp + 0x808], rax
mov rax, qword [rbp + 0x808]
mov qword [rbp + 0x810], rax
lea rax, [rbp + 0x568]
mov qword [rbp + 0x598], rax
mov rdx, qword [rbp + 0x598]
lea rcx, [rbp + 0xf8]
call fcn.1401433b6
mov qword [rbp + 0x818], rax
mov rax, qword [rbp + 0x818]
mov qword [rbp + 0x820], rax
lea rax, [fcn.1401396c2]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x800]
mov r8, qword [rbp + 0x810]
mov rdx, qword [rbp + 0x820]
lea rcx, [rbp + 0x5b8]
call fcn.140139109
lea rcx, [rbp + 0x5b8]
call fcn.14013c11f
nop
mov rax, qword [rbp + 0xd8]
cmp qword [rbp + 0xb8], rax
jae 0x1401c8ce6
mov r9d, 0x30
lea r8, [rbp + 0x138]
mov rdx, qword [rbp + 0xb8]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
jne 0x1401c8a04
jmp 0x1401c8ce6
cmp dword [rbp + 0x158], 0x1000
jne 0x1401c8cc6
cmp dword [rbp + 0x15c], 1
je 0x1401c8cc6
cmp dword [rbp + 0x15c], 0x100
je 0x1401c8cc6
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x188], rax
mov edx, 0x20
lea rcx, [rbp + 0x1a8]
call fcn.140141737
lea rcx, [rbp + 0x5e4]
call fcn.14013b4bd
mov r8, rax
mov rdx, qword [rbp + 0x188]
lea rcx, [rbp + 0x1a8]
call fcn.14013ff2c
nop
xor edx, edx
lea rcx, [rbp + 0x1a8]
call fcn.14013b111
lea rcx, [rbp + 0x1e8]
mov qword [rsp + 0x20], rcx
mov r9, qword [rbp + 0x188]
mov r8, rax
mov rdx, qword [rbp + 0x138]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1401c8cb9
lea rcx, [rbp + 0x604]
call fcn.14013b4bd
mov qword [rbp + 0x7f8], rax
lea rax, [rbp + 0x628]
mov qword [rbp + 0x658], rax
mov rdx, qword [rbp + 0x658]
lea rcx, [rbp + 0x1a8]
call fcn.140139b63
mov qword [rbp + 0x800], rax
mov rax, qword [rbp + 0x800]
mov qword [rbp + 0x808], rax
lea rax, [rbp + 0x678]
mov qword [rbp + 0x6a8], rax
mov rdx, qword [rbp + 0x6a8]
lea rcx, [rbp + 0x1a8]
call fcn.14013d358
mov qword [rbp + 0x810], rax
mov rax, qword [rbp + 0x810]
mov qword [rbp + 0x818], rax
mov r9, qword [rbp + 0x7f8]
mov r8, qword [rbp + 0x808]
mov rdx, qword [rbp + 0x818]
lea rcx, [rbp + 0x208]
call fcn.14013cea8
nop
lea rax, [rbp + 0x6c8]
mov qword [rbp + 0x6f8], rax
mov rdx, qword [rbp + 0x6f8]
lea rcx, [rbp + 0x208]
call fcn.1401433b6
mov qword [rbp + 0x7f8], rax
mov rax, qword [rbp + 0x7f8]
mov qword [rbp + 0x800], rax
lea rax, [rbp + 0x718]
mov qword [rbp + 0x748], rax
mov rdx, qword [rbp + 0x748]
lea rcx, [rbp + 0x208]
call fcn.14013a351
mov qword [rbp + 0x808], rax
mov rax, qword [rbp + 0x808]
mov qword [rbp + 0x810], rax
lea rax, [rbp + 0x768]
mov qword [rbp + 0x798], rax
mov rdx, qword [rbp + 0x798]
lea rcx, [rbp + 0x208]
call fcn.1401433b6
mov qword [rbp + 0x818], rax
mov rax, qword [rbp + 0x818]
mov qword [rbp + 0x820], rax
lea rax, [fcn.1401396c2]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x800]
mov r8, qword [rbp + 0x810]
mov rdx, qword [rbp + 0x820]
lea rcx, [rbp + 0x7b8]
call fcn.140139109
lea rcx, [rbp + 0x7b8]
call fcn.14013c11f
nop
xor r8d, r8d
lea rdx, [rbp + 0xf8]
lea rcx, [rbp + 0x208]
call fcn.14013ba49
mov qword [rbp + 0x248], rax
cmp qword [rbp + 0x248], 0xffffffffffffffff
je 0x1401c8cac
mov rax, qword [rbp + 0x248]
mov rcx, qword [rbp + 0x138]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x268], rax
lea rdx, [rbp + 0x268]
mov rcx, qword [rbp + 0x850]
call fcn.140143e0b
nop
mov rax, qword [rbp + 0x248]
inc rax
mov r8, rax
lea rdx, [rbp + 0xf8]
lea rcx, [rbp + 0x208]
call fcn.14013ba49
mov qword [rbp + 0x248], rax
jmp 0x1401c8c4a
lea rcx, [rbp + 0x208]
call fcn.14013ad65
nop
lea rcx, [rbp + 0x1a8]
call fcn.14014215a
nop
mov rax, qword [rbp + 0x150]
mov rcx, qword [rbp + 0xb8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xb8], rax
jmp 0x1401c89c8
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rbp + 0x7e4], 0
lea rcx, [rbp + 0xf8]
call fcn.14013ad65
nop
mov eax, dword [rbp + 0x7e4]
and eax, 1
test eax, eax
je 0x1401c8d29
and dword [rbp + 0x7e4], 0xfffffffe
mov rcx, qword [rbp + 0x850]
call fcn.14013c12e
nop
mov rax, qword [rbp + 0x850]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1403dc540]
call fcn.1401414cb
mov rax, rdi
mov rcx, qword [rbp + 0x828]
xor rcx, rbp
call fcn.14013dc90
lea rsp, [rbp + 0x838]
pop rdi
pop rbp
ret