Function at 0x1800148f0
Capabilities:
Create thread
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov edi, 1
xor eax, eax
lock cmpxchg dword [0x180140bcc], edi
je 0x180014941
nop
cmp rbx, 0x20
jae 0x18001492a
xor ecx, ecx
jmp 0x18001492c
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180140bcc], edi
jne 0x180014920
cmp qword [0x180140c28], 0
jne 0x18001495f
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x180140c28], rax
xor eax, eax
lea rcx, str.opengl32.dll
xchg dword [0x180140bcc], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rcx, str.Kernel32.dll
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rcx, str.Winmm.dll
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rcx, [0x180119b20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.wglSwapBuffers
mov rcx, r13
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x180119b40]
mov rcx, r13
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WSASend
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x180119b58]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x180119b68]
mov rcx, rdi
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.timeGetTime
mov rcx, rdi
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x180119b88]
mov rcx, rdi
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.glCallList
mov rcx, r13
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r8, [0x1801355e0]
mov rcx, rbx
lea rdx, [0x1800148d0]
mov rdi, rax
call fcn.18006f440
lea r8, [0x180140b80]
mov rcx, rsi
lea rdx, [0x180013fe0]
call fcn.18006f440
mov rcx, qword [rsp + 0x60]
lea r8, [0x180140b88]
lea rdx, [0x180013740]
call fcn.18006f440
lea r8, [0x180140b60]
mov rcx, rbp
lea rdx, [0x180013020]
call fcn.18006f440
lea r8, [0x180140b70]
mov rcx, r14
lea rdx, [0x180013050]
call fcn.18006f440
lea r8, [0x180140b78]
mov rcx, r15
lea rdx, [0x180013020]
call fcn.18006f440
lea r8, [0x180140b68]
mov rcx, rdi
lea rdx, [0x180013140]
call fcn.18006f440
lea r8, [0x180140b58]
mov rcx, r12
lea rdx, [0x1800130d0]
call fcn.18006f440
xor eax, eax
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov dword [rsp + 0x20], eax
lea r8, [0x180013690]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, 1
call fcn.18006f730
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
jmp 0x18006f7c0
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov edi, 1
mov ebp, r15d
mov ebx, r15d
xor eax, eax
lock cmpxchg dword [0x180140bcc], edi
je 0x18006f811
nop
cmp rbx, 0x20
jae 0x18006f7fa
xor ecx, ecx
jmp 0x18006f7fc
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180140bcc], edi
jne 0x18006f7f0
cmp qword [0x180140c28], rbp
je 0x18006f93d
mov r8d, dword [0x18014106c]
mov ebx, r15d
test r8d, r8d
je 0x18006f942
mov rdx, qword [0x180141060]
add rdx, 0x20
nop dword [rax]
movzx ecx, byte [rdx]
shr cl, 1
xor cl, byte [rdx]
test cl, 2
jne 0x18006f85c
inc ebx
add rdx, 0x38
cmp ebx, r8d
jb 0x18006f840
jmp 0x18006f942
cmp ebx, 0xffffffff
je 0x18006f942
mov edx, 0xffffffff
lea rcx, [rsp + 0x20]
mov r8d, 2
call fcn.18006f010
mov edx, dword [0x18014106c]
cmp ebx, edx
jae 0x18006f8d1
nop dword [rax]
nop dword [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x180141060]
movzx r8d, byte [rcx + rax + 0x20]
movzx eax, r8b
shr al, 1
xor al, r8b
test al, 2
je 0x18006f8cb
mov edx, r8d
mov ecx, ebx
shr edx, 2
and edx, edi
call fcn.18006f1c0
mov ebp, eax
test eax, eax
jne 0x18006f8d1
mov edx, dword [0x18014106c]
inc ebx
cmp ebx, edx
jb 0x18006f890
cmp qword [rsp + 0x20], r15
je 0x18006f942
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18006f927
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rsi
mov esi, eax
nop dword [rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18006f918
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x18006f8f0
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180140c28]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x18006f942
mov ebp, 2
xchg dword [0x180140bcc], r15d
mov rbx, qword [rsp + 0x48]
mov eax, ebp
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret