Function at 0x18005a3a0
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 [0x18024f6b4]
mov rax, qword gs:[0x58]
mov ecx, reloc.WS2_32.dll_recv
mov rsi, qword [rax + rdx*8]
add rsi, rcx
mov eax, dword [rsi]
cmp dword [0x180251a40], eax
jle 0x18005a426
lea rcx, [0x180251a40]
call fcn.18019f9f0
cmp dword [0x180251a40], 0xffffffff
jne 0x18005a426
mov rax, qword [0x1802506b0]
xor r9d, r9d
lea r8, [0x1801f2630]
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x180251918], rax
lea rcx, [0x180251a40]
call fcn.18019f984
mov rcx, qword [0x180251918]
mov rax, qword [0x180250770]
movsxd rdx, dword [rax + rcx]
xor ecx, ecx
mov r9d, 0x40
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
mov ecx, dword [rsi]
cmp dword [0x1802519f4], ecx
jle 0x18005a502
lea rcx, [0x1802519f4]
call fcn.18019f9f0
cmp dword [0x1802519f4], 0xffffffff
jne 0x18005a502
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, ntohs
lea rdx, str.AbilityToEnd
lea rcx, [rsp + 0x40]
call fcn.180058a20
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 0x41
lea rdx, str._Script_GameplayAbilities.AbilitySystemComponent.ClientEndAbility
lea rcx, [rsp + 0x20]
call fcn.180058a20
nop
mov r8b, 1
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.180058cd0
mov dword [0x180251920], eax
lea rcx, [rsp + 0x20]
call fcn.18005cb00
nop
lea rcx, [rsp + 0x40]
call fcn.18005cb00
nop
lea rcx, [0x1802519f4]
call fcn.18019f984
mov eax, dword [rsi]
cmp dword [0x180251988], eax
jle 0x18005a5b5
lea rcx, [0x180251988]
call fcn.18019f9f0
cmp dword [0x180251988], 0xffffffff
jne 0x18005a5b5
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.180058a20
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x41
lea rdx, str._Script_GameplayAbilities.AbilitySystemComponent.ClientEndAbility
lea rcx, [rsp + 0x40]
call fcn.180058a20
nop
mov r8b, 1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.180058cd0
mov dword [0x180251990], eax
lea rcx, [rsp + 0x40]
call fcn.18005cb00
nop
lea rcx, [rsp + 0x20]
call fcn.18005cb00
nop
lea rcx, [0x180251988]
call fcn.18019f984
movsxd rax, dword [0x180251920]
mov dword [rax + rdi], ebx
call fcn.180059370
movsxd r8, eax
movsxd rcx, dword [0x180251990]
add rcx, rdi
test rbp, rbp
je 0x18005a5fb
test eax, eax
je 0x18005a5fb
test rcx, rcx
jne 0x18005a5f3
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 0x18005a5fb
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcpy
mov r8, rdi
mov rdx, qword [0x180251918]
mov rcx, r14
call qword [0x180250480]
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]