Function at 0x180059790
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.180059420
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 0x180059be8
mov ecx, dword [0x18024f6b4]
mov rax, qword gs:[0x58]
mov edx, reloc.WS2_32.dll_recv
mov rbx, qword [rax + rcx*8]
add rbx, rdx
mov eax, dword [rbx]
cmp dword [0x180251980], eax
jle 0x18005988d
lea rcx, [0x180251980]
call fcn.18019f9f0
cmp dword [0x180251980], 0xffffffff
jne 0x18005988d
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov r8d, ntohs
lea rdx, str.ActiveCount
lea rcx, [rbp - 0x20]
call fcn.180058a20
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.180058a20
nop
xor r8d, r8d
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.180058cd0
nop
lea rcx, [rbp - 0x40]
call fcn.18005cb00
nop
lea rcx, [rbp - 0x20]
call fcn.18005cb00
nop
lea rcx, [0x180251980]
call fcn.18019f984
mov eax, dword [rbx]
cmp qword [0x180250698], 0
je 0x1800598f6
cmp dword [0x180251994], eax
jle 0x1800598d0
lea rcx, [0x180251994]
call fcn.18019f9f0
cmp dword [0x180251994], 0xffffffff
jne 0x1800598d0
mov rax, qword [0x180250698]
mov qword [0x1802519a0], rax
lea rcx, [0x180251994]
call fcn.18019f984
mov qword [rsp + 0x20], 0
mov r9d, 0xffffffff
mov r8d, 1
mov rdx, rsi
mov rcx, rdi
call qword [0x1802519a0]
jmp 0x180059be5
cmp dword [0x1802519a8], eax
jle 0x18005999d
lea rcx, [0x1802519a8]
call fcn.18019f9f0
cmp dword [0x1802519a8], 0xffffffff
jne 0x18005999d
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.180058a20
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.180058a20
nop
mov r8b, 1
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.180058cd0
mov dword [0x1802519b8], eax
lea rcx, [rbp - 0x20]
call fcn.18005cb00
nop
lea rcx, [rbp - 0x40]
call fcn.18005cb00
nop
lea rcx, [0x1802519a8]
call fcn.18019f984
mov eax, dword [rbx]
cmp dword [0x180251a14], eax
jle 0x180059a46
lea rcx, [0x180251a14]
call fcn.18019f9f0
cmp dword [0x180251a14], 0xffffffff
jne 0x180059a46
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8d, ntohs
lea rdx, str.SourceObject
lea rcx, [rbp - 0x40]
call fcn.180058a20
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.180058a20
nop
mov r8b, 1
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.180058cd0
mov dword [0x180251924], eax
lea rcx, [rbp - 0x20]
call fcn.18005cb00
nop
lea rcx, [rbp - 0x40]
call fcn.18005cb00
nop
lea rcx, [0x180251a14]
call fcn.18019f984
mov eax, dword [rbx]
cmp dword [0x180251a08], eax
jle 0x180059aef
lea rcx, [0x180251a08]
call fcn.18019f9f0
cmp dword [0x180251a08], 0xffffffff
jne 0x180059aef
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.180058a20
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.180058a20
nop
mov r8b, 1
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.180058cd0
mov dword [0x180251a30], eax
lea rcx, [rbp - 0x20]
call fcn.18005cb00
nop
lea rcx, [rbp - 0x40]
call fcn.18005cb00
nop
lea rcx, [0x180251a08]
call fcn.18019f984
mov eax, dword [rbx]
cmp dword [0x180251930], eax
jle 0x180059b8f
lea rcx, [0x180251930]
call fcn.18019f9f0
cmp dword [0x180251930], 0xffffffff
jne 0x180059b8f
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.180058a20
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.180058a20
nop
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.180058cd0
nop
lea rcx, [rbp - 0x20]
call fcn.18005cb00
nop
lea rcx, [rbp - 0x40]
call fcn.18005cb00
nop
lea rcx, [0x180251930]
call fcn.18019f984
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.1800596a0
mov dword [rax], ebx
mov rcx, rdi
call fcn.1800595b0
mov qword [rax], rsi
movsxd rax, dword [0x1802519b8]
mov dword [rax + rdi], 1
movsxd rax, dword [0x180251a30]
mov dword [rax + rdi], 0xffffffff
movsxd rax, dword [0x180251924]
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