Function at 0x1400cf2c0
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
push r13
push r14
lea rbp, [rsp - 0xa8]
sub rsp, 0x1a8
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r13, rdx
mov qword [rsp + 0x38], rcx
mov edx, 0x402
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetDlgItem]
nop dword [rax]
test rax, rax
je 0x1400cf31d
lea r9, [0x14026f798]
xor r8d, r8d
mov edx, 0xc
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword ds:[r13 + 0x20]
lea rcx, [rsp + 0x78]
xor r14d, r14d
mov qword [rsp + 0x20], rax
cmp dword [0x1402cddb8], 3
mov edx, 0x400
mov qword [rsp + 0x28], r14
jl 0x1400cf34e
lea r8, [rsp + 0x20]
call fcn.140176ee0
jmp 0x1400cf38b
xorps xmm0, xmm0
mov dword [rsp + 0x40], 0x30
lea r9, [rsp + 0x20]
mov qword [rsp + 0x48], r14
lea r8, [rsp + 0x40]
mov dword [rsp + 0x58], r14d
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x50], r14
call qword [sym.imp.ntdll.dll_NtOpenProcess]
nop
cmp eax, 0xc0000022
je 0x1400cf753
test eax, eax
js 0x1400cf753
mov rcx, qword ds:[rsp + 0x78]
lea rdx, [rbp - 0x70]
call fcn.1400aee80
mov dword [rsp + 0x30], eax
test eax, eax
js 0x1400cf741
mov rdx, qword [0x1402ca978]
mov ecx, 0x76
mov qword [rsp + 0x1e0], rsi
mov qword [rsp + 0x198], r12
mov qword [rsp + 0x190], r15
mov qword [rsp + 0x20], 0x64
call sym.SystemInformer.exe_PhCreateObject
mov rbx, rax
mov qword [rsp + 0x28], rax
mov esi, r14d
mov qword [rsp + 0x1a0], rdi
lea r15, [rbp - 0x70]
mov r12d, 0xffffffff
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + 0x64], r14w
mov qword [rax], r14
mov rcx, qword [rax + 8]
mov word [rcx], r14w
nop word [rax + rax]
mov rdx, qword [r15]
test rdx, rdx
je 0x1400cf52f
xor r9d, r9d
lea r8, [rsp + 0x70]
mov ecx, esi
call fcn.1400af4a0
nop dword [rax + rax]
test al, al
je 0x1400cf52f
mov rax, qword [rsp + 0x70]
mov rdi, qword [rax]
mov r14, qword [rax + 8]
test rdi, rdi
je 0x1400cf4af
mov rcx, qword ds:[rbx]
add rcx, rdi
cmp qword [rsp + 0x20], rcx
jae 0x1400cf484
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, rdi
call fcn.140146240
mov rbx, qword [rsp + 0x28]
test r14, r14
je 0x1400cf49b
mov rcx, qword [rbx + 8]
mov r8, rdi
add rcx, qword [rbx]
mov rdx, r14
call fcn.14020a640
add qword [rbx], rdi
mov rcx, qword [rbx]
xor r14d, r14d
mov rax, qword [rbx + 8]
mov word [rcx + rax], r14w
jmp 0x1400cf4b2
xor r14d, r14d
mov rax, qword ds:[rbx]
add rax, 4
cmp qword [rsp + 0x20], rax
jae 0x1400cf4ea
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, 4
call fcn.140146240
mov rbx, qword [rsp + 0x28]
mov rcx, qword ds:[rbx + 8]
mov eax, dword [0x14027fde4]
mov rdx, qword [rbx]
mov dword [rdx + rcx], eax
add qword [rbx], 4
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov word [rcx + rax], r14w
mov eax, r12d
mov rcx, qword [rsp + 0x70]
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400cf52a
call fcn.140141ca0
mov rbx, qword [rsp + 0x28]
inc esi
add r15, 8
cmp esi, 0x14
jb 0x1400cf420
cmp qword [r13 + 0x20], 4
mov r15, qword [rsp + 0x190]
jne 0x1400cf676
xor r9d, r9d
lea rdx, [rbp - 0x7c]
mov r8d, 4
mov ecx, 0xdd
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x1400cf676
mov eax, dword [rbp - 0x7c]
lea r8, [rsp + 0x70]
mov ecx, eax
lea rdx, [rbp - 0x80]
shr ecx, 4
and eax, 0x100
and ecx, 0x30
xor r9d, r9d
or ecx, eax
shr ecx, 4
mov dword [rbp - 0x80], ecx
mov ecx, 0xf
call fcn.1400af4a0
nop
test al, al
je 0x1400cf676
mov rax, qword [rsp + 0x70]
mov rdi, qword [rax]
mov rsi, qword [rax + 8]
test rdi, rdi
je 0x1400cf60a
mov rcx, qword ds:[rbx]
add rcx, rdi
cmp qword [rsp + 0x20], rcx
jae 0x1400cf5e4
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, rdi
call fcn.140146240
mov rbx, qword [rsp + 0x28]
test rsi, rsi
je 0x1400cf5fb
mov rcx, qword [rbx + 8]
mov r8, rdi
add rcx, qword [rbx]
mov rdx, rsi
call fcn.14020a640
add qword [rbx], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov word [rcx + rax], r14w
mov rax, qword [rbx]
add rax, 4
cmp qword [rsp + 0x20], rax
jae 0x1400cf636
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, 4
call fcn.140146240
mov rbx, qword [rsp + 0x28]
mov rcx, qword [rbx + 8]
mov eax, dword [0x14027fde4]
mov rdx, qword [rbx]
mov dword [rdx + rcx], eax
add qword [rbx], 4
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov word [rcx + rax], r14w
mov eax, r12d
mov rcx, qword [rsp + 0x70]
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400cf671
call fcn.140141ca0
mov rbx, qword [rsp + 0x28]
mov r8, qword [rbx]
mov rsi, qword [rsp + 0x1e0]
test r8, r8
je 0x1400cf6dd
mov rax, qword [rbx + 8]
mov r9, r8
shr r9, 1
sub r9, 2
lea rcx, [r9 + r9]
add r9, 2
sub r8, rcx
add rcx, rax
sub r8, 4
lea rdx, [rax + r9*2]
call fcn.14020a640
add qword [rbx], 0xfffffffffffffffc
mov edx, 0x402
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov word [rcx + rax], r14w
mov rcx, qword [rsp + 0x38]
mov rdi, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
test rax, rax
je 0x1400cf70a
mov r9, rdi
jmp 0x1400cf6f9
mov rcx, qword [rsp + 0x38]
mov edx, 0x402
call qword [sym.imp.USER32.dll_GetDlgItem]
test rax, rax
je 0x1400cf70a
lea r9, str.None
xor r8d, r8d
mov edx, 0xc
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rbx - 0x10]
lock xadd dword [rcx + 8], r12d
mov rdi, qword [rsp + 0x1a0]
cmp r12d, 1
mov r12, qword [rsp + 0x198]
jne 0x1400cf73c
call fcn.140141ca0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x1400cf771
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntdll.dll_NtClose]
cmp dword [rsp + 0x30], 0
jge 0x1400cf771
mov edx, 0x438
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword ds:[rbp + 0x80]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x1a8
pop r14
pop r13
pop rbx
pop rbp
ret