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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006aa63
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
push esi
push edi
mov eax, dword [0x1008600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
lea ecx, [ebp - 0x1c]
push ecx
push esi
call dword [eax + 0x18]
test eax, eax
js 0x1003f122
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x28]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 0
push edx
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
cmp dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x1c]
jne 0x1003eb76
test ecx, ecx
je 0x1003eb5d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
push 0
push ecx
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1003eb96
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x1c], 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x68], eax
mov eax, 0x41
mov dword [ebp - 0x7c], ecx
lea ecx, [ebp - 0x18]
movups xmmword [ebp - 0x48], xmm0
push ecx
mov word [ebp - 0x48], ax
lea ecx, [ebp - 0x48]
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x78], 6
push 0x1007beb4
mov dword [ebp - 0x3c], eax
mov eax, dword [esi]
push ecx
push esi
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 5
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x40], 0x1c
call dword [eax + 0x28]
mov esi, eax
test esi, esi
jns 0x1003ec17
push dword [ebp - 0x20]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1003f120
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x24], 0
push 2
mov eax, dword [ecx]
push ecx
call dword [eax + 0x28]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jns 0x1003ec55
push dword [ebp - 0x20]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1003f120
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x1003f120
cmp dword [0x100893c4], 0
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
jne 0x1003edeb
mov esi, dword [ebp - 0x24]
lea ecx, [ebp - 0x60]
push 0x1c
mov dword [ebp - 0x60], 0
push str.ISpatialAudioObjectGetBuffer
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.10003f80
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 0x40
push 4
push dword [esi]
mov dword [ebp - 0x2c], 0
call edi
test eax, eax
jne 0x1003ecf8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x1003ecec
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003ece2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f15a
push edx
push ecx
call fcn.10041ac4
add esp, 8
mov dword [ebp - 0x14], 0x80004005
jmp 0x1003edeb
mov eax, dword [esi]
push 0x28
mov esi, dword [eax + 0xc]
call fcn.10041665
mov edi, eax
add esp, 4
mov dword [ebp - 0x30], edi
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 1
lea ecx, [edi + 4]
mov dword [edi], 0
push eax
call fcn.10003d70
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x4c]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], 0x1003e9e0
mov byte [edi + 0x24], 0
cmp edx, 0x10
jb 0x1003ed6b
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003ed61
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f15a
push edx
push ecx
call fcn.10041ac4
add esp, 8
mov eax, dword [0x100893c4]
mov dword [0x100893c4], edi
test eax, eax
je 0x1003ed80
push eax
call fcn.10023b60
cmp byte [edi + 0x24], 0
jne 0x1003edbc
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
push edi
call fcn.100403a0
test eax, eax
jne 0x1003edb6
mov ecx, dword [edi + 0x1c]
call fcn.10040810
test eax, eax
jne 0x1003eda8
mov byte [edi + 0x24], 1
jmp 0x1003edb6
mov ecx, dword [edi + 0x1c]
call fcn.10040660
mov dword [edi], 0
cmp byte [edi + 0x24], 0
je 0x1003edc5
mov eax, dword [edi]
mov dword [0x1008933c], eax
jmp 0x1003ede5
mov eax, dword [0x100893c4]
mov dword [ebp - 0x14], 0x80004005
mov dword [0x100893c4], 0
test eax, eax
je 0x1003ede5
push eax
call fcn.10023b60
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [0x100893c8], 0
jne 0x1003eeb4
mov esi, dword [ebp - 0x18]
push 0x1003e840
sub esp, 0x18
mov ecx, esp
push 0x23
push str.ISpatialAudioObjectRenderStreamStop
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.10003f80
mov edx, 6
mov ecx, esi
call fcn.1003f540
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x1003eead
mov eax, dword [0x100893c8]
mov dword [0x100893c8], esi
test eax, eax
je 0x1003ee4f
push eax
call fcn.10023b60
cmp byte [esi + 0x24], 0
jne 0x1003ee8b
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
push esi
call fcn.100403a0
test eax, eax
jne 0x1003ee85
mov ecx, dword [esi + 0x1c]
call fcn.10040810
test eax, eax
jne 0x1003ee77
mov byte [esi + 0x24], 1
jmp 0x1003ee85
mov ecx, dword [esi + 0x1c]
call fcn.10040660
mov dword [esi], 0
cmp byte [esi + 0x24], 0
je 0x1003ee94
mov eax, dword [esi]
mov dword [0x10089344], eax
jmp 0x1003eeb4
mov eax, dword [0x100893c8]
mov dword [0x100893c8], 0
test eax, eax
je 0x1003eead
push eax
call fcn.10023b60
mov dword [ebp - 0x14], 0x80004005
cmp dword [0x100893d0], 0
jne 0x1003ef7d
mov esi, dword [ebp - 0x18]
push 0x1003e890
sub esp, 0x18
mov ecx, esp
push 0x36
push str.ISpatialAudioObjectRenderStreamEndUpdatingAudioObjects
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.10003f80
mov edx, 9
mov ecx, esi
call fcn.1003f540
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x1003ef76
mov eax, dword [0x100893d0]
mov dword [0x100893d0], esi
test eax, eax
je 0x1003ef18
push eax
call fcn.10023b60
cmp byte [esi + 0x24], 0
jne 0x1003ef54
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
push esi
call fcn.100403a0
test eax, eax
jne 0x1003ef4e
mov ecx, dword [esi + 0x1c]
call fcn.10040810
test eax, eax
jne 0x1003ef40
mov byte [esi + 0x24], 1
jmp 0x1003ef4e
mov ecx, dword [esi + 0x1c]
call fcn.10040660
mov dword [esi], 0
cmp byte [esi + 0x24], 0
je 0x1003ef5d
mov eax, dword [esi]
mov dword [0x10089340], eax
jmp 0x1003ef7d
mov eax, dword [0x100893d0]
mov dword [0x100893d0], 0
test eax, eax
je 0x1003ef76
push eax
call fcn.10023b60
mov dword [ebp - 0x14], 0x80004005
cmp dword [0x100893cc], 0
jne 0x1003f0e3
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x60]
push 0x38
mov dword [ebp - 0x60], 0
push str.ISpatialAudioObjectRenderStreamBeginUpdatingAudioObjects
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.10003f80
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 2
push eax
push 0x40
push 4
push dword [esi]
mov dword [ebp - 0x30], 0
call edi
test eax, eax
jne 0x1003f018
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x1003f00e
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003f004
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f15f
push edx
push ecx
call fcn.10041ac4
add esp, 8
mov esi, 0x80004005
jmp 0x1003f0e6
mov eax, dword [esi]
push 0x28
mov esi, dword [eax + 0x20]
call fcn.10041665
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 3
lea ecx, [edi + 4]
mov dword [edi], 0
push eax
call fcn.10003d70
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x4c]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], 0x1003e950
mov byte [edi + 0x24], 0
cmp edx, 0x10
jb 0x1003f08b
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003f081
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f15f
push edx
push ecx
call fcn.10041ac4
add esp, 8
mov eax, dword [0x100893cc]
mov dword [0x100893cc], edi
test eax, eax
je 0x1003f0a0
push eax
call fcn.10023b60
cmp byte [edi + 0x24], 0
jne 0x1003f0dc
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
push edi
call fcn.100403a0
test eax, eax
jne 0x1003f0d6
mov ecx, dword [edi + 0x1c]
call fcn.10040810
test eax, eax
jne 0x1003f0c8
mov byte [edi + 0x24], 1
jmp 0x1003f0d6
mov ecx, dword [edi + 0x1c]
call fcn.10040660
mov dword [edi], 0
cmp byte [edi + 0x24], 0
je 0x1003f136
mov eax, dword [edi]
mov dword [0x10089350], eax
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x1003f0fa
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1003f10e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x18], 0
push dword [ebp - 0x20]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [0x100893cc]
mov dword [0x100893cc], 0
test eax, eax
je 0x1003f00e
push eax
call fcn.10023b60
mov esi, 0x80004005
jmp 0x1003f0e6
call fcn.1004a021
call fcn.1004a021
int3