Function at 0x140007a90
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 [0x14043f008], r12b
mov r14d, r8d
mov rbx, rdx
mov r15, rcx
jne 0x140007cde
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 0x140007d47
xor eax, eax
lock cmpxchg qword [0x14043f010], rdi
mov rsi, rax
jne 0x140007cc7
mov ecx, 0x8003
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rcx, [fcn.140011980]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler]
lea rcx, [0x14043f020]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call fcn.140016b20
call fcn.140017210
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x88]
lea rcx, [0x14043ef80]
mov dword [0x1401b5f78], eax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov r9d, r12d
lea r8, [0x14043df88]
mov r10d, r12d
lea r11, [0x1401b5f80]
nop dword [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 0x140007b70
lea rcx, [0x14043efd8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edx, 1
lea rcx, [0x14000ded0]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x140007cc0
xor r9d, r9d
xor ecx, ecx
mov r8d, 0x7fffffff
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov qword [0x1401b5f70], rax
test rax, rax
jne 0x140007bf6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140016510
test eax, eax
jne 0x140007cc0
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 [0x14012a668], rax
cmp rax, 0xffffffffffffffff
je 0x140007c41
xor edx, edx
lea rcx, [0x1400074b0]
lea r8d, [rdx + 0x10]
call qword [sym.imp.KERNEL32.dll_QueueUserWorkItem]
lea rcx, [0x14043efa8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140007c75
movsd xmm1, qword [0x140111e18]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x40]
divsd xmm1, xmm0
jmp 0x140007c78
xorps xmm1, xmm1
mov rax, qword [0x14043f290]
movsd qword [0x14043efd0], xmm1
test rax, rax
je 0x140007cae
lea rdx, [0x1400179b0]
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 [0x14043f008], 1
jmp 0x140007cde
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
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 sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, str.CreateEvent
call fcn.140016450
int3