Function at 0x5d8d40
Capabilities:
Get process heap flags

Disassembly:
lea r12, [rsp - 0x100]
cmp r12, qword [r14 + 0x10]
jbe 0x5d9e5d
push rbp
mov rbp, rsp
sub rsp, 0x178
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x1a8], rbx
mov qword [rsp + 0x1b0], rcx
mov qword [rsp + 0x1c8], r8
mov rdx, qword [rsp + 0x198]
cmp rdx, 0x10
jb 0x5d9e52
mov qword [rsp + 0x1d0], r9
mov qword [rsp + 0x1a8], rbx
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x1c0], rsi
mov qword [rsp + 0x1b8], rdi
mov qword [rsp + 0x1b0], rcx
mov qword [rsp + 0x1d8], r10
mov qword [rsp + 0x1c8], r8
mov rsi, qword [0x007d7bb0]
mov r8, qword [0x007d7bb8]
mov r9, qword [0x007d7bc0]
mov r10, qword [rax + 0x28]
mov ecx, 0x10
mov rdi, rdx
mov rax, rbx
mov rbx, qword [rsp + 0x188]
call r10
mov rcx, qword [rsp + 0x1d0]
mov rdx, rcx
shr rdx, 7
mov qword [rsp + 0xc0], rdx
mov r10, qword [rsp + 0x1b8]
mov rbx, qword [rsp + 0x188]
mov r11, qword [rsp + 0x1c8]
mov r12, qword [rsp + 0x1b0]
mov r13, qword [rsp + 0x1c0]
mov r15, qword [rsp + 0x1d8]
xor eax, eax
xor esi, esi
jmp 0x5d93f4
mov qword [rsp + 0x170], r8
lea rcx, [r12 + r13]
lea rcx, [rcx + 0x10]
mov qword [rsp + 0x130], rcx
lea rdx, [r10 - 0x10]
mov qword [rsp + 0xa8], rdx
lea rsi, [r11 + r15]
lea rsi, [rsi + 0x10]
mov qword [rsp + 0x168], rsi
lea rdi, [r12 + r13]
lea rdi, [rdi + 0x20]
mov qword [rsp + 0x128], rdi
lea rdi, [r10 - 0x20]
mov qword [rsp + 0xa0], rdi
lea rdi, [r11 + r15]
lea rdi, [rdi + 0x20]
mov qword [rsp + 0x160], rdi
lea rdi, [r12 + r13]
lea rdi, [rdi + 0x30]
mov qword [rsp + 0x120], rdi
lea rdi, [r10 - 0x30]
mov qword [rsp + 0x98], rdi
lea rdi, [r11 + r15]
lea rdi, [rdi + 0x30]
mov qword [rsp + 0x158], rdi
lea rdi, [r12 + r13]
lea rdi, [rdi + 0x40]
mov qword [rsp + 0x118], rdi
lea rdi, [r10 - 0x40]
mov qword [rsp + 0x90], rdi
lea rdi, [r11 + r15]
lea rdi, [rdi + 0x40]
mov qword [rsp + 0x150], rdi
lea rdi, [r12 + r13]
lea rdi, [rdi + 0x50]
mov qword [rsp + 0x110], rdi
lea rdi, [r10 - 0x50]
mov qword [rsp + 0x88], rdi
lea rdi, [r11 + r15]
lea rdi, [rdi + 0x50]
mov qword [rsp + 0x148], rdi
lea rdi, [r12 + r13]
lea rdi, [rdi + 0x60]
mov qword [rsp + 0x108], rdi
lea rdi, [r10 - 0x60]
mov qword [rsp + 0x80], rdi
lea rdi, [r11 + r15]
lea rdi, [rdi + 0x60]
mov qword [rsp + 0x140], rdi
lea r13, [r12 + r13]
lea r13, [r13 + 0x70]
mov qword [rsp + 0x100], r13
lea r12, [r10 - 0x70]
mov qword [rsp + 0x78], r12
lea r15, [r11 + r15]
lea r15, [r15 + 0x70]
mov qword [rsp + 0x138], r15
inc rax
mov qword [rsp + 0x38], rax
nop
mov qword [rsp], r8
mov qword [rsp + 8], r9
mov qword [rsp + 0x10], rbx
nop
call sym.github.com_templexxx_xorsimd.bytes16.abi0
xorps xmm15, xmm15
mov r14, qword [0x0083b2b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rax + 0x28]
mov rbx, qword [rsp + 0x188]
mov rdi, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x170]
mov r8d, 0x10
mov r9, qword [rsp + 0xb8]
mov rax, qword [rsp + 0x1a8]
mov r10, rcx
mov rcx, r8
call r10
mov rax, qword [rsp + 0x130]
mov qword [rsp], rax
mov rcx, qword [rsp + 0x168]
mov qword [rsp + 8], rcx
mov rcx, qword [rsp + 0x188]
mov qword [rsp + 0x10], rcx
call sym.github.com_templexxx_xorsimd.bytes16.abi0
xorps xmm15, xmm15
mov r14, qword [0x0083b2b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rax + 0x28]
mov rbx, qword [rsp + 0x188]
mov rdi, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x130]
mov r8d, 0x10
mov r9, qword [rsp + 0xa8]
mov rax, qword [rsp + 0x1a8]
mov r10, rcx
mov rcx, r8
call r10
mov rax, qword [rsp + 0x128]
mov qword [rsp], rax
mov rcx, qword [rsp + 0x160]
mov qword [rsp + 8], rcx
mov rcx, qword [rsp + 0x188]
mov qword [rsp + 0x10], rcx
call sym.github.com_templexxx_xorsimd.bytes16.abi0
xorps xmm15, xmm15
mov r14, qword [0x0083b2b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rax + 0x28]
mov rbx, qword [rsp + 0x188]
mov rdi, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x128]
mov r8d, 0x10
mov r9, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x1a8]
mov r10, rcx
mov rcx, r8
call r10
mov rax, qword [rsp + 0x120]
mov qword [rsp], rax
mov rcx, qword [rsp + 0x158]
mov qword [rsp + 8], rcx
mov rcx, qword [rsp + 0x188]
mov qword [rsp + 0x10], rcx
call sym.github.com_templexxx_xorsimd.bytes16.abi0
xorps xmm15, xmm15
mov r14, qword [0x0083b2b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rax + 0x28]
mov rbx, qword [rsp + 0x188]
mov rdi, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x120]
mov r8d, 0x10
mov r9, qword [rsp + 0x98]
mov rax, qword [rsp + 0x1a8]
mov r10, rcx
mov rcx, r8
call r10
mov rax, qword [rsp + 0x118]
mov qword [rsp], rax
mov rcx, qword [rsp + 0x150]
mov qword [rsp + 8], rcx
mov rcx, qword [rsp + 0x188]
mov qword [rsp + 0x10], rcx
call sym.github.com_templexxx_xorsimd.bytes16.abi0
xorps xmm15, xmm15
mov r14, qword [0x0083b2b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rax + 0x28]
mov rbx, qword [rsp + 0x188]
mov rdi, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x118]
mov r8d, 0x10
mov r9, qword [rsp + 0x90]
mov rax, qword [rsp + 0x1a8]
mov r10, rcx
mov rcx, r8
call r10
mov rax, qword [rsp + 0x110]
mov qword [rsp], rax
mov rcx, qword [rsp + 0x148]
mov qword [rsp + 8], rcx
mov rcx, qword [rsp + 0x188]
mov qword [rsp + 0x10], rcx
call sym.github.com_templexxx_xorsimd.bytes16.abi0
xorps xmm15, xmm15
mov r14, qword [0x0083b2b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rax + 0x28]
mov rbx, qword [rsp + 0x188]
mov rdi, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x110]
mov r8d, 0x10
mov r9, qword [rsp + 0x88]
mov rax, qword [rsp + 0x1a8]
mov r10, rcx
mov rcx, r8
call r10
mov rax, qword [rsp + 0x108]
mov qword [rsp], rax
mov rcx, qword [rsp + 0x140]
mov qword [rsp + 8], rcx
mov rcx, qword [rsp + 0x188]
mov qword [rsp + 0x10], rcx
call sym.github.com_templexxx_xorsimd.bytes16.abi0
xorps xmm15, xmm15
mov r14, qword [0x0083b2b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rax + 0x28]
mov rbx, qword [rsp + 0x188]
mov rdi, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x108]
mov r8d, 0x10
mov r9, qword [rsp + 0x80]
mov rax, qword [rsp + 0x1a8]
mov r10, rcx
mov rcx, r8
call r10
mov rax, qword [rsp + 0x100]
mov qword [rsp], rax
mov rcx, qword [rsp + 0x138]
mov qword [rsp + 8], rcx
mov rcx, qword [rsp + 0x188]
mov qword [rsp + 0x10], rcx
call sym.github.com_templexxx_xorsimd.bytes16.abi0
xorps xmm15, xmm15
mov r14, qword [0x0083b2b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rax + 0x28]
mov rbx, qword [rsp + 0x188]
mov rdi, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x100]
mov r8d, 0x10
mov r9, qword [rsp + 0x78]
mov rax, qword [rsp + 0x1a8]
mov r10, rcx
mov rcx, r8
call r10
mov rsi, qword [rsp + 0xb0]
sub rsi, 0xffffffffffffff80
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x1b8]
mov rdx, qword [rsp + 0x188]
mov rbx, qword [rsp + 0x1c8]
mov rdi, qword [rsp + 0x1b0]
mov r8, qword [rsp + 0x1c0]
mov r9, qword [rsp + 0x1d8]
mov r10, qword [rsp + 0x1d0]
mov r11, qword [rsp + 0x38]
mov rcx, r10
mov rdx, rax
mov rbx, qword [rsp + 0x188]
mov r10, qword [rsp + 0x1b8]
mov r11, qword [rsp + 0x1c8]
mov r12, rdi
mov r13, r8
mov r15, r9
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0xb0], rsi
nop dword [rax]
cmp rax, rdx
jge 0x5d9472
cmp rcx, rsi
jb 0x5d9e4a
sub r15, rsi
mov r8, r15
neg r15
sar r15, 0x3f
and r15, rsi
lea r9, [r11 + r15]
cmp r8, 0x80
jb 0x5d9e3d
cmp r10, rsi
jb 0x5d9e32
sub r13, rsi
mov qword [rsp + 0xb8], r13
neg r13
sar r13, 0x3f
and r13, rsi
lea r8, [r12 + r13]
mov r10, qword [rsp + 0xb8]
nop dword [rax]
cmp r10, 0x80
jae 0x5d8e4e
jmp 0x5d9e25
mov rdx, rcx
shr rdx, 4
and edx, 7
lea rax, [0x00693b80]
jmp qword [rax + rdx*8]
mov ecx, pe_nt_image_headers64
mov rdx, r10
call sym.runtime.panicSliceAcap
mov rax, rsi
mov rcx, r10
call sym.runtime.panicSliceB
mov ecx, pe_nt_image_headers64
mov rdx, r8
call sym.runtime.panicSliceAcap
mov rax, rsi
call sym.runtime.panicSliceB
mov ecx, 0x10
call sym.runtime.panicSliceAcap
nop
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x58], r10
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov r9, qword [rsp + 0x50]
mov r10, qword [rsp + 0x58]
jmp sym.github.com_xtaci_kcp_go_v5.encrypt16