Function at 0x14001e6c0
Capabilities:
Resume thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x998]
sub rsp, 0xa98
mov rax, qword [0x140093020]
xor rax, rsp
mov qword [rbp + 0x980], rax
mov qword [rbp], r9
mov rdi, r8
mov qword [rbp + 0x38], r8
mov rbx, rdx
mov r14, rcx
mov r15, qword [rbp + 0xa00]
mov qword [rbp + 0x28], r15
xor edx, edx
mov r8d, 0x2cc
lea rcx, [rbp + 0x40]
call fcn.140045d80
xor edx, edx
mov r8d, 0x670
lea rcx, [rbp + 0x310]
call fcn.140045d80
cmp qword [r14 + 0x40], 0
jne 0x14001e73f
mov eax, 0xc0000225
jmp 0x14001f248
mov r8, rdi
mov rdx, rbx
mov rcx, r14
call fcn.140020010
test eax, eax
js 0x14001f248
mov rcx, qword [r14 + 0x40]
test rcx, rcx
je 0x14001e764
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [r15]
call fcn.1400397d0
test al, al
jne 0x14001e784
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x14001f248
xor r12d, r12d
mov qword [rbp + 0x20], r12
mov rax, qword [r14]
mov rcx, qword [rax + 0x10]
mov edx, r12d
cmp byte [rcx + 0x15], dl
sete dl
lea rcx, [rbp + 0x20]
call fcn.140009200
nop
mov rax, qword [r14]
mov rcx, qword [rax + 0x10]
mov rbx, qword [rbp + 0x20]
cmp byte [rcx + 0x15], r12b
jne 0x14001ed17
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400966d4], eax
jle 0x14001e8d1
lea rcx, [0x1400966d4]
call fcn.140043550
cmp dword [0x1400966d4], 0xffffffff
jne 0x14001e8d1
movaps xmm0, xmmword [0x140081420]
movaps xmmword [0x1400966e0], xmm0
movaps xmm1, xmmword [0x140081450]
movaps xmmword [0x1400966f0], xmm1
movaps xmm0, xmmword [0x140081430]
movaps xmmword [0x140096700], xmm0
movaps xmm1, xmmword [0x140081440]
movaps xmmword [0x140096710], xmm1
movaps xmm0, xmmword [0x140081480]
movaps xmmword [0x140096720], xmm0
movaps xmm1, xmmword [0x140081490]
movaps xmmword [0x140096730], xmm1
movaps xmm0, xmmword [0x1400814a0]
movaps xmmword [0x140096740], xmm0
movaps xmm1, xmmword [0x1400814b0]
movaps xmmword [0x140096750], xmm1
movaps xmm0, xmmword [0x1400814c0]
movaps xmmword [0x140096760], xmm0
movaps xmm1, xmmword [0x1400814d0]
movaps xmmword [0x140096770], xmm1
movaps xmm0, xmmword [0x1400814e0]
movaps xmmword [0x140096780], xmm0
movaps xmm1, xmmword [0x1400814f0]
movaps xmmword [0x140096790], xmm1
movaps xmm0, xmmword [0x140081500]
movaps xmmword [0x1400967a0], xmm0
movaps xmm1, xmmword [0x140081510]
movaps xmmword [0x1400967b0], xmm1
movaps xmm0, xmmword [0x140081470]
movaps xmmword [0x1400967c0], xmm0
lea rcx, [0x1400966d4]
call fcn.1400434f0
mov rdx, qword [r15]
mov dword [rbp + 0x340], 0x100001
mov rax, qword [rdx]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x310]
mov rdx, qword [rdx + 0x10]
call qword [rax + 0x58]
mov edi, eax
test eax, eax
js 0x14001ed4d
lea rsi, [rbx + 0xa8]
movabs rax, 0xffffffff00000004
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 0x78
mov rax, qword [rsi]
lea rdi, sym.SVCInj.exe_struct_asmjit::Operand_const_asmjit::noOperand
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x10]
lea r8, [0x140081460]
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 r15d, r12d
lea r12, [0x1400966e0]
movabs rbx, 0x400000003
mov r13d, 0xffffffff
nop
lea ecx, [r15*8]
mov qword [rbp + 0x10], rbx
shl rcx, 0x20
add rcx, r13
mov qword [rbp + 0x18], rcx
mov rax, qword [rsi]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9, r12
lea r8, [rbp + 0x10]
mov edx, 0x123
mov rcx, rsi
call qword [rax + 0x30]
inc r15d
add r12, 0x10
cmp r15d, 0xf
jl 0x14001e980
mov rbx, qword [rbp + 0x20]
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x10], rax
movsxd rax, dword [r14 + 0x9c]
add rax, rax
mov rcx, qword [r14 + rax*8 + 0x78]
xor eax, eax
test rcx, rcx
je 0x14001e9ed
mov r15, qword [rcx]
jmp 0x14001e9f0
mov r15, rax
mov dword [rbp - 0x60], eax
mov qword [rbp - 0x58], rax
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 - 0x30], rax
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
lea rdx, [0x140085c58]
lea rcx, [rbp - 0x20]
call fcn.140001650
mov dword [rbp - 0x60], 2
mov qword [rbp - 0x58], 8
mov qword [rbp - 0x30], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
lea r8, [rsp + 0x30]
lea rdx, [0x140085c58]
lea rcx, [rbp + 8]
call fcn.140001660
lea r8, [rbp - 8]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x30]
call fcn.140010d20
lea rcx, [rbp + 8]
call fcn.140001640
nop
movsxd rax, dword [r14 + 0x9c]
add rax, rax
mov r15, qword [r14 + rax*8 + 0x58]
test r15, r15
je 0x14001eaaa
mov r15, qword [r15]
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0xffffffffffff0001
mov qword [rsp + 0x60], 0xff
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r13
xor r12d, r12d
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r12
lea rdx, [0x140085c58]
lea rcx, [rbp - 0x78]
call fcn.140001650
mov dword [rsp + 0x48], 2
mov qword [rsp + 0x50], 8
mov qword [rsp + 0x78], r15
lea r9d, [r12 + 1]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [rbp + 0x10]
nop
lea rcx, [rbp - 0x78]
call fcn.140001640
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x14001eb72
mov r8, qword [rbp - 0x70]
lea rcx, [rbp - 0x78]
call fcn.1400064a0
lea rcx, [rbp - 0x78]
call fcn.140003390
mov r8, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x78]
sub r8, rdx
mov rcx, rax
call fcn.140003f80
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r12
lea rcx, [rsp + 0x30]
call fcn.140001640
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001ebcf
mov rdx, qword [rsp + 0x38]
call fcn.140010f00
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
sub rdx, rcx
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rdx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x58
call fcn.140005450
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
lea r9, [0x1400091a0]
mov edx, 0x58
lea r8d, [rdx - 0x57]
lea rcx, [rbp - 0x60]
call fcn.140043e30
mov dword [rsp + 0x20], r12d
mov r8d, 1
mov rdx, rbx
mov rcx, r14
call fcn.140020250
mov r15d, r12d
lea r12, [0x1400966e0]
movabs rbx, 0x400000003
nop dword [rax]
nop word [rax + rax]
lea ecx, [r15*8]
mov qword [rbp + 0x10], rbx
shl rcx, 0x20
add rcx, r13
mov qword [rbp + 0x18], rcx
mov rax, qword [rsi]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x10]
mov r8, r12
mov edx, 0x123
mov rcx, rsi
call qword [rax + 0x30]
inc r15d
add r12, 0x10
cmp r15d, 0xf
jl 0x14001ec20
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 + 0x10], rax
mov qword [rbp + 0x18], 0x78
mov rax, qword [rsi]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x10]
lea r8, [0x140081460]
mov edx, 2
mov rcx, rsi
call qword [rax + 0x30]
mov eax, 0x25ff
mov word [rbp + 8], ax
mov rax, qword [rsi]
mov r8d, 2
lea rdx, [rbp + 8]
mov rcx, rsi
call qword [rax + 0x18]
xor r13d, r13d
mov dword [rbp + 8], r13d
mov rax, qword [rsi]
lea r8d, [r13 + 4]
lea rdx, [rbp + 8]
mov rcx, rsi
call qword [rax + 0x18]
mov rax, qword [rbp + 0x408]
mov qword [rbp + 0x10], rax
mov rax, qword [rsi]
lea r8d, [r13 + 8]
lea rdx, [rbp + 0x10]
mov rcx, rsi
call qword [rax + 0x18]
mov rbx, qword [rbp + 0x20]
mov r15, qword [rbp + 0x28]
jmp 0x14001f0c4
mov rdi, qword [r15]
xor edx, edx
mov r8d, 0x2c8
lea rcx, [rbp + 0x44]
call fcn.140045d80
mov dword [rbp + 0x40], 0x100001
mov rax, qword [rdi]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x40]
mov rdx, qword [rdi + 0x10]
call qword [rax + 0x50]
mov edi, eax
test eax, eax
jns 0x14001ed6e
mov rsi, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsi + 8], eax
je 0x14001f233
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x14001f233
lea rsi, [rbx + 0xa8]
mov rax, qword [rsi]
lea rdi, sym.SVCInj.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 [rbp + 0x28], rax
movsxd rax, dword [r14 + 0x9c]
add rax, rax
mov rax, qword [r14 + rax*8 + 0x78]
test rax, rax
je 0x14001ede0
mov rax, qword [rax]
mov qword [rbp + 8], rax
jmp 0x14001ede4
mov qword [rbp + 8], r12
mov dword [rbp - 0x60], r12d
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 0xffffffffffff0001
mov qword [rbp - 0x48], 0xff
movabs r12, 0xffffffff00000003
mov qword [rbp - 0x40], r12
mov r13d, 0xffffffff
mov qword [rbp - 0x38], r13
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
lea rdx, [0x140085c58]
lea rcx, [rbp - 0x20]
call fcn.140001650
mov dword [rbp - 0x60], 2
mov qword [rbp - 0x58], 8
mov rax, qword [rbp + 8]
mov qword [rbp - 0x30], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
lea r8, [rsp + 0x30]
lea rdx, [0x140085c58]
lea rcx, [rbp + 8]
call fcn.140001660
lea r8, [rbp - 8]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x30]
call fcn.140010d20
lea rcx, [rbp + 8]
call fcn.140001640
nop
movsxd rax, dword [r14 + 0x9c]
add rax, rax
mov rax, qword [r14 + rax*8 + 0x58]
test rax, rax
je 0x14001eeb3
mov rax, qword [rax]
mov qword [rbp + 8], rax
xor eax, eax
jmp 0x14001eeb7
mov qword [rbp + 8], rax
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0xffffffffffff0001
mov qword [rsp + 0x60], 0xff
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r13
xor r13d, r13d
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r13
lea rdx, [0x140085c58]
lea rcx, [rbp - 0x78]
call fcn.140001650
mov dword [rsp + 0x48], 2
mov qword [rsp + 0x50], 8
mov rax, qword [rbp + 8]
mov qword [rsp + 0x78], rax
lea r9d, [r13 + 1]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [rbp + 0x28]
nop
lea rcx, [rbp - 0x78]
call fcn.140001640
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x14001ef7a
mov r8, qword [rbp - 0x70]
lea rcx, [rbp - 0x78]
call fcn.1400064a0
lea rcx, [rbp - 0x78]
call fcn.140003390
mov r8, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x78]
sub r8, rdx
mov rcx, rax
call fcn.140003f80
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r13
lea rcx, [rsp + 0x30]
call fcn.140001640
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001efd7
mov rdx, qword [rsp + 0x38]
call fcn.140010f00
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
sub rdx, rcx
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rdx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x58
call fcn.140005450
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
lea r9, [0x1400091a0]
mov edx, 0x58
lea r8d, [rdx - 0x57]
lea rcx, [rbp - 0x60]
call fcn.140043e30
movabs r12, 0xffffffff00000004
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], 4
mov rax, qword [rsi]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x28]
lea r8, [0x140081360]
mov edx, 2
mov rcx, rsi
call qword [rax + 0x30]
mov dword [rsp + 0x20], r13d
xor r8d, r8d
mov rdx, rbx
mov rcx, r14
call fcn.140020250
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 + 0x28], r12
movsxd rax, dword [rbp + 0xf8]
mov qword [rbp + 0x30], rax
mov rax, qword [rsi]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9, rdi
lea r8, [rbp + 0x28]
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 0x14001f0fa
mov edi, 0xc00000a0
jmp 0x14001f1a0
mov rcx, qword [rax + 0x18]
mov rdx, qword [rax]
mov rsi, qword [rbp + 0x38]
add rdx, rsi
mov rax, qword [rcx + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r13
call qword [rax + 0x20]
mov edi, eax
test eax, eax
js 0x14001f1a0
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 0x14001f16c
test rcx, rcx
je 0x14001f147
mov rax, qword [rcx]
jmp 0x14001f14a
mov rax, r13
add eax, esi
mov dword [rbp + 0xf8], eax
mov rdx, qword [r15]
mov rax, qword [rdx]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x40]
mov rdx, qword [rdx + 0x10]
call qword [rax + 0x60]
jmp 0x14001f19e
test rcx, rcx
je 0x14001f176
mov rax, qword [rcx]
jmp 0x14001f179
mov rax, r13
add rax, rsi
mov qword [rbp + 0x408], rax
mov rdx, qword [r15]
mov rax, qword [rdx]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x310]
mov rdx, qword [rdx + 0x10]
call qword [rax + 0x68]
mov edi, eax
mov rsi, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsi + 8], eax
je 0x14001f1b8
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test edi, edi
js 0x14001f220
mov edx, 0x4e20
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movsxd rax, dword [r14 + 0x9c]
add rax, rax
mov rcx, qword [r14 + rax*8 + 0x78]
test rcx, rcx
jne 0x14001f1e6
mov edi, 0xc00000a0
jmp 0x14001f220
mov rax, qword [rcx + 0x18]
mov rdx, qword [rcx]
mov qword [rbp + 0x38], r13
test rdx, rdx
jne 0x14001f1fd
mov edi, 0xc0000141
jmp 0x14001f220
mov rax, qword [rax + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x38]
mov qword [rsp + 0x20], r8
mov r9d, 8
mov r8, qword [rbp]
call qword [rax + 0x18]
mov edi, eax
mov ecx, 1
sub ecx, dword [r14 + 0x9c]
mov dword [r14 + 0x9c], ecx
test rbx, rbx
je 0x14001f246
mov r8, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [r8]
mov eax, edi
mov rcx, qword [rbp + 0x980]
xor rcx, rsp
call fcn.1400433a0
add rsp, 0xa98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret