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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x1024f68c]
sub esp, 0x10
mov eax, dword [ecx]
push ebx
push esi
push edi
mov eax, dword [eax + 0x1a8]
push str.play_vo_heavy_no01.mp3
call eax
push 0x64
mov byte [0x1024f6b4], 1
mov byte [0x10314c20], 0
mov byte [0x10314924], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x1031091c]
push 0x1024cdf4
mov eax, dword [ecx]
call dword [eax + 0x14]
call fcn.101910f0
cmp dword [0x1025098c], 0
je 0x1006c0ca
xor ecx, ecx
call fcn.10190ff0
test eax, eax
jne 0x1006c0ca
mov eax, dword [0x1031c51c]
mov dword [0x1031c51c], 0
test eax, eax
je 0x1006c077
mov edi, dword [sym.imp.KERNEL32.dll_VirtualFree]
mov esi, dword [eax]
push 0x8000
push 0
push eax
call edi
mov eax, esi
test esi, esi
jne 0x1006c065
push dword [0x1031c510]
push 0
push dword [0x1025098c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [0x1025098c]
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
mov dword [0x1025098c], 0
xor eax, eax
mov dword [0x1031c510], 0
mov ecx, 0x10250988
mov dword [0x1031c514], 0
mov dword [0x1031c518], 0
xchg dword [ecx], eax
jmp 0x1006c0e8
mov ecx, 0x10250988
xor eax, eax
xchg dword [ecx], eax
push 0x17
push str.C:UsersPcDownloadsGTA_SAN_ANDREAS___FULL1_fware_iv_mainFedorawareFedoraware_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 [0x1031be74]
push 0xfffffffffffffffc
push dword [0x1031be70]
call dword [sym.imp.USER32.dll_SetWindowLongW]
call fcn.101844c0
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
mov dword [ebp - 0xc], ecx
cmp ebx, ecx
je 0x1006c15e
nop dword [eax]
mov eax, dword [ebx]
mov dword [ebp - 4], eax
cmp byte [eax + 0x20], 0
je 0x1006c157
mov esi, dword [eax + 0x1c]
mov edi, dword [eax]
lea eax, [ebp - 8]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
push esi
push dword [eax + 4]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov byte [eax + 0x20], 0
add ebx, 4
cmp ebx, ecx
jne 0x1006c110
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1024f340]
pop edi
pop esi
pop ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1031becc]
cmp eax, dword [ecx + 4]
jle 0x1006c1aa
push 0x1031becc
call fcn.101928b8
add esp, 4
cmp dword [0x1031becc], 0xffffffff
jne 0x1006c1aa
push 0x101b23a0
call fcn.101927f1
push 0x1031becc
call fcn.10192867
add esp, 8
mov eax, dword [0x10310e04]
cmp eax, dword [0x10310e08]
je 0x1006c1bc
mov dword [0x10310e08], eax
cmp byte [0x10310f99], 0
je 0x1006c1dd
call dword [0x1024f7e8]
call dword [0x1024f7ec]
push dword [0x1024f7dc]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0xffffffff
call fcn.10174290
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0xffffffff
call fcn.10174340
mov edx, dword [0x1024f690]
cmp dword [0x10312dec], 0xf
mov eax, dword [edx]
mov ecx, dword [eax + 0x5c]
mov eax, 0x10312dd8
cmova eax, dword [0x10312dd8]
push eax
push str._s_Unloaded__n
push 0x103137a4
push edx
call ecx
add esp, 0x10
mov esp, ebp
pop ebp
ret