Function at 0x180057870
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 [0x180253490]
mov rax, qword gs:[0x58]
mov ecx, 8
mov rsi, qword [rax + rdx*8]
add rsi, rcx
mov eax, dword [rsi]
cmp dword [0x180255668], eax
jle 0x1800578f6
lea rcx, [0x180255668]
call fcn.1801a4820
cmp dword [0x180255668], 0xffffffff
jne 0x1800578f6
mov rax, qword [0x180254530]
xor r9d, r9d
lea r8, [0x1801f6460]
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x180255550], rax
lea rcx, [0x180255668]
call fcn.1801a47b4
mov rcx, qword [0x180255550]
mov rax, qword [0x1802545e8]
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 [0x18025562c], ecx
jle 0x1800579d0
lea rcx, [0x18025562c]
call fcn.1801a4820
cmp dword [0x18025562c], 0xffffffff
jne 0x1800579d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, recv
lea rdx, str.AbilityToEnd
lea rcx, [rsp + 0x40]
call fcn.180055e90
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.180055e90
nop
mov r8b, 1
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.180056140
mov dword [0x180255558], eax
lea rcx, [rsp + 0x20]
call fcn.180059c70
nop
lea rcx, [rsp + 0x40]
call fcn.180059c70
nop
lea rcx, [0x18025562c]
call fcn.1801a47b4
mov eax, dword [rsi]
cmp dword [0x1802555c0], eax
jle 0x180057a83
lea rcx, [0x1802555c0]
call fcn.1801a4820
cmp dword [0x1802555c0], 0xffffffff
jne 0x180057a83
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.180055e90
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.180055e90
nop
mov r8b, 1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.180056140
mov dword [0x1802555c8], eax
lea rcx, [rsp + 0x40]
call fcn.180059c70
nop
lea rcx, [rsp + 0x20]
call fcn.180059c70
nop
lea rcx, [0x1802555c0]
call fcn.1801a47b4
movsxd rax, dword [0x180255558]
mov dword [rax + rdi], ebx
call fcn.180056840
movsxd r8, eax
movsxd rcx, dword [0x1802555c8]
add rcx, rdi
test rbp, rbp
je 0x180057ac9
test eax, eax
je 0x180057ac9
test rcx, rcx
jne 0x180057ac1
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 0x180057ac9
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcpy
mov r8, rdi
mov rdx, qword [0x180255550]
mov rcx, r14
call qword [0x1802542b0]
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]