Function at 0x14009a864
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.1401c9cb0
sub rsp, rax
mov rax, qword [0x1402e8ed8]
xor rax, rsp
mov qword [rbp + 0x2650], rax
mov r12, rdx
mov rdi, rcx
xor r14d, r14d
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8d, 0x108
mov esi, r14d
call fcn.1401cbcd0
test rdi, rdi
je 0x14009a928
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14009a913
call qword [sym.imp.KERNEL32.dll_SuspendThread]
xor edx, edx
lea rcx, [rdi + 0x20]
mov r8d, 0x4d0
call fcn.1401cbcd0
mov rcx, qword [rdi + 0x18]
lea rdx, [rdi + 0x20]
mov dword [rdi + 0x50], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x14009a8fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test esi, esi
je 0x14009a913
xor eax, eax
jmp 0x14009ab2a
mov rax, qword [rdi + 0x118]
mov qword [rsp + 0x70], rax
mov rax, qword [rdi + 0xb8]
jmp 0x14009a948
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 ecx, 3
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x70], rax
lea r13, [rbp + 0x80]
test rdi, rdi
mov dword [rbp - 0x64], ecx
lea rax, [rdi + 0x20]
mov dword [rsp + 0x7c], ecx
cmovne r13, rax
mov dword [rbp - 0x54], ecx
mov byte [r12], r14b
test rdi, rdi
je 0x14009a984
mov rdx, qword [rdi + 0x10]
mov rbx, qword [rdi + 0x18]
jmp 0x14009a996
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], r13
call qword [sym.imp.dbghelp.dll_StackWalk64]
test eax, eax
je 0x14009ab27
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14009ab27
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 0x14009aa1c
mov rcx, qword [rdi + 0x10]
test rcx, rcx
jne 0x14009aa25
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, r12
call qword [sym.imp.dbghelp.dll_SymFromAddr]
test eax, eax
je 0x14009aae0
lea r9, [rbp + 0x6a4]
mov rdx, r14
lea r8, [0x1402c575c]
mov rcx, r15
call fcn.1400011e0
add esi, eax
test rdi, rdi
je 0x14009aa7b
mov rcx, qword [rdi + 0x10]
test rcx, rcx
jne 0x14009aa84
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, r12
call qword [sym.imp.dbghelp.dll_SymGetLineFromAddr64]
mov rdx, r14
mov rcx, r15
test eax, eax
je 0x14009aad2
mov eax, dword [rbp + 0x1660]
lea r8, str.____s:_d__n
mov r9, qword [rbp + 0x1668]
mov dword [rsp + 0x20], eax
call fcn.1400011e0
jmp 0x14009ab0f
lea r8, [0x1402c56fc]
call fcn.1400011e0
jmp 0x14009ab0f
lea r8, [rbp + 0x550]
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.140096bc4
lea r9, [rbp + 0x550]
mov rdx, r14
mov rcx, r15
lea r8, str._FuncAddr:_0x_s__n
call fcn.1400011e0
add esi, eax
xor r14d, r14d
test rdi, rdi
je 0x14009a984
cmp qword [rdi + 0x18], r14
jne 0x14009a975
mov rax, r12
mov rcx, qword [rbp + 0x2650]
xor rcx, rsp
call fcn.1401c9740
mov rbx, qword [rsp + 0x27b0]
add rsp, 0x2760
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret