Function at 0x18005cfb0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xe0
mov rax, qword [0x18009a1f0]
xor rax, rsp
mov qword [rbp + 7], rax
mov r12, qword [rbp - 0x69]
mov r14d, r8d
mov rbx, qword [rbp - 0x69]
mov r10, r9
movzx edi, byte [rsp + 0x40]
mov rsi, rcx
mov dword [rbp - 0x79], r8d
mov r8, qword [rbp + 0x77]
lea r13d, [r14 + 0xe7]
mov qword [rbp - 0x39], rdx
mov rdx, qword [rbp + 0x7f]
mov qword [rbp - 0x59], r9
lea r9, [0x180000000]
mov qword [rbp - 0x41], r8
mov qword [rbp - 0x49], rdx
cmp r14d, r13d
jae 0x18005d287
mov rax, qword [rbp - 0x69]
add r14d, 0xffffffdd
mov qword [rbp - 0x51], rax
mov rax, qword [rbp - 0x69]
mov qword [rsp + 0x48], rax
nop dword [rax + rax]
cmp r14d, 0xd5
ja case.0x18005d061.10
movzx eax, byte [r9 + r14 + 0x5d718]
mov ecx, dword [r9 + rax*4 + 0x5d6ec]
add rcx, r9
jmp rcx
mov rax, qword [r10]
lea rcx, [rax + rax*8]
mov rax, qword [rsi + 0x70]
mov rbx, qword [rax + rcx*8]
lea r12, [rax + rcx*8]
jmp case.0x18005d061.10
mov rax, qword [rbx + 0x18]
test rax, rax
je case.0x18005d061.10
nop dword [rax + rax]
mov rbx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x18005d090
jmp case.0x18005d061.10
test rbx, rbx
je 0x18005d0da
nop word [rax + rax]
mov rax, qword [rbx + 0x10]
lea r9, [rsi + 0x30]
lea r8, [rbp - 0x71]
mov qword [rbp - 0x71], rax
mov edx, 0x45
mov rcx, rbx
call fcn.18007cd40
mov rbx, qword [rbx + 0x20]
test rbx, rbx
jne 0x18005d0b0
mov r10, qword [rbp - 0x59]
cmp qword [r12 + 8], 0
lea rax, [r12 + 8]
je case.0x18005d061.10
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 0xcd
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
mov byte [rsp + 0x40], 0
xor ecx, ecx
call fcn.180031f00
mov r10, qword [rbp - 0x59]
jmp case.0x18005d061.10
xor edx, edx
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x18005d265
mov r10, qword [rbp - 0x59]
jmp case.0x18005d061.10
mov eax, dword [rsi]
lea r8, [rbp - 0x31]
add eax, eax
mov qword [rsp + 0x20], 0
cdqe
mov r9d, 0x4d
xor edx, edx
lea rcx, [rax + rax*2]
shl rcx, 3
mov qword [rbp - 0x31], rcx
xor ecx, ecx
call fcn.18005af00
mov qword [rbp - 0x51], rax
lea r8, [rbp - 0x69]
mov eax, dword [rsi]
mov r9d, 0x4d
add eax, eax
mov qword [rsp + 0x20], 0
cdqe
xor edx, edx
lea rcx, [rax + rax*2]
shl rcx, 3
mov qword [rbp - 0x69], rcx
xor ecx, ecx
call fcn.18005af00
mov r10, qword [rbp - 0x59]
mov qword [rsp + 0x48], rax
jmp case.0x18005d061.10
xor dil, dil
jmp case.0x18005d061.10
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r12], xmm0
movups xmmword [r12 + 0x10], xmm0
movups xmmword [r12 + 0x20], xmm0
movups xmmword [r12 + 0x30], xmm0
mov qword [r12 + 0x40], rax
jmp case.0x18005d061.10
mov dword [rbp - 0x61], 1
jmp case.0x18005d061.10
mov r8, qword [rsi + 0xa0]
mov r9d, 0x14a
xor edx, edx
xor ecx, ecx
call fcn.180063950
mov r10, qword [rbp - 0x59]
mov rax, qword [r10]
cmp qword [rsi + 0x78], rax
jbe 0x18005d26c
add r14d, 0x15
lea r9, [0x180000000]
lea eax, [r14 + 0x23]
cmp eax, r13d
jb 0x18005d040
mov r14d, dword [rbp - 0x79]
mov r12, qword [rsp + 0x48]
mov rbx, qword [rbp - 0x51]
mov rdx, qword [rbp - 0x49]
mov r8, qword [rbp - 0x41]
lea r13d, [r14 + 0xc]
cmp r14d, r13d
jae case.0x18005d263.40
mov r15, qword [rbp - 0x69]
nop dword [rax + rax]
lea eax, [r14 - 0x23]
cmp eax, 0x8c
ja case.0x18005d263.47
movzx eax, byte [r9 + rax + 0x5d824]
mov ecx, dword [r9 + rax*4 + 0x5d7f0]
add rcx, r9
jmp rcx
xor eax, eax
jmp 0x18005d6c4
mov r9, qword [rsi + 0xa0]
xor r8d, r8d
xor edx, edx
mov ecx, 0xa4
call fcn.18002bff0
jmp case.0x18005d263.40
mov qword [rbp - 0x51], rbx
jmp 0x18005d227
mov eax, dword [rsi]
lea rcx, [rbp - 0x79]
mov r9d, 0x74
mov dword [rbp - 0x79], eax
mov rdx, r12
call fcn.180058640
mov rcx, qword [rbp - 0x39]
lea r9, [rbp - 0x79]
lea r8, [rsp + 0x48]
mov rdx, rbx
mov eax, dword [rcx]
mov ecx, 0x114
mov dword [rsp + 0x48], eax
mov eax, dword [rsi]
mov dword [rbp - 0x79], eax
call fcn.18002e7b0
mov eax, dword [rsi]
mov r9d, 0x27
mov rdx, qword [rbp - 0x49]
mov r8, rbx
mov dword [rsp + 0x48], eax
mov rcx, r12
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.180039450
jmp case.0x18005d263.47
mov rax, qword [rsi + 0x98]
cmp qword [rsi + 0x90], rax
jb case.0x18005d263.47
mov ebx, 0x67
nop dword [rax]
cmp ebx, 0x67
je 0x18005d359
cmp ebx, 0x13b7
jne 0x18005d363
mov rax, qword [rsi + 0x98]
lea r8, [rbp - 0x71]
mov rdx, qword [rsi + 0x88]
mov r9d, 8
shl rax, 3
xor ecx, ecx
mov qword [rbp - 0x71], rax
call fcn.180055a10
test rax, rax
je 0x18005d363
mov qword [rsi + 0x88], rax
mov qword [rsi + 0x98], r15
jmp 0x18005d363
mov r15, qword [rsi + 0x98]
add r15, r15
add ebx, 0x1350
cmp ebx, 0x26a0
jbe 0x18005d310
jmp case.0x18005d263.47
mov ecx, dword [rsi]
xor ebx, ebx
lea eax, [rcx + rcx]
test eax, eax
jle 0x18005d3bd
lea rcx, [rbx + rbx*2]
mov r8d, 0x111
lea rax, [r12 + rcx*8]
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x79], rcx
lea r9, [rbp - 0x71]
lea rcx, [rbp - 0x79]
mov qword [rbp - 0x71], rax
lea rdx, [rsp + 0x48]
call fcn.180032870
mov ecx, dword [rsi]
inc ebx
lea eax, [rcx + rcx]
cmp ebx, eax
jl 0x18005d381
mov rax, qword [rbp - 0x39]
lea r9, [rsp + 0x48]
mov dword [rsp + 0x48], ecx
lea r8, [rbp - 0x79]
mov rdx, r12
mov ecx, 0x114
mov eax, dword [rax]
neg eax
mov dword [rbp - 0x79], eax
call fcn.18002e7b0
jmp case.0x18005d263.47
mov qword [rsp + 0x28], 0
mov r9d, 0x22
xor r8d, r8d
mov qword [rsp + 0x20], 0
mov rdx, r12
xor ecx, ecx
call fcn.180054bc0
mov r9d, 0x22
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], 0
mov rdx, rbx
xor ecx, ecx
call fcn.180054bc0
jmp case.0x18005d263.47
movzx ecx, byte [r10]
test ecx, ecx
je 0x18005d462
sub ecx, 1
je 0x18005d4c7
cmp ecx, 1
je 0x18005d511
mov dil, 2
mov r14d, 0x9a
mov byte [rbp - 0x61], dil
jmp case.0x18005d263.47
mov ecx, 0xee
mov eax, ecx
sub eax, 0xee
je 0x18005d4b2
sub eax, 1
je 0x18005d4a0
cmp eax, 1
jne 0x18005d4bd
test dil, dil
je 0x18005d450
cmp dil, 5
je 0x18005d56e
cmp dil, 7
mov r14d, 0x9a
sete dil
mov byte [rbp - 0x61], dil
jmp case.0x18005d263.47
mov eax, dword [rsi + 8]
and al, 2
or dil, al
mov eax, dword [rsi + 8]
shr eax, 0x1a
and al, 1
jmp 0x18005d4ba
mov eax, dword [rsi + 8]
and al, 1
shl al, 2
or dil, al
inc ecx
cmp ecx, 0xf1
jb 0x18005d467
mov ecx, 0x114
nop dword [rax]
cmp ecx, 0x114
je 0x18005d4ed
cmp ecx, 0x1a7
jne 0x18005d503
mov eax, dword [rsi + 8]
shr eax, 0x1b
and al, 1
or dil, al
jmp case.0x18005d263.38
mov eax, dword [rsi + 8]
shr eax, 6
and al, 4
or dil, al
mov eax, dword [rsi + 8]
shr eax, 8
and al, 2
or dil, al
add ecx, 0x93
cmp ecx, 0x23a
jb 0x18005d4d0
mov ecx, 0x67
nop word [rax + rax]
mov eax, ecx
sub eax, 0x65
je case.0x18005d263.38
sub eax, 1
je 0x18005d53f
cmp eax, 1
jne 0x18005d555
mov eax, dword [rsi + 8]
shr eax, 0xe
and al, 4
jmp 0x18005d552
mov eax, dword [rsi + 8]
shr eax, 0x10
and al, 2
or dil, al
mov eax, dword [rsi + 8]
shr eax, 0x1c
and al, 1
or dil, al
dec ecx
cmp ecx, 0x64
ja 0x18005d520
mov dil, 2
mov r14d, 0x9a
mov byte [rbp - 0x61], dil
jmp case.0x18005d263.47
xor dil, dil
mov r14d, 0x9a
mov byte [rbp - 0x61], dil
jmp case.0x18005d263.47
mov eax, dword [rsi]
lea rcx, [rsp + 0x48]
mov r9d, 0x74
mov dword [rsp + 0x48], eax
mov r8, r10
mov rdx, rbx
call fcn.180058640
mov eax, dword [rsi]
lea rcx, [rsp + 0x48]
mov r8, qword [rbp - 0x41]
mov r9d, 0x74
mov rdx, r12
mov dword [rsp + 0x48], eax
call fcn.180058640
jmp case.0x18005d263.47
mov eax, dword [rsi]
add rdx, 0x18
mov dword [rsp + 0x48], eax
mov r9d, 0x27
lea rax, [rsp + 0x48]
mov r8, rbx
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.180039450
jmp case.0x18005d263.47
movd xmm0, dword [rsi]
lea rax, [rbp - 0x11]
cvtdq2pd xmm0, xmm0
lea r8, [rbp - 0x71]
mov qword [rbp - 0x71], rax
lea rdx, [rsp + 0x48]
mov ecx, 0x19
movsd qword [rsp + 0x48], xmm0
call fcn.18006ae80
lea rax, [rbp - 0x29]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x48]
lea rax, [rbp - 0x11]
xor edx, edx
mov qword [rbp - 0x71], rax
xor ecx, ecx
lea rax, [rbp - 0x71]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x9b
mov qword [rsp + 0x20], 0
call fcn.18005c5c0
mov eax, dword [rsi]
lea rcx, [rsp + 0x48]
mov r8, qword [rbp - 0x59]
mov r9d, 0x74
mov rdx, rbx
mov dword [rsp + 0x48], eax
call fcn.180058640
jmp case.0x18005d263.47
mov rdx, qword [rsi + 0x90]
xor r8d, r8d
mov rcx, qword [rsi + 0x88]
mov rax, qword [r10]
mov qword [rcx + rdx*8], rax
xor edx, edx
inc qword [rsi + 0x90]
mov ecx, 0xa4
mov r9, qword [rsi + 0xa0]
call fcn.18002bff0
mov r10, qword [rbp - 0x59]
lea r9, [0x180000000]
mov rbx, qword [rbp - 0x51]
inc r14d
mov rdx, qword [rbp - 0x49]
mov r8, qword [rbp - 0x41]
cmp r14d, r13d
jb 0x18005d240
mov eax, dword [rbp - 0x61]
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.180082e70
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret