Function at 0x1400406d0
Capabilities:
Resume thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x9b8]
sub rsp, 0xab8
mov rax, qword [0x1400c50b0]
xor rax, rsp
mov qword [rbp + 0x9a0], rax
mov qword [rbp + 8], r9
mov rdi, r8
mov qword [rbp], r8
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x38], rcx
mov r12, qword [rbp + 0xa20]
mov qword [rsp + 0x30], r12
xor edx, edx
mov r8d, 0x2cc
lea rcx, [rbp + 0x60]
call fcn.14006ba60
xor edx, edx
mov r8d, 0x670
lea rcx, [rbp + 0x330]
call fcn.14006ba60
cmp qword [r14 + 0x40], 0
jne 0x140040755
mov eax, 0xc0000225
jmp 0x140041161
mov r8, rdi
mov rdx, rbx
mov rcx, r14
call fcn.140042370
test eax, eax
js 0x140041161
mov rcx, qword [r14 + 0x40]
test rcx, rcx
je 0x14004077a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [r12]
call fcn.140055660
test al, al
jne 0x14004079b
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x140041161
mov rax, qword [r14]
mov rcx, qword [rax + 0x10]
xor r15d, r15d
mov edx, r15d
cmp byte [rcx + 0x15], dl
sete dl
test edx, edx
je 0x140040809
cmp edx, 1
je 0x1400407bf
mov ebx, r15d
jmp 0x14004084d
mov ecx, 0x1c0
call fcn.140068fd8
mov rbx, rax
mov qword [rbp + 0x50], rax
lea rax, vtable.blackbone::IAsmHelper.0
mov qword [rbx], rax
lea rcx, [rbx + 8]
call sym.Xenos64.exe_public:_void___cdecl_asmjit::JitRuntime::constructor_void____ptr64
lea rcx, [rbx + 0xa8]
mov r8d, 2
lea rdx, [rbx + 8]
call sym.Xenos64.exe_public:_void___cdecl_asmjit::X86Assembler::constructor_struct_asmjit::Runtime____ptr64__unsigned_int____ptr64
lea rax, vtable.blackbone::AsmHelper64.0
mov byte [rbx + 0x1b8], 1
jmp 0x14004084a
mov ecx, 0x1b8
call fcn.140068fd8
mov rbx, rax
mov qword [rbp + 0x50], rax
lea rax, vtable.blackbone::IAsmHelper.0
mov qword [rbx], rax
lea rcx, [rbx + 8]
call sym.Xenos64.exe_public:_void___cdecl_asmjit::JitRuntime::constructor_void____ptr64
lea rcx, [rbx + 0xa8]
mov r8d, 1
lea rdx, [rbx + 8]
call sym.Xenos64.exe_public:_void___cdecl_asmjit::X86Assembler::constructor_struct_asmjit::Runtime____ptr64__unsigned_int____ptr64
lea rax, vtable.blackbone::AsmHelper32.0
mov qword [rbx], rax
mov qword [rbp + 0x50], rbx
mov rax, qword [r14]
mov rcx, qword [rax + 0x10]
cmp byte [rcx + 0x15], 0
jne 0x140040d19
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400c9878], eax
jle 0x140040979
lea rcx, [0x1400c9878]
call fcn.1400691d8
cmp dword [0x1400c9878], 0xffffffff
jne 0x140040979
movaps xmm0, xmmword [0x1400acbf0]
movaps xmmword [0x1400c9880], xmm0
movaps xmm1, xmmword [0x1400acc20]
movaps xmmword [0x1400c9890], xmm1
movaps xmm0, xmmword [0x1400acc00]
movaps xmmword [0x1400c98a0], xmm0
movaps xmm1, xmmword [0x1400acc10]
movaps xmmword [0x1400c98b0], xmm1
movaps xmm0, xmmword [0x1400acc50]
movaps xmmword [0x1400c98c0], xmm0
movaps xmm1, xmmword [0x1400acc60]
movaps xmmword [0x1400c98d0], xmm1
movaps xmm0, xmmword [0x1400acc70]
movaps xmmword [0x1400c98e0], xmm0
movaps xmm1, xmmword [0x1400acc80]
movaps xmmword [0x1400c98f0], xmm1
movaps xmm0, xmmword [0x1400acc90]
movaps xmmword [0x1400c9900], xmm0
movaps xmm1, xmmword [0x1400acca0]
movaps xmmword [0x1400c9910], xmm1
movaps xmm0, xmmword [0x1400accb0]
movaps xmmword [0x1400c9920], xmm0
movaps xmm1, xmmword [0x1400accc0]
movaps xmmword [0x1400c9930], xmm1
movaps xmm0, xmmword [0x1400accd0]
movaps xmmword [0x1400c9940], xmm0
movaps xmm1, xmmword [0x1400acce0]
movaps xmmword [0x1400c9950], xmm1
movaps xmm0, xmmword [0x1400acc40]
movaps xmmword [0x1400c9960], xmm0
lea rcx, [0x1400c9878]
call fcn.140069178
mov rdx, qword [r12]
mov dword [rbp + 0x360], 0x100001
mov rax, qword [rdx]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x330]
mov rdx, qword [rdx + 0x10]
call qword [rax + 0x58]
mov edi, eax
test eax, eax
js 0x140040d50
lea rsi, [rbx + 0xa8]
movabs rax, 0xffffffff00000004
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], 0x78
mov rax, qword [rsi]
lea rdi, sym.Xenos64.exe_struct_asmjit::Operand_const_asmjit::noOperand
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x40]
lea r8, [0x1400acc30]
mov edx, 0x261
mov rcx, rsi
call qword [rax + 0x30]
mov rax, qword [rsi]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9, rdi
mov r8, rdi
mov edx, 0x1f5
mov rcx, rsi
call qword [rax + 0x30]
mov r12d, r15d
lea r14, [0x1400c9880]
movabs r15, 0x400000003
mov r13d, 0xffffffff
nop dword [rax + rax]
lea ecx, [r12*8]
mov qword [rbp + 0x40], r15
shl rcx, 0x20
add rcx, r13
mov qword [rbp + 0x48], rcx
mov rax, qword [rsi]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9, r14
lea r8, [rbp + 0x40]
mov edx, 0x123
mov rcx, rsi
call qword [rax + 0x30]
inc r12d
add r14, 0x10
cmp r12d, 0xf
jl 0x140040a30
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x40], rax
mov r14, qword [rsp + 0x38]
movsxd rax, dword [r14 + 0x9c]
add rax, rax
mov rcx, qword [r14 + rax*8 + 0x78]
test rcx, rcx
mov r15d, 0
je 0x140040aa2
mov rax, qword [rcx]
jmp 0x140040aa5
mov rax, r15
mov qword [rbp - 0x50], 0xffffffffffff0001
mov qword [rbp - 0x48], 0xff
movabs r12, 0xffffffff00000003
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x28], r15
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r15
mov dword [rbp - 0x60], 2
mov qword [rbp - 0x58], 8
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x60]
mov qword [rbp + 0x30], rax
lea rax, [rbp - 8]
mov qword [rbp + 0x38], rax
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x30], xmm0
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x10]
call fcn.14001b07c
nop
movsxd rax, dword [r14 + 0x9c]
add rax, rax
mov rax, qword [r14 + rax*8 + 0x58]
test rax, rax
je 0x140040b2a
mov rax, qword [rax]
jmp 0x140040b2d
mov rax, r15
mov qword [rsp + 0x50], 0xffffffffffff0001
mov qword [rsp + 0x58], 0xff
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x78], r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
mov dword [rsp + 0x40], 2
mov qword [rsp + 0x48], 8
mov qword [rsp + 0x70], rax
mov r9d, 1
lea r8, [rbp + 0x10]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [rbp + 0x40]
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140040bcc
mov rdx, qword [rbp - 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040bbb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004118a
call fcn.140068fd0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
lea rcx, [rbp + 0x10]
call fcn.14001ac18
nop
lea r9, [0x1400178b4]
mov edx, 0x58
lea r8d, [rdx - 0x57]
lea rcx, [rbp - 0x60]
call fcn.140069538
mov dword [rsp + 0x20], r15d
mov r8d, 1
mov rdx, rbx
mov rcx, r14
call fcn.140042600
mov r12d, r15d
lea r14, [0x1400c9880]
movabs r15, 0x400000003
nop dword [rax]
lea ecx, [r12*8]
mov qword [rbp + 0x30], r15
shl rcx, 0x20
add rcx, r13
mov qword [rbp + 0x38], rcx
mov rax, qword [rsi]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x30]
mov r8, r14
mov edx, 0x123
mov rcx, rsi
call qword [rax + 0x30]
inc r12d
add r14, 0x10
cmp r12d, 0xf
jl 0x140040c20
mov rax, qword [rsi]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9, rdi
mov r8, rdi
mov edx, 0x1c9
mov rcx, rsi
call qword [rax + 0x30]
movabs rax, 0xffffffff00000004
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], 0x78
mov rax, qword [rsi]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x30]
lea r8, [0x1400acc30]
mov edx, 2
mov rcx, rsi
call qword [rax + 0x30]
mov eax, 0x25ff
mov word [rbp + 0x40], ax
mov rax, qword [rsi]
mov r8d, 2
lea rdx, [rbp + 0x40]
mov rcx, rsi
call qword [rax + 0x18]
xor r15d, r15d
mov dword [rbp + 0x40], r15d
mov rax, qword [rsi]
lea r8d, [r15 + 4]
lea rdx, [rbp + 0x40]
mov rcx, rsi
call qword [rax + 0x18]
mov rax, qword [rbp + 0x428]
mov qword [rbp + 0x40], rax
mov rax, qword [rsi]
lea r8d, [r15 + 8]
lea rdx, [rbp + 0x40]
mov rcx, rsi
call qword [rax + 0x18]
mov r14, qword [rsp + 0x38]
mov r12, qword [rsp + 0x30]
jmp 0x140041013
mov rdi, qword [r12]
xor edx, edx
mov r8d, 0x2c8
lea rcx, [rbp + 0x64]
call fcn.14006ba60
mov dword [rbp + 0x60], 0x100001
mov rax, qword [rdi]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x60]
mov rdx, qword [rdi + 0x10]
call qword [rax + 0x50]
mov edi, eax
test eax, eax
jns 0x140040d72
mov rsi, qword [r12]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsi + 8], eax
je 0x14004114c
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x14004114c
lea rsi, [rbx + 0xa8]
mov rax, qword [rsi]
lea rdi, sym.Xenos64.exe_struct_asmjit::Operand_const_asmjit::noOperand
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9, rdi
mov r8, rdi
mov edx, 0x1f4
mov rcx, rsi
call qword [rax + 0x30]
mov rax, qword [rsi]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9, rdi
mov r8, rdi
mov edx, 0x1f5
mov rcx, rsi
call qword [rax + 0x30]
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
movsxd rax, dword [r14 + 0x9c]
add rax, rax
mov rcx, qword [r14 + rax*8 + 0x78]
test rcx, rcx
je 0x140040de1
mov rcx, qword [rcx]
jmp 0x140040de4
mov rcx, r15
mov qword [rbp - 0x50], 0xffffffffffff0001
mov qword [rbp - 0x48], 0xff
movabs rax, 0xffffffff00000003
mov qword [rbp - 0x40], rax
mov r13d, 0xffffffff
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x28], r15
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r15
mov dword [rbp - 0x60], 2
mov qword [rbp - 0x58], 8
mov qword [rbp - 0x30], rcx
lea rax, [rbp - 0x60]
mov qword [rbp + 0x30], rax
lea rax, [rbp - 8]
mov qword [rbp + 0x38], rax
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x30], xmm0
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x10]
call fcn.14001b07c
nop
movsxd rax, dword [r14 + 0x9c]
add rax, rax
mov rcx, qword [r14 + rax*8 + 0x58]
test rcx, rcx
je 0x140040e6f
mov rcx, qword [rcx]
jmp 0x140040e72
mov rcx, r15
mov qword [rsp + 0x50], 0xffffffffffff0001
mov qword [rsp + 0x58], 0xff
movabs rax, 0xffffffff00000003
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x78], r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
mov dword [rsp + 0x40], 2
mov qword [rsp + 0x48], 8
mov qword [rsp + 0x70], rcx
mov r9d, 1
lea r8, [rbp + 0x10]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [rsp + 0x30]
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140040f1c
mov rdx, qword [rbp - 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040f0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041184
call fcn.140068fd0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
lea rcx, [rbp + 0x10]
call fcn.14001ac18
nop
lea r9, [0x1400178b4]
mov edx, 0x58
lea r8d, [rdx - 0x57]
lea rcx, [rbp - 0x60]
call fcn.140069538
movabs r13, 0xffffffff00000004
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x38], 4
mov rax, qword [rsi]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x30]
lea r8, [0x1400acb30]
mov edx, 2
mov rcx, rsi
call qword [rax + 0x30]
mov dword [rsp + 0x20], r15d
xor r8d, r8d
mov rdx, rbx
mov rcx, r14
call fcn.140042600
mov rax, qword [rsi]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9, rdi
mov r8, rdi
mov edx, 0x1c9
mov rcx, rsi
call qword [rax + 0x30]
mov rax, qword [rsi]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9, rdi
mov r8, rdi
mov edx, 0x1c7
mov rcx, rsi
call qword [rax + 0x30]
mov qword [rbp + 0x30], r13
movsxd rax, dword [rbp + 0x118]
mov qword [rbp + 0x38], rax
mov rax, qword [rsi]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9, rdi
lea r8, [rbp + 0x30]
mov edx, 0x1f3
mov rcx, rsi
call qword [rax + 0x30]
mov rax, qword [rsi]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9, rdi
mov r8, rdi
mov edx, 0x21c
mov rcx, rsi
call qword [rax + 0x30]
movsxd rdi, dword [r14 + 0x9c]
add rdi, rdi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
mov r8, rax
mov r9d, dword [rsi + 0x60]
sub r9, qword [rsi + 0x48]
add r9, qword [rsi + 0x58]
mov rax, qword [r14 + rdi*8 + 0x58]
test rax, rax
jne 0x140041049
mov edi, 0xc00000a0
jmp 0x1400410ea
mov rcx, qword [rax + 0x18]
mov rdx, qword [rax]
mov rsi, qword [rbp]
add rdx, rsi
mov rax, qword [rcx + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r15
call qword [rax + 0x20]
mov edi, eax
test eax, eax
js 0x1400410ea
mov rax, qword [r14]
mov rcx, qword [rax + 0x10]
movsxd rax, dword [r14 + 0x9c]
add rax, rax
cmp byte [rcx + 0x15], 0
mov rcx, qword [r14 + rax*8 + 0x58]
je 0x1400410b9
test rcx, rcx
je 0x140041094
mov r15, qword [rcx]
lea eax, [r15 + rsi]
mov dword [rbp + 0x118], eax
mov rdx, qword [r12]
mov rax, qword [rdx]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x60]
mov rdx, qword [rdx + 0x10]
call qword [rax + 0x60]
jmp 0x1400410e8
test rcx, rcx
je 0x1400410c1
mov r15, qword [rcx]
lea rax, [rsi + r15]
mov qword [rbp + 0x428], rax
mov rdx, qword [r12]
mov rax, qword [rdx]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x330]
mov rdx, qword [rdx + 0x10]
call qword [rax + 0x68]
mov edi, eax
mov rsi, qword [r12]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsi + 8], eax
je 0x140041103
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test edi, edi
js 0x140041139
mov edx, 0x4e20
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movsxd rcx, dword [r14 + 0x9c]
shl rcx, 4
add rcx, 0x78
add rcx, r14
mov r9, qword [rbp + 8]
xor edx, edx
lea r8d, [rdx + 8]
call fcn.14003f8f0
mov edi, eax
mov ecx, 1
sub ecx, dword [r14 + 0x9c]
mov dword [r14 + 0x9c], ecx
test rbx, rbx
je 0x14004115f
mov r8, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [r8]
mov eax, edi
mov rcx, qword [rbp + 0x9a0]
xor rcx, rsp
call fcn.140068fb0
add rsp, 0xab8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140077970
nop
call fcn.140077970
int3