Function at 0x140012570
Capabilities:
Create thread
Resume thread
Terminate thread

Disassembly:
mov eax, 0x1c68
call fcn.1401b7d20
sub rsp, rax
cmp dword [0x1403b5dec], 0
mov qword [rsp + 0x1c60], rdi
je 0x14001288c
mov qword [rsp + 0x1c70], rbx
mov qword [rsp + 0x1c78], rsi
call qword [sym.imp.WINMM.dll_timeGetTime]
mov edi, eax
mov rax, qword [0x1403bfd00]
test rax, rax
je 0x1400125d1
mov rcx, qword [0x1403c0108]
xor r8d, r8d
lea edx, [r8 + 0x10]
call qword [0x1403b84f8]
mov rax, qword [0x1403bfd00]
mov rcx, qword [0x1403c0108]
mov rsi, qword [rcx]
test rax, rax
je 0x1400125e9
xor r8d, r8d
lea edx, [r8 + 0x10]
call rax
sub rdi, rsi
xor ebx, ebx
cmp rdi, 0x1388
jbe 0x14001271e
cmp dword [0x1403c3cc8], ebx
jne 0x140012608
lea eax, [rbx + 1]
jmp 0x14001263c
mov rcx, qword [0x1403bfd18]
lea r8, str.freeze:___llu__r_n
mov r9, rdi
mov edx, 0x104
call fcn.140008670
mov rcx, qword [0x1403bfd18]
call fcn.140024b30
mov eax, 1
mov dword [0x1403a9000], eax
mov eax, ebx
mov dword [0x1403c3cc8], eax
cmp rdi, 0x1770
jbe 0x14001271e
dec dword [0x1403a5014]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x1403a5014], ebx
jne 0x14001271e
lea rdi, [rsp + 0x30]
mov dword [0x1403a5014], 0x1f4
lea rsi, [0x1403b6600]
mov ecx, 0x1c24
rep movsb byte [rdi], byte [rsi]
lea rcx, vtable.CAutoUpdater.0
lea r9, [rsp + 0x30]
lea r8, [0x1403c0d50]
call fcn.14000b430
mov rcx, qword [0x1403bfd18]
lea r9, [0x1403c0d50]
lea r8, str._r_nMoss_Monitor_doesnt_answer:__s_r_n
mov edx, 0x104
call fcn.140008670
mov rcx, qword [0x1403bfd18]
call fcn.140024b30
lea r8, [0x1403c0d50]
lea rdx, [0x1403b7604]
lea rcx, vtable.CAutoUpdater.0
call fcn.14000b8e0
call qword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, eax
call fcn.140024f70
mov rcx, qword [0x1403bfd18]
lea r9, [0x1403c0d50]
lea r8, str._sms_r_n
mov edx, 0x104
call fcn.140008670
mov rcx, qword [0x1403bfd18]
call fcn.140024b30
mov rcx, qword [0x1403b84f0]
lea rdx, [0x1403c0d40]
mov dword [0x1403c0d40], ebx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [0x1403c0d40], 0x103
mov rsi, qword [rsp + 0x1c78]
je 0x14001275a
lea rcx, str.KRPQ
call fcn.140024b30
jmp 0x1400127b0
mov rcx, qword [0x1403b84f0]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [0x1403c0d3c], eax
cmp eax, 1
jne 0x1400127d8
lea rcx, [0x14026775c]
call fcn.140024b30
mov edx, dword [0x1403c0d40]
mov rcx, qword [0x1403b84f0]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x1403b84f0]
mov edx, 0xbb8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x1403b84f0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x28], rbx
lea r9, [0x1403b84e4]
lea r8, [0x1400128f0]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1403b84f0], rax
mov rcx, qword [0x1403b84e8]
lea rdx, [0x1403c0d40]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [0x1403c0d40], 0x103
je 0x140012806
lea rcx, [0x140267760]
call fcn.140024b30
jmp 0x14001285c
mov rcx, qword [0x1403b84e8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [0x1403c0d3c], eax
cmp eax, 1
jne 0x140012884
lea rcx, [0x140267764]
call fcn.140024b30
mov edx, dword [0x1403c0d40]
mov rcx, qword [0x1403b84e8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x1403b84e8]
mov edx, 0xbb8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x1403b84e8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x28], rbx
lea r9, [0x1403b84e0]
lea r8, [0x140015370]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1403b84e8], rax
mov rbx, qword [rsp + 0x1c70]
call qword [sym.imp.WINMM.dll_timeGetTime]
mov edi, eax
mov rax, qword [0x1403bfd00]
test rax, rax
je 0x1400128bb
mov rcx, qword [0x1403c0108]
xor r8d, r8d
lea edx, [r8 + 0x10]
call qword [0x1403b84f8]
mov rax, qword [0x1403bfd00]
mov rcx, qword [0x1403c0108]
test rdi, rdi
je 0x1400128ca
mov qword [rcx], rdi
mov rdi, qword [rsp + 0x1c60]
test rax, rax
je 0x1400128e0
xor r8d, r8d
lea edx, [r8 + 0x10]
call rax
add rsp, 0x1c68
ret