Function at 0x1800103b0
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4d0
mov rax, qword [0x180080920]
xor rax, rsp
mov qword [rsp + 0x4c0], rax
mov eax, r9d
mov dword [rsp + 0x5c], r8d
xor esi, esi
mov dword [rsp + 0x60], eax
mov edi, edx
mov r15, rcx
sub eax, 7
je 0x180010436
sub eax, 1
je 0x180010425
sub eax, 1
je 0x180010414
cmp eax, 1
jne 0x1800106e5
lea ebp, [rsi + 2]
test r15b, 7
je 0x180010438
xor al, al
jmp 0x1800107f1
mov ebp, 3
test bpl, r15b
je 0x180010438
xor al, al
jmp 0x1800107f1
mov ebp, 1
test bpl, r15b
je 0x180010438
xor al, al
jmp 0x1800107f1
mov ebp, esi
test edx, edx
jne 0x1800105cd
cmp byte [0x180082e08], sil
jne 0x1800104db
lea edi, [rdx + 0xb]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r13, [rsp + 0x68]
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x28], rax
lea rbx, [0x180082e09]
lea rax, [0x180082e00]
mov qword [rsp + 0x30], rax
lea rax, [0x180082e04]
mov qword [rsp + 0x38], rax
lea rax, [0x180082e08]
mov qword [rsp + 0x40], rax
lea rax, [0x180082df0]
mov qword [rsp + 0x48], rax
lea rax, [0x180082df8]
mov qword [rsp + 0x50], rax
mov r8d, dword [0x180082b78]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rcx, rax
mov r14, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x180010654
mov r12, rsi
jmp 0x18001069c
cmp byte [0x180082e22], sil
jne 0x18001054a
mov edi, 0xc
lea r12, [rsp + 0x71]
mov qword [rsp + 0x20], r12
lea r13, [rsp + 0x69]
lea r12, [rsp + 0x6d]
mov qword [rsp + 0x28], r12
lea rbx, [0x180082e23]
lea r12, [0x180082e1a]
mov qword [rsp + 0x30], r12
lea r12, [0x180082e1e]
mov qword [rsp + 0x38], r12
lea r12, [0x180082e22]
mov qword [rsp + 0x40], r12
lea r12, [0x180082e0a]
mov qword [rsp + 0x48], r12
lea r12, [0x180082e12]
mov qword [rsp + 0x50], r12
jmp 0x1800104ac
cmp byte [0x180082e3c], sil
jne 0x1800105b9
mov edi, 0xd
lea r12, [rsp + 0x72]
mov qword [rsp + 0x20], r12
lea r13, [rsp + 0x6a]
lea r12, [rsp + 0x6e]
mov qword [rsp + 0x28], r12
lea rbx, [0x180082e3d]
lea r12, [0x180082e34]
mov qword [rsp + 0x30], r12
lea r12, [0x180082e38]
mov qword [rsp + 0x38], r12
lea r12, [0x180082e3c]
mov qword [rsp + 0x40], r12
lea r12, [0x180082e24]
mov qword [rsp + 0x48], r12
lea r12, [0x180082e2c]
mov qword [rsp + 0x50], r12
jmp 0x1800104ac
cmp byte [0x180082e56], sil
jne 0x1800106e5
mov edi, 0xe
jmp 0x1800105f3
mov eax, edx
sub eax, 0xb
je 0x180010450
sub eax, 1
je 0x1800104e9
sub eax, 1
je 0x180010558
cmp eax, 1
jne 0x1800106e5
lea r12, [rsp + 0x73]
mov qword [rsp + 0x20], r12
lea r13, [rsp + 0x6b]
lea r12, [rsp + 0x6f]
mov qword [rsp + 0x28], r12
lea rbx, [0x180082e57]
lea r12, [0x180082e4e]
mov qword [rsp + 0x30], r12
lea r12, [0x180082e52]
mov qword [rsp + 0x38], r12
lea r12, [0x180082e56]
mov qword [rsp + 0x40], r12
lea r12, [0x180082e3e]
mov qword [rsp + 0x48], r12
lea r12, [0x180082e46]
mov qword [rsp + 0x50], r12
jmp 0x1800104ac
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x440
call fcn.18004c900
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, r14
call fcn.1800064e0
mov rcx, r14
test al, al
jne 0x18001068e
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov r12, rsi
jmp 0x18001069c
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov r12, qword [rsp + 0x144]
lea rdx, [rsp + 0x58]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x1800106be
test byte [rsp + 0x58], 2
jne 0x1800106be
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x68]
mov rcx, r12
call fcn.180005740
mov r14d, dword [rsp + 0x5c]
mov eax, r14d
mov byte [rbx], sil
sub eax, 4
je 0x1800106f4
sub eax, 1
je 0x1800106f0
cmp eax, 1
je 0x1800106ec
xor al, al
jmp 0x1800107f1
mov al, 3
jmp 0x1800106fb
mov al, 1
jmp 0x1800106fb
mov ebp, esi
mov byte [rbx], 1
xor al, al
mov rcx, qword [rsp + 0x20]
mov r11, qword [0x180090a88]
mov byte [r13], 1
mov byte [rcx], bpl
movabs rbp, 0xeeeeeeeeeeeeeeef
mov rcx, qword [rsp + 0x28]
mov byte [rcx], al
mov rax, qword [0x180090a90]
sub rax, r11
sar rax, 2
imul rax, rbp
test rax, rax
je 0x1800107bc
mov rbx, rsi
cmp rax, rbx
jbe 0x18001081c
lea rcx, [rsp + 0x68]
call fcn.180005570
imul rcx, rbx, 0x3c
mov r8, rax
mov edx, 0x10
mov rcx, qword [rcx + r11]
call sym.TitanEngine.dll_SetContextDataEx
mov rax, qword [0x180090a90]
mov r9, qword [0x180090a88]
sub rax, r9
sar rax, 2
imul rax, rbp
cmp rax, rbx
jbe 0x18001081c
imul rcx, rbx, 0x3c
mov r8, r15
mov edx, edi
mov rcx, qword [rcx + r9]
call sym.TitanEngine.dll_SetContextDataEx
mov rax, qword [0x180090a90]
inc esi
mov r11, qword [0x180090a88]
sub rax, r11
mov ebx, esi
sar rax, 2
imul rax, rbp
cmp rax, rbx
ja 0x180010747
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x60]
mov dword [rax], r14d
mov rax, qword [rsp + 0x38]
mov dword [rax], ecx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
mov byte [rax], 1
mov rax, qword [rsp + 0x48]
mov qword [rax], r15
mov rax, qword [rsp + 0x530]
mov qword [rcx], rax
mov al, 1
mov rcx, qword [rsp + 0x4c0]
xor rcx, rsp
call fcn.180049ad0
mov rbx, qword [rsp + 0x520]
add rsp, 0x4d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180005850
int3