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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov ecx, dword [0x102efe60]
push ebx
push esi
push edi
mov eax, dword [ecx]
push str.play_vo_items_wheatley_sapper_wheatley_sapper_hacked02.mp3
mov eax, dword [eax + 0x1a8]
call eax
mov edx, 0xe60c2c52
mov ecx, 0x102271f9
call fcn.100dd2d0
mov dword [esp + 0xc], eax
mov ecx, 0x10245dc0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.101441f0
mov eax, dword [eax]
cmp dword [eax + 0xc], 0
jne 0x100a6f4e
mov ecx, dword [0x102efe64]
push str.cl_wpn_sway_interp
mov eax, dword [ecx]
call dword [eax + 0x34]
mov edx, 0xe60c2c52
mov ecx, 0x102271f9
mov esi, eax
call fcn.100dd2d0
mov dword [esp + 0x10], eax
mov ecx, 0x10245dc0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.101441f0
mov eax, dword [eax]
mov dword [eax + 0xc], esi
mov edx, 0xe60c2c52
mov ecx, 0x102271f9
call fcn.100dd2d0
mov dword [esp + 0x10], eax
mov ecx, 0x10245dc0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.101441f0
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x100a6f8f
mov eax, dword [ecx + 0x18]
add ecx, 0x18
push ecx
mov dword [esp], 0
call dword [eax + 4]
mov edx, 0xe60c2c52
mov ecx, 0x1022720d
call fcn.100dd2d0
mov dword [esp + 0x10], eax
mov ecx, 0x10245dc0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.101441f0
mov eax, dword [eax]
cmp dword [eax + 0xc], 0
jne 0x100a6ffc
mov ecx, dword [0x102efe64]
push str.cl_wpn_sway_scale
mov eax, dword [ecx]
call dword [eax + 0x34]
mov edx, 0xe60c2c52
mov ecx, 0x1022720d
mov esi, eax
call fcn.100dd2d0
mov dword [esp + 0xc], eax
mov ecx, 0x10245dc0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.101441f0
mov eax, dword [eax]
mov dword [eax + 0xc], esi
mov edx, 0xe60c2c52
mov ecx, 0x1022720d
call fcn.100dd2d0
mov dword [esp + 0x10], eax
mov ecx, 0x10245dc0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.101441f0
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x100a703d
mov eax, dword [ecx + 0x18]
add ecx, 0x18
push ecx
mov dword [esp], 0
call dword [eax + 4]
push 3
push 0x102266bc
mov ecx, 0x102f3818
mov byte [0x102efe68], 1
call fcn.10098e90
push 0x64
mov byte [0x102f305d], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x102f0578]
push 0x10245e80
mov eax, dword [ecx]
call dword [eax + 0x14]
call fcn.100a2920
cmp dword [0x10248ae0], 0
je 0x100a7115
xor ecx, ecx
call fcn.100a2820
test eax, eax
jne 0x100a7115
mov eax, dword [0x102f8e0c]
mov dword [0x102f8e0c], 0
test eax, eax
je 0x100a70c2
mov edi, dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov esi, dword [eax]
push 0x8000
push 0
push eax
call edi
mov eax, esi
test esi, esi
jne 0x100a70b0
push dword [0x102f8e00]
push 0
push dword [0x10248ae0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [0x10248ae0]
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
mov dword [0x10248ae0], 0
xor eax, eax
mov dword [0x102f8e00], 0
mov ecx, 0x10248adc
mov dword [0x102f8e04], 0
mov dword [0x102f8e08], 0
xchg dword [ecx], eax
jmp 0x100a7133
mov ecx, 0x10248adc
xor eax, eax
xchg dword [ecx], eax
push 0x17
push str.D:_aFedorawareFedorawareFedorawareFedoraware_TF2_srcHooksHookManager.cpp
push str.MH_Uninitialize____MH_OK
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
push dword [0x102f876c]
push 0xfffffffffffffffc
push dword [0x102f8768]
call dword [sym.imp.USER32.dll_SetWindowLongW]
call fcn.1013c5b0
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
mov dword [esp + 0x14], ecx
cmp ebx, ecx
je 0x100a71b5
nop dword [eax]
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
cmp byte [eax + 0x20], 0
je 0x100a71ae
mov esi, dword [eax + 0x1c]
mov edi, dword [eax]
lea eax, [esp + 0x10]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [esp + 0xc]
push esi
push dword [eax + 4]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov byte [eax + 0x20], 0
add ebx, 4
cmp ebx, ecx
jne 0x100a7160
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10248794]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102f87c4]
cmp eax, dword [ecx + 4]
jle 0x100a71fe
push 0x102f87c4
call fcn.1014855a
add esp, 4
cmp dword [0x102f87c4], 0xffffffff
jne 0x100a71fe
push 0x10160bf0
call fcn.101488c3
push 0x102f87c4
call fcn.10148509
add esp, 8
mov eax, dword [0x102f0550]
cmp eax, dword [0x102f0554]
je 0x100a7210
mov dword [0x102f0554], eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0xffffffff
call fcn.1012e0b0
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0xffffffff
call fcn.1012e160
mov edx, dword [0x102efe64]
cmp dword [0x102f20bc], 0x10
mov eax, dword [edx]
mov ecx, dword [eax + 0x5c]
mov eax, 0x102f20a8
cmovae eax, dword [0x102f20a8]
push eax
push str._s_Unloaded__n
push 0x102f22bc
push edx
call ecx
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret