Function at 0x10041460
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 0x10083c8c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x100a9080]
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 + 0x10]
mov dword [ebp - 0x24], eax
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.10007860
mov ecx, 0x49dbc1
mov dword [ebp - 4], 0
call fcn.1000d330
mov ecx, eax
mov dword [ebp - 0x18], ecx
cmp ecx, 5
jge 0x10041568
nop word [eax + eax]
add ecx, 0x49dbc1
call fcn.1000d330
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x18], ecx
cmp ecx, 5
jl 0x10041550
push 0x18
call fcn.10055fcd
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.10055fcd
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], 0x10041360
mov dword [esi + 0x14], 2
mov dword [esi + 0xc], 0
call fcn.10037ff0
mov eax, dword [esi + 0x14]
add esp, 8
cmp eax, 3
ja case.default.0x100415ce
jmp dword [eax*4 + 0x100416b4]
push 0x10041360
push 0x49dbc1
mov ecx, esi
call fcn.10033e50
jmp case.default.0x100415ce
push 0x10041360
push 0x49dbc1
mov ecx, esi
call fcn.100340d0
jmp case.default.0x100415ce
push 0x10041360
push 0x49dbc1
mov ecx, esi
call fcn.10034180
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0
call fcn.1000e200
mov dword [ebp - 4], 0xffffffff
mov dword [eax], esi
mov dword [esi + 0x14], 2
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1004165c
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10041652
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100416ae
push ecx
push edx
call fcn.10056002
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 + 0x40]
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.10035e40
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.10055fba
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.1005d2a4
nop
call 0xf8141ace
adc eax, 366284804
add al, 0x10
sti
adc eax, -859041788
int3