Function at 0x1400ccda0
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
push r13
push r14
lea rbp, [rsp - 0xb8]
sub rsp, 0x1b8
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rbp + 0x90], 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 0x1400ccdfc
xor r8d, r8d
lea r9, [0x140268270]
mov rcx, rax
lea edx, [r8 + 0xc]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [r13 + 0x20]
lea rcx, [rbp - 0x78]
xor r14d, r14d
mov qword [rsp + 0x40], rax
cmp dword [0x1402c2f94], 3
mov edx, 0x400
mov qword [rsp + 0x48], r14
jl 0x1400cce2b
lea r8, [rsp + 0x40]
call fcn.14016dca0
jmp 0x1400cce6b
xorps xmm0, xmm0
mov dword [rsp + 0x50], 0x30
lea r9, [rsp + 0x40]
mov qword [rsp + 0x58], r14
lea r8, [rsp + 0x50]
mov dword [rsp + 0x68], r14d
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x60], r14
call qword [sym.imp.ntdll.dll_NtOpenProcess]
nop dword [rax + rax]
cmp eax, 0xc0000022
je 0x1400cd22f
test eax, eax
js 0x1400cd22f
mov rcx, qword ds:[rbp - 0x78]
lea rdx, [rbp - 0x60]
call fcn.1400ac7a0
mov dword [rsp + 0x34], eax
test eax, eax
js 0x1400cd21e
mov rdx, qword [0x1402bfcf8]
mov ecx, 0x76
mov qword [rsp + 0x1f0], rsi
mov qword [rsp + 0x1a8], r12
mov qword [rsp + 0x1a0], 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 + 0x1b0], rdi
lea r15, [rbp - 0x60]
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 0x1400cd00a
xor r9d, r9d
lea r8, [rbp - 0x80]
mov ecx, esi
call fcn.1400acd80
nop word [rax + rax]
test al, al
je 0x1400cd00a
mov rax, qword [rbp - 0x80]
mov rdi, qword [rax]
mov r14, qword [rax + 8]
test rdi, rdi
je 0x1400ccf8f
mov rcx, qword ds:[rbx]
add rcx, rdi
cmp qword [rsp + 0x20], rcx
jae 0x1400ccf64
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, rdi
call fcn.140141740
mov rbx, qword [rsp + 0x28]
test r14, r14
je 0x1400ccf7b
mov rcx, qword [rbx + 8]
mov r8, rdi
add rcx, qword [rbx]
mov rdx, r14
call fcn.1401e3aa0
add qword [rbx], rdi
mov rcx, qword [rbx]
xor r14d, r14d
mov rax, qword [rbx + 8]
mov word [rcx + rax], r14w
jmp 0x1400ccf92
xor r14d, r14d
mov rax, qword ds:[rbx]
add rax, 4
cmp qword [rsp + 0x20], rax
jae 0x1400ccfca
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, 4
call fcn.140141740
mov rbx, qword [rsp + 0x28]
mov rcx, qword [rbx + 8]
mov eax, dword [0x140278184]
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 [rbp - 0x80]
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400cd005
nop
call fcn.14013d2a0
mov rbx, qword [rsp + 0x28]
inc esi
add r15, 8
cmp esi, 0x14
jl 0x1400ccf00
cmp qword [r13 + 0x20], 4
mov r15, qword [rsp + 0x1a0]
jne 0x1400cd155
xor r9d, r9d
lea rdx, [rbp - 0x70]
mov ecx, 0xdd
lea r8d, [r9 + 4]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x1400cd155
mov eax, dword [rbp - 0x70]
lea r8, [rbp - 0x80]
mov ecx, eax
lea rdx, [rbp - 0x6c]
shr ecx, 4
and eax, 0x100
and ecx, 0x30
xor r9d, r9d
or ecx, eax
shr ecx, 4
mov dword [rbp - 0x6c], ecx
lea ecx, [r9 + 0xf]
call fcn.1400acd80
nop word [rax + rax]
test al, al
je 0x1400cd155
mov rax, qword [rbp - 0x80]
mov rdi, qword [rax]
mov rsi, qword [rax + 8]
test rdi, rdi
je 0x1400cd0ea
mov rcx, qword ds:[rbx]
add rcx, rdi
cmp qword [rsp + 0x20], rcx
jae 0x1400cd0c4
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, rdi
call fcn.140141740
mov rbx, qword [rsp + 0x28]
test rsi, rsi
je 0x1400cd0db
mov rcx, qword [rbx + 8]
mov r8, rdi
add rcx, qword [rbx]
mov rdx, rsi
call fcn.1401e3aa0
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 0x1400cd116
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, 4
call fcn.140141740
mov rbx, qword [rsp + 0x28]
mov rcx, qword [rbx + 8]
mov eax, dword [0x140278184]
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 [rbp - 0x80]
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400cd150
call fcn.14013d2a0
mov rbx, qword [rsp + 0x28]
mov r8, qword [rbx]
mov rsi, qword [rsp + 0x1f0]
test r8, r8
je 0x1400cd1bc
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.1401e3aa0
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 0x1400cd1e8
mov r9, rdi
jmp 0x1400cd1d8
mov rcx, qword [rsp + 0x38]
mov edx, 0x402
call qword [sym.imp.USER32.dll_GetDlgItem]
test rax, rax
je 0x1400cd1e8
lea r9, str.None
xor r8d, r8d
mov rcx, rax
lea edx, [r8 + 0xc]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rbx - 0x10]
lock xadd dword [rcx + 8], r12d
mov rdi, qword [rsp + 0x1b0]
cmp r12d, 1
mov r12, qword [rsp + 0x1a8]
jne 0x1400cd219
call fcn.14013d2a0
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x1400cd248
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ntdll.dll_NtClose]
cmp dword [rsp + 0x34], 0
jge 0x1400cd248
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 [rbp + 0x90]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x1b8
pop r14
pop r13
pop rbx
pop rbp
ret