Function at 0x1400f4cb0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rdi
push r14
sub rsp, 0x90
xor r14d, r14d
cmp byte [0x140466b68], r14b
jne 0x1400f4ede
xor r9d, r9d
lea edx, [r14 + 1]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rbx, rax
test rax, rax
je 0x1400f51a8
xor eax, eax
lock cmpxchg qword [0x140466b70], rbx
mov rdi, rax
jne 0x1400f4ec7
mov ecx, 0x8003
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rcx, [fcn.140013170]
call fcn.14014f45c
lea rcx, [0x140466b80]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call fcn.1400f9270
call fcn.1400fa080
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x78]
lea rcx, [0x1401ddb08]
mov dword [0x1401ddacc], eax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov r8d, r14d
lea rdx, [0x140465b38]
lea r9, [0x1401ddb30]
mov edi, r14d
nop word [rax + rax]
movsxd rax, r8d
inc edi
mov qword [rdx - 8], r14
lea rdx, [rdx + 0x10]
imul rcx, rax, 0x288
add r8d, 0x10
add rcx, r9
mov qword [rdx - 0x10], rcx
cmp edi, 0x100
jb 0x1400f4d70
lea rcx, [0x140466b30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edx, 1
lea rcx, [0x1400f0cc0]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x1400f51bd
xor r9d, r9d
xor ecx, ecx
mov r8d, 0x7fffffff
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov qword [0x1401ddad0], rax
test rax, rax
jne 0x1400f4df4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400f8400
test eax, eax
jne 0x1400f51bd
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
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 [0x1401d06a8], rax
cmp rax, 0xffffffffffffffff
je 0x1400f4e3f
xor edx, edx
lea rcx, [0x1400eae90]
lea r8d, [rdx + 0x10]
call qword [sym.imp.KERNEL32.dll_QueueUserWorkItem]
lea rcx, [0x1401ddad8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400f4e79
movsd xmm1, qword [0x1401a5148]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0xb0]
divsd xmm1, xmm0
jmp 0x1400f4e7c
xorps xmm1, xmm1
mov rax, qword [0x1404674b0]
movsd qword [0x1401ddb00], xmm1
test rax, rax
je 0x1400f4eb5
lea rcx, [0x1400fa820]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], rcx
lea r8, [rsp + 0xb8]
mov ecx, 2
lea rdx, [rsp + 0x40]
call rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov byte [0x140466b68], 1
jmp 0x1400f4ede
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edx, edx
mov r9d, 1
xor r8d, r8d
lea rcx, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov qword [0x1401dd918], rax
test rax, rax
jne 0x1400f4f17
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
add rsp, 0x90
pop r14
pop rdi
pop rbx
jmp fcn.1400f8400
movsd xmm0, qword [0x1401a5178]
mov qword [rsp + 0xc0], rbp
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x80], r15
mov qword [0x1401dd920], r14
call fcn.1400eb820
mov qword [0x1401dd920], rax
mov ecx, select
lea rax, [0x1401dd998]
mov dword [0x1401dd900], r14d
mov qword [0x1401dd998], rax
mov qword [0x1401dd9a0], rax
lea rax, [0x1401dd8f0]
mov qword [0x1401dd8f0], rax
mov qword [0x1401dd8f8], rax
mov dword [0x1401dd8e8], r14d
mov qword [0x1401dd928], r14
mov qword [0x1401dd930], r14
call qword [fcn.14014f7c8]
mov qword [0x1401dd938], rax
mov rsi, rax
test rax, rax
jne 0x1400f4fb4
mov ebx, 0xfffff027
jmp 0x1400f5146
mov qword [rax], r14
lea rcx, [0x1401dd9a8]
mov dword [rax + 8], r14d
xorps xmm0, xmm0
xor eax, eax
mov qword [0x1401dd948], r14
xorps xmm1, xmm1
mov qword [0x1401dd970], rax
mov qword [0x1401dd978], rax
mov qword [0x1401dd980], rax
mov qword [0x1401dd940], r14
movdqa xmmword [0x1401dd950], xmm0
movdqa xmmword [0x1401dd960], xmm1
mov qword [0x1401dd988], r14
mov qword [0x1401dd990], r14
mov dword [0x1401dd910], r14d
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea r15, [0x1401dd8e0]
mov rcx, r15
lea r8, [0x1400f9b40]
lea rdx, [0x1401dd9d0]
call fcn.1400e66b0
mov ebx, eax
test eax, eax
jne 0x1400f511b
mov eax, dword [0x1401dda28]
test al, 8
je 0x1400f506e
mov ecx, eax
and eax, 0xfffffff7
mov dword [0x1401dda28], eax
test cl, 1
jne 0x1400f506e
test cl, 4
je 0x1400f506e
mov rax, qword [0x1401dd9d8]
dec dword [rax + 8]
mov eax, dword [0x1401dda28]
or eax, 0x10
lea rcx, [0x140466b80]
mov dword [0x1401dda28], eax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x140466bac]
mov ebx, dword [0x140466ba8]
cmp eax, ebx
jne 0x1400f5184
mov rbp, qword [0x140466b78]
add ebx, 8
movsxd rdx, ebx
shl rdx, 3
test rdx, rdx
je 0x1400f50f2
mov rcx, rbp
call qword [fcn.14014f7c0]
mov r8, rax
test rax, rax
je 0x1400f5109
mov qword [0x140466b78], rax
movsxd rax, dword [0x140466ba8]
cmp eax, ebx
jge 0x1400f50e1
mov ecx, ebx
lea rdi, [r8 + rax*8]
sub ecx, eax
movsxd rcx, ecx
xor eax, eax
rep stosq qword [rdi], rax
mov eax, dword [0x140466bac]
mov dword [0x140466ba8], ebx
jmp 0x1400f518b
call fcn.14014f0c0
mov rcx, rbp
mov edi, dword [rax]
call qword [fcn.14014f0f4]
call fcn.14014f0c0
mov dword [rax], edi
lea rcx, [0x140466b80]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, ntohs
lea rcx, [0x1401dd9a8]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call fcn.14014f0c0
mov rcx, rsi
mov edi, dword [rax]
call qword [fcn.14014f0f4]
call fcn.14014f0c0
mov dword [rax], edi
mov qword [0x1401dd938], r14
mov rcx, qword [0x1401dd918]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov qword [0x1401dd918], 0xffffffffffffffff
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xc0]
mov r15, qword [rsp + 0x80]
add rsp, 0x90
pop r14
pop rdi
pop rbx
ret
mov r8, qword [0x140466b78]
cdqe
lea rcx, [0x140466b80]
mov qword [r8 + rax*8], r15
inc dword [0x140466bac]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x1400f5160
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, str.CreateEvent
call fcn.1400f8350
int3
call fcn.1401513ec
int3