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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rsi, rcx
call fcn.180057b20
movsxd rdx, eax
xor ecx, ecx
mov r9d, 0x40
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
je 0x1800582e8
mov ecx, dword [0x1802495d4]
mov rax, qword gs:[0x58]
mov edx, 8
mov rbx, qword [rax + rcx*8]
add rbx, rdx
mov eax, dword [rbx]
cmp dword [0x18024b860], eax
jle 0x180057f8d
lea rcx, [0x18024b860]
call fcn.18019c850
cmp dword [0x18024b860], 0xffffffff
jne 0x180057f8d
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov r8d, recv
lea rdx, str.ActiveCount
lea rcx, [rbp - 0x20]
call fcn.180057130
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8d, 0x2d
lea rdx, str._Script_GameplayAbilities.GameplayAbilitySpec
lea rcx, [rbp - 0x40]
call fcn.180057130
nop
xor r8d, r8d
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.1800573e0
nop
lea rcx, [rbp - 0x40]
call fcn.18005acd0
nop
lea rcx, [rbp - 0x20]
call fcn.18005acd0
nop
lea rcx, [0x18024b860]
call fcn.18019c7e4
mov eax, dword [rbx]
cmp qword [0x18024a5a8], 0
je 0x180057ff6
cmp dword [0x18024b874], eax
jle 0x180057fd0
lea rcx, [0x18024b874]
call fcn.18019c850
cmp dword [0x18024b874], 0xffffffff
jne 0x180057fd0
mov rax, qword [0x18024a5a8]
mov qword [0x18024b880], rax
lea rcx, [0x18024b874]
call fcn.18019c7e4
mov qword [rsp + 0x20], 0
mov r9d, 0xffffffff
mov r8d, 1
mov rdx, rsi
mov rcx, rdi
call qword [0x18024b880]
jmp 0x1800582e5
cmp dword [0x18024b888], eax
jle 0x18005809d
lea rcx, [0x18024b888]
call fcn.18019c850
cmp dword [0x18024b888], 0xffffffff
jne 0x18005809d
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8d, 5
lea rdx, str.Level
lea rcx, [rbp - 0x40]
call fcn.180057130
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov r8d, 0x2d
lea rdx, str._Script_GameplayAbilities.GameplayAbilitySpec
lea rcx, [rbp - 0x20]
call fcn.180057130
nop
mov r8b, 1
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.1800573e0
mov dword [0x18024b898], eax
lea rcx, [rbp - 0x20]
call fcn.18005acd0
nop
lea rcx, [rbp - 0x40]
call fcn.18005acd0
nop
lea rcx, [0x18024b888]
call fcn.18019c7e4
mov eax, dword [rbx]
cmp dword [0x18024b8e8], eax
jle 0x180058146
lea rcx, [0x18024b8e8]
call fcn.18019c850
cmp dword [0x18024b8e8], 0xffffffff
jne 0x180058146
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8d, recv
lea rdx, str.SourceObject
lea rcx, [rbp - 0x40]
call fcn.180057130
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov r8d, 0x2d
lea rdx, str._Script_GameplayAbilities.GameplayAbilitySpec
lea rcx, [rbp - 0x20]
call fcn.180057130
nop
mov r8b, 1
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.1800573e0
mov dword [0x18024b804], eax
lea rcx, [rbp - 0x20]
call fcn.18005acd0
nop
lea rcx, [rbp - 0x40]
call fcn.18005acd0
nop
lea rcx, [0x18024b8e8]
call fcn.18019c7e4
mov eax, dword [rbx]
cmp dword [0x18024b8dc], eax
jle 0x1800581ef
lea rcx, [0x18024b8dc]
call fcn.18019c850
cmp dword [0x18024b8dc], 0xffffffff
jne 0x1800581ef
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8d, 7
lea rdx, str.InputID
lea rcx, [rbp - 0x40]
call fcn.180057130
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov r8d, 0x2d
lea rdx, str._Script_GameplayAbilities.GameplayAbilitySpec
lea rcx, [rbp - 0x20]
call fcn.180057130
nop
mov r8b, 1
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.1800573e0
mov dword [0x18024b900], eax
lea rcx, [rbp - 0x20]
call fcn.18005acd0
nop
lea rcx, [rbp - 0x40]
call fcn.18005acd0
nop
lea rcx, [0x18024b8dc]
call fcn.18019c7e4
mov eax, dword [rbx]
cmp dword [0x18024b810], eax
jle 0x18005828f
lea rcx, [0x18024b810]
call fcn.18019c850
cmp dword [0x18024b810], 0xffffffff
jne 0x18005828f
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, str.GameplayEffectHandle
lea rcx, [rbp - 0x40]
call fcn.180057130
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov r8d, 0x2d
lea rdx, str._Script_GameplayAbilities.GameplayAbilitySpec
lea rcx, [rbp - 0x20]
call fcn.180057130
nop
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.1800573e0
nop
lea rcx, [rbp - 0x20]
call fcn.18005acd0
nop
lea rcx, [rbp - 0x40]
call fcn.18005acd0
nop
lea rcx, [0x18024b810]
call fcn.18019c7e4
mov qword [rdi + 4], 0xffffffffffffffff
mov dword [rdi], 0xffffffff
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ebx, eax
mov rcx, rdi
call fcn.180057da0
mov dword [rax], ebx
mov rcx, rdi
call fcn.180057cb0
mov qword [rax], rsi
movsxd rax, dword [0x18024b898]
mov dword [rax + rdi], 1
movsxd rax, dword [0x18024b900]
mov dword [rax + rdi], 0xffffffff
movsxd rax, dword [0x18024b804]
mov qword [rax + rdi], 0
mov rax, rdi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret