Function at 0x18000a670
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 [0x1801044f8]
xor rax, rsp
mov qword [rbp + 0x9a0], rax
mov qword [rbp + 0x18], r9
mov rsi, r8
mov qword [rbp + 0x10], r8
mov rbx, rdx
mov r15, rcx
mov qword [rsp + 0x50], rcx
mov r14, qword [rbp + 0xa20]
mov qword [rsp + 0x48], r14
xor edi, edi
xor edx, edx
mov r8d, 0x2cc
lea rcx, [rbp + 0x60]
call fcn.180095d50
xor edx, edx
mov r8d, 0x670
lea rcx, [rbp + 0x330]
call fcn.180095d50
cmp qword [r15 + 0x40], rdi
jne 0x18000a6f6
mov eax, 0xc0000225
jmp 0x18000b06a
mov r8, rsi
mov rdx, rbx
mov rcx, r15
call fcn.18000c600
test eax, eax
js 0x18000b06a
mov rcx, qword [r15 + 0x40]
test rcx, rcx
je 0x18000a71b
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [r14]
call fcn.180023e30
test al, al
jne 0x18000a73b
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x18000b06a
mov qword [rbp + 0x50], rdi
mov rax, qword [r15]
mov rcx, qword [rax + 0x10]
mov edx, edi
cmp byte [rcx + 0x15], dl
sete dl
lea rcx, [rbp + 0x50]
call fcn.180001f80
nop
mov rax, qword [r15]
mov rcx, qword [rax + 0x10]
mov rbx, qword [rbp + 0x50]
cmp byte [rcx + 0x15], 0
jne 0x18000ac0b
mov ecx, dword [0x180109250]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x18010aa4c], ecx
jg 0x18000b14a
mov rdx, qword [r14]
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 esi, eax
test eax, eax
js 0x18000ac30
lea r12, [rbx + 0xa8]
movabs rax, 0xffffffff00000004
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], 0x78
mov rax, qword [r12]
lea r14, sym.op_x64.dll_struct_asmjit::Operand_const_asmjit::noOperand
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x40]
lea r8, [0x1800de3f0]
mov edx, 0x261
mov rcx, r12
call qword [rax + 0x30]
mov rax, qword [r12]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov r9, r14
mov r8, r14
mov edx, 0x1f5
mov rcx, r12
call qword [rax + 0x30]
mov esi, edi
lea r13, [0x18010aa50]
mov ebx, 0xffffffff
movabs r15, 0x400000003
nop dword [rax]
nop word [rax + rax]
lea ecx, [rsi*8]
mov qword [rbp + 0x40], r15
shl rcx, 0x20
add rcx, rbx
mov qword [rbp + 0x48], rcx
mov rax, qword [r12]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov r9, r13
lea r8, [rbp + 0x40]
mov edx, 0x123
mov rcx, r12
call qword [rax + 0x30]
inc esi
add r13, 0x10
cmp esi, 0xf
jl 0x18000a850
mov rbx, qword [rbp + 0x50]
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x40], rax
mov r15, qword [rsp + 0x50]
movsxd rax, dword [r15 + 0x9c]
add rax, rax
mov rcx, qword [r15 + rax*8 + 0x78]
test rcx, rcx
je 0x18000a8be
mov rax, qword [rcx]
jmp 0x18000a8c1
mov rax, rdi
mov qword [rbp - 0x40], 0xffffffffffff0001
mov qword [rbp - 0x38], 0xff
movabs rsi, 0xffffffff00000003
mov qword [rbp - 0x30], rsi
mov r13d, 0xffffffff
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x18], rdi
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
mov qword [rbp], rdi
mov dword [rbp - 0x50], 2
mov qword [rbp - 0x48], 8
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x50]
mov qword [rbp + 0x30], rax
lea rax, [rbp + 8]
mov qword [rbp + 0x38], rax
lea r8, [rbp + 0x20]
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.180004db0
nop
movsxd rax, dword [r15 + 0x9c]
add rax, rax
mov rax, qword [r15 + rax*8 + 0x58]
test rax, rax
je 0x18000a948
mov rax, qword [rax]
jmp 0x18000a94b
mov rax, rdi
mov qword [rsp + 0x68], 0xffffffffffff0001
mov qword [rsp + 0x70], 0xff
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x70], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rdi
mov dword [rsp + 0x58], 2
mov qword [rsp + 0x60], 8
mov qword [rbp - 0x78], rax
mov r9d, 1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call qword [rbp + 0x40]
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x18000a9e8
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a9d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000b246
call fcn.180093588
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rdi
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x18000aac9
mov rax, qword [rsp + 0x38]
mov qword [rbp + 0x40], rax
cmp r8, rax
je 0x18000aa67
lea rsi, [r8 + 0x50]
nop dword [rax + rax]
mov rcx, qword [rsi - 0x10]
test rcx, rcx
je 0x18000aa54
mov rdx, qword [rsi]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x18000aa44
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000b24c
mov rcx, r8
call fcn.180093588
mov qword [rsi - 0x10], rdi
mov qword [rsi - 8], rdi
mov qword [rsi], rdi
add rsi, 0x58
lea rax, [rsi - 0x50]
cmp rax, qword [rbp + 0x40]
jne 0x18000aa10
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
sub rcx, r8
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x58
mov rax, r8
cmp rdx, 0x1000
jb 0x18000aab3
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000b24c
mov rcx, r8
call fcn.180093588
mov qword [rsp + 0x30], rdi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
lea r9, [0x180001f20]
mov edx, 0x58
lea r8d, [rdx - 0x57]
lea rcx, [rbp - 0x50]
call fcn.180093c84
mov dword [rsp + 0x20], edi
mov r9d, 4
lea r8d, [r9 - 3]
mov rdx, rbx
mov rcx, r15
call fcn.18000c890
mov esi, edi
lea rbx, [0x18010aa50]
movabs r15, 0x400000003
nop
lea ecx, [rsi*8]
mov qword [rbp + 0x30], r15
shl rcx, 0x20
add rcx, r13
mov qword [rbp + 0x38], rcx
mov rax, qword [r12]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x30]
mov r8, rbx
mov edx, 0x123
mov rcx, r12
call qword [rax + 0x30]
inc esi
add rbx, 0x10
cmp esi, 0xf
jl 0x18000ab10
mov rax, qword [r12]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov r9, r14
mov r8, r14
mov edx, 0x1c9
mov rcx, r12
call qword [rax + 0x30]
movabs rax, 0xffffffff00000004
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], 0x78
mov rax, qword [r12]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x30]
lea r8, [0x1800de3f0]
mov edx, 2
mov rcx, r12
call qword [rax + 0x30]
mov eax, 0x25ff
mov word [rbp + 0x20], ax
mov rax, qword [r12]
mov r8d, 2
lea rdx, [rbp + 0x20]
mov rcx, r12
call qword [rax + 0x18]
mov dword [rbp + 0x20], edi
mov rax, qword [r12]
mov r8d, 4
lea rdx, [rbp + 0x20]
mov rcx, r12
call qword [rax + 0x18]
mov rax, qword [rbp + 0x428]
mov qword [rbp + 0x40], rax
mov rax, qword [r12]
mov r8d, 8
lea rdx, [rbp + 0x40]
mov rcx, r12
call qword [rax + 0x18]
mov rbx, qword [rbp + 0x50]
mov r15, qword [rsp + 0x50]
jmp 0x18000afa9
mov rdx, qword [r14]
mov dword [rbp + 0x60], 0x100001
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 + 0x50]
mov esi, eax
test eax, eax
jns 0x18000ac3d
mov rcx, qword [r14]
call fcn.180024000
jmp 0x18000b051
lea r12, [rbx + 0xa8]
mov rax, qword [r12]
lea r14, sym.op_x64.dll_struct_asmjit::Operand_const_asmjit::noOperand
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov r9, r14
mov r8, r14
mov edx, 0x1f4
mov rcx, r12
call qword [rax + 0x30]
mov rax, qword [r12]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov r9, r14
mov r8, r14
mov edx, 0x1f5
mov rcx, r12
call qword [rax + 0x30]
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x40], rax
movsxd rax, dword [r15 + 0x9c]
add rax, rax
mov rax, qword [r15 + rax*8 + 0x78]
test rax, rax
je 0x18000acad
mov rax, qword [rax]
jmp 0x18000acb0
mov rax, rdi
mov qword [rbp - 0x40], 0xffffffffffff0001
mov qword [rbp - 0x38], 0xff
movabs rsi, 0xffffffff00000003
mov qword [rbp - 0x30], rsi
mov r13d, 0xffffffff
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x18], rdi
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
mov qword [rbp], rdi
mov dword [rbp - 0x50], 2
mov qword [rbp - 0x48], 8
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x50]
mov qword [rbp + 0x30], rax
lea rax, [rbp + 8]
mov qword [rbp + 0x38], rax
lea r8, [rbp + 0x20]
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.180004db0
nop
movsxd rax, dword [r15 + 0x9c]
add rax, rax
mov rax, qword [r15 + rax*8 + 0x58]
test rax, rax
je 0x18000ad37
mov rax, qword [rax]
jmp 0x18000ad3a
mov rax, rdi
mov qword [rsp + 0x68], 0xffffffffffff0001
mov qword [rsp + 0x70], 0xff
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x70], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rdi
mov dword [rsp + 0x58], 2
mov qword [rsp + 0x60], 8
mov qword [rbp - 0x78], rax
mov r9d, 1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call qword [rbp + 0x40]
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x18000add7
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000adc6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000b252
call fcn.180093588
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rdi
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x18000aeb2
mov r12, qword [rsp + 0x38]
cmp r8, r12
je 0x18000ae49
lea rsi, [r8 + 0x50]
mov rcx, qword [rsi - 0x10]
test rcx, rcx
je 0x18000ae37
mov rdx, qword [rsi]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x18000ae27
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000b144
mov rcx, r8
call fcn.180093588
mov qword [rsi - 0x10], rdi
mov qword [rsi - 8], rdi
mov qword [rsi], rdi
add rsi, 0x58
lea rax, [rsi - 0x50]
cmp rax, r12
jne 0x18000adf3
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
sub rcx, r8
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x58
mov rax, r8
cmp rdx, 0x1000
jb 0x18000ae95
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000b144
mov rcx, r8
call fcn.180093588
mov qword [rsp + 0x30], rdi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
lea r12, [rbx + 0xa8]
lea r9, [0x180001f20]
mov edx, 0x58
lea r8d, [rdx - 0x57]
lea rcx, [rbp - 0x50]
call fcn.180093c84
movabs rsi, 0xffffffff00000004
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], 4
mov rax, qword [r12]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x30]
lea r8, [0x1800de2f0]
mov edx, 2
mov rcx, r12
call qword [rax + 0x30]
mov dword [rsp + 0x20], edi
mov r9d, 4
xor r8d, r8d
mov rdx, rbx
mov rcx, r15
call fcn.18000c890
mov rax, qword [r12]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov r9, r14
mov r8, r14
mov edx, 0x1c9
mov rcx, r12
call qword [rax + 0x30]
mov rax, qword [r12]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov r9, r14
mov r8, r14
mov edx, 0x1c7
mov rcx, r12
call qword [rax + 0x30]
mov qword [rbp + 0x30], rsi
movsxd rax, dword [rbp + 0x118]
mov qword [rbp + 0x38], rax
mov rax, qword [r12]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov r9, r14
lea r8, [rbp + 0x30]
mov edx, 0x1f3
mov rcx, r12
call qword [rax + 0x30]
mov rax, qword [r12]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov r9, r14
mov r8, r14
mov edx, 0x21c
mov rcx, r12
call qword [rax + 0x30]
movsxd r14, dword [r15 + 0x9c]
add r14, r14
mov rax, qword [rbx + 0xa8]
lea rcx, [rbx + 0xa8]
call qword [rax + 8]
mov r8, rax
mov r9d, dword [rbx + 0x108]
sub r9, qword [rbx + 0xf0]
add r9, qword [rbx + 0x100]
mov rax, qword [r15 + r14*8 + 0x58]
test rax, rax
jne 0x18000b08d
mov esi, 0xc00000a0
mov rdi, qword [rsp + 0x48]
mov rdi, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rdi + 8], eax
je 0x18000b00c
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test esi, esi
js 0x18000b03e
mov edx, 0x4e20
mov rcx, qword [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movsxd rcx, dword [r15 + 0x9c]
shl rcx, 4
add rcx, 0x78
add rcx, r15
mov r8, qword [rbp + 0x18]
xor edx, edx
call fcn.18000cf70
mov esi, eax
mov eax, 1
sub eax, dword [r15 + 0x9c]
mov dword [r15 + 0x9c], eax
test rbx, rbx
je 0x18000b068
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rbx
call r8
nop
mov eax, esi
mov rcx, qword [rbp + 0x9a0]
xor rcx, rsp
call fcn.180093c30
add rsp, 0xab8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [rax + 0x18]
mov rdx, qword [rax]
mov r14, qword [rbp + 0x10]
add rdx, r14
mov rax, qword [rcx + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rdi
call qword [rax + 0x20]
mov esi, eax
test eax, eax
js 0x18000afef
mov rax, qword [r15]
mov rcx, qword [rax + 0x10]
movsxd rax, dword [r15 + 0x9c]
add rax, rax
cmp byte [rcx + 0x15], 0
mov rcx, qword [r15 + rax*8 + 0x58]
je 0x18000b10a
test rcx, rcx
je 0x18000b0dc
mov rdi, qword [rcx]
lea eax, [r14 + rdi]
mov dword [rbp + 0x118], eax
mov rdi, qword [rsp + 0x48]
mov rdx, qword [rdi]
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]
mov esi, eax
jmp 0x18000aff4
test rcx, rcx
je 0x18000b112
mov rdi, qword [rcx]
lea rax, [r14 + rdi]
mov qword [rbp + 0x428], rax
mov rdi, qword [rsp + 0x48]
mov rdx, qword [rdi]
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 esi, eax
jmp 0x18000aff4
call fcn.18009a4c4
nop
lea rcx, [0x18010aa4c]
call fcn.1800939b8
cmp dword [0x18010aa4c], 0xffffffff
jne 0x18000a794
movaps xmm0, xmmword [0x1800de3b0]
movaps xmmword [0x18010aa50], xmm0
movaps xmm1, xmmword [0x1800de3e0]
movaps xmmword [0x18010aa60], xmm1
movaps xmm0, xmmword [0x1800de3c0]
movaps xmmword [0x18010aa70], xmm0
movaps xmm1, xmmword [0x1800de3d0]
movaps xmmword [0x18010aa80], xmm1
movaps xmm0, xmmword [0x1800de410]
movaps xmmword [0x18010aa90], xmm0
movaps xmm1, xmmword [0x1800de420]
movaps xmmword [0x18010aaa0], xmm1
movaps xmm0, xmmword [0x1800de430]
movaps xmmword [0x18010aab0], xmm0
movaps xmm1, xmmword [0x1800de440]
movaps xmmword [0x18010aac0], xmm1
movaps xmm0, xmmword [0x1800de450]
movaps xmmword [0x18010aad0], xmm0
movaps xmm1, xmmword [0x1800de460]
movaps xmmword [0x18010aae0], xmm1
movaps xmm0, xmmword [0x1800de470]
movaps xmmword [0x18010aaf0], xmm0
movaps xmm1, xmmword [0x1800de480]
movaps xmmword [0x18010ab00], xmm1
movaps xmm0, xmmword [0x1800de490]
movaps xmmword [0x18010ab10], xmm0
movaps xmm1, xmmword [0x1800de4a0]
movaps xmmword [0x18010ab20], xmm1
movaps xmm0, xmmword [0x1800de400]
movaps xmmword [0x18010ab30], xmm0
lea rcx, [0x18010aa4c]
call fcn.18009394c
jmp 0x18000a794
call fcn.18009a4c4
nop
call fcn.18009a4c4
nop
call fcn.18009a4c4
int3