Function at 0x1401b53c4
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x47]
sub rsp, 0xb0
xor r14d, r14d
lea r9, [0x1403dc76c]
mov qword [rsp + 0x30], r14
mov rdi, r8
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdx
mov rdx, qword [rbp + 0x77]
lea r8d, [r14 + 1]
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x39], r14
mov qword [rbp - 0x59], r14
mov qword [rbp - 0x51], r14
call fcn.140178bac
mov ebx, eax
test eax, eax
jns 0x1401b5433
mov ecx, eax
call fcn.14007ab24
jmp 0x1401b5631
mov rax, qword [rdi]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [0x1403b8660]
lea rdx, [rbp - 0x5d]
mov rcx, rdi
call rbx
mov ebx, eax
test eax, eax
js 0x1401b5427
mov r12d, r14d
cmp dword [rbp - 0x5d], r14d
jbe 0x1401b561e
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call qword [0x1403b8660]
lea r9, [rbp - 0x31]
mov edx, r12d
lea r8, [rbp - 0x49]
mov rcx, rdi
call rbx
mov ebx, eax
test eax, eax
js 0x1401b5427
cmp dword [rbp + 0x6f], 0
mov esi, r14d
mov rdx, qword [rbp - 0x49]
mov r13, rdx
mov dword [rbp - 0x61], reloc.OLEAUT32.dll_SafeArrayGetElement
jbe 0x1401b55d8
mov rdi, qword [rbp + 0x67]
mov rcx, qword [rdi]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x1401b54c8
inc r14d
add rdi, 0x18
cmp r14d, dword [rbp + 0x6f]
jae 0x1401b55d8
mov rdx, qword [rbp - 0x49]
jmp 0x1401b54a4
mov eax, dword [rdi + 0x14]
xor r14d, r14d
cmp qword [rdi + 8], r14
mov dword [rbp - 0x61], eax
cmovne r13, qword [rdi + 8]
cmp dword [rdi + 0x10], r14d
je 0x1401b54eb
cmp qword [rbp + 0x7f], r14
lea ecx, [r14 + 1]
cmovne esi, ecx
cmp eax, 0xffffffff
je 0x1401b560c
test esi, esi
je 0x1401b55db
cmp qword [rbp + 0x7f], r14
je 0x1401b55db
mov rbx, qword [rbp - 0x59]
test rbx, rbx
je 0x1401b552f
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.14007ab44
mov qword [rbp - 0x59], r14
mov rbx, qword [rbp - 0x51]
test rbx, rbx
je 0x1401b5558
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.14007ab44
mov qword [rbp - 0x51], r14
mov rcx, qword [rbp - 0x49]
lea rdx, [rbp - 0x59]
call fcn.14007a9ec
mov ebx, eax
test eax, eax
js 0x1401b5427
mov rcx, qword [rbp - 0x31]
lea rdx, [rbp - 0x51]
call fcn.14007a9ec
mov ebx, eax
test eax, eax
js 0x1401b5427
mov ecx, dword [rbp - 0x3d]
test ecx, ecx
je 0x1401b55a7
mov rax, qword [rbp - 0x39]
lea rdx, [rbp - 9]
mov dword [rbp - 1], ecx
mov rcx, qword [rbp - 0x59]
mov qword [rbp - 9], rax
call fcn.1400c1d3c
jmp 0x1401b55aa
mov eax, r14d
lea r8, [rbp - 0x59]
mov edx, eax
lea rcx, [rbp - 0x41]
call fcn.140164880
mov ebx, eax
test eax, eax
jns 0x1401b55c6
mov ecx, eax
call fcn.14007ab24
mov ecx, ebx
call fcn.14007ab44
test ebx, ebx
jns 0x1401b55db
mov ecx, ebx
jmp 0x1401b5429
xor r14d, r14d
mov rax, qword [rbp - 0x31]
mov r9, r13
mov r8d, dword [rbp - 0x61]
mov rdx, qword [rbp + 0x77]
mov rcx, qword [rbp + 0x4f]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.140178bac
mov ebx, eax
test eax, eax
js 0x1401b5427
inc r12d
cmp r12d, dword [rbp - 0x5d]
jae 0x1401b561e
mov rdi, qword [rbp + 0x5f]
jmp 0x1401b545f
cmp qword [rbp + 0x7f], r14
je 0x1401b5631
mov rdx, qword [rbp + 0x7f]
lea rcx, [rbp - 0x41]
call fcn.140162890
mov ecx, ebx
call fcn.14007ab44
and qword [rbp - 0x19], 0
lea rax, [0x1400291b8]
mov r14d, 3
mov qword [rbp - 0x21], rax
lea rax, [rbp - 0x59]
mov qword [rbp - 0x29], r14
mov edi, 0xb9
mov qword [rbp - 0x11], rax
xor r9d, r9d
lea rdx, [rbp - 0x29]
lea esi, [r14 + 0x1d]
mov ecx, edi
mov r8d, esi
call sub.ntdll.dll_NtQuerySystemInformation
and qword [rbp - 0x19], 0
lea rax, [0x1400239f8]
mov qword [rbp - 0x21], rax
lea rdx, [rbp - 0x29]
lea rax, [rbp - 0x41]
mov qword [rbp - 0x29], r14
xor r9d, r9d
mov qword [rbp - 0x11], rax
mov r8d, esi
mov ecx, edi
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, ebx
add rsp, 0xb0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret