Function at 0x140011990
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 [0x14043f008], r14b
jne 0x140011bc5
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 0x140011f17
xor eax, eax
lock cmpxchg qword [0x14043f010], rbx
mov rdi, rax
jne 0x140011bae
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 + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x78]
lea rcx, [0x14043ef80]
mov dword [0x1401b5f78], eax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov r8d, r14d
lea rdx, [0x14043df88]
lea r9, [0x1401b5f80]
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 0x140011a50
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 0x140011ba7
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 0x140011ad4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140016510
test eax, eax
jne 0x140011ba7
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 [0x14012a668], rax
cmp rax, 0xffffffffffffffff
je 0x140011b1f
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 + 0xb0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140011b59
movsd xmm1, qword [0x140111e18]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0xb0]
divsd xmm1, xmm0
jmp 0x140011b5c
xorps xmm1, xmm1
mov rax, qword [0x14043f290]
movsd qword [0x14043efd0], xmm1
test rax, rax
je 0x140011b95
lea rcx, [0x1400179b0]
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 [0x14043f008], 1
jmp 0x140011bc5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
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 [0x1401b5db8], rax
test rax, rax
jne 0x140011bfe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
add rsp, 0x90
pop r14
pop rdi
pop rbx
jmp fcn.140016510
movsd xmm0, qword [0x140111e28]
mov qword [rsp + 0xc0], rbp
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x80], r15
mov qword [0x1401b5dc0], r14
call fcn.14000cb30
mov qword [0x1401b5dc0], rax
mov ecx, select
lea rax, [0x1401b5e38]
mov dword [0x1401b5da0], r14d
mov qword [0x1401b5e38], rax
mov qword [0x1401b5e40], rax
lea rax, [0x1401b5d90]
mov qword [0x1401b5d90], rax
mov qword [0x1401b5d98], rax
mov dword [0x1401b5d88], r14d
mov qword [0x1401b5dc8], r14
mov qword [0x1401b5dd0], r14
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [0x1401b5dd8], rax
mov rsi, rax
test rax, rax
jne 0x140011c9b
mov ebx, 0xfffff027
jmp 0x140011eb5
mov qword [rax], r14
lea rcx, [0x1401b5e48]
mov dword [rax + 8], r14d
xorps xmm0, xmm0
xor eax, eax
mov qword [0x1401b5de8], r14
xorps xmm1, xmm1
mov qword [0x1401b5e10], rax
mov qword [0x1401b5e18], rax
mov qword [0x1401b5e20], rax
mov qword [0x1401b5de0], r14
movdqa xmmword [0x1401b5df0], xmm0
movdqa xmmword [0x1401b5e00], xmm1
mov qword [0x1401b5e28], r14
mov qword [0x1401b5e30], r14
mov dword [0x1401b5db0], r14d
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x1401b5ec8], 8
lea rax, [0x1401b5d90]
mov qword [0x1401b5e90], rax
lea rcx, [0x1401b5e90]
mov rax, qword [0x1401b5d98]
lea r15, [0x1401b5d80]
mov qword [0x1401b5e98], rax
mov qword [0x1401b5e78], r15
mov dword [0x1401b5e80], 1
mov qword [rax], rcx
lea rax, [0x140012dd0]
mov qword [0x1401b5f40], rax
lea rax, [0x1401b5e70]
mov qword [0x1401b5ed0], rax
mov eax, dword [0x1401b5ec8]
mov qword [0x1401b5d98], rcx
mov dword [0x1401b5ea0], 0xffffffff
mov byte [0x1401b5f48], r14b
mov dword [0x1401b5ed8], 0x10
mov qword [0x1401b5f10], r14
test al, 4
jne 0x140011db3
or eax, 4
mov dword [0x1401b5ec8], eax
test al, 8
je 0x140011ddc
mov rax, qword [0x1401b5e78]
inc dword [rax + 8]
mov eax, dword [0x1401b5ec8]
test al, 8
je 0x140011ddc
mov ecx, eax
and eax, 0xfffffff7
mov dword [0x1401b5ec8], eax
test cl, 1
jne 0x140011ddc
test cl, 4
je 0x140011ddc
mov rax, qword [0x1401b5e78]
dec dword [rax + 8]
mov eax, dword [0x1401b5ec8]
or eax, 0x10
lea rcx, [0x14043f020]
mov dword [0x1401b5ec8], eax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x14043f048]
mov ebx, dword [0x1401b5f7c]
cmp eax, ebx
jne 0x140011ed1
mov rbp, qword [0x14043f018]
add ebx, 8
movsxd rdx, ebx
shl rdx, 3
test rdx, rdx
je 0x140011e5d
mov rcx, rbp
call qword [0x14012a630]
mov r8, rax
test rax, rax
je 0x140011e76
mov qword [0x14043f018], rax
movsxd rax, dword [0x1401b5f7c]
cmp eax, ebx
jge 0x140011e4f
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 [0x14043f048]
mov dword [0x1401b5f7c], ebx
jmp 0x140011ed8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rcx, rbp
mov edi, dword [rax]
call qword [0x14012a640]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], edi
lea rcx, [0x14043f020]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, ntohs
lea rcx, [0x1401b5e48]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rcx, rsi
mov edi, dword [rax]
call qword [0x14012a640]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], edi
mov qword [0x1401b5dd8], r14
mov rcx, qword [0x1401b5db8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov qword [0x1401b5db8], 0xffffffffffffffff
jmp 0x140011ef3
mov r8, qword [0x14043f018]
cdqe
lea rcx, [0x14043f020]
mov qword [r8 + rax*8], r15
inc dword [0x14043f048]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
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
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, str.CreateEvent
call fcn.140016450
int3