Function at 0x1401768b8
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc8
xor r13d, r13d
lea rax, [r8 + 0x10]
mov r12, rcx
mov esi, r13d
mov r14d, r13d
mov qword [rbp - 0x69], r13
mov r15d, r13d
mov qword [rbp - 0x31], r13
mov qword [rbp - 0x59], r13
mov qword [rbp + 0xf], rax
mov dword [rbp + 0x7f], r13d
cmp dword [r8 + 4], r13d
jle 0x140176d6b
mov ecx, r13d
mov qword [rbp - 0x41], rcx
mov rdi, qword [r8 + 8]
add rdi, rcx
mov qword [rbp - 0x49], rdi
test rsi, rsi
je 0x140176946
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rsi - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140079c60
mov qword [rbp - 0x69], r13
lea rdx, [rbp - 0x69]
mov rcx, rdi
call fcn.140069384
mov r15d, eax
test eax, eax
js 0x14017755b
mov rbx, qword [rbp - 0x59]
test rbx, rbx
je 0x140176985
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
mov qword [rbp - 0x59], r13
mov rsi, qword [r12 + 0x18]
mov rdi, r13
cmp dword [0x140440748], 1
cmove rdi, qword [0x14043ff08]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x178]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov rax, rbx
lea r8, [rbp - 0x59]
mov rdx, rdi
mov rcx, rsi
call rax
mov r15d, eax
test eax, eax
js 0x14017755b
mov rax, qword [rbp - 0x59]
mov rbx, r13
mov qword [rbp - 0x29], rax
mov rsi, r13
lea rax, [0x1403dc32c]
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x61], rbx
mov rdi, r13
or r12, 0xffffffffffffffff
inc r12
cmp word [rax + r12*2], r13w
jne 0x1401769f0
mov r13d, r12d
cmp r12, r13
je 0x140176a0e
mov ecx, 0x80070216
call fcn.140079c40
jmp 0x140176a15
xor ecx, ecx
call fcn.140079c60
mov rax, r12
sub rax, r13
neg rax
sbb r15d, r15d
and r15d, 0x80070216
mov ecx, r15d
call fcn.140079c60
cmp r12, r13
je 0x140176a45
mov ecx, r15d
call fcn.140079c40
xor r13d, r13d
jmp 0x140176bfb
lea r12, [0x1403dc32c]
mov r8d, 0x7fffffff
mov rcx, r12
lea rdx, [rbp - 0x51]
call fcn.140079840
xor r13d, r13d
mov r15d, eax
test eax, eax
jns 0x140176a71
mov ecx, eax
call fcn.140079c40
jmp 0x140176a92
mov edx, dword [rbp - 0x51]
lea r8, [rbp - 0x61]
mov rcx, r12
call fcn.140079998
mov r15d, eax
test eax, eax
jns 0x140176a8e
mov ecx, eax
call fcn.140079c40
mov rbx, qword [rbp - 0x61]
mov ecx, r15d
call fcn.140079c60
test r15d, r15d
jns 0x140176aac
mov ecx, r15d
call fcn.140079c40
jmp 0x140176bfb
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rsi, rax
test rax, rax
jne 0x140176acb
mov r12d, 0x8007000e
mov r15d, r12d
mov ecx, r12d
jmp 0x140176aa2
test rbx, rbx
je 0x140176af3
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rbx - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140079c60
mov rbx, r13
mov qword [rbp - 0x61], rbx
mov rax, qword [rbp - 0x69]
test rax, rax
jne 0x140176b5d
mov r8d, 0x7fffffff
lea rdx, [rbp - 0x4d]
lea rcx, [0x1403ca998]
call fcn.140079840
mov r15d, eax
test eax, eax
jns 0x140176b22
mov ecx, eax
call fcn.140079c40
jmp 0x140176b47
mov edx, dword [rbp - 0x4d]
lea r8, [rbp - 0x61]
lea rcx, [0x1403ca998]
call fcn.140079998
mov r15d, eax
test eax, eax
jns 0x140176b43
mov ecx, eax
call fcn.140079c40
mov rbx, qword [rbp - 0x61]
mov ecx, r15d
call fcn.140079c60
test r15d, r15d
js 0x140176a9f
mov rcx, rbx
jmp 0x140176bb1
or r12, 0xffffffffffffffff
inc r12
cmp word [rax + r12*2], r13w
jne 0x140176b61
mov r13d, r12d
cmp r12, r13
je 0x140176b7f
mov ecx, 0x80070216
call fcn.140079c40
jmp 0x140176b86
xor ecx, ecx
call fcn.140079c60
mov rax, r12
sub rax, r13
neg rax
sbb r15d, r15d
and r15d, 0x80070216
mov ecx, r15d
call fcn.140079c60
cmp r12, r13
jne 0x140176a35
mov rcx, qword [rbp - 0x69]
xor r13d, r13d
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
test rax, rax
jne 0x140176bce
mov eax, 0x8007000e
mov r15d, eax
mov ecx, eax
jmp 0x140176aa2
mov rcx, qword [rbp + 0x67]
mov r9, rax
mov r12, qword [rbp - 0x29]
mov r8, rsi
mov rdx, r12
mov rcx, qword [rcx + 0x18]
call fcn.14015f424
mov r15d, eax
test eax, eax
js 0x140176bc7
lea rdx, [rbp - 0x39]
mov rcx, r12
call fcn.140076ce8
mov ecx, r15d
call fcn.140079c60
test rdi, rdi
je 0x140176c11
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rsi, rsi
je 0x140176c1f
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rbx, rbx
je 0x140176c40
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rbx - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140079c60
xor r9d, r9d
mov qword [rbp - 0x21], 3
lea rax, [0x140012998]
mov qword [rbp - 0x11], r13
mov qword [rbp - 0x19], rax
lea rdx, [rbp - 0x21]
lea rax, [rbp - 0x39]
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
mov qword [rbp - 9], rax
call sub.ntdll.dll_NtQuerySystemInformation
test r15d, r15d
js 0x140176e78
mov rdi, qword [rbp - 0x49]
mov ebx, r13d
mov r12, qword [rbp + 0x67]
cmp dword [rdi + 0x14], r13d
jle 0x140176d0d
test r14, r14
je 0x140176cb3
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [r14 - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140079c60
mov qword [rbp - 0x31], r13
movsxd rcx, ebx
lea rdx, [rbp - 0x31]
shl rcx, 4
add rcx, qword [rdi + 0x18]
call fcn.140069384
mov r15d, eax
test eax, eax
js 0x14017755b
mov r14, qword [rbp - 0x31]
lea r9, str.skuId
mov rdx, qword [rbp - 0x59]
xor r8d, r8d
mov qword [rsp + 0x30], r13
mov rcx, r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
call fcn.1401786a0
mov r15d, eax
test eax, eax
js 0x14017755b
inc ebx
cmp ebx, dword [rdi + 0x14]
jl 0x140176c8e
mov r13, qword [rbp + 0x6f]
mov rax, qword [r13]
mov rbx, qword [rax + 0xa8]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov rdx, qword [rbp - 0x59]
mov rax, rbx
xor r8d, r8d
mov rcx, r13
call rax
xor r13d, r13d
mov r15d, eax
test eax, eax
js 0x14017755b
mov edx, dword [rbp + 0x7f]
mov rcx, qword [rbp - 0x41]
inc edx
mov r8, qword [rbp + 0x77]
add rcx, 0x20
mov rsi, qword [rbp - 0x69]
mov dword [rbp + 0x7f], edx
mov qword [rbp - 0x41], rcx
cmp edx, dword [r8 + 4]
jl 0x140176916
mov dword [rbp + 0x7f], r13d
cmp dword [r8 + 0x24], r13d
jle 0x140177562
mov rax, r13
mov qword [rbp - 0x29], rax
mov rcx, qword [r8 + 0x28]
lea rax, [rax + rax*8]
lea rdi, [rcx + rax*8]
mov qword [rbp + 7], rdi
test rsi, rsi
je 0x140176db5
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rsi - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140079c60
mov qword [rbp - 0x69], r13
lea rdx, [rbp - 0x69]
mov rcx, rdi
call fcn.140069384
mov r15d, eax
test eax, eax
js 0x14017755b
mov rbx, qword [rbp - 0x59]
test rbx, rbx
je 0x140176df4
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
mov qword [rbp - 0x59], r13
mov rsi, qword [r12 + 0x18]
mov rdi, r13
cmp dword [0x140440748], 1
cmove rdi, qword [0x14043ff10]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x178]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov rax, rbx
lea r8, [rbp - 0x59]
mov rdx, rdi
mov rcx, rsi
call rax
mov r15d, eax
test eax, eax
js 0x14017755b
mov r13, qword [rbp - 0x59]
lea rcx, str.pkeyId
xor eax, eax
mov qword [rbp - 0x49], rax
mov ebx, eax
mov qword [rbp - 0x61], rax
mov esi, eax
mov edi, eax
or r14, 0xffffffffffffffff
inc r14
cmp word [rcx + r14*2], ax
jne 0x140176e5a
mov r12d, r14d
cmp r14, r12
je 0x140176e80
mov ecx, 0x80070216
call fcn.140079c40
jmp 0x140176e87
mov ecx, r15d
jmp 0x14017755d
xor ecx, ecx
call fcn.140079c60
mov rax, r14
sub rax, r12
neg rax
sbb r15d, r15d
and r15d, 0x80070216
mov ecx, r15d
call fcn.140079c60
cmp r14, r12
je 0x140176eb8
mov ecx, r15d
call fcn.140079c40
mov r14, qword [rbp + 0x67]
jmp 0x140177066
lea r14, str.pkeyId
mov r8d, 0x7fffffff
mov rcx, r14
lea rdx, [rbp - 0x4d]
call fcn.140079840
xor r12d, r12d
mov r15d, eax
test eax, eax
jns 0x140176ee4
mov ecx, eax
call fcn.140079c40
jmp 0x140176f05
mov edx, dword [rbp - 0x4d]
lea r8, [rbp - 0x61]
mov rcx, r14
call fcn.140079998
mov r15d, eax
test eax, eax
jns 0x140176f01
mov ecx, eax
call fcn.140079c40
mov rbx, qword [rbp - 0x61]
mov ecx, r15d
call fcn.140079c60
test r15d, r15d
js 0x140176ea7
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rsi, rax
test rax, rax
jne 0x140176f34
mov r12d, 0x8007000e
mov r15d, r12d
mov ecx, r12d
jmp 0x140176eaa
test rbx, rbx
je 0x140176f5c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rbx - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140079c60
mov rbx, r12
mov qword [rbp - 0x61], rbx
mov rax, qword [rbp - 0x69]
test rax, rax
jne 0x140176fc6
mov r8d, 0x7fffffff
lea rdx, [rbp - 0x51]
lea rcx, [0x1403ca998]
call fcn.140079840
mov r15d, eax
test eax, eax
jns 0x140176f8b
mov ecx, eax
call fcn.140079c40
jmp 0x140176fb0
mov edx, dword [rbp - 0x51]
lea r8, [rbp - 0x61]
lea rcx, [0x1403ca998]
call fcn.140079998
mov r15d, eax
test eax, eax
jns 0x140176fac
mov ecx, eax
call fcn.140079c40
mov rbx, qword [rbp - 0x61]
mov ecx, r15d
call fcn.140079c60
test r15d, r15d
js 0x140176ea7
mov rcx, rbx
jmp 0x140177017
or r14, 0xffffffffffffffff
inc r14
cmp word [rax + r14*2], r12w
jne 0x140176fca
mov r12d, r14d
cmp r14, r12
je 0x140176fe8
mov ecx, 0x80070216
call fcn.140079c40
jmp 0x140176fef
xor ecx, ecx
call fcn.140079c60
mov rax, r14
sub rax, r12
neg rax
sbb r15d, r15d
and r15d, 0x80070216
mov ecx, r15d
call fcn.140079c60
cmp r14, r12
jne 0x140176ea7
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
test rax, rax
jne 0x140177034
mov eax, 0x8007000e
mov r15d, eax
mov ecx, eax
jmp 0x140176eaa
mov r14, qword [rbp + 0x67]
mov r9, rax
mov r8, rsi
mov rdx, r13
mov rcx, qword [r14 + 0x18]
call fcn.14015f424
mov r15d, eax
test eax, eax
jns 0x14017705a
mov ecx, eax
call fcn.140079c40
jmp 0x140177066
lea rdx, [rbp - 0x49]
mov rcx, r13
call fcn.140076ce8
mov ecx, r15d
call fcn.140079c60
xor r13d, r13d
test rdi, rdi
je 0x14017707f
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rsi, rsi
je 0x14017708d
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rbx, rbx
je 0x1401770ae
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rbx - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140079c60
xor r9d, r9d
mov qword [rbp - 0x21], 3
lea rax, [0x140012998]
mov qword [rbp - 0x11], r13
mov qword [rbp - 0x19], rax
lea rdx, [rbp - 0x21]
lea rax, [rbp - 0x49]
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
mov qword [rbp - 9], rax
call sub.ntdll.dll_NtQuerySystemInformation
test r15d, r15d
js 0x140176e78
mov r13, qword [rbp + 7]
mov rax, qword [0x1403c7430]
cmp rax, qword [r13 + 0x10]
jne 0x1401771ae
mov rcx, qword [0x1403c7438]
cmp rcx, qword [r13 + 0x18]
jne 0x1401771ae
lea rdx, [r13 + 0x20]
cmp rax, qword [rdx]
jne 0x140177124
cmp rcx, qword [rdx + 8]
je 0x140177449
mov rbx, qword [rbp + 0xf]
lea r8, [rbp - 1]
mov rcx, rbx
call fcn.140177fc0
xor edi, edi
test al, al
je 0x140177449
lea rcx, [rbp - 0x69]
call fcn.1400791fc
movsxd rcx, dword [rbp - 1]
lea rdx, [rbp - 0x69]
shl rcx, 5
add rcx, 0x10
add rcx, qword [rbx + 8]
call fcn.140069384
mov r15d, eax
test eax, eax
js 0x14017719f
mov rsi, qword [rbp - 0x69]
lea r9, str.skuId
mov rdx, qword [rbp - 0x59]
lea r8d, [rdi + 1]
mov qword [rsp + 0x30], rdi
mov rcx, r14
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
call fcn.1401786a0
xor r14d, r14d
mov r15d, eax
test eax, eax
jns 0x140177450
mov ecx, eax
call fcn.140079c40
xor r13d, r13d
jmp 0x140177562
mov rax, qword [rbp - 0x69]
xor r14d, r14d
test rax, rax
je 0x1401771dd
lea rbx, [rax - 4]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140079c60
mov qword [rbp - 0x69], r14
lea rdx, [rbp - 0x69]
lea rcx, [r13 + 0x10]
call fcn.140069384
mov r15d, eax
test eax, eax
js 0x14017719f
mov r12, qword [rbp - 0x59]
lea rax, str.skuId
mov qword [rbp - 0x49], r14
mov rsi, r14
mov qword [rbp - 0x61], r14
mov rdi, r14
mov rbx, r14
or r14, 0xffffffffffffffff
xor r15d, r15d
inc r14
cmp word [rax + r14*2], r15w
jne 0x140177214
mov eax, r14d
cmp r14, rax
je 0x140177237
mov eax, 0x80070216
mov ecx, eax
mov r15d, eax
call fcn.140079c40
jmp 0x140177242
xor ecx, ecx
call fcn.140079c60
mov dword [rbp - 0x39], r14d
mov ecx, r15d
call fcn.140079c60
xor r14d, r14d
test r15d, r15d
jns 0x14017725f
mov ecx, r15d
call fcn.140079c40
jmp 0x1401773d7
mov r8d, 0x7fffffff
lea rdx, [rbp + 3]
lea rcx, str.skuId
call fcn.140079840
mov r15d, eax
test eax, eax
jns 0x140177285
mov ecx, eax
call fcn.140079c40
jmp 0x1401772aa
mov edx, dword [rbp + 3]
lea r8, [rbp - 0x61]
lea rcx, str.skuId
call fcn.140079998
mov r15d, eax
test eax, eax
jns 0x1401772a6
mov ecx, eax
call fcn.140079c40
mov rsi, qword [rbp - 0x61]
mov ecx, r15d
call fcn.140079c60
test r15d, r15d
js 0x140177252
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
test rax, rax
jne 0x1401772d9
mov r12d, 0x8007000e
mov r15d, r12d
mov ecx, r12d
jmp 0x140177255
test rsi, rsi
je 0x140177301
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rsi - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140079c60
mov rsi, r14
mov qword [rbp - 0x61], r14
cmp qword [rbp - 0x69], r14
jne 0x140177383
mov r8d, 0x7fffffff
lea rdx, [rbp - 0x41]
lea rcx, [0x1403ca998]
call fcn.140079840
mov r15d, eax
test eax, eax
jns 0x14017732d
mov ecx, eax
call fcn.140079c40
jmp 0x140177352
mov edx, dword [rbp - 0x41]
lea r8, [rbp - 0x61]
lea rcx, [0x1403ca998]
call fcn.140079998
mov r15d, eax
test eax, eax
jns 0x14017734e
mov ecx, eax
call fcn.140079c40
mov rsi, qword [rbp - 0x61]
mov ecx, r15d
call fcn.140079c60
test r15d, r15d
js 0x140177252
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
test rax, rax
jne 0x1401773ae
mov eax, 0x8007000e
mov r15d, eax
mov ecx, eax
jmp 0x140177255
mov rsi, qword [rbp - 0x69]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rsi + rcx*2], r14w
jne 0x14017738b
lea rdx, [rbp - 0x39]
call fcn.1400797e8
mov r15d, eax
test eax, eax
jns 0x140177363
mov ecx, eax
call fcn.140079c40
jmp 0x1401773db
mov rcx, qword [rbp + 0x67]
mov r9, rax
mov r8, rdi
mov rdx, r12
mov rcx, qword [rcx + 0x18]
call fcn.14015f424
mov r15d, eax
test eax, eax
js 0x14017737c
lea rdx, [rbp - 0x49]
mov rcx, r12
call fcn.140076ce8
mov rsi, qword [rbp - 0x69]
mov ecx, r15d
call fcn.140079c60
test rbx, rbx
je 0x1401773f1
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rdi, rdi
je 0x1401773ff
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea rcx, [rbp - 0x61]
call fcn.140079b78
xor r9d, r9d
mov qword [rbp - 0x21], 3
lea rax, [0x140012998]
mov qword [rbp - 0x11], r14
mov qword [rbp - 0x19], rax
lea rdx, [rbp - 0x21]
lea rax, [rbp - 0x49]
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
mov qword [rbp - 9], rax
call sub.ntdll.dll_NtQuerySystemInformation
test r15d, r15d
jns 0x140177450
mov ecx, r15d
jmp 0x1401771a1
mov rsi, qword [rbp - 0x69]
xor r14d, r14d
mov rax, qword [r13 + 0x30]
mov r12, qword [rbp + 0x67]
test rax, rax
je 0x140177490
mov rdx, qword [rbp - 0x59]
lea r9, [0x1403dc174]
mov qword [rsp + 0x30], r14
mov r8d, 1
mov qword [rsp + 0x28], r14
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.1401786a0
mov r15d, eax
test eax, eax
js 0x14017719f
mov rax, qword [r13 + 0x38]
test rax, rax
je 0x1401774cc
mov rdx, qword [rbp - 0x59]
lea r9, str.pid2
mov qword [rsp + 0x30], r14
mov r8d, 1
mov qword [rsp + 0x28], r14
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.1401786a0
mov r15d, eax
test eax, eax
js 0x14017719f
mov rax, qword [r13 + 0x40]
xor r13d, r13d
test rax, rax
je 0x140177505
mov rdx, qword [rbp - 0x59]
lea r9, [0x1403dc2ec]
mov qword [rsp + 0x30], r13
lea r8d, [r13 + 1]
mov qword [rsp + 0x28], r13
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.1401786a0
mov r15d, eax
test eax, eax
js 0x14017755b
mov r13, qword [rbp + 0x6f]
mov rax, qword [r13]
mov rbx, qword [rax + 0xa8]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov rdx, qword [rbp - 0x59]
mov rax, rbx
xor r8d, r8d
mov rcx, r13
call rax
xor r13d, r13d
mov r15d, eax
test eax, eax
js 0x14017755b
mov edx, dword [rbp + 0x7f]
mov rax, qword [rbp - 0x29]
inc edx
mov r8, qword [rbp + 0x77]
inc rax
mov dword [rbp + 0x7f], edx
mov qword [rbp - 0x29], rax
cmp edx, dword [r8 + 0x24]
jge 0x140177562
jmp 0x140176d80
mov ecx, eax
call fcn.140079c40
mov ecx, r15d
call fcn.140079c60
xor r9d, r9d
mov qword [rbp - 0x21], 3
lea rax, [0x140012998]
mov qword [rbp - 0x11], r13
mov qword [rbp - 0x19], rax
lea rdx, [rbp - 0x21]
lea rax, [rbp - 0x59]
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
mov qword [rbp - 9], rax
call sub.ntdll.dll_NtQuerySystemInformation
lea rcx, [rbp - 0x31]
call fcn.140079b78
lea rcx, [rbp - 0x69]
call fcn.140079b78
mov eax, r15d
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret