Function at 0x18000869a
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rax, qword [rdx + 8]
add qword [rcx + 0x2080], rax
mov rcx, qword [rdx]
and rcx, 0xfffffffffffffffe
mov qword [rdx], rcx
je 0x180008581
mov rbx, rdi
sub rbx, rcx
mov rcx, rbx
sar rcx, 0xc
lea r14, [rsi + 0x20a0]
mov r8, rbx
sar r8, 0x15
movzx edx, r8b
lea rdx, [rsi + rdx*8]
add rdx, 0x20a0
mov rdx, qword [rdx]
test rdx, rdx
je 0x180008581
cmp qword [rdx + 8], r8
jne 0x1800084b3
mov r8d, ecx
shr r8d, 6
and r8d, 7
mov rdx, qword [rdx + r8*8 + 0x10]
bt rdx, rcx
jae 0x180008581
test byte [rbx], 1
jne 0x180008581
mov rcx, 0xfffffffffffff04f
add rcx, qword [rbx + 8]
cmp rcx, 0x3efff04e
ja 0x180008581
mov rcx, rsi
mov rdx, rbx
call fcn.180008377
mov rax, qword [rbx + 8]
add rax, qword [rdi + 8]
mov qword [rbx + 8], rax
mov rcx, rdi
sar rcx, 0xc
sar rdi, 0x15
movzx edx, dil
lea rdx, [r14 + rdx*8]
mov rdx, qword [rdx]
test rdx, rdx
je 0x180008553
cmp qword [rdx + 8], rdi
jne 0x18000852a
mov eax, ecx
shr eax, 6
and eax, 7
mov r8, 0xfffffffffffffffe
rol r8, cl
and qword [rdx + rax*8 + 0x10], r8
mov rax, qword [rbx + 8]
mov rdi, rbx
cmp rax, 0x3f000001
jl 0x180008581
mov r8d, 0x3f000000
mov rcx, rsi
mov rdx, rbx
call fcn.180007c4b
mov rdi, rax
mov rcx, rsi
mov rdx, rbx
call fcn.180007d0a
mov rax, qword [rdi + 8]
lea rbx, [rax + rdi]
mov rcx, rbx
sar rcx, 0xc
mov r14, rbx
sar r14, 0x15
movzx edx, r14b
lea r15, [rsi + rdx*8]
add r15, 0x20a0
mov rdx, r15
mov rdx, qword [rdx]
test rdx, rdx
je 0x180008642
cmp qword [rdx + 8], r14
jne 0x1800085a5
mov r12d, ecx
shr r12d, 6
and r12d, 7
mov rdx, qword [rdx + r12*8 + 0x10]
mov r13d, 1
shl r13, cl
bt rdx, rcx
jae 0x180008642
test byte [rbx], 1
jne 0x180008642
cmp qword [rbx + 8], 0xfb1
jl 0x180008642
cmp rax, 0x3effffff
jg 0x180008642
mov rcx, rsi
mov rdx, rbx
call fcn.180008377
mov rax, qword [rdi + 8]
add rax, qword [rbx + 8]
mov qword [rdi + 8], rax
mov r15, qword [r15]
test r15, r15
je 0x18000861e
cmp qword [r15 + 8], r14
jne 0x180008604
not r13
and qword [r15 + r12*8 + 0x10], r13
mov rax, qword [rdi + 8]
cmp rax, 0x3f000001
jl 0x180008642
mov r8d, 0x3f000000
mov rcx, rsi
mov rdx, rdi
call fcn.180007c4b
mov rcx, rsi
mov rdx, rax
call fcn.180007d0a
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.180007d0a
sub rsp, 0x28
mov r8, rdx
mov rax, rcx
and rdx, 0xfffffffffffff000
mov r9, qword [rdx + 8]
mov rcx, qword [rdx + 0x10]
cmp r9, 0xfb0
jg 0x1800086d9
cmp rcx, rax
je 0x1800086fe
mov rax, qword [rdx + 0x40]
mov qword [r8], rax
lock cmpxchg qword [rdx + 0x40], r8
je 0x180008835
mov qword [r8], rax
jmp 0x1800086c1
cmp rcx, rax
je 0x180008751
mov rax, qword [rcx + 0x2098]
mov qword [rdx + 0x18], rax
lock cmpxchg qword [rcx + 0x2098], rdx
je 0x180008835
mov qword [rdx + 0x18], rax
jmp 0x1800086de
sub qword [rax + 0x2088], r9
mov rcx, qword [rdx + 0x28]
mov qword [r8], rcx
mov qword [rdx + 0x28], r8
mov rcx, qword [rdx + 0x30]
cmp rcx, r9
jge 0x1800087f1
lea r8, [r9 + 0xf]
test r9, r9
cmovns r8, r9
sar r8, 4
mov r10, qword [rax + r8*8]
mov qword [rdx + 0x18], r10
mov r10, qword [rax + r8*8]
test r10, r10
je 0x180008741
mov qword [r10 + 0x20], rdx
mov qword [rax + r8*8], rdx
add rcx, r9
mov qword [rdx + 0x30], rcx
jmp 0x180008835
sub qword [rax + 0x2088], r9
cmp r9, 0x3f000001
jl 0x180008858
mov rcx, r8
sar rcx, 0xc
sar r8, 0x15
movzx r10d, r8b
lea r10, [rax + r10*8]
add r10, 0x20a0
mov r10, qword [r10]
test r10, r10
je 0x1800087a7
cmp qword [r10 + 8], r8
jne 0x18000877f
mov r8d, ecx
shr r8d, 6
mov r11, 0xfffffffffffffffe
rol r11, cl
and r8d, 7
and qword [r10 + r8*8 + 0x10], r11
mov rcx, qword [rax + 0x2070]
mov r8, qword [rax + 0x2078]
cmp r8, rcx
cmovle r8, rcx
mov qword [rax + 0x2078], r8
sub rcx, r9
mov qword [rax + 0x2070], rcx
mov rcx, rdx
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
jne 0x180008835
call fcn.18000865c
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
add rcx, r9
mov qword [rdx + 0x30], rcx
cmp rcx, 0xfb0
jne 0x180008835
lea r10, [r9 + 0xf]
test r9, r9
cmovns r10, r9
sar r10, 4
lea rcx, [rdx + 0x18]
mov r8, qword [rdx + 0x18]
cmp qword [rax + r10*8], rdx
je 0x18000883a
mov r9, qword [rdx + 0x20]
mov qword [r9 + 0x18], r8
mov r8, qword [rdx + 0x18]
test r8, r8
je 0x18000884a
mov r9, qword [rdx + 0x20]
jmp 0x180008846
add rsp, 0x28
ret
mov qword [rax + r10*8], r8
test r8, r8
je 0x18000884a
xor r9d, r9d
mov qword [r8 + 0x20], r9
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rdx + 8], 0x1000
mov rcx, rax
add rsp, 0x28
jmp 0x180008459