Function at 0x100178b0
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 0x1003da4c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x10051040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x3f333333
mov dword [eax + 0xc], 0x3e99999a
mov dword [eax + 0x10], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0x40a00000
mov dword [eax + 0x2c], 0
mov dword [eax + 0x38], 0x3f333333
mov dword [eax + 0x3c], 0x3ecccccd
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [ebp - 0x24], ecx
xor ecx, ecx
mov dword [eax + 0x50], ecx
mov word [eax + 0x54], cx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], ecx
lea eax, [ebp - 0x18]
push eax
push 0x40
push 1
push 0x53fa50
mov byte [ebp - 0x19], 3
call esi
mov al, byte [ebp - 0x19]
mov byte [0x53fa50], al
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 1
push 0x53fa50
call esi
lea eax, [ebp - 0x18]
mov byte [ebp - 0x19], 3
push eax
push 0x40
push 1
push 0x53f648
call esi
mov al, byte [ebp - 0x19]
mov byte [0x53f648], al
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 1
push 0x53f648
call esi
push edi
mov edi, dword [ebp - 0x20]
mov ecx, edi
call fcn.10016d80
lea ecx, [ebp - 0x30]
call fcn.10015a80
mov esi, dword [ebp - 0x24]
push 0
sub esp, 0x28
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x5c], eax
mov eax, esp
mov dword [edi + 0x58], ecx
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], 0
mov ecx, dword [esi + 0x34]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_CameraMods::constructor_class_ZealService___class_IO_ini__::_2::_lambda_1___void___.0
mov dword [eax + 4], edi
mov dword [eax + 0x24], eax
call fcn.10014c40
mov eax, dword [esi + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x20], eax
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
push 0x10
push str.HandleMouseWheel
lea ecx, [ebp - 0x48]
call fcn.10003120
mov ecx, 0x55b2e0
mov dword [ebp - 4], 0
call fcn.10001290
mov ecx, eax
mov dword [ebp - 0x18], ecx
cmp ecx, 5
jge 0x10017a78
nop word [eax + eax]
add ecx, 0x55b2e0
call fcn.10001290
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x18], ecx
cmp ecx, 5
jl 0x10017a60
push 0x18
call fcn.1001aa62
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], 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.1001aa62
mov ecx, dword [ebp - 0x18]
mov edx, 0x55b2e0
push ecx
mov byte [eax], cl
mov ecx, eax
mov dword [esi], eax
mov dword [esi + 8], 0x55b2e0
mov dword [esi + 4], 0x10016300
mov dword [esi + 0x14], 2
call fcn.100155c0
mov eax, dword [esi + 0x14]
add esp, 8
sub eax, 0
je 0x10017af4
sub eax, 1
je 0x10017af4
sub eax, 1
jne 0x10017b05
push 0x10016300
push 0x55b2e0
mov ecx, esi
call fcn.10013e10
jmp 0x10017b05
push 0x10016300
push 0x55b2e0
mov ecx, esi
call fcn.10014040
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0
push eax
call fcn.10003ae0
mov eax, dword [eax]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0x20], esi
mov dword [esi + 0x14], 2
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x10017b60
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10017b56
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017c14
push ecx
push edx
call fcn.1001aa97
add esp, 8
mov esi, dword [ebp - 0x24]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x38], 0
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov esi, dword [esi + 0xc]
push 9
movups xmmword [ecx], xmm0
push str.procMouse
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003120
push 0xffffffffffffffff
push 2
push 0x10016670
push 0x537707
mov ecx, esi
call fcn.10002b40
mov eax, dword [ebp - 0x24]
sub esp, 0x18
mov ecx, esp
xorps xmm0, xmm0
mov esi, dword [eax + 0xc]
push 0x14
movups xmmword [ecx], xmm0
push str.DoCharacterSelection
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003120
push 0xffffffffffffffff
push 2
push 0x10016c30
push 0x53b9cf
mov ecx, esi
call fcn.10002b40
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.1001aa54
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.1001f989
int3