Function at 0x100a2070
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 [0x1033e7f0]
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, 0x10270dc9
call fcn.100dd940
mov dword [esp + 0xc], eax
mov ecx, 0x1028fb00
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.1015ba60
mov eax, dword [eax]
cmp dword [eax + 0xc], 0
jne 0x100a20fe
mov ecx, dword [0x1033e7f4]
push str.cl_wpn_sway_interp
mov eax, dword [ecx]
call dword [eax + 0x34]
mov edx, 0xe60c2c52
mov ecx, 0x10270dc9
mov esi, eax
call fcn.100dd940
mov dword [esp + 0x10], eax
mov ecx, 0x1028fb00
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.1015ba60
mov eax, dword [eax]
mov dword [eax + 0xc], esi
mov edx, 0xe60c2c52
mov ecx, 0x10270dc9
call fcn.100dd940
mov dword [esp + 0x10], eax
mov ecx, 0x1028fb00
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.1015ba60
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x100a213f
mov eax, dword [ecx + 0x18]
add ecx, 0x18
push ecx
mov dword [esp], 0
call dword [eax + 4]
mov edx, 0xe60c2c52
mov ecx, 0x10270ddd
call fcn.100dd940
mov dword [esp + 0x10], eax
mov ecx, 0x1028fb00
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.1015ba60
mov eax, dword [eax]
cmp dword [eax + 0xc], 0
jne 0x100a21ac
mov ecx, dword [0x1033e7f4]
push str.cl_wpn_sway_scale
mov eax, dword [ecx]
call dword [eax + 0x34]
mov edx, 0xe60c2c52
mov ecx, 0x10270ddd
mov esi, eax
call fcn.100dd940
mov dword [esp + 0xc], eax
mov ecx, 0x1028fb00
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.1015ba60
mov eax, dword [eax]
mov dword [eax + 0xc], esi
mov edx, 0xe60c2c52
mov ecx, 0x10270ddd
call fcn.100dd940
mov dword [esp + 0x10], eax
mov ecx, 0x1028fb00
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.1015ba60
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x100a21ed
mov eax, dword [ecx + 0x18]
add ecx, 0x18
push ecx
mov dword [esp], 0
call dword [eax + 4]
push 3
push 0x10270460
mov ecx, 0x10342850
mov byte [0x1033e7f8], 1
call fcn.100938b0
push 0x64
mov byte [0x10342059], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x1033eeac]
push 0x1028fbc0
mov eax, dword [ecx]
call dword [eax + 0x14]
call fcn.1009d760
cmp dword [0x10292680], 0
je 0x100a22c5
xor ecx, ecx
call fcn.1009d660
test eax, eax
jne 0x100a22c5
mov eax, dword [0x10346fbc]
mov dword [0x10346fbc], 0
test eax, eax
je 0x100a2272
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 0x100a2260
push dword [0x10346fb0]
push 0
push dword [0x10292680]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [0x10292680]
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
mov dword [0x10292680], 0
xor eax, eax
mov dword [0x10346fb0], 0
mov ecx, 0x1029267c
mov dword [0x10346fb4], 0
mov dword [0x10346fb8], 0
xchg dword [ecx], eax
jmp 0x100a22e3
mov ecx, 0x1029267c
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 [0x10346920]
push 0xfffffffffffffffc
push dword [0x1034691c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
call fcn.10153dc0
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
mov dword [esp + 0x14], ecx
cmp ebx, ecx
je 0x100a2365
nop dword [eax]
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
cmp byte [eax + 0x20], 0
je 0x100a235e
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 0x100a2310
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10292334]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10346978]
cmp eax, dword [ecx + 4]
jle 0x100a23ae
push 0x10346978
call fcn.1016017a
add esp, 4
cmp dword [0x10346978], 0xffffffff
jne 0x100a23ae
push 0x101797f0
call fcn.101604e3
push 0x10346978
call fcn.10160129
add esp, 8
mov eax, dword [0x1033ee80]
cmp eax, dword [0x1033ee84]
je 0x100a23c0
mov dword [0x1033ee84], eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
xor dl, dl
mov dword [esp + 0xc], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.10144680
mov dl, 1
mov dword [esp + 0xc], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.10144680
mov edx, dword [0x1033e7f4]
cmp dword [0x10340e54], 0xf
mov eax, dword [edx]
mov ecx, dword [eax + 0x5c]
mov eax, 0x10340e40
cmova eax, dword [0x10340e40]
push eax
push str._s_Unloaded__n
push 0x103410b4
push edx
call ecx
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret