Function at 0x1400cd800
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 [0x1402ba040]
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 0x1400cd85c
xor r8d, r8d
lea r9, [0x14026c430]
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 [0x1402c825c], 3
mov edx, 0x400
mov qword [rsp + 0x48], r14
jl 0x1400cd88b
lea r8, [rsp + 0x40]
call fcn.140174cc0
jmp 0x1400cd8cb
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 0x1400cdc8f
test eax, eax
js 0x1400cdc8f
mov rcx, qword ds:[rbp - 0x78]
lea rdx, [rbp - 0x60]
call fcn.1400ad2a0
mov dword [rsp + 0x34], eax
test eax, eax
js 0x1400cdc7e
mov rdx, qword [0x1402c4fb8]
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_QiCreateObject
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 0x1400cda6a
xor r9d, r9d
lea r8, [rbp - 0x80]
mov ecx, esi
call fcn.1400ad880
nop word [rax + rax]
test al, al
je 0x1400cda6a
mov rax, qword [rbp - 0x80]
mov rdi, qword [rax]
mov r14, qword [rax + 8]
test rdi, rdi
je 0x1400cd9ef
mov rcx, qword ds:[rbx]
add rcx, rdi
cmp qword [rsp + 0x20], rcx
jae 0x1400cd9c4
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, rdi
call fcn.140144000
mov rbx, qword [rsp + 0x28]
test r14, r14
je 0x1400cd9db
mov rcx, qword [rbx + 8]
mov r8, rdi
add rcx, qword [rbx]
mov rdx, r14
call fcn.1402074d0
add qword [rbx], rdi
mov rcx, qword [rbx]
xor r14d, r14d
mov rax, qword [rbx + 8]
mov word [rcx + rax], r14w
jmp 0x1400cd9f2
xor r14d, r14d
mov rax, qword ds:[rbx]
add rax, 4
cmp qword [rsp + 0x20], rax
jae 0x1400cda2a
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, 4
call fcn.140144000
mov rbx, qword [rsp + 0x28]
mov rcx, qword [rbx + 8]
mov eax, dword [0x14027c884]
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 0x1400cda65
nop
call fcn.14013fb00
mov rbx, qword [rsp + 0x28]
inc esi
add r15, 8
cmp esi, 0x14
jl 0x1400cd960
cmp qword [r13 + 0x20], 4
mov r15, qword [rsp + 0x1a0]
jne 0x1400cdbb5
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 0x1400cdbb5
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.1400ad880
nop word [rax + rax]
test al, al
je 0x1400cdbb5
mov rax, qword [rbp - 0x80]
mov rdi, qword [rax]
mov rsi, qword [rax + 8]
test rdi, rdi
je 0x1400cdb4a
mov rcx, qword ds:[rbx]
add rcx, rdi
cmp qword [rsp + 0x20], rcx
jae 0x1400cdb24
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, rdi
call fcn.140144000
mov rbx, qword [rsp + 0x28]
test rsi, rsi
je 0x1400cdb3b
mov rcx, qword [rbx + 8]
mov r8, rdi
add rcx, qword [rbx]
mov rdx, rsi
call fcn.1402074d0
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 0x1400cdb76
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, 4
call fcn.140144000
mov rbx, qword [rsp + 0x28]
mov rcx, qword [rbx + 8]
mov eax, dword [0x14027c884]
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 0x1400cdbb0
call fcn.14013fb00
mov rbx, qword [rsp + 0x28]
mov r8, qword [rbx]
mov rsi, qword [rsp + 0x1f0]
test r8, r8
je 0x1400cdc1c
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.1402074d0
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 0x1400cdc48
mov r9, rdi
jmp 0x1400cdc38
mov rcx, qword [rsp + 0x38]
mov edx, 0x402
call qword [sym.imp.USER32.dll_GetDlgItem]
test rax, rax
je 0x1400cdc48
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 0x1400cdc79
call fcn.14013fb00
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x1400cdca8
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ntdll.dll_NtClose]
cmp dword [rsp + 0x34], 0
jge 0x1400cdca8
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.1401e0100
add rsp, 0x1b8
pop r14
pop r13
pop rbx
pop rbp
ret