Function at 0x1400127a0
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa10]
sub rsp, 0xb10
mov rsi, r9
movsxd r13, r8d
mov rdi, rdx
mov r15, rcx
mov ebx, 9
mov r12, qword [rbp + 0xa70]
mov rax, qword [rbp + 0xa78]
test rax, rax
jne 0x14001286b
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp r12, rax
jne 0x140012822
xor edx, edx
mov r8d, 0x4d0
lea rcx, [rbp + 0x70]
call fcn.140043980
mov dword [rbp + 0xa0], 0x10000b
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
jmp 0x1400128f8
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SuspendThread]
xor edx, edx
mov r8d, 0x4d0
lea rcx, [rbp + 0x70]
call fcn.140043980
mov dword [rbp + 0xa0], 0x10000b
lea rdx, [rbp + 0x70]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x1400128f8
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
jmp 0x140012afe
mov rcx, rax
lea rax, [rbp + 0x70]
mov rdx, rbx
nop word [rax + rax]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rdx, 1
jne 0x140012880
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rax, qword [r15 + 0x10]
jne 0x140012930
lea rax, [rbp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9, rsi
mov r8d, r13d
mov rdx, rdi
mov rcx, r15
call fcn.140012b20
xor esi, esi
test eax, eax
setne sil
jmp 0x140012ade
lea rax, [rbp + 0x540]
lea rcx, [rbp + 0x70]
nop dword [rax + rax]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rbx, 1
jne 0x140012940
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
xor esi, esi
mov edi, esi
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x60]
call fcn.140043980
mov rax, qword [rbp + 0x168]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x6c], 3
mov rax, qword [rbp + 0x108]
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x74], 3
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x64], 3
lea rax, [0x1400b1e00]
mov qword [rsp + 0x50], rax
mov rcx, rax
call fcn.140011d60
nop
mov r14d, esi
test r13, r13
jle 0x140012ac2
mov ebx, esi
lea rdx, [0x140014da0]
mov rcx, qword [r15 + 8]
mov r10, qword [rcx + 0x70]
mov qword [rsp + 0x40], rsi
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x38], rax
mov rax, qword [rcx + 0x28]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
lea rax, [rbp + 0x540]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
mov r8, r12
mov rdx, qword [r15 + 0x10]
mov ecx, 0x8664
call r10
test eax, eax
je 0x140012ac2
mov r9, qword [rsp + 0x60]
cmp r9, qword [rsp + 0x70]
jne 0x140012a8d
mov eax, dword [r15 + 0x2c]
test eax, eax
jle 0x140012a89
cmp edi, eax
jg 0x140012aaf
inc edi
jmp 0x140012a8f
mov edi, esi
test r9, r9
je 0x140012a9f
mov rax, qword [rbp + 0xa58]
mov qword [rax + rbx*8], r9
inc r14d
inc rbx
cmp rbx, r13
jge 0x140012ac2
jmp 0x140012a22
mov rax, qword [r15]
xor r8d, r8d
lea rdx, str.Endless_Callstack_
mov rcx, r15
call qword [rax + 0x20]
mov rax, qword [rbp + 0xa68]
mov dword [rax], r14d
lea rcx, [0x1400b1e00]
call fcn.140011d70
nop
mov esi, 1
cmp qword [rbp + 0xa78], 0
jne 0x140012afc
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp r12, rax
je 0x140012afc
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
mov rbx, qword [rsp + 0xb50]
add rsp, 0xb10
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret