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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e95c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x10052024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov edi, dword [ebx + 8]
lea eax, [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 1
push 0x49e182
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x1d], 4
call esi
mov al, byte [ebp - 0x1d]
mov byte [0x49e182], al
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 1
push 0x49e182
call esi
lea eax, [ebp - 0x18]
mov byte [ebp - 0x1d], 4
push eax
push 0x40
push 1
push 0x42fab3
call esi
mov al, byte [ebp - 0x1d]
mov byte [0x42fab3], al
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 1
push 0x42fab3
call esi
mov eax, dword [edi + 0xc]
lea ecx, [ebp - 0x50]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x30], eax
push str.SetLootTypeResponse
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
call fcn.10003190
mov ecx, 0x49dbc1
mov dword [ebp - 4], 0
call fcn.10001290
mov ecx, eax
mov dword [ebp - 0x18], ecx
cmp ecx, 5
jge 0x10018a08
nop dword [eax + eax]
add ecx, 0x49dbc1
call fcn.10001290
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x18], ecx
cmp ecx, 5
jl 0x100189f0
push 0x18
call fcn.1001b225
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
xorps xmm0, xmm0
mov edi, dword [ebp - 0x18]
movups xmmword [eax], xmm0
push 1
movq qword [eax + 0x10], xmm0
mov dword [eax + 0x10], edi
call fcn.1001b225
mov ecx, dword [ebp - 0x28]
mov esi, eax
add esp, 4
mov eax, edi
mov byte [esi], al
mov dword [ecx], esi
mov dword [ecx + 8], 0x49dbc1
mov dword [ecx + 4], 0x10018800
mov dword [ecx + 0x14], 2
lea ecx, [ebp - 0x1c]
push ecx
push 0x40
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0x49dbc1
push esi
call fcn.1001cc40
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [ebp - 0x28]
mov eax, dword [esi + 0x14]
sub eax, 0
je 0x10018aa8
sub eax, 1
je 0x10018aa8
sub eax, 1
jne 0x10018ab9
push 0x10018800
push 0x49dbc1
mov ecx, esi
call fcn.100145e0
jmp 0x10018ab9
push 0x10018800
push 0x49dbc1
mov ecx, esi
call fcn.10014820
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0
push eax
call fcn.10003b40
mov eax, dword [eax]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0x20], esi
mov dword [esi + 0x14], 2
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x10018b10
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018b06
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018b65
push ecx
push edx
call fcn.1001b25a
add esp, 8
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x34]
push 0
sub esp, 0x28
mov dword [ebp - 0x40], 0
mov ecx, dword [ecx + 0x34]
mov eax, esp
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_raid::constructor_class_ZealService__::_2::_lambda_1___void___.0
mov dword [eax + 4], esi
mov dword [eax + 0x24], eax
call fcn.10015490
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001b217
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.10020319
int3