Function at 0x10022c90
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 0x10057b6c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x10070080]
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.1000b2a0
mov ecx, eax
mov dword [ebp - 0x18], ecx
cmp ecx, 5
jge 0x10022d98
nop word [eax + eax]
add ecx, 0x49dbc1
call fcn.1000b2a0
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x18], ecx
cmp ecx, 5
jl 0x10022d80
push 0x18
call fcn.10030093
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.10030093
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], 0x10022b90
mov dword [esi + 0x14], 2
mov dword [esi + 0xc], 0
call fcn.10019680
mov eax, dword [esi + 0x14]
add esp, 8
cmp eax, 3
ja case.default.0x10022dfe
jmp dword [eax*4 + 0x10022ee4]
push 0x10022b90
push 0x49dbc1
mov ecx, esi
call fcn.10017190
jmp case.default.0x10022dfe
push 0x10022b90
push 0x49dbc1
mov ecx, esi
call fcn.10017410
jmp case.default.0x10022dfe
push 0x10022b90
push 0x49dbc1
mov ecx, esi
call fcn.100174e0
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0
call fcn.1000d400
mov dword [ebp - 4], 0xffffffff
mov dword [eax], esi
mov dword [esi + 0x14], 2
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x10022e8c
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10022e82
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ede
push ecx
push edx
call fcn.100300c8
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.10018820
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.10030080
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.10037284
nop
sbb byte [esi], ch
add dl, byte [eax]
sbb byte [esi], ch
add dl, byte [eax]
add eax, 0x2b10022e
add dl, byte cs:[eax]
int3