Function at 0x18005c160
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x60
mov rbp, r8
mov ebx, edx
mov r14, rcx
mov edx, dword [0x180247fe0]
mov rax, qword gs:[0x58]
mov ecx, 8
mov rsi, qword [rax + rdx*8]
add rsi, rcx
mov eax, dword [rsi]
cmp dword [0x18024a270], eax
jle 0x18005c1e6
lea rcx, [0x18024a270]
call fcn.18019b7c0
cmp dword [0x18024a270], 0xffffffff
jne 0x18005c1e6
mov rax, qword [0x180249200]
xor r9d, r9d
lea r8, [0x1801ec570]
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x18024a338], rax
lea rcx, [0x18024a270]
call fcn.18019b754
mov rcx, qword [0x18024a338]
mov rax, qword [0x1802492b8]
movsxd rdx, dword [rax + rcx]
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
mov ecx, dword [rsi]
cmp dword [0x18024a350], ecx
jle 0x18005c2c0
lea rcx, [0x18024a350]
call fcn.18019b7c0
cmp dword [0x18024a350], 0xffffffff
jne 0x18005c2c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str.AbilityToCancel
lea rcx, [rsp + 0x40]
call fcn.18005a600
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 0x44
lea rdx, str._Script_GameplayAbilities.AbilitySystemComponent.ClientCancelAbility
lea rcx, [rsp + 0x20]
call fcn.18005a600
nop
mov r8b, 1
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.18005a790
mov dword [0x18024a320], eax
lea rcx, [rsp + 0x20]
call fcn.18005e3c0
nop
lea rcx, [rsp + 0x40]
call fcn.18005e3c0
nop
lea rcx, [0x18024a350]
call fcn.18019b754
mov eax, dword [rsi]
cmp dword [0x18024a274], eax
jle 0x18005c373
lea rcx, [0x18024a274]
call fcn.18019b7c0
cmp dword [0x18024a274], 0xffffffff
jne 0x18005c373
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, str.ActivationInfo
lea rcx, [rsp + 0x20]
call fcn.18005a600
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x44
lea rdx, str._Script_GameplayAbilities.AbilitySystemComponent.ClientCancelAbility
lea rcx, [rsp + 0x40]
call fcn.18005a600
nop
mov r8b, 1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.18005a790
mov dword [0x18024a2b4], eax
lea rcx, [rsp + 0x40]
call fcn.18005e3c0
nop
lea rcx, [rsp + 0x20]
call fcn.18005e3c0
nop
lea rcx, [0x18024a274]
call fcn.18019b754
movsxd rax, dword [0x18024a320]
mov dword [rax + rdi], ebx
call fcn.18005ae90
movsxd r8, eax
movsxd rcx, dword [0x18024a2b4]
add rcx, rdi
test rbp, rbp
je 0x18005c3b9
test eax, eax
je 0x18005c3b9
test rcx, rcx
jne 0x18005c3b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], socket
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
jmp 0x18005c3b9
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcpy
mov r8, rdi
mov rdx, qword [0x18024a338]
mov rcx, r14
call qword [0x180248f80]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
jmp qword [sym.imp.KERNEL32.dll_VirtualFree]