Function at 0x1800b1fd0
Capabilities:
Resume thread
Suspend thread

Disassembly:
cmp qword [rcx + 0x60], 0xffffffffffffffff
je 0x1800a7ed7
mov eax, dword [rcx + 0x38]
shr eax, 5
test al, 1
jne 0x1800a7ed7
mov eax, dword [rcx + 0x38]
shr eax, 7
test al, 1
jne 0x1800a7ed7
mov rdx, rcx
mov rcx, qword [rcx + 0x60]
jmp 0x1800b1fd0
ret
mov r11, rsp
push rbx
push rdi
push r14
sub rsp, 0x630
mov rax, qword [0x18019b300]
xor rax, rsp
mov qword [rsp + 0x620], rax
xor r14d, r14d
mov rbx, rdx
cmp qword [0x18019a948], 0xffffffffffffffff
mov rdi, rcx
jne 0x1800b216b
mov qword [r11 + 0x18], rbp
lea rcx, str.kernel32
xor edx, edx
mov qword [r11 + 0x20], rsi
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
lea rdx, str.IsWow64Process2
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x1800b2105
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x24]
call rsi
test eax, eax
je 0x1800b2105
mov eax, 0xaa64
cmp word [rsp + 0x20], ax
jne 0x1800b2105
xor edx, edx
mov dword [rsp + 0x30], 0x11c
mov r8d, 0x100
mov qword [rsp + 0x3c], r14
lea rcx, [rsp + 0x44]
call fcn.18010bb00
xor eax, eax
mov word [rsp + 0x146], r14w
mov r8b, 3
mov dword [rsp + 0x148], eax
mov edx, 2
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov ecx, 0x65f4
mov qword [rsp + 0x34], 0xa
mov word [rsp + 0x144], cx
mov r8, rax
lea rcx, [rsp + 0x30]
mov edx, 0x23
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
jne 0x1800b2105
mov eax, r14d
jmp 0x1800b2115
lea rdx, str.QueueUserAPC2
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, qword [rsp + 0x668]
mov rbp, qword [rsp + 0x660]
mov qword [0x18019a948], rax
xor eax, eax
rdsspq rax
test rax, rax
je 0x1800b216b
xor edx, edx
lea rcx, str.ntdll.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
lea rdx, str.RtlGetReturnAddressHijackTarget
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800b216b
call rax
mov qword [0x18019fef8], rax
cmp qword [0x18019a948], r14
je 0x1800b21d0
mov rcx, rbx
call fcn.1800a8290
test al, al
jne 0x1800b2234
mov dl, 1
mov rcx, rbx
call fcn.1800a8320
mov r9d, 0x10001
lea rcx, [0x1800b1c40]
mov r8, rbx
mov rdx, rdi
call qword [0x18019a948]
test eax, eax
jne 0x1800b2234
xor edx, edx
mov rcx, rbx
call fcn.1800a8320
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x1800b21c9
cmp eax, 0x32
jne 0x1800b2234
mov qword [0x18019a948], r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1800b2234
lea rdx, [rsp + 0x150]
mov dword [rsp + 0x180], 0x40100003
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1800b222b
mov ecx, dword [rsp + 0x180]
mov eax, ecx
shr eax, 0x1f
test ecx, ecx
jns 0x1800b2216
test ecx, 0x18000000
jne 0x1800b222b
test al, al
je 0x1800b222b
mov rdx, rbx
lea rcx, [rsp + 0x150]
call qword [0x18019fef0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x620]
xor rcx, rsp
call fcn.180107060
add rsp, 0x630
pop r14
pop rdi
pop rbx
ret