Function at 0x180168e10
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
sub rsp, 0x530
mov rax, qword [0x1804c8100]
xor rax, rsp
mov qword [rsp + 0x520], rax
mov r13, rcx
mov qword [rsp + 0x40], 0
lea rcx, [0x180345938]
mov r14, rdx
mov bpl, 1
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.LdrLockLoaderLock
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.LdrUnlockLoaderLock
mov rcx, rbx
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test r12, r12
je 0x180168ea0
test rax, rax
je 0x180168ea0
lea r8, [rsp + 0x40]
xor edx, edx
xor ecx, ecx
call r12
nop word [rax + rax]
xor esi, esi
xor ebx, ebx
nop dword [rax]
nop dword [rax + rax]
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r9d, r9d
mov r8d, 0x81a
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
call sub.ntdll.dll_NtGetNextThread
mov edi, eax
test rbx, rbx
je 0x180168ef5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
js 0x180168fa1
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov edi, eax
test eax, eax
je 0x180168eb0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x180168eb0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x180168eb0
test eax, eax
je 0x180168f40
test bpl, bpl
jne 0x180168f40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x180168eb0
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x4d0
call fcn.1802bd010
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x80], 0x10000b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x180168eb0
mov rcx, qword [r14 + 0x38]
test rcx, rcx
je 0x180168f9a
mov qword [rsp + 0x48], rbx
lea r9, [rsp + 0x50]
mov dword [rsp + 0x38], edi
lea r8, [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
call qword [rax + 0x10]
inc esi
jmp 0x180168eb0
xor bpl, bpl
test esi, esi
jne 0x180168ea0
test r12, r12
je 0x180168fc0
test r15, r15
je 0x180168fc0
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call r15
mov rcx, qword [r13 + 0x38]
test rcx, rcx
je 0x180168fcf
mov rax, qword [rcx]
call qword [rax + 0x10]
xor esi, esi
mov ebx, esi
mov qword [rsp + 0x30], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r9d, r9d
mov r8d, 0x81a
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
call sub.ntdll.dll_NtGetNextThread
mov edi, eax
test rbx, rbx
je 0x180169010
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
js 0x18016903d
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov edi, eax
test eax, eax
je 0x180168fd3
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x180168fd3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x180168fd3
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.180286db0
mov rbx, qword [rsp + 0x580]
add rsp, 0x530
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret