Function at 0x10024540
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 0x10058f4c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x10071080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebx + 8]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push eax
push 0x40
push 1
push 0x49e182
mov byte [ebp - 0x19], 4
call esi
mov al, byte [ebp - 0x19]
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 - 0x19], 4
push eax
push 0x40
push 1
push 0x42fab3
call esi
mov al, byte [ebp - 0x19]
mov byte [0x42fab3], al
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 1
push 0x42fab3
call esi
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x40]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.SetLootTypeResponse
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x24], eax
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.100054b0
mov ecx, 0x49dbc1
mov dword [ebp - 4], 0
call fcn.1000c910
mov ecx, eax
mov dword [ebp - 0x18], ecx
cmp ecx, 5
jge 0x10024648
nop word [eax + eax]
add ecx, 0x49dbc1
call fcn.1000c910
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x18], ecx
cmp ecx, 5
jl 0x10024630
push 0x18
call fcn.10031273
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 1
xorps xmm0, xmm0
mov eax, dword [ebp - 0x18]
movups xmmword [esi], xmm0
push 1
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x10], eax
call fcn.10031273
mov ecx, dword [ebp - 0x18]
mov edx, 0x49dbc1
push ecx
mov byte [eax], cl
mov ecx, eax
mov dword [esi], eax
mov dword [esi + 8], 0x49dbc1
mov dword [esi + 4], 0x10024440
mov dword [esi + 0x14], 2
mov dword [esi + 0xc], 0
call fcn.1001b100
mov eax, dword [esi + 0x14]
add esp, 8
cmp eax, 3
ja case.default.0x100246ae
jmp dword [eax*4 + 0x10024794]
push 0x10024440
push 0x49dbc1
mov ecx, esi
call fcn.100184b0
jmp case.default.0x100246ae
push 0x10024440
push 0x49dbc1
mov ecx, esi
call fcn.10018730
jmp case.default.0x100246ae
push 0x10024440
push 0x49dbc1
mov ecx, esi
call fcn.10018810
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0
call fcn.1000ea70
mov dword [ebp - 4], 0xffffffff
mov dword [eax], esi
mov dword [esi + 0x14], 2
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1002473c
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10024732
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002478e
push ecx
push edx
call fcn.100312a8
add esp, 8
mov eax, dword [ebp - 0x20]
sub esp, 0x28
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov ecx, dword [eax + 0x34]
mov eax, esp
push 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], edi
mov dword [eax + 0x24], eax
call fcn.1001a140
mov eax, edi
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.10031260
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.10038464
nop
enter 0x246, 0x10
enter 582, 0x10
mov ch, 70
add dl, byte [eax]
fild dword [esi + 2]
adc ah, cl
int3