Function at 0x10042eb0
Capabilities:
Allocate or change rwx memory

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 0x1006f331
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x10086040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], edx
mov edi, ecx
mov dword [ebp - 0x1c], edi
cmp dword [0x100892f0], 0
jne 0x10043085
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push 0x20
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0
call fcn.100463c4
movups xmm0, xmmword [str.IAudioClientStop]
mov esi, eax
mov dword [ebp - 0x28], 0x10
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x24], 0x1f
movups xmmword [esi], xmm0
mov byte [esi + 0x10], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 0x40
push 4
push dword [edi]
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10042f8d
push 0x20
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.10046823
add esp, 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 [edi]
push 0x28
mov esi, dword [eax + 0x2c]
call fcn.100463c4
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
lea eax, [ebp - 0x38]
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 - 0x24]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], 0x10042c80
mov byte [edi + 0x24], 0
cmp ecx, 0xf
jbe 0x10043000
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10042ff6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004353c
push ecx
push edx
call fcn.10046823
add esp, 8
test edi, edi
je 0x10042f74
mov eax, dword [0x100892f0]
mov dword [0x100892f0], edi
test eax, eax
je 0x1004301d
push eax
call fcn.10027780
cmp byte [edi + 0x24], 0
jne 0x1004307b
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
push edi
call fcn.10045210
test eax, eax
jne 0x10043053
mov ecx, dword [edi + 0x1c]
call fcn.10045690
test eax, eax
jne 0x10043045
mov byte [edi + 0x24], 1
jmp 0x10043053
mov ecx, dword [edi + 0x1c]
call fcn.100454e0
mov dword [edi], 0
cmp byte [edi + 0x24], 0
jne 0x1004307b
mov eax, dword [0x100892f0]
mov dword [0x100892f0], 0
test eax, eax
je 0x10042f74
push eax
call fcn.10027780
jmp 0x10042f74
mov eax, dword [edi]
mov edi, dword [ebp - 0x1c]
mov dword [0x10088ebc], eax
cmp dword [0x100892ec], 0
jne 0x1004320a
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push 0x20
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0
call fcn.100463c4
movups xmm0, xmmword [str.IAudioClientGetCurrentPadding]
mov esi, eax
mov dword [ebp - 0x28], 0x1d
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x24], 0x1f
movups xmmword [esi], xmm0
movq xmm0, qword [0x1007c1b8]
movq qword [esi + 0x10], xmm0
mov eax, dword [0x1007c1c0]
mov dword [esi + 0x18], eax
mov al, byte [0x1007c1c4]
mov byte [esi + 0x1c], al
mov byte [esi + 0x1d], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 2
push eax
push 0x40
push 4
push dword [edi]
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10042f62
mov eax, dword [edi]
push 0x28
mov esi, dword [eax + 0x18]
call fcn.100463c4
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
lea eax, [ebp - 0x38]
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 - 0x24]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], 0x10042bd0
mov byte [edi + 0x24], 0
cmp ecx, 0xf
jbe 0x10043188
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004317e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10043541
push ecx
push edx
call fcn.10046823
add esp, 8
test edi, edi
je 0x10042f74
mov eax, dword [0x100892ec]
mov dword [0x100892ec], edi
test eax, eax
je 0x100431a5
push eax
call fcn.10027780
cmp byte [edi + 0x24], 0
jne 0x10043203
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
push edi
call fcn.10045210
test eax, eax
jne 0x100431db
mov ecx, dword [edi + 0x1c]
call fcn.10045690
test eax, eax
jne 0x100431cd
mov byte [edi + 0x24], 1
jmp 0x100431db
mov ecx, dword [edi + 0x1c]
call fcn.100454e0
mov dword [edi], 0
cmp byte [edi + 0x24], 0
jne 0x10043203
mov eax, dword [0x100892ec]
mov dword [0x100892ec], 0
test eax, eax
je 0x10042f74
push eax
call fcn.10027780
jmp 0x10042f74
mov eax, dword [edi]
mov dword [0x10088eb0], eax
cmp dword [0x100892f4], 0
jne 0x10043394
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push 0x20
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0
call fcn.100463c4
movups xmm0, xmmword [str.IAudioRenderClientGetBuffer]
mov esi, eax
mov dword [ebp - 0x28], 0x1b
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x24], 0x1f
movups xmmword [esi], xmm0
movq xmm0, qword [0x1007c19c]
movq qword [esi + 0x10], xmm0
mov ax, word [0x1007c1a4]
mov word [esi + 0x18], ax
mov al, byte [0x1007c1a6]
mov byte [esi + 0x1a], al
mov byte [esi + 0x1b], 0
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
push 0x40
mov dword [ebp - 4], 4
push 4
push dword [edi]
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10042f62
mov eax, dword [edi]
push 0x28
mov esi, dword [eax + 0xc]
call fcn.100463c4
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 5
lea ecx, [edi + 4]
mov dword [edi], 0
push eax
call fcn.10005340
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], 0x10042cd0
mov byte [edi + 0x24], 0
cmp ecx, 0xf
jbe 0x10043312
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10043308
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10043546
push ecx
push edx
call fcn.10046823
add esp, 8
test edi, edi
je 0x10042f74
mov eax, dword [0x100892f4]
mov dword [0x100892f4], edi
test eax, eax
je 0x1004332f
push eax
call fcn.10027780
cmp byte [edi + 0x24], 0
jne 0x1004338d
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
push edi
call fcn.10045210
test eax, eax
jne 0x10043365
mov ecx, dword [edi + 0x1c]
call fcn.10045690
test eax, eax
jne 0x10043357
mov byte [edi + 0x24], 1
jmp 0x10043365
mov ecx, dword [edi + 0x1c]
call fcn.100454e0
mov dword [edi], 0
cmp byte [edi + 0x24], 0
jne 0x1004338d
mov eax, dword [0x100892f4]
mov dword [0x100892f4], 0
test eax, eax
je 0x10042f74
push eax
call fcn.10027780
jmp 0x10042f74
mov eax, dword [edi]
mov dword [0x10088eac], eax
cmp dword [0x100892f8], 0
jne 0x10043526
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push 0x20
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0
call fcn.100463c4
movups xmm0, xmmword [str.IAudioRenderClientReleaseBuffer]
mov esi, eax
mov dword [ebp - 0x28], 0x1f
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x24], 0x1f
movups xmmword [esi], xmm0
movq xmm0, qword [0x1007c1f8]
movq qword [esi + 0x10], xmm0
mov eax, dword [0x1007c200]
mov dword [esi + 0x18], eax
mov ax, word [0x1007c204]
mov word [esi + 0x1c], ax
mov al, byte [0x1007c206]
mov byte [esi + 0x1e], al
mov byte [esi + 0x1f], 0
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
push 0x40
mov dword [ebp - 4], 6
push 4
push dword [edi]
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10042f62
mov eax, dword [edi]
push 0x28
mov esi, dword [eax + 0x10]
call fcn.100463c4
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 7
lea ecx, [edi + 4]
mov dword [edi], 0
push eax
call fcn.10005340
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], 0x10042dc0
mov byte [edi + 0x24], 0
cmp ecx, 0xf
jbe 0x100434a4
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004349a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004354b
push ecx
push edx
call fcn.10046823
add esp, 8
test edi, edi
je 0x10042f74
mov eax, dword [0x100892f8]
mov dword [0x100892f8], edi
test eax, eax
je 0x100434c1
push eax
call fcn.10027780
cmp byte [edi + 0x24], 0
jne 0x1004351f
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
push edi
call fcn.10045210
test eax, eax
jne 0x100434f7
mov ecx, dword [edi + 0x1c]
call fcn.10045690
test eax, eax
jne 0x100434e9
mov byte [edi + 0x24], 1
jmp 0x100434f7
mov ecx, dword [edi + 0x1c]
call fcn.100454e0
mov dword [edi], 0
cmp byte [edi + 0x24], 0
jne 0x1004351f
mov eax, dword [0x100892f8]
mov dword [0x100892f8], 0
test eax, eax
je 0x10042f74
push eax
call fcn.10027780
jmp 0x10042f74
mov eax, dword [edi]
mov dword [0x10088ec0], eax
xor eax, eax
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
call fcn.1004f161
call fcn.1004f161
call fcn.1004f161
call fcn.1004f161
int3