Function at 0x100a6c40
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 [0x102efe50]
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.100dd3d0
mov dword [esp + 0xc], eax
mov ecx, 0x10245dc0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.101442b0
mov eax, dword [eax]
cmp dword [eax + 0xc], 0
jne 0x100a6cce
mov ecx, dword [0x102efe54]
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.100dd3d0
mov dword [esp + 0x10], eax
mov ecx, 0x10245dc0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.101442b0
mov eax, dword [eax]
mov dword [eax + 0xc], esi
mov edx, 0xe60c2c52
mov ecx, 0x102271f9
call fcn.100dd3d0
mov dword [esp + 0x10], eax
mov ecx, 0x10245dc0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.101442b0
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x100a6d0f
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.100dd3d0
mov dword [esp + 0x10], eax
mov ecx, 0x10245dc0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.101442b0
mov eax, dword [eax]
cmp dword [eax + 0xc], 0
jne 0x100a6d7c
mov ecx, dword [0x102efe54]
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.100dd3d0
mov dword [esp + 0xc], eax
mov ecx, 0x10245dc0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.101442b0
mov eax, dword [eax]
mov dword [eax + 0xc], esi
mov edx, 0xe60c2c52
mov ecx, 0x1022720d
call fcn.100dd3d0
mov dword [esp + 0x10], eax
mov ecx, 0x10245dc0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.101442b0
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x100a6dbd
mov eax, dword [ecx + 0x18]
add ecx, 0x18
push ecx
mov dword [esp], 0
call dword [eax + 4]
push 3
push 0x102266bc
mov ecx, 0x102f37d0
mov byte [0x102efe58], 1
call fcn.10098c10
push 0x64
mov byte [0x102f304d], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x102f0550]
push 0x10245e80
mov eax, dword [ecx]
call dword [eax + 0x14]
call fcn.100a26a0
cmp dword [0x10248ad0], 0
je 0x100a6e95
xor ecx, ecx
call fcn.100a25a0
test eax, eax
jne 0x100a6e95
mov eax, dword [0x102f8dbc]
mov dword [0x102f8dbc], 0
test eax, eax
je 0x100a6e42
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 0x100a6e30
push dword [0x102f8db0]
push 0
push dword [0x10248ad0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [0x10248ad0]
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
mov dword [0x10248ad0], 0
xor eax, eax
mov dword [0x102f8db0], 0
mov ecx, 0x10248acc
mov dword [0x102f8db4], 0
mov dword [0x102f8db8], 0
xchg dword [ecx], eax
jmp 0x100a6eb3
mov ecx, 0x10248acc
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 [0x102f8724]
push 0xfffffffffffffffc
push dword [0x102f8720]
call dword [sym.imp.USER32.dll_SetWindowLongW]
call fcn.1013c680
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
mov dword [esp + 0x14], ecx
cmp ebx, ecx
je 0x100a6f35
nop dword [eax]
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
cmp byte [eax + 0x20], 0
je 0x100a6f2e
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 0x100a6ee0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10248784]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102f877c]
cmp eax, dword [ecx + 4]
jle 0x100a6f7e
push 0x102f877c
call fcn.1014866a
add esp, 4
cmp dword [0x102f877c], 0xffffffff
jne 0x100a6f7e
push 0x10160c90
call fcn.101489d3
push 0x102f877c
call fcn.10148619
add esp, 8
mov eax, dword [0x102f0540]
cmp eax, dword [0x102f0544]
je 0x100a6f90
mov dword [0x102f0544], 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 [0x102efe54]
cmp dword [0x102f20ac], 0x10
mov eax, dword [edx]
mov ecx, dword [eax + 0x5c]
mov eax, 0x102f2098
cmovae eax, dword [0x102f2098]
push eax
push str._s_Unloaded__n
push 0x102f22ac
push edx
call ecx
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret