Function at 0x1400a2090
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2660]
mov eax, 0x2760
call fcn.1401dc320
sub rsp, rax
mov rax, qword [0x14030ef00]
xor rax, rsp
mov qword [rbp + 0x2650], rax
mov r13, rdx
mov rdi, rcx
xor r14d, r14d
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8d, 0x108
mov esi, r14d
call fcn.140211420
test rdi, rdi
je 0x1400a215f
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x1400a213f
call qword [sym.imp.KERNEL32.dll_SuspendThread]
xor edx, edx
lea rcx, [rdi + 0x40]
mov r8d, 0x4d0
call fcn.140211420
mov rcx, qword [rdi + 0x30]
lea rdx, [rdi + 0x40]
mov dword [rdi + 0x70], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x1400a212a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test esi, esi
je 0x1400a213f
xor eax, eax
jmp 0x1400a236d
mov rax, qword [rdi + 0x138]
mov qword [rsp + 0x70], rax
mov rax, qword [rdi + 0xd8]
mov qword [rbp - 0x70], rax
mov rax, qword [rbp + 0x118]
jmp 0x1400a2183
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [rbp + 0x178]
mov qword [rsp + 0x70], rax
mov rax, qword [rbp + 0x118]
mov qword [rbp - 0x70], rax
mov ecx, 3
mov dword [rsp + 0x7c], ecx
mov dword [rbp - 0x64], ecx
test rdi, rdi
je 0x1400a219b
mov rax, qword [rdi + 0xd8]
mov qword [rbp - 0x60], rax
lea r12, [rbp + 0x80]
test rdi, rdi
mov dword [rbp - 0x54], ecx
lea rax, [rdi + 0x40]
mov byte [r13], r14b
cmovne r12, rax
test rdi, rdi
je 0x1400a21c7
mov rbx, qword [rdi + 0x30]
mov rdx, qword [rdi + 0x28]
jmp 0x1400a21d9
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, rax
mov rax, qword [sym.imp.dbghelp.dll_SymGetModuleBase64]
lea r9, [rsp + 0x70]
mov qword [rsp + 0x40], r14
mov r8, rbx
mov qword [rsp + 0x38], rax
mov ecx, 0x8664
mov rax, qword [sym.imp.dbghelp.dll_SymFunctionTableAccess64]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r12
call qword [sym.imp.dbghelp.dll_StackWalk64]
test eax, eax
je 0x1400a236a
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x1400a236a
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], r14
mov dword [rbp + 0x650], 0x58
mov dword [rbp + 0x6a0], 0x7d0
mov dword [rbp + 0x1650], 0x28
test rdi, rdi
je 0x1400a225f
mov rcx, qword [rdi + 0x28]
test rcx, rcx
jne 0x1400a2268
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov eax, 0xfec
movsxd r15, esi
sub eax, esi
lea r9, [rbp + 0x650]
lea r8, [rsp + 0x58]
movsxd r14, eax
mov rdx, rbx
add r15, r13
call qword [sym.imp.dbghelp.dll_SymFromAddr]
test eax, eax
je 0x1400a2323
lea r9, [rbp + 0x6a4]
mov rdx, r14
lea r8, [0x1402e6c84]
mov rcx, r15
call fcn.140001114
add esi, eax
test rdi, rdi
je 0x1400a22be
mov rcx, qword [rdi + 0x28]
test rcx, rcx
jne 0x1400a22c7
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov eax, 0xfec
movsxd r15, esi
sub eax, esi
lea r9, [rbp + 0x1650]
lea r8, [rsp + 0x50]
movsxd r14, eax
mov rdx, rbx
add r15, r13
call qword [sym.imp.dbghelp.dll_SymGetLineFromAddr64]
mov rdx, r14
mov rcx, r15
test eax, eax
je 0x1400a2315
mov eax, dword [rbp + 0x1660]
lea r8, str.____s:_d__n
mov r9, qword [rbp + 0x1668]
mov dword [rsp + 0x20], eax
call fcn.140001114
jmp 0x1400a2352
lea r8, [0x1402e6c24]
call fcn.140001114
jmp 0x1400a2352
lea r8, [rbp + 0x550]
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.14009dad0
lea r9, [rbp + 0x550]
mov rdx, r14
mov rcx, r15
lea r8, str._FuncAddr:_0x_s__n
call fcn.140001114
add esi, eax
xor r14d, r14d
test rdi, rdi
je 0x1400a21c7
cmp qword [rdi + 0x30], r14
jne 0x1400a21b8
mov rax, r13
mov rcx, qword [rbp + 0x2650]
xor rcx, rsp
call fcn.1401dbdb0
mov rbx, qword [rsp + 0x27b0]
add rsp, 0x2760
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret