Function at 0x10043330
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 0x1006ed43
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 0x10043a21
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 0x100433c6
test ecx, ecx
je 0x100433ad
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 0x100433e6
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 0x10043467
push dword [ebp - 0x20]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x10043a1f
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 0x100434a5
push dword [ebp - 0x20]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10043a1f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x10043a1f
cmp dword [0x100892cc], 0
jne 0x1004353c
mov edi, dword [ebp - 0x24]
xorps xmm0, xmm0
push 0x20
movups xmmword [ebp - 0x60], xmm0
call fcn.10045ee0
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 ecx, dword [0x1007c1e0]
mov dword [esi + 0x18], ecx
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 0x1004361b
push 0x20
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.1004633f
add esp, 8
mov dword [ebp - 0x14], 0x80004005
cmp dword [0x100892d0], 0
jne 0x10043759
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
push 0x10043090
sub esp, 0x18
mov dword [ebp - 0x2c], eax
mov esi, esp
push 0x30
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.10045ee0
mov ecx, dword [ebp - 0x2c]
mov edi, eax
mov dword [esi], edi
add esp, 4
mov dword [esi + 0x10], 0x23
mov edx, 6
mov dword [esi + 0x14], 0x2f
movups xmm0, xmmword [str.ISpatialAudioObjectRenderStreamStop]
movups xmmword [edi], xmm0
movups xmm0, xmmword [0x1007c250]
movups xmmword [edi + 0x10], xmm0
mov si, word [0x1007c260]
mov word [edi + 0x20], si
mov al, byte [0x1007c262]
mov byte [edi + 0x22], al
mov byte [edi + 0x23], 0
call fcn.10043e40
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x10043752
mov eax, dword [0x100892d0]
mov dword [0x100892d0], esi
test eax, eax
je 0x100435e4
push eax
call fcn.10027430
cmp byte [esi + 0x24], 0
jne 0x10043730
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
push esi
call fcn.10044d20
test eax, eax
jne 0x1004372a
mov ecx, dword [esi + 0x1c]
call fcn.100451a0
test eax, eax
jne 0x1004371c
mov byte [esi + 0x24], 1
jmp 0x1004372a
mov eax, dword [edi]
push 0x28
mov esi, dword [eax + 0xc]
call fcn.10045ee0
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.10005430
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4c]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], 0x10043230
mov byte [edi + 0x24], 0
cmp ecx, 0xf
jbe 0x1004368e
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10043684
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10043a55
push ecx
push edx
call fcn.1004633f
add esp, 8
test edi, edi
je 0x10043535
mov eax, dword [0x100892cc]
mov dword [0x100892cc], edi
test eax, eax
je 0x100436ab
push eax
call fcn.10027430
cmp byte [edi + 0x24], 0
jne 0x100436e7
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
push edi
call fcn.10044d20
test eax, eax
jne 0x100436e1
mov ecx, dword [edi + 0x1c]
call fcn.100451a0
test eax, eax
jne 0x100436d3
mov byte [edi + 0x24], 1
jmp 0x100436e1
mov ecx, dword [edi + 0x1c]
call fcn.10044ff0
mov dword [edi], 0
cmp byte [edi + 0x24], 0
je 0x100436f3
mov eax, dword [edi]
mov dword [0x10088e8c], eax
jmp 0x1004353c
mov eax, dword [0x100892cc]
mov dword [ebp - 0x14], 0x80004005
mov dword [0x100892cc], 0
test eax, eax
je 0x1004353c
push eax
call fcn.10027430
jmp 0x1004353c
mov ecx, dword [esi + 0x1c]
call fcn.10044ff0
mov dword [esi], 0
cmp byte [esi + 0x24], 0
je 0x10043739
mov eax, dword [esi]
mov dword [0x10088e7c], eax
jmp 0x10043759
mov eax, dword [0x100892d0]
mov dword [0x100892d0], 0
test eax, eax
je 0x10043752
push eax
call fcn.10027430
mov dword [ebp - 0x14], 0x80004005
cmp dword [0x100892d8], 0
jne 0x1004386c
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
push 0x100430e0
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.10045ee0
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.10043e40
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x10043865
mov eax, dword [0x100892d8]
mov dword [0x100892d8], esi
test eax, eax
je 0x10043807
push eax
call fcn.10027430
cmp byte [esi + 0x24], 0
jne 0x10043843
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
push esi
call fcn.10044d20
test eax, eax
jne 0x1004383d
mov ecx, dword [esi + 0x1c]
call fcn.100451a0
test eax, eax
jne 0x1004382f
mov byte [esi + 0x24], 1
jmp 0x1004383d
mov ecx, dword [esi + 0x1c]
call fcn.10044ff0
mov dword [esi], 0
cmp byte [esi + 0x24], 0
je 0x1004384c
mov eax, dword [esi]
mov dword [0x10088e78], eax
jmp 0x1004386c
mov eax, dword [0x100892d8]
mov dword [0x100892d8], 0
test eax, eax
je 0x10043865
push eax
call fcn.10027430
mov dword [ebp - 0x14], 0x80004005
cmp dword [0x100892d4], 0
jne 0x100439e2
mov edi, dword [ebp - 0x18]
xorps xmm0, xmm0
push 0x40
movups xmmword [ebp - 0x60], xmm0
call fcn.10045ee0
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 0x1004390f
push 0x40
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.1004633f
add esp, 8
mov esi, 0x80004005
jmp 0x100439e5
mov eax, dword [edi]
push 0x28
mov esi, dword [eax + 0x20]
call fcn.10045ee0
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.10005430
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4c]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], 0x100431a0
mov byte [edi + 0x24], 0
cmp ecx, 0xf
jbe 0x10043982
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10043978
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10043a5a
push ecx
push edx
call fcn.1004633f
add esp, 8
test edi, edi
je 0x10043a4e
mov eax, dword [0x100892d4]
mov dword [0x100892d4], edi
test eax, eax
je 0x1004399f
push eax
call fcn.10027430
cmp byte [edi + 0x24], 0
jne 0x100439db
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
push edi
call fcn.10044d20
test eax, eax
jne 0x100439d5
mov ecx, dword [edi + 0x1c]
call fcn.100451a0
test eax, eax
jne 0x100439c7
mov byte [edi + 0x24], 1
jmp 0x100439d5
mov ecx, dword [edi + 0x1c]
call fcn.10044ff0
mov dword [edi], 0
cmp byte [edi + 0x24], 0
je 0x10043a35
mov eax, dword [edi]
mov dword [0x10088e80], eax
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x100439f9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10043a0d
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 [0x100892d4]
mov dword [0x100892d4], 0
test eax, eax
je 0x10043a4e
push eax
call fcn.10027430
mov esi, 0x80004005
jmp 0x100439e5
call fcn.1004eae1
call fcn.1004eae1
int3