Function at 0x180057e60
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.180057af0
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 0x1800582b8
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 0x180057f5d
lea rcx, [0x18024b860]
call fcn.18019ca30
cmp dword [0x18024b860], 0xffffffff
jne 0x180057f5d
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.180057100
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.180057100
nop
xor r8d, r8d
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.1800573b0
nop
lea rcx, [rbp - 0x40]
call fcn.18005aca0
nop
lea rcx, [rbp - 0x20]
call fcn.18005aca0
nop
lea rcx, [0x18024b860]
call fcn.18019c9c4
mov eax, dword [rbx]
cmp qword [0x18024a5a8], 0
je 0x180057fc6
cmp dword [0x18024b874], eax
jle 0x180057fa0
lea rcx, [0x18024b874]
call fcn.18019ca30
cmp dword [0x18024b874], 0xffffffff
jne 0x180057fa0
mov rax, qword [0x18024a5a8]
mov qword [0x18024b880], rax
lea rcx, [0x18024b874]
call fcn.18019c9c4
mov qword [rsp + 0x20], 0
mov r9d, 0xffffffff
mov r8d, 1
mov rdx, rsi
mov rcx, rdi
call qword [0x18024b880]
jmp 0x1800582b5
cmp dword [0x18024b888], eax
jle 0x18005806d
lea rcx, [0x18024b888]
call fcn.18019ca30
cmp dword [0x18024b888], 0xffffffff
jne 0x18005806d
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.180057100
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.180057100
nop
mov r8b, 1
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.1800573b0
mov dword [0x18024b898], eax
lea rcx, [rbp - 0x20]
call fcn.18005aca0
nop
lea rcx, [rbp - 0x40]
call fcn.18005aca0
nop
lea rcx, [0x18024b888]
call fcn.18019c9c4
mov eax, dword [rbx]
cmp dword [0x18024b8e8], eax
jle 0x180058116
lea rcx, [0x18024b8e8]
call fcn.18019ca30
cmp dword [0x18024b8e8], 0xffffffff
jne 0x180058116
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.180057100
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.180057100
nop
mov r8b, 1
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.1800573b0
mov dword [0x18024b804], eax
lea rcx, [rbp - 0x20]
call fcn.18005aca0
nop
lea rcx, [rbp - 0x40]
call fcn.18005aca0
nop
lea rcx, [0x18024b8e8]
call fcn.18019c9c4
mov eax, dword [rbx]
cmp dword [0x18024b8dc], eax
jle 0x1800581bf
lea rcx, [0x18024b8dc]
call fcn.18019ca30
cmp dword [0x18024b8dc], 0xffffffff
jne 0x1800581bf
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.180057100
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.180057100
nop
mov r8b, 1
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.1800573b0
mov dword [0x18024b900], eax
lea rcx, [rbp - 0x20]
call fcn.18005aca0
nop
lea rcx, [rbp - 0x40]
call fcn.18005aca0
nop
lea rcx, [0x18024b8dc]
call fcn.18019c9c4
mov eax, dword [rbx]
cmp dword [0x18024b810], eax
jle 0x18005825f
lea rcx, [0x18024b810]
call fcn.18019ca30
cmp dword [0x18024b810], 0xffffffff
jne 0x18005825f
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.180057100
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.180057100
nop
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.1800573b0
nop
lea rcx, [rbp - 0x20]
call fcn.18005aca0
nop
lea rcx, [rbp - 0x40]
call fcn.18005aca0
nop
lea rcx, [0x18024b810]
call fcn.18019c9c4
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.180057d70
mov dword [rax], ebx
mov rcx, rdi
call fcn.180057c80
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