Function at 0x1400a1140
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x90
xor r12d, r12d
mov rbp, r9
cmp byte [0x1404e03e0], r12b
mov r14d, r8d
mov rbx, rdx
mov r15, rcx
jne 0x1400a1387
xor r9d, r9d
lea edx, [r12 + 1]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateEventA]
mov rdi, rax
test rax, rax
je 0x1400a13f0
xor eax, eax
lock cmpxchg qword [0x1404e03e8], rdi
mov rsi, rax
jne 0x1400a1370
mov ecx, 0x8003
call qword [sym.imp.KERNEL32.DLL_SetErrorMode]
lea rcx, [fcn.140002640]
call fcn.1400edbb4
lea rcx, [0x1404e03f0]
call qword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
call fcn.1400ae200
call fcn.1400af720
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov eax, dword [rsp + 0x88]
lea rcx, [0x1404df268]
mov dword [0x1404df260], eax
call qword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov r9d, r12d
lea r8, [0x1404df298]
mov r10d, r12d
lea r11, [0x140257260]
nop word [rax + rax]
movsxd rax, r10d
inc r9d
mov qword [r8 - 8], r12
lea r8, [r8 + 0x10]
imul rcx, rax, 0x288
add r10d, 0x10
add rcx, r11
mov qword [r8 - 0x10], rcx
cmp r9d, 0x100
jb 0x1400a1220
lea rcx, [0x1404e02c0]
call qword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov edx, 1
lea rcx, [0x1400a6a00]
call qword [sym.imp.KERNEL32.DLL_SetConsoleCtrlHandler]
test eax, eax
je 0x1400a1405
xor r9d, r9d
xor ecx, ecx
mov r8d, 0x7fffffff
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.DLL_CreateSemaphoreA]
mov qword [0x140257080], rax
test rax, rax
jne 0x1400a12a6
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.1400ae540
test eax, eax
jne 0x1400a1405
xor r9d, r9d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
lea rcx, str.CONOUT_
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov qword [0x14024b820], rax
cmp rax, 0xffffffffffffffff
je 0x1400a12f1
xor edx, edx
lea rcx, [0x14009fca0]
lea r8d, [rdx + 0x10]
call qword [sym.imp.KERNEL32.DLL_QueueUserWorkItem]
lea rcx, [0x1404e0290]
call qword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
test eax, eax
je 0x1400a1325
movsd xmm1, qword [0x1401e69d8]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x40]
divsd xmm1, xmm0
jmp 0x1400a1328
xorps xmm1, xmm1
mov rax, qword [0x1405608d8]
movsd qword [0x1404e02b8], xmm1
test rax, rax
je 0x1400a135e
lea rdx, [0x1400afec0]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], rdx
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov ecx, 2
call rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_SetEvent]
mov byte [0x1404e03e0], 1
jmp 0x1400a1387
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, 0xffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
xor edx, edx
mov dword [rbx + 8], 6
lea rcx, [rbx + 0x158]
mov qword [rbx + 0x40], r12
mov qword [rbx + 0x78], r15
mov dword [rbx + 0x148], r12d
lea r8d, [rdx + 0x70]
mov dword [rbx + 0x70], r14d
mov qword [rbx + 0x88], r12
mov qword [rbx + 0x90], r12
mov qword [rbx + 0x98], r12
mov qword [rbx + 0x80], rbp
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
jmp fcn.1400eaf90
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
lea rdx, str.CreateEvent
call fcn.1400ae490
int3
call fcn.1400f4acc
int3