Function at 0x140012160
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0xa28]
sub rsp, 0xb28
mov rax, qword [rbp + 0xa88]
mov rsi, r9
mov r15, qword [rbp + 0xa80]
mov r12, rcx
movsxd rdi, r8d
mov ebx, 9
test rax, rax
jne 0x14001223b
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp r15, rax
jne 0x1400121e1
xor edx, edx
lea rcx, [rbp + 0x80]
mov r8d, 0x4d0
call fcn.1400443c0
lea rcx, [rbp + 0x80]
mov dword [rbp + 0xb0], 0x10000b
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
jmp 0x1400122c9
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SuspendThread]
xor edx, edx
lea rcx, [rbp + 0x80]
mov r8d, 0x4d0
call fcn.1400443c0
lea rdx, [rbp + 0x80]
mov dword [rbp + 0xb0], 0x10000b
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x1400122c9
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
add rsp, 0xb28
pop r15
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [rbp + 0x80]
mov rdx, rbx
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140012250
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmmword [rcx + 0x40], xmm0
mov qword [rsp + 0xb60], r13
mov r13, rdi
mov qword [rsp + 0xb20], r14
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rax, qword [r12 + 0x10]
lea rcx, [rbp + 0x80]
lea rax, [rbp + 0x550]
jne 0x140012480
nop dword [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rbx, 1
jne 0x140012300
movups xmm0, xmmword [rcx]
xor r14d, r14d
xor r8d, r8d
movups xmm1, xmmword [rcx + 0x10]
lea rdx, [rsp + 0x50]
mov dword [rsi], r14d
movups xmmword [rax], xmm0
lea r15d, [rbx + 1]
mov qword [rsp + 0x50], r14
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
mov rcx, qword [rbp + 0x178]
movups xmmword [rax + 0x30], xmm1
movups xmmword [rax + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
jne 0x1400123c0
mov rax, qword [rbp + 0x5e8]
mov rbx, qword [rax]
add rax, 8
mov qword [rbp + 0x5e8], rax
mov qword [rbp + 0x648], rbx
jmp 0x1400123c7
mov rbx, qword [rbp + 0x648]
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0xd8
call fcn.1400443c0
mov esi, r14d
test edi, edi
jle 0x1400125fa
mov rdi, r14
test rbx, rbx
je 0x1400125fa
lea r8, [rsp + 0x70]
mov rcx, rbx
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140012466
mov rcx, qword [rbp + 0xa68]
mov r9, rax
mov r8, qword [rbp + 0x648]
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x38], r14
mov qword [rcx + rdi*8], r8
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x550]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
inc esi
inc rdi
cmp rdi, r13
jge 0x1400125fa
mov rbx, qword [rbp + 0x648]
jmp 0x1400123e7
mov rax, qword [r12]
lea rdx, str.RtlLookupFunctionEntry_returned_NULL_function._Aborting_stack_walk._n
mov rcx, r12
call qword [rax + 0x28]
mov r15d, r14d
jmp 0x1400125fa
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rbx, 1
jne 0x140012480
movups xmm0, xmmword [rcx]
xor r14d, r14d
xor edx, edx
movups xmm1, xmmword [rcx + 0x10]
mov r8d, 0x108
mov edi, r14d
movups xmmword [rax], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
lea rcx, [rsp + 0x70]
movups xmmword [rax + 0x30], xmm1
movups xmmword [rax + 0x40], xmm0
call fcn.1400443c0
mov rax, qword [rbp + 0x178]
mov esi, r14d
mov qword [rsp + 0x70], rax
mov rax, qword [rbp + 0x118]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x60], rax
mov dword [rsp + 0x7c], 3
mov dword [rbp - 0x64], 3
mov dword [rbp - 0x54], 3
test r13, r13
jle 0x1400125f4
mov ebx, r14d
mov rcx, qword [r12 + 8]
lea rdx, [0x140014c00]
mov qword [rsp + 0x40], r14
lea r9, [rsp + 0x70]
mov r8, r15
mov rax, qword [rcx + 0x38]
mov r10, qword [rcx + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rcx + 0x28]
mov ecx, 0x8664
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x550]
mov qword [rsp + 0x28], rdx
mov rdx, qword [r12 + 0x10]
mov qword [rsp + 0x20], rax
call r10
test eax, eax
je 0x1400125f4
mov r9, qword [rsp + 0x70]
cmp r9, qword [rbp - 0x80]
jne 0x1400125be
mov eax, dword [r12 + 0x2c]
test eax, eax
jle 0x1400125ba
cmp edi, eax
jg 0x1400125e0
inc edi
jmp 0x1400125c1
mov edi, r14d
test r9, r9
je 0x1400125d1
mov rax, qword [rbp + 0xa68]
mov qword [rax + rbx*8], r9
inc esi
inc rbx
cmp rbx, r13
jge 0x1400125f4
jmp 0x140012551
mov rax, qword [r12]
lea rdx, str.Endless_Callstack_
xor r8d, r8d
mov rcx, r12
call qword [rax + 0x20]
mov r15d, 1
cmp qword [rbp + 0xa88], 0
mov rax, qword [rbp + 0xa78]
mov dword [rax], esi
mov r14, qword [rsp + 0xb20]
mov r13, qword [rsp + 0xb60]
jne 0x140012635
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, qword [rbp + 0xa80]
cmp rcx, rax
je 0x140012635
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, r15d
add rsp, 0xb28
pop r15
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret