Function at 0x140090154
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.1401c1440
sub rsp, rax
mov rax, qword [0x1402bff08]
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.1401c31c0
test rdi, rdi
je 0x140090218
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140090203
call qword [sym.imp.KERNEL32.dll_SuspendThread]
xor edx, edx
lea rcx, [rdi + 0x20]
mov r8d, 0x4d0
call fcn.1401c31c0
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 0x1400901ee
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 0x140090203
xor eax, eax
jmp 0x14009041a
mov rax, qword [rdi + 0x118]
mov qword [rsp + 0x70], rax
mov rax, qword [rdi + 0xb8]
jmp 0x140090238
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 0x140090274
mov rdx, qword [rdi + 0x10]
mov rbx, qword [rdi + 0x18]
jmp 0x140090286
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 0x140090417
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x140090417
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 0x14009030c
mov rcx, qword [rdi + 0x10]
test rcx, rcx
jne 0x140090315
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 0x1400903d0
lea r9, [rbp + 0x6a4]
mov rdx, r14
lea r8, [0x14029cf64]
mov rcx, r15
call fcn.140001148
add esi, eax
test rdi, rdi
je 0x14009036b
mov rcx, qword [rdi + 0x10]
test rcx, rcx
jne 0x140090374
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 0x1400903c2
mov eax, dword [rbp + 0x1660]
lea r8, str.____s:_d__n
mov r9, qword [rbp + 0x1668]
mov dword [rsp + 0x20], eax
call fcn.140001148
jmp 0x1400903ff
lea r8, [0x14029cf04]
call fcn.140001148
jmp 0x1400903ff
lea r8, [rbp + 0x550]
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.14008c64c
lea r9, [rbp + 0x550]
mov rdx, r14
mov rcx, r15
lea r8, str._FuncAddr:_0x_s__n
call fcn.140001148
add esi, eax
xor r14d, r14d
test rdi, rdi
je 0x140090274
cmp qword [rdi + 0x18], r14
jne 0x140090265
mov rax, r12
mov rcx, qword [rbp + 0x2650]
xor rcx, rsp
call fcn.1401c0ed0
mov rbx, qword [rsp + 0x27b0]
add rsp, 0x2760
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret