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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov byte [0x1029cd84], 1
cmp byte [0x1029cd85], 0
push ebx
push esi
push edi
jne 0x100a0f5c
push 3
push 0x10278134
mov ecx, 0x102a2d40
call fcn.10091b80
push 0x64
mov byte [0x102a1e31], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x1029d45c]
push 0x10298c34
mov eax, dword [ecx]
call dword [eax + 0x14]
call fcn.1009bad0
cmp dword [0x1029bad0], 0
je 0x100a0db5
xor ecx, ecx
call fcn.1009b9d0
test eax, eax
jne 0x100a0db5
mov eax, dword [0x102a8d7c]
mov dword [0x102a8d7c], 0
test eax, eax
je 0x100a0d62
mov edi, dword [sym.imp.KERNEL32.dll_VirtualFree]
nop word [eax + eax]
mov esi, dword [eax]
push 0x8000
push 0
push eax
call edi
mov eax, esi
test esi, esi
jne 0x100a0d50
push dword [0x102a8d70]
push 0
push dword [0x1029bad0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [0x1029bad0]
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
mov dword [0x1029bad0], 0
xor eax, eax
mov dword [0x102a8d70], 0
mov ecx, 0x1029bacc
mov dword [0x102a8d74], 0
mov dword [0x102a8d78], 0
xchg dword [ecx], eax
jmp 0x100a0dd3
mov ecx, 0x1029bacc
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 [0x102a86e8]
push 0xfffffffffffffffc
push dword [0x102a86e4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
call fcn.10163590
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
mov dword [esp + 0x18], ecx
cmp ebx, ecx
je 0x100a0e55
nop dword [eax]
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
cmp byte [eax + 0x20], 0
je 0x100a0e4e
mov esi, dword [eax + 0x1c]
mov edi, dword [eax]
lea eax, [esp + 0x14]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [esp + 0x10]
push esi
push dword [eax + 4]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov byte [eax + 0x20], 0
add ebx, 4
cmp ebx, ecx
jne 0x100a0e00
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1029b784]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102a8740]
cmp eax, dword [ecx + 4]
jle 0x100a0e9e
push 0x102a8740
call fcn.1016f60a
add esp, 4
cmp dword [0x102a8740], 0xffffffff
jne 0x100a0e9e
push 0x101818b0
call fcn.1016f973
push 0x102a8740
call fcn.1016f5b9
add esp, 8
mov eax, dword [0x1029d41c]
cmp eax, dword [0x1029d420]
je 0x100a0eb0
mov dword [0x1029d420], eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
xor dl, dl
mov dword [esp + 0x10], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.10154640
mov dl, 1
mov dword [esp + 0x10], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.10154640
push str.cl_wpn_sway_interp
call fcn.1016afc0
test eax, eax
je 0x100a0efc
lea ecx, [eax + 0x18]
mov eax, dword [ecx]
push ecx
mov dword [esp], 0
call dword [eax + 4]
push str.cl_wpn_sway_scale
call fcn.1016afc0
test eax, eax
je 0x100a0f1a
lea ecx, [eax + 0x18]
mov eax, dword [ecx]
push ecx
mov dword [esp], 0
call dword [eax + 4]
mov edx, dword [0x1029cd80]
cmp dword [0x1029f74c], 0xf
mov eax, dword [edx]
mov ecx, dword [eax + 0x5c]
mov eax, 0x1029f738
cmova eax, dword [0x1029f738]
push eax
push str._s_Unloaded__n
push 0x1029fb54
push edx
call ecx
mov ecx, dword [0x1029cd7c]
add esp, 0x10
mov eax, dword [ecx]
push str.voitemswheatley_sapperwheatley_sapper_hacked02.mp3
call dword [eax + 0x138]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret