Function at 0x488dc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ec67
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push esi
push edi
mov edi, dword [ebp + 0x24]
mov dword [ebp - 4], 0
test edi, edi
jne 0x488e58
sub esp, 0x18
mov dword [ebp + 0x24], 0x1f
mov esi, esp
lea eax, [ebp + 0x24]
xorps xmm0, xmm0
push eax
movups xmmword [esi], xmm0
push esi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call fcn.00404660
mov ecx, dword [ebp + 0x24]
mov edx, eax
mov dword [esi], edx
add esp, 8
mov dword [esi + 0x10], 0x1c
mov dword [esi + 0x14], ecx
movups xmm0, xmmword [0x4d3020]
movups xmmword [edx], xmm0
movq xmm0, qword [0x4d3030]
movq qword [edx + 0x10], xmm0
mov eax, dword [0x4d3038]
mov dword [edx + 0x18], eax
mov byte [edx + 0x1c], 0
call fcn.004943c0
add esp, 0x18
mov byte [ebp + 0x27], 0
jmp 0x4893a2
mov ecx, dword [0x502a0c]
xor eax, eax
sub ecx, dword [0x502a08]
mov dword [ebp - 0x1c], eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x48900e
mov dword [ebp - 0x18], 0
mov edx, 0x16
nop
sub esp, 0x18
lea eax, [ebp + 0xc]
mov esi, esp
mov dword [ebp - 0x5c], esp
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp + 0x20], 0xf
mov edi, dword [ebp + 0x1c]
cmova eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
cmp edi, 0x7fffffff
ja 0x4893eb
cmp edi, 0xf
ja 0x488ee0
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0xf
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
jmp 0x488f26
mov eax, edi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x488ef3
mov eax, 0x7fffffff
jmp 0x488ef9
cmp eax, 0x16
cmovb eax, edx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.00404660
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x14], ecx
lea ecx, [edi + 1]
push ecx
push dword [ebp - 0x14]
mov dword [esi], eax
push eax
mov dword [esi + 0x10], edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x14
mov edx, 0x16
mov eax, dword [0x502a08]
sub esp, 0x18
add eax, dword [ebp - 0x18]
mov esi, esp
xorps xmm0, xmm0
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [eax + 0x14], 0xf
mov edi, dword [eax + 0x10]
jbe 0x488f5c
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp edi, 0x7fffffff
ja 0x4893eb
cmp edi, 0xf
ja 0x488f7f
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0xf
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
jmp 0x488fc0
mov eax, edi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x488f92
mov eax, 0x7fffffff
jmp 0x488f98
cmp eax, 0x16
cmovb eax, edx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.00404660
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x14], ecx
lea ecx, [edi + 1]
push ecx
push dword [ebp - 0x14]
mov dword [esi], eax
push eax
mov dword [esi + 0x10], edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x14
mov byte [ebp - 4], 0
call fcn.00493a50
mov esi, dword [ebp - 0x1c]
add esp, 0x30
test al, al
jne 0x489099
mov ecx, dword [0x502a0c]
mov eax, 0x88888889
sub ecx, dword [0x502a08]
inc esi
add dword [ebp - 0x18], 0x3c
imul ecx
mov dword [ebp - 0x1c], esi
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 0x16
cmp esi, eax
jb 0x488e90
mov edi, dword [ebp + 0x24]
push 0x40
push 0x1000
push edi
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xorps xmm0, xmm0
test eax, eax
jne 0x4892bf
sub esp, 0x18
mov dword [ebp + 0x24], 0x1f
mov esi, esp
movups xmmword [esi], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
lea eax, [ebp + 0x24]
push eax
push esi
call fcn.00404660
mov ecx, dword [ebp + 0x24]
mov edx, eax
mov dword [esi], edx
add esp, 8
mov dword [esi + 0x10], 0x17
mov dword [esi + 0x14], ecx
movups xmm0, xmmword [str.Error_allocating_memory]
movups xmmword [edx], xmm0
mov ecx, dword [0x4d3128]
mov dword [edx + 0x10], ecx
mov ax, word [0x4d312c]
mov word [edx + 0x14], ax
mov al, byte [0x4d312e]
mov byte [edx + 0x16], al
mov byte [edx + 0x17], 0
call fcn.004943c0
add esp, 0x18
mov byte [ebp + 0x27], 0
jmp 0x4893a2
mov eax, dword [0x502a08]
shl esi, 4
sub esi, dword [ebp - 0x1c]
shl esi, 2
mov eax, dword [esi + eax + 0x34]
test eax, eax
je 0x4892b6
mov ecx, dword [ebp + 0x24]
cmp ecx, eax
je 0x4892b6
push ecx
lea eax, [ebp - 0x104]
push eax
call fcn.00494360
mov edi, eax
mov ecx, dword [0x502a08]
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 2
push dword [esi + ecx + 0x34]
push eax
call fcn.00494360
add esp, 0x10
mov dword [ebp + 0x24], eax
mov edx, dword [0x502a08]
mov ecx, 0x7fffffff
add edx, esi
mov byte [ebp - 4], 3
mov esi, dword [edx + 0x10]
sub ecx, esi
cmp ecx, 0x11
jb 0x4893eb
cmp dword [edx + 0x14], 0xf
mov eax, edx
jbe 0x489116
mov eax, dword [edx]
push esi
push eax
push 0x11
push str.The_symbol_named
push edx
push dword [ebp + 0x24]
lea ecx, [ebp - 0x74]
call fcn.00487a80
push 0x28
push str._was_previously_declared_with_a_size_of
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.0040e840
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x94], xmm0
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
push dword [ebp + 0x24]
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 5
push eax
push dword [ebp + 0x24]
lea ecx, [ebp - 0xd4]
call fcn.004878f0
push 0xc
push str._instead_of
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 6
call fcn.0040e840
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x8c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x7c], xmm0
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
push edi
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 7
push eax
push dword [ebp + 0x24]
lea ecx, [ebp - 0xbc]
call fcn.004878f0
sub esp, 0x18
mov byte [ebp - 4], 8
mov esi, esp
lea ecx, [ebp - 0xbc]
mov dword [ebp + 0x24], esi
push 0x85
push str.._all_scripts_that_use_this_memory_must_give_the_same_size._Adjust_the_size__or_delete_the_old_alloc_from_the_userdefined_symbol_list
call fcn.0040e840
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.004943c0
add esp, 0x18
lea ecx, [ebp - 0xbc]
call fcn.00402280
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x489279
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48926f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48926f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0049b35d
add esp, 8
lea ecx, [ebp - 0xd4]
call fcn.00402280
lea ecx, [ebp - 0xa4]
call fcn.00402280
lea ecx, [ebp - 0x74]
call fcn.00402280
lea ecx, [ebp - 0xec]
call fcn.00402280
lea ecx, [ebp - 0x104]
call fcn.00402280
mov byte [ebp + 0x27], 0
jmp 0x4893a2
mov byte [ebp + 0x27], 1
jmp 0x4893a2
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
push eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 9
call fcn.00494300
mov esi, eax
add esp, 8
lea eax, [ebp - 0x3c]
cmp eax, esi
je 0x489331
mov ecx, eax
call fcn.00402280
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x3c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x2c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x489367
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48935d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48935d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0049b35d
add esp, 8
cmp dword [ebp + 0x20], 0xf
lea eax, [ebp + 0xc]
push dword [ebp + 0x1c]
cmova eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x58]
push eax
call fcn.0040eaa0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x24], edi
push eax
mov ecx, 0x502a08
mov dword [ebp - 0x20], 0
call fcn.00491170
lea ecx, [ebp - 0x58]
mov byte [ebp + 0x27], 1
call fcn.00487f70
mov ecx, dword [ebp + 0x20]
cmp ecx, 0xf
jbe 0x4893d8
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4893ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4893ce
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0049b35d
add esp, 8
mov al, byte [ebp + 0x27]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0040e5d0
int3