Function at 0x10043800
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 0x1006f383
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
push esi
push edi
mov eax, dword [0x10086040]
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 0x10043f0b
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 0x10043896
test ecx, ecx
je 0x1004387d
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 0x100438b6
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 0x1007c2b0
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 0x10043937
push dword [ebp - 0x20]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x10043f09
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 0x10043975
push dword [ebp - 0x20]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10043f09
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x10043f09
cmp dword [0x100892fc], 0
jne 0x10043a19
mov edi, dword [ebp - 0x24]
xorps xmm0, xmm0
push 0x20
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call fcn.100463c4
movups xmm0, xmmword [str.ISpatialAudioObjectGetBuffer]
mov esi, eax
mov dword [ebp - 0x50], 0x1c
add esp, 4
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x4c], 0x1f
movups xmmword [esi], xmm0
movq xmm0, qword [0x1007c1d8]
movq qword [esi + 0x10], xmm0
mov eax, dword [0x1007c1e0]
mov dword [esi + 0x18], eax
mov byte [esi + 0x1c], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 0x40
push 4
push dword [edi]
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10043af7
push 0x20
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.10046823
add esp, 8
mov dword [ebp - 0x14], 0x80004005
cmp dword [0x10089300], 0
jne 0x10043c35
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
push 0x10043560
sub esp, 0x18
mov dword [ebp - 0x2c], eax
mov edi, esp
push 0x30
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.100463c4
mov ecx, dword [ebp - 0x2c]
mov esi, eax
mov dword [edi], esi
add esp, 4
mov dword [edi + 0x10], 0x23
mov edx, 6
mov dword [edi + 0x14], 0x2f
movups xmm0, xmmword [str.ISpatialAudioObjectRenderStreamStop]
movups xmmword [esi], xmm0
movups xmm0, xmmword [0x1007c250]
movups xmmword [esi + 0x10], xmm0
mov ax, word [0x1007c260]
mov word [esi + 0x20], ax
mov al, byte [0x1007c262]
mov byte [esi + 0x22], al
mov byte [esi + 0x23], 0
call fcn.10044330
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x10043c2e
mov eax, dword [0x10089300]
mov dword [0x10089300], esi
test eax, eax
je 0x10043ac0
push eax
call fcn.10027780
cmp byte [esi + 0x24], 0
jne 0x10043c0c
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
push esi
call fcn.10045210
test eax, eax
jne 0x10043c06
mov ecx, dword [esi + 0x1c]
call fcn.10045690
test eax, eax
jne 0x10043bf8
mov byte [esi + 0x24], 1
jmp 0x10043c06
mov eax, dword [edi]
push 0x28
mov esi, dword [eax + 0xc]
call fcn.100463c4
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.10005340
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4c]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], 0x10043700
mov byte [edi + 0x24], 0
cmp ecx, 0xf
jbe 0x10043b6a
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10043b60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10043f3f
push ecx
push edx
call fcn.10046823
add esp, 8
test edi, edi
je 0x10043a12
mov eax, dword [0x100892fc]
mov dword [0x100892fc], edi
test eax, eax
je 0x10043b87
push eax
call fcn.10027780
cmp byte [edi + 0x24], 0
jne 0x10043bc3
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
push edi
call fcn.10045210
test eax, eax
jne 0x10043bbd
mov ecx, dword [edi + 0x1c]
call fcn.10045690
test eax, eax
jne 0x10043baf
mov byte [edi + 0x24], 1
jmp 0x10043bbd
mov ecx, dword [edi + 0x1c]
call fcn.100454e0
mov dword [edi], 0
cmp byte [edi + 0x24], 0
je 0x10043bcf
mov eax, dword [edi]
mov dword [0x10088eb4], eax
jmp 0x10043a19
mov eax, dword [0x100892fc]
mov dword [ebp - 0x14], 0x80004005
mov dword [0x100892fc], 0
test eax, eax
je 0x10043a19
push eax
call fcn.10027780
jmp 0x10043a19
mov ecx, dword [esi + 0x1c]
call fcn.100454e0
mov dword [esi], 0
cmp byte [esi + 0x24], 0
je 0x10043c15
mov eax, dword [esi]
mov dword [0x10088ea8], eax
jmp 0x10043c35
mov eax, dword [0x10089300]
mov dword [0x10089300], 0
test eax, eax
je 0x10043c2e
push eax
call fcn.10027780
mov dword [ebp - 0x14], 0x80004005
cmp dword [0x10089308], 0
jne 0x10043d48
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
push 0x100435b0
sub esp, 0x18
mov dword [ebp - 0x2c], eax
mov esi, esp
push 0x40
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.100463c4
mov ecx, dword [ebp - 0x2c]
mov edi, eax
mov dword [esi], edi
add esp, 4
mov dword [esi + 0x10], 0x36
mov edx, 9
mov dword [esi + 0x14], 0x3f
movups xmm0, xmmword [str.ISpatialAudioObjectRenderStreamEndUpdatingAudioObjects]
movups xmmword [edi], xmm0
movups xmm0, xmmword [0x1007c218]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [0x1007c228]
movups xmmword [edi + 0x20], xmm0
mov eax, dword [0x1007c238]
mov dword [edi + 0x30], eax
mov ax, word [0x1007c23c]
mov word [edi + 0x34], ax
mov byte [edi + 0x36], 0
call fcn.10044330
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x10043d41
mov eax, dword [0x10089308]
mov dword [0x10089308], esi
test eax, eax
je 0x10043ce3
push eax
call fcn.10027780
cmp byte [esi + 0x24], 0
jne 0x10043d1f
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
push esi
call fcn.10045210
test eax, eax
jne 0x10043d19
mov ecx, dword [esi + 0x1c]
call fcn.10045690
test eax, eax
jne 0x10043d0b
mov byte [esi + 0x24], 1
jmp 0x10043d19
mov ecx, dword [esi + 0x1c]
call fcn.100454e0
mov dword [esi], 0
cmp byte [esi + 0x24], 0
je 0x10043d28
mov eax, dword [esi]
mov dword [0x10088eb8], eax
jmp 0x10043d48
mov eax, dword [0x10089308]
mov dword [0x10089308], 0
test eax, eax
je 0x10043d41
push eax
call fcn.10027780
mov dword [ebp - 0x14], 0x80004005
cmp dword [0x10089304], 0
jne 0x10043ecc
mov edi, dword [ebp - 0x18]
xorps xmm0, xmm0
push 0x40
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call fcn.100463c4
movups xmm0, xmmword [str.ISpatialAudioObjectRenderStreamBeginUpdatingAudioObjects]
mov esi, eax
mov dword [ebp - 0x50], 0x38
add esp, 4
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x4c], 0x3f
movups xmmword [esi], xmm0
movups xmm0, xmmword [0x1007c274]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [0x1007c284]
movups xmmword [esi + 0x20], xmm0
movq xmm0, qword [0x1007c294]
movq qword [esi + 0x30], xmm0
mov byte [esi + 0x38], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 2
push eax
push 0x40
push 4
push dword [edi]
mov dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10043df9
push 0x40
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.10046823
add esp, 8
mov esi, 0x80004005
jmp 0x10043ecf
mov eax, dword [edi]
push 0x28
mov esi, dword [eax + 0x20]
call fcn.100463c4
mov edi, eax
add esp, 4
mov dword [ebp - 0x38], edi
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 3
lea ecx, [edi + 4]
mov dword [edi], 0
push eax
call fcn.10005340
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4c]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], 0x10043670
mov byte [edi + 0x24], 0
cmp ecx, 0xf
jbe 0x10043e6c
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10043e62
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10043f44
push ecx
push edx
call fcn.10046823
add esp, 8
test edi, edi
je 0x10043f38
mov eax, dword [0x10089304]
mov dword [0x10089304], edi
test eax, eax
je 0x10043e89
push eax
call fcn.10027780
cmp byte [edi + 0x24], 0
jne 0x10043ec5
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
push edi
call fcn.10045210
test eax, eax
jne 0x10043ebf
mov ecx, dword [edi + 0x1c]
call fcn.10045690
test eax, eax
jne 0x10043eb1
mov byte [edi + 0x24], 1
jmp 0x10043ebf
mov ecx, dword [edi + 0x1c]
call fcn.100454e0
mov dword [edi], 0
cmp byte [edi + 0x24], 0
je 0x10043f1f
mov eax, dword [edi]
mov dword [0x10088ec4], eax
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x10043ee3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10043ef7
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 [0x10089304]
mov dword [0x10089304], 0
test eax, eax
je 0x10043f38
push eax
call fcn.10027780
mov esi, 0x80004005
jmp 0x10043ecf
call fcn.1004f161
call fcn.1004f161
int3