Function at 0x1400ec7a0
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 [0x140466b68], r12b
mov r14d, r8d
mov rbx, rdx
mov r15, rcx
jne 0x1400ec9e7
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 0x1400eca50
xor eax, eax
lock cmpxchg qword [0x140466b70], rdi
mov rsi, rax
jne 0x1400ec9d0
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 + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x88]
lea rcx, [0x1401ddb08]
mov dword [0x1401ddacc], eax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov r9d, r12d
lea r8, [0x140465b38]
mov r10d, r12d
lea r11, [0x1401ddb30]
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 0x1400ec880
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 0x1400eca65
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 0x1400ec906
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400f8400
test eax, eax
jne 0x1400eca65
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 [0x1401d06a8], rax
cmp rax, 0xffffffffffffffff
je 0x1400ec951
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 + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400ec985
movsd xmm1, qword [0x1401a5148]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x40]
divsd xmm1, xmm0
jmp 0x1400ec988
xorps xmm1, xmm1
mov rax, qword [0x1404674b0]
movsd qword [0x1401ddb00], xmm1
test rax, rax
je 0x1400ec9be
lea rdx, [0x1400fa820]
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 [0x140466b68], 1
jmp 0x1400ec9e7
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.140147f00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, str.CreateEvent
call fcn.1400f8350
int3
call fcn.1401513ec
int3