Function at 0x18010d460
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
movaps xmm6, xmm3
mov edi, r8d
mov r14d, edx
mov rsi, rcx
call fcn.1800f2c20
movsxd rdx, eax
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x18010d762
cmp edi, 0xffffffff
jne 0x18010d4e6
test rsi, rsi
je 0x18010d4e4
call fcn.18013beb0
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x18010d4e4
mov rdx, qword [0x18025cfd0]
cmp rax, rcx
je 0x18010d781
mov rcx, qword [rdx + rcx]
test rcx, rcx
jne 0x18010d4d2
xor edi, edi
mov qword [rbx + 4], 0xffffffffffffffff
mov dword [rbx], 0xffffffff
mov rcx, rbx
call fcn.1800aafa0
mov qword [rax], rsi
mov rcx, rbx
call fcn.1800ab090
mov dword [rax], r14d
mov rcx, rbx
call fcn.180108f50
mov dword [rax], edi
mov ecx, dword [0x18025c410]
mov rax, qword gs:[0x58]
mov esi, 8
mov rdi, qword [rax + rcx*8]
mov eax, dword [rdi + rsi]
cmp dword [0x18025ded4], eax
jle 0x18010d5d6
lea rcx, [0x18025ded4]
call fcn.1801ab860
cmp dword [0x18025ded4], 0xffffffff
jne 0x18010d5d6
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov r8d, 0xa
lea rdx, str.Durability
lea rcx, [rbp - 0x30]
call fcn.180059780
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov r8d, 0x22
lea rdx, [0x18020a8a0]
lea rcx, [rbp - 0x50]
call fcn.180059780
nop
mov r8b, 1
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.180059910
mov dword [0x18025dee8], eax
lea rcx, [rbp - 0x50]
call fcn.18005d5b0
nop
lea rcx, [rbp - 0x30]
call fcn.18005d5b0
nop
lea rcx, [0x18025ded4]
call fcn.1801ab7f4
movsxd rax, dword [0x18025dee8]
movss dword [rax + rbx], xmm6
mov eax, dword [rdi + rsi]
cmp dword [0x18025ded8], eax
jle 0x18010d68c
lea rcx, [0x18025ded8]
call fcn.1801ab860
cmp dword [0x18025ded8], 0xffffffff
jne 0x18010d68c
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov r8d, 0x19
lea rdx, str.GameplayAbilitySpecHandle
lea rcx, [rbp - 0x50]
call fcn.180059780
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov r8d, 0x22
lea rdx, [0x18020a8a0]
lea rcx, [rbp - 0x30]
call fcn.180059780
nop
mov r8b, 1
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.180059910
mov dword [0x18025dee0], eax
lea rcx, [rbp - 0x30]
call fcn.18005d5b0
nop
lea rcx, [rbp - 0x50]
call fcn.18005d5b0
nop
lea rcx, [0x18025ded8]
call fcn.1801ab7f4
movsxd rax, dword [0x18025dee0]
mov dword [rax + rbx], 0xffffffff
mov eax, dword [rdi + rsi]
cmp dword [0x18025dedc], eax
jle 0x18010d744
lea rcx, [0x18025dedc]
call fcn.1801ab860
cmp dword [0x18025dedc], 0xffffffff
jne 0x18010d744
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str.ParentInventory
lea rcx, [rbp - 0x50]
call fcn.180059780
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov r8d, 0x22
lea rdx, [0x18020a8a0]
lea rcx, [rbp - 0x30]
call fcn.180059780
nop
mov r8b, 1
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.180059910
mov dword [0x18025dee4], eax
lea rcx, [rbp - 0x30]
call fcn.18005d5b0
nop
lea rcx, [rbp - 0x50]
call fcn.18005d5b0
nop
lea rcx, [0x18025dedc]
call fcn.1801ab7f4
movsxd rax, dword [0x18025dee4]
mov dword [rax + rbx], 0xffffffff
mov rcx, rbx
call fcn.180108e60
mov ecx, dword [rbp + 0x30]
mov dword [rax], ecx
mov rax, rbx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [rsp + 0x60]
mov rsp, r11
pop rbp
ret
mov rcx, rsi
call fcn.18013bb80
mov edi, eax
jmp 0x18010d4e6