Function at 0x180010830
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4b0
mov rax, qword [0x180080920]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov eax, dword [rsp + 0x510]
mov rbp, rdx
mov qword [rsp + 0x28], rcx
mov rdx, rcx
mov rcx, qword [rsp + 0x520]
mov ebx, r8d
mov dword [rsp + 0x20], r9d
sub eax, 7
je 0x1800108c5
sub eax, 1
je 0x1800108b4
sub eax, 1
je 0x1800108a3
cmp eax, 1
jne 0x180010add
lea esi, [rax + 1]
test bpl, 7
je 0x1800108c7
xor al, al
jmp 0x180010b5e
mov esi, 3
test sil, bpl
je 0x1800108c7
xor al, al
jmp 0x180010b5e
mov esi, 1
test sil, bpl
je 0x1800108c7
xor al, al
jmp 0x180010b5e
xor esi, esi
test ebx, ebx
jne 0x18001090c
cmp byte [0x180082e08], bl
jne 0x1800108da
mov ebx, 0xb
jmp 0x18001090c
cmp byte [0x180082e22], 0
jne 0x1800108ea
mov ebx, 0xc
jmp 0x18001090c
cmp byte [0x180082e3c], 0
jne 0x1800108fa
mov ebx, 0xd
jmp 0x18001090c
cmp byte [0x180082e56], 0
jne 0x180010add
mov ebx, 0xe
test rcx, rcx
je 0x180010913
mov dword [rcx], ebx
mov eax, ebx
sub eax, 0xb
je 0x180010a19
sub eax, 1
je 0x1800109cf
sub eax, 1
je 0x180010982
cmp eax, 1
jne 0x180010add
lea rax, [0x180082e52]
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0x53]
lea rax, [0x180082e56]
mov qword [rsp + 0x38], rax
lea r15, [rsp + 0x5b]
lea rax, [0x180082e3e]
mov qword [rsp + 0x40], rax
lea r12, [rsp + 0x57]
lea rax, [0x180082e46]
lea rdi, [0x180082e57]
lea r13, [0x180082e4e]
jmp 0x180010a61
lea rax, [0x180082e38]
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0x52]
lea rax, [0x180082e3c]
mov qword [rsp + 0x38], rax
lea r15, [rsp + 0x5a]
lea rax, [0x180082e24]
mov qword [rsp + 0x40], rax
lea r12, [rsp + 0x56]
lea rax, [0x180082e2c]
lea rdi, [0x180082e3d]
lea r13, [0x180082e34]
jmp 0x180010a61
lea rax, [0x180082e1e]
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0x51]
lea rax, [0x180082e22]
mov qword [rsp + 0x38], rax
lea r15, [rsp + 0x59]
lea rax, [0x180082e0a]
mov qword [rsp + 0x40], rax
lea r12, [rsp + 0x55]
lea rax, [0x180082e12]
lea rdi, [0x180082e23]
lea r13, [0x180082e1a]
jmp 0x180010a61
lea rax, [0x180082e04]
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0x50]
lea rax, [0x180082e08]
mov qword [rsp + 0x38], rax
lea r15, [rsp + 0x58]
lea rax, [0x180082df0]
mov qword [rsp + 0x40], rax
lea r12, [rsp + 0x54]
lea rax, [0x180082df8]
lea rdi, [0x180082e09]
lea r13, [0x180082e00]
mov rcx, rdx
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x180010a78
xor ecx, ecx
jmp 0x180010abd
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x440
call fcn.18004c900
mov rcx, qword [rsp + 0x28]
lea rdx, [rsp + 0x60]
xor r8d, r8d
call fcn.1800064e0
mov rcx, qword [rsp + 0x28]
test al, al
jne 0x180010aaf
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
jmp 0x180010abd
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x124]
lea rdx, [rsp + 0x50]
call fcn.180005740
mov eax, dword [rsp + 0x20]
mov byte [rdi], 0
sub eax, 4
je 0x180010ae9
sub eax, 1
je 0x180010ae5
cmp eax, 1
je 0x180010ae1
xor al, al
jmp 0x180010b5e
mov al, 3
jmp 0x180010af0
mov al, 1
jmp 0x180010af0
xor esi, esi
mov byte [rdi], 1
xor al, al
mov byte [r14], 1
lea rcx, [rsp + 0x50]
mov byte [r15], sil
mov byte [r12], al
call fcn.180005570
mov rcx, qword [rsp + 0x28]
mov r8, rax
mov edx, 0x10
call sym.TitanEngine.dll_SetContextDataEx
mov rcx, qword [rsp + 0x28]
mov r8, rbp
mov edx, ebx
call sym.TitanEngine.dll_SetContextDataEx
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x510]
mov dword [r13], eax
mov rax, qword [rsp + 0x30]
mov dword [rax], ecx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
mov byte [rax], 1
mov rax, qword [rsp + 0x40]
mov qword [rax], rbp
mov rax, qword [rsp + 0x518]
mov qword [rcx], rax
mov al, 1
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.180049ad0
mov rbx, qword [rsp + 0x508]
add rsp, 0x4b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret