Function at 0x1401b28a8
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
xor r13d, r13d
mov r14, rdx
mov r15, rcx
mov qword [rbp - 0x59], r13
xor edx, edx
mov qword [rbp + 0x7f], r13
lea rcx, [rbp - 0x11]
mov qword [rbp - 0x71], r13
lea r8d, [r13 + 0x30]
mov qword [rbp - 0x19], r13
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x79], r13
mov qword [rbp - 0x21], r13
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x49], r13
mov qword [rbp - 0x29], r13
mov qword [rbp - 0x31], r13
mov qword [rbp - 0x51], r13
mov qword [rbp - 0x39], r13
call sub.msvcrt.dll_memset
mov rsi, qword [r14 + 0x18]
lea r12d, [r13 + 1]
cmp dword [0x140439240], r12d
mov edi, r13d
mov qword [rbp - 0x11], r13
cmove rdi, qword [0x1404386a0]
mov qword [rbp - 9], r13
mov qword [rbp - 1], r13
mov qword [rbp + 7], r13
mov qword [rbp + 0xf], r13
mov qword [rbp + 0x17], r13
mov rax, qword [rsi]
mov rbx, qword [rax + 0x178]
mov rcx, rbx
call qword [0x1403b8660]
lea r8, [rbp - 0x79]
mov rdx, rdi
mov rcx, rsi
call rbx
mov esi, eax
test eax, eax
js 0x1401b2faa
mov rsi, qword [r14 + 0x18]
mov edi, r13d
cmp dword [0x140439240], r12d
cmove rdi, qword [0x1404386a8]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x178]
mov rcx, rbx
call qword [0x1403b8660]
lea r8, [rbp - 0x21]
mov rdx, rdi
mov rcx, rsi
call rbx
mov esi, eax
test eax, eax
js 0x1401b2faa
mov rsi, qword [r14 + 0x18]
mov edi, r13d
cmp dword [0x140439240], r12d
cmove rdi, qword [0x1404386b0]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x178]
mov rcx, rbx
call qword [0x1403b8660]
lea r8, [rbp - 0x61]
mov rdx, rdi
mov rcx, rsi
call rbx
mov esi, eax
test eax, eax
js 0x1401b2faa
mov rsi, qword [r14 + 0x18]
mov edi, r13d
cmp dword [0x140439240], r12d
cmove rdi, qword [0x1404386c8]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x178]
mov rcx, rbx
call qword [0x1403b8660]
lea r8, [rbp - 0x31]
mov rdx, rdi
mov rcx, rsi
call rbx
mov esi, eax
test eax, eax
js 0x1401b2faa
mov rsi, qword [r14 + 0x18]
mov edi, r13d
cmp dword [0x140439240], r12d
cmove rdi, qword [0x1404386b8]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x178]
mov rcx, rbx
call qword [0x1403b8660]
lea r8, [rbp - 0x49]
mov rdx, rdi
mov rcx, rsi
call rbx
mov esi, eax
test eax, eax
js 0x1401b2faa
mov rsi, qword [r14 + 0x18]
mov edi, r13d
cmp dword [0x140439240], r12d
cmove rdi, qword [0x1404386c0]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x178]
mov rcx, rbx
call qword [0x1403b8660]
lea r8, [rbp - 0x29]
mov rdx, rdi
mov rcx, rsi
call rbx
mov esi, eax
test eax, eax
js 0x1401b2faa
mov rsi, qword [r14 + 0x18]
mov edi, r13d
cmp dword [0x140439240], r12d
cmove rdi, qword [0x1404386d0]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x178]
mov rcx, rbx
call qword [0x1403b8660]
lea r8, [rbp - 0x51]
mov rdx, rdi
mov rcx, rsi
call rbx
mov esi, eax
test eax, eax
js 0x1401b2faa
mov rsi, qword [r14 + 0x18]
mov edi, r13d
cmp dword [0x140439240], r12d
cmove rdi, qword [0x1404386d8]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x178]
mov rcx, rbx
call qword [0x1403b8660]
lea r8, [rbp - 0x39]
mov rdx, rdi
mov rcx, rsi
call rbx
mov esi, eax
test eax, eax
js 0x1401b2faa
mov rax, qword [r15]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call qword [0x1403b8660]
lea rdx, [rbp - 0x19]
mov rcx, r15
call rbx
mov esi, eax
test eax, eax
js 0x1401b2faa
mov rax, qword [r15]
mov rbx, qword [rax + 0x28]
mov rcx, rbx
call qword [0x1403b8660]
mov rdx, qword [rbp - 0x19]
lea r8, [rbp - 0x41]
mov rcx, r15
call rbx
mov esi, eax
test eax, eax
js 0x1401b2faa
mov rbx, qword [rbp - 0x41]
mov r12d, r13d
mov rax, qword [rbx]
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [0x1403b8660]
lea rdx, [rbp + 0x6f]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x1401b2faa
mov r15d, r13d
cmp dword [rbp + 0x6f], r13d
jbe 0x1401b2e06
mov rbx, qword [rbp - 0x59]
test rbx, rbx
je 0x1401b2bc7
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403b8660]
mov rcx, rbx
call rdi
mov qword [rbp - 0x59], r13
mov rbx, qword [rbp - 0x41]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x20]
mov rcx, rdi
call qword [0x1403b8660]
lea r8, [rbp - 0x59]
mov edx, r15d
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x1401b2faa
mov rbx, qword [rbp - 0x59]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [0x1403b8660]
lea rdx, [rbp - 0x69]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x1401b2faa
mov rbx, qword [rbp + 0x7f]
test rbx, rbx
je 0x1401b2c3a
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403b8660]
mov rcx, rbx
call rdi
mov qword [rbp + 0x7f], r13
mov rbx, qword [rbp - 0x59]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x28]
mov rcx, rdi
call qword [0x1403b8660]
lea rdx, [rbp + 0x7f]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x1401b2faa
mov rbx, qword [rbp - 0x71]
test rbx, rbx
je 0x1401b2c82
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbp - 0x71], r13
mov rbx, qword [rbp + 0x7f]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x28]
mov rcx, rdi
call qword [0x1403b8660]
lea r9, [rbp + 0x77]
mov rcx, rbx
lea r8, [rbp - 0x71]
lea rdx, str.metaInfoType
call rdi
mov esi, eax
test eax, eax
js 0x1401b2faa
cmp dword [rbp + 0x77], 1
jne 0x1401b2dc4
mov rdx, qword [rbp - 0x71]
lea rcx, str.metaInfoTypeSku
mov rdx, qword [rdx]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x1401b2d01
mov rax, qword [rbp + 0x7f]
lea rcx, [rbp - 0x11]
mov r9, qword [rbp - 0x69]
mov r8, qword [rbp - 0x61]
mov rdx, qword [rbp - 0x21]
mov qword [rsp + 0x28], rcx
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.1401b467c
jmp 0x1401b2def
mov rdx, qword [rbp - 0x71]
lea rcx, str.metaInfoTypeLicense
mov rdx, qword [rdx]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x1401b2d3b
mov r9, qword [rbp + 0x7f]
lea rax, [rbp - 0x11]
mov r8, qword [rbp - 0x69]
mov rcx, r14
mov rdx, qword [rbp - 0x31]
mov qword [rsp + 0x20], rax
call fcn.1401b3f6c
jmp 0x1401b2def
mov rdx, qword [rbp - 0x71]
lea rcx, str.metaInfoTypeFile
mov rdx, qword [rdx]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x1401b2d76
inc r12d
cmp dword [r14 + 8], r13d
jne 0x1401b2df9
mov r9, qword [rbp + 0x7f]
mov rcx, r14
mov r8, qword [rbp - 0x69]
mov rdx, qword [rbp - 0x49]
call fcn.1401b3d84
jmp 0x1401b2def
mov rdx, qword [rbp - 0x71]
lea rcx, str.metaInfoTypeStoreToken
mov rdx, qword [rdx]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x1401b2da4
mov r9, qword [rbp + 0x7f]
mov rcx, r14
mov r8, qword [rbp - 0x69]
mov rdx, qword [rbp - 0x29]
call fcn.1401b3bd0
jmp 0x1401b2def
mov rax, qword [rbp - 0x71]
lea rdx, [rbp - 0x11]
mov rcx, qword [rbp + 0x7f]
mov qword [rsp + 0x30], rdx
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
jmp 0x1401b2ddb
mov rax, qword [rbp + 0x7f]
lea rcx, [rbp - 0x11]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x69]
mov rcx, r14
mov r8, qword [rbp - 0x61]
mov rdx, qword [rbp - 0x51]
call fcn.1401b36a0
mov esi, eax
test eax, eax
js 0x1401b2faa
inc r15d
cmp r15d, dword [rbp + 0x6f]
jb 0x1401b2ba5
cmp dword [r14 + 8], r13d
je 0x1401b2e38
cmp dword [0x140439240], 1
mov r8, r13
mov rdx, qword [rbp - 0x49]
mov r9d, r12d
cmove r8, qword [0x1404386e0]
mov rcx, qword [r14 + 0x18]
call fcn.14017d220
mov esi, eax
test eax, eax
js 0x1401b2faa
mov rdx, qword [rbp - 0x39]
lea r8, [rbp - 0x11]
mov rcx, r14
call fcn.140176e0c
mov esi, eax
test eax, eax
js 0x1401b2faa
mov rbx, qword [rbp - 0x79]
mov rax, qword [rbx]
mov rdi, qword [rax + 0xa8]
mov rcx, rdi
call qword [0x1403b8660]
mov rdx, qword [rbp - 0x21]
xor r8d, r8d
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x1401b2faa
mov rbx, qword [rbp - 0x79]
mov rax, qword [rbx]
mov rdi, qword [rax + 0xa8]
mov rcx, rdi
call qword [0x1403b8660]
mov rdx, qword [rbp - 0x61]
xor r8d, r8d
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x1401b2faa
mov rbx, qword [rbp - 0x79]
mov rax, qword [rbx]
mov rdi, qword [rax + 0xa8]
mov rcx, rdi
call qword [0x1403b8660]
mov rdx, qword [rbp - 0x49]
xor r8d, r8d
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x1401b2faa
mov rbx, qword [rbp - 0x79]
mov rax, qword [rbx]
mov rdi, qword [rax + 0xa8]
mov rcx, rdi
call qword [0x1403b8660]
mov rdx, qword [rbp - 0x29]
xor r8d, r8d
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x1401b2faa
mov rbx, qword [rbp - 0x79]
mov rax, qword [rbx]
mov rdi, qword [rax + 0xa8]
mov rcx, rdi
call qword [0x1403b8660]
mov rdx, qword [rbp - 0x31]
xor r8d, r8d
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x1401b2faa
mov rbx, qword [rbp - 0x79]
mov rax, qword [rbx]
mov rdi, qword [rax + 0xa8]
mov rcx, rdi
call qword [0x1403b8660]
mov rdx, qword [rbp - 0x51]
xor r8d, r8d
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x1401b2faa
mov rbx, qword [rbp - 0x79]
mov rax, qword [rbx]
mov rdi, qword [rax + 0xa8]
mov rcx, rdi
call qword [0x1403b8660]
mov rdx, qword [rbp - 0x39]
xor r8d, r8d
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x1401b2faa
mov rdi, qword [r14 + 0x20]
mov rax, qword [rdi]
mov rbx, qword [rax + 0xa8]
mov rcx, rbx
call qword [0x1403b8660]
mov rdx, qword [rbp - 0x79]
xor r8d, r8d
mov rcx, rdi
call rbx
mov esi, eax
test eax, eax
jns 0x1401b2fb1
mov ecx, eax
call fcn.14007ab24
mov ecx, esi
call fcn.14007ab44
mov r15d, 3
mov qword [rsp + 0x50], r13
lea rax, [0x14002fcf8]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rax, [rbp - 0x11]
mov edi, 0xb9
lea r14d, [r15 + 0x1d]
mov qword [rsp + 0x58], rax
mov r8d, r14d
xor r9d, r9d
mov ecx, edi
call sub.ntdll.dll_NtQuerySystemInformation
lea rax, [rbp - 0x39]
mov qword [rsp + 0x40], r15
lea rbx, [0x14001cb78]
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov qword [rsp + 0x48], rbx
mov r8d, r14d
mov qword [rsp + 0x50], r13
lea rdx, [rsp + 0x40]
mov ecx, edi
call sub.ntdll.dll_NtQuerySystemInformation
lea rax, [rbp - 0x51]
mov qword [rsp + 0x40], r15
xor r9d, r9d
mov qword [rsp + 0x58], rax
mov r8d, r14d
mov qword [rsp + 0x48], rbx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x50], r13
mov ecx, edi
call sub.ntdll.dll_NtQuerySystemInformation
lea rax, [rbp - 0x31]
mov qword [rsp + 0x40], r15
xor r9d, r9d
mov qword [rsp + 0x58], rax
mov r8d, r14d
mov qword [rsp + 0x48], rbx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x50], r13
mov ecx, edi
call sub.ntdll.dll_NtQuerySystemInformation
lea rax, [rbp - 0x29]
mov qword [rsp + 0x40], r15
xor r9d, r9d
mov qword [rsp + 0x58], rax
mov r8d, r14d
mov qword [rsp + 0x48], rbx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x50], r13
mov ecx, edi
call sub.ntdll.dll_NtQuerySystemInformation
lea rax, [rbp - 0x49]
mov qword [rsp + 0x40], r15
xor r9d, r9d
mov qword [rsp + 0x58], rax
mov r8d, r14d
mov qword [rsp + 0x48], rbx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x50], r13
mov ecx, edi
call sub.ntdll.dll_NtQuerySystemInformation
lea rax, [rbp - 0x61]
mov qword [rsp + 0x40], r15
xor r9d, r9d
mov qword [rsp + 0x58], rax
mov r8d, r14d
mov qword [rsp + 0x48], rbx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x50], r13
mov ecx, edi
call sub.ntdll.dll_NtQuerySystemInformation
lea rax, [rbp - 0x21]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], r13
xor r9d, r9d
mov qword [rsp + 0x58], rax
mov r8d, r14d
lea rdx, [rsp + 0x40]
mov ecx, edi
call sub.ntdll.dll_NtQuerySystemInformation
lea rax, [rbp - 0x79]
mov qword [rsp + 0x40], r15
xor r9d, r9d
mov qword [rsp + 0x58], rax
mov r8d, r14d
mov qword [rsp + 0x48], rbx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x50], r13
mov ecx, edi
call sub.ntdll.dll_NtQuerySystemInformation
mov rbx, qword [rbp - 0x41]
test rbx, rbx
je 0x1401b3171
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403b8660]
mov rcx, rbx
call rdi
mov qword [rbp - 0x41], r13
mov rbx, qword [rbp - 0x19]
test rbx, rbx
je 0x1401b3193
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403b8660]
mov rcx, rbx
call rdi
mov qword [rbp - 0x19], r13
mov rbx, qword [rbp - 0x71]
test rbx, rbx
je 0x1401b31b4
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbp - 0x71], r13
mov rbx, qword [rbp + 0x7f]
test rbx, rbx
je 0x1401b31d6
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403b8660]
mov rcx, rbx
call rdi
mov qword [rbp + 0x7f], r13
mov rbx, qword [rbp - 0x59]
test rbx, rbx
je 0x1401b31f4
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403b8660]
mov rcx, rbx
call rdi
mov eax, esi
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret