Function at 0x1400cf080
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 [0x1402c0040]
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 0x1400cf0dd
lea r9, [0x140270b38]
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 [0x1402ced08], 3
mov edx, 0x400
mov qword [rsp + 0x28], r14
jl 0x1400cf10e
lea r8, [rsp + 0x20]
call fcn.1401783e0
jmp 0x1400cf14b
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 0x1400cf513
test eax, eax
js 0x1400cf513
mov rcx, qword ds:[rsp + 0x78]
lea rdx, [rbp - 0x70]
call fcn.1400aec40
mov dword [rsp + 0x30], eax
test eax, eax
js 0x1400cf501
mov rdx, qword [0x1402cb8c0]
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 0x1400cf2ef
xor r9d, r9d
lea r8, [rsp + 0x70]
mov ecx, esi
call fcn.1400af260
nop dword [rax + rax]
test al, al
je 0x1400cf2ef
mov rax, qword [rsp + 0x70]
mov rdi, qword [rax]
mov r14, qword [rax + 8]
test rdi, rdi
je 0x1400cf26f
mov rcx, qword ds:[rbx]
add rcx, rdi
cmp qword [rsp + 0x20], rcx
jae 0x1400cf244
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, rdi
call fcn.1401467a0
mov rbx, qword [rsp + 0x28]
test r14, r14
je 0x1400cf25b
mov rcx, qword [rbx + 8]
mov r8, rdi
add rcx, qword [rbx]
mov rdx, r14
call fcn.14020be40
add qword [rbx], rdi
mov rcx, qword [rbx]
xor r14d, r14d
mov rax, qword [rbx + 8]
mov word [rcx + rax], r14w
jmp 0x1400cf272
xor r14d, r14d
mov rax, qword ds:[rbx]
add rax, 4
cmp qword [rsp + 0x20], rax
jae 0x1400cf2aa
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, 4
call fcn.1401467a0
mov rbx, qword [rsp + 0x28]
mov rcx, qword ds:[rbx + 8]
mov eax, dword [0x1402810e4]
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 0x1400cf2ea
call fcn.140142200
mov rbx, qword [rsp + 0x28]
inc esi
add r15, 8
cmp esi, 0x14
jb 0x1400cf1e0
cmp qword [r13 + 0x20], 4
mov r15, qword [rsp + 0x190]
jne 0x1400cf436
xor r9d, r9d
lea rdx, [rbp - 0x7c]
mov r8d, 4
mov ecx, 0xdd
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x1400cf436
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.1400af260
nop
test al, al
je 0x1400cf436
mov rax, qword [rsp + 0x70]
mov rdi, qword [rax]
mov rsi, qword [rax + 8]
test rdi, rdi
je 0x1400cf3ca
mov rcx, qword ds:[rbx]
add rcx, rdi
cmp qword [rsp + 0x20], rcx
jae 0x1400cf3a4
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, rdi
call fcn.1401467a0
mov rbx, qword [rsp + 0x28]
test rsi, rsi
je 0x1400cf3bb
mov rcx, qword [rbx + 8]
mov r8, rdi
add rcx, qword [rbx]
mov rdx, rsi
call fcn.14020be40
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 0x1400cf3f6
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, 4
call fcn.1401467a0
mov rbx, qword [rsp + 0x28]
mov rcx, qword [rbx + 8]
mov eax, dword [0x1402810e4]
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 0x1400cf431
call fcn.140142200
mov rbx, qword [rsp + 0x28]
mov r8, qword [rbx]
mov rsi, qword [rsp + 0x1e0]
test r8, r8
je 0x1400cf49d
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.14020be40
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 0x1400cf4ca
mov r9, rdi
jmp 0x1400cf4b9
mov rcx, qword [rsp + 0x38]
mov edx, 0x402
call qword [sym.imp.USER32.dll_GetDlgItem]
test rax, rax
je 0x1400cf4ca
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 0x1400cf4fc
call fcn.140142200
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x1400cf531
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntdll.dll_NtClose]
cmp dword [rsp + 0x30], 0
jge 0x1400cf531
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.1401e5e20
add rsp, 0x1a8
pop r14
pop r13
pop rbx
pop rbp
ret