Function at 0x1401b467c
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov rax, qword [0x14042eb28]
xor rax, rsp
mov qword [rbp], rax
mov rax, qword [rbp + 0x88]
xor r14d, r14d
mov rdi, qword [rbp + 0x80]
mov r13, rcx
mov qword [rbp - 0x68], r8
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x58], rdx
xor edx, edx
lea r8d, [r14 + 0x48]
mov qword [rbp - 0x70], r9
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
call sub.msvcrt.dll_memset
mov rax, qword gs:[0x58]
lea rsi, [0x1403c4930]
mov edx, 4
lea r15d, [r14 + 1]
xorps xmm0, xmm0
mov qword [rbp - 0x10], r14
movdqa xmmword [rbp - 0x20], xmm0
lea rbx, str.msft:sl_EUL_ACTIVATED_PUBLIC
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140439190], eax
jg 0x1401b4ade
mov rax, qword [rdi]
mov rbx, qword [rax + 0x28]
mov rcx, rbx
call qword [0x1403b8660]
lea r9, [rsp + 0x50]
mov rdx, rsi
lea r8, [rsp + 0x48]
mov rcx, rdi
call rbx
mov ebx, eax
test eax, eax
jns 0x1401b4760
mov ecx, eax
call fcn.14007ab24
jmp 0x1401b49ed
cmp dword [rsp + 0x50], r15d
mov r12d, r15d
mov eax, 2
mov r15d, r14d
cmove r12d, eax
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1401b4798
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403b8660]
mov rcx, rbx
call rdi
mov qword [rsp + 0x40], r14
mov rsi, qword [r13 + 0x18]
xor edi, edi
mov rax, qword [rsi]
mov rbx, qword [rax + 0x178]
mov rcx, rbx
test r15d, r15d
jne 0x1401b47c1
cmp dword [0x140439240], 1
cmove rdi, qword [0x1404386f0]
jmp 0x1401b47d6
mov r14d, 1
cmp dword [0x140439240], r14d
cmove rdi, qword [0x1404386f8]
call qword [0x1403b8660]
lea r8, [rsp + 0x40]
mov rdx, rdi
mov rcx, rsi
call rbx
mov ebx, eax
test eax, eax
js 0x1401b49e3
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.14016498c
mov rax, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov r8, qword [rbp - 0x78]
lea r9, [0x1404391a0]
mov rdx, qword [rbp - 0x70]
mov qword [rsp + 0x30], rcx
mov rcx, r13
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
call fcn.1401b53c4
mov ebx, eax
test eax, eax
js 0x1401b49e3
test r14d, r14d
je 0x1401b499e
mov r9, qword [rsp + 0x48]
mov rcx, r13
mov r8, qword [rsp + 0x40]
mov rdx, qword [r13 + 0x10]
mov r9, qword [r9]
call fcn.1401b5270
xor r14d, r14d
mov ebx, eax
test eax, eax
js 0x1401b4754
mov rsi, qword [rbp - 0x68]
mov rax, qword [rsi]
mov rbx, qword [rax + 0xa8]
mov rcx, rbx
call qword [0x1403b8660]
mov rdx, qword [rsp + 0x40]
xor r8d, r8d
mov rcx, rsi
call rbx
mov ebx, eax
test eax, eax
js 0x1401b4754
mov rax, qword [rsp + 0x48]
or rsi, 0xffffffffffffffff
mov rcx, qword [rax]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1401b48a8
cmp rax, 0x26
jne 0x1401b496a
cmp word [rcx], 0x7b
je 0x1401b48d2
mov edi, 0x80070057
mov ecx, edi
mov ebx, edi
call fcn.14007ab24
jmp 0x1401b48f8
cmp word [rcx + 0x4a], 0x7d
jne 0x1401b48c2
add rcx, 2
lea rdx, [rbp - 0x50]
call fcn.14006fe70
mov ebx, eax
test eax, eax
jns 0x1401b48f3
mov ecx, eax
call fcn.14007ab24
mov edi, 0x80070057
mov ecx, ebx
call fcn.14007ab44
test ebx, ebx
js 0x1401b49dc
lea r8, [rsp + 0x54]
lea rdx, str.msft:sl_EUL_ACTIVATED_PUBLIC
lea rcx, [rsp + 0x58]
call fcn.1400ba818
test al, al
je 0x1401b498f
movsxd rax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x60]
add rax, rax
mov rcx, qword [rcx + rax*8 + 8]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1401b4936
cmp rax, 0x26
jne 0x1401b4979
cmp word [rcx], 0x7b
jne 0x1401b497f
cmp word [rcx + 0x4a], 0x7d
jne 0x1401b497f
add rcx, 2
lea rdx, [rbp - 0x30]
call fcn.14006fe70
mov edx, eax
test eax, eax
jns 0x1401b4988
mov ecx, eax
jmp 0x1401b4983
cmp rax, 0x24
jne 0x1401b48c2
jmp 0x1401b48dd
cmp rax, 0x24
je 0x1401b4957
mov edx, edi
mov ecx, edi
call fcn.14007ab24
mov ecx, edx
call fcn.14007ab44
mov rcx, qword [rbp - 0x60]
lea rdx, [rbp - 0x50]
call fcn.14017d3b4
jmp 0x1401b49c5
mov rsi, qword [rbp - 0x58]
mov rax, qword [rsi]
mov rbx, qword [rax + 0xa8]
mov rcx, rbx
call qword [0x1403b8660]
mov rdx, qword [rsp + 0x40]
xor r8d, r8d
mov rcx, rsi
call rbx
xor r14d, r14d
mov ebx, eax
test eax, eax
js 0x1401b4754
inc r15d
cmp r15d, r12d
jge 0x1401b49ed
jmp 0x1401b4774
mov ecx, ebx
jmp 0x1401b4756
mov ecx, eax
call fcn.14007ab24
xor r14d, r14d
mov ecx, ebx
call fcn.14007ab44
mov r13d, 3
mov qword [rsp + 0x78], r14
lea rax, [0x14003c338]
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x68]
lea rax, [rbp - 0x50]
mov r15d, 0xb9
lea esi, [r13 + 0x1d]
mov qword [rbp - 0x80], rax
mov r8d, esi
xor r9d, r9d
mov ecx, r15d
call sub.ntdll.dll_NtQuerySystemInformation
lea rax, [0x1400239f8]
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x68]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x78], r14
xor r9d, r9d
mov qword [rbp - 0x80], rax
mov r8d, esi
mov ecx, r15d
call sub.ntdll.dll_NtQuerySystemInformation
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x1401b4a8a
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsp + 0x48], r14
lea rax, [0x14001cb78]
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x68]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x78], r14
xor r9d, r9d
mov qword [rbp - 0x80], rax
mov r8, rsi
mov rcx, r15
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, ebx
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14036e5e0
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [0x140439190]
call fcn.14036ea0c
cmp dword [0x140439190], 0xffffffff
jne 0x1401b472c
xor eax, eax
mov qword [0x1404391a8], r14
mov qword [0x1404391b0], rax
lea rcx, [0x140439190]
or dword [0x1404391b4], 0xffffffff
lea rax, str.metaInfoType
mov qword [0x1404391a0], rax
xor eax, eax
mov qword [0x1404391c8], rax
mov qword [0x1404391e0], rax
mov dword [0x1404391c8], r14d
mov dword [0x1404391cc], r15d
mov dword [0x1404391e0], r15d
mov dword [0x1404391e4], 0x18
mov dword [0x1404391b0], r14d
mov qword [0x1404391b8], rsi
mov qword [0x1404391c0], r14
mov qword [0x1404391d0], rbx
mov qword [0x1404391d8], r14
call fcn.14036e99c
jmp 0x1401b472c