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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067fb1
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x1008600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], edx
mov ebx, ecx
cmp dword [0x100893b8], 0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
jne 0x1003e31a
push 0x10
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x30]
push str.IAudioClientStop
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.10003f80
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push 0x40
push 4
push dword [ebx]
mov dword [ebp - 0x14], 0
call esi
test eax, eax
jne 0x1003e215
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x1003e7ef
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e1f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e821
push edx
push ecx
call fcn.10041ac4
add esp, 8
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
push 0x28
mov esi, dword [eax + 0x2c]
call fcn.10041665
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x30]
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 - 0x1c]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], 0x1003df10
mov byte [edi + 0x24], 0
cmp edx, 0x10
jb 0x1003e288
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e27e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e821
push edx
push ecx
call fcn.10041ac4
add esp, 8
mov eax, dword [0x100893b8]
mov dword [0x100893b8], edi
test eax, eax
je 0x1003e29d
push eax
call fcn.10023b60
cmp byte [edi + 0x24], 0
jne 0x1003e30d
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
push edi
call fcn.100403a0
test eax, eax
jne 0x1003e2d3
mov ecx, dword [edi + 0x1c]
call fcn.10040810
test eax, eax
jne 0x1003e2c5
mov byte [edi + 0x24], 1
jmp 0x1003e2d3
mov ecx, dword [edi + 0x1c]
call fcn.10040660
mov dword [edi], 0
cmp byte [edi + 0x24], 0
jne 0x1003e30d
mov eax, dword [0x100893b8]
mov dword [0x100893b8], 0
test eax, eax
je 0x1003e7ef
push eax
call fcn.10023b60
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0x10089348], eax
cmp dword [0x100893b4], 0
jne 0x1003e4bb
push 0x1d
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x30]
push str.IAudioClientGetCurrentPadding
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.10003f80
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
push 0x40
push 4
push dword [ebx]
mov dword [ebp - 0x14], 0
call esi
test eax, eax
jne 0x1003e3bc
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x1003e7ef
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e39b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e826
push edx
push ecx
call fcn.10041ac4
add esp, 8
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
push 0x28
mov esi, dword [eax + 0x18]
call fcn.10041665
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x30]
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 - 0x1c]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], 0x1003de60
mov byte [edi + 0x24], 0
cmp edx, 0x10
jb 0x1003e42f
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e425
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e826
push edx
push ecx
call fcn.10041ac4
add esp, 8
mov eax, dword [0x100893b4]
mov dword [0x100893b4], edi
test eax, eax
je 0x1003e444
push eax
call fcn.10023b60
cmp byte [edi + 0x24], 0
jne 0x1003e4b4
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
push edi
call fcn.100403a0
test eax, eax
jne 0x1003e47a
mov ecx, dword [edi + 0x1c]
call fcn.10040810
test eax, eax
jne 0x1003e46c
mov byte [edi + 0x24], 1
jmp 0x1003e47a
mov ecx, dword [edi + 0x1c]
call fcn.10040660
mov dword [edi], 0
cmp byte [edi + 0x24], 0
jne 0x1003e4b4
mov eax, dword [0x100893b4]
mov dword [0x100893b4], 0
test eax, eax
je 0x1003e7ef
push eax
call fcn.10023b60
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov dword [0x10089338], eax
cmp dword [0x100893bc], 0
jne 0x1003e667
push 0x1b
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x30]
push str.IAudioRenderClientGetBuffer
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.10003f80
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
push 0x40
mov dword [ebp - 4], 4
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 4
push dword [esi]
mov dword [ebp - 0x14], 0
call ebx
test eax, eax
jne 0x1003e566
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x1003e7ef
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e545
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e82b
push edx
push ecx
call fcn.10041ac4
add esp, 8
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
push 0x28
mov esi, dword [eax + 0xc]
call fcn.10041665
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 5
lea ecx, [edi + 4]
mov dword [edi], 0
push eax
call fcn.10003d70
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], 0x1003df60
mov byte [edi + 0x24], 0
cmp edx, 0x10
jb 0x1003e5d9
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e5cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e82b
push edx
push ecx
call fcn.10041ac4
add esp, 8
mov eax, dword [0x100893bc]
mov dword [0x100893bc], edi
test eax, eax
je 0x1003e5ee
push eax
call fcn.10023b60
cmp byte [edi + 0x24], 0
jne 0x1003e65e
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
push edi
call fcn.100403a0
test eax, eax
jne 0x1003e624
mov ecx, dword [edi + 0x1c]
call fcn.10040810
test eax, eax
jne 0x1003e616
mov byte [edi + 0x24], 1
jmp 0x1003e624
mov ecx, dword [edi + 0x1c]
call fcn.10040660
mov dword [edi], 0
cmp byte [edi + 0x24], 0
jne 0x1003e65e
mov eax, dword [0x100893bc]
mov dword [0x100893bc], 0
test eax, eax
je 0x1003e7ef
push eax
call fcn.10023b60
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov dword [0x10089354], eax
jmp 0x1003e66d
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [0x100893c0], 0
jne 0x1003e80d
push 0x1f
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x30]
push str.IAudioRenderClientReleaseBuffer
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.10003f80
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
push 0x40
mov dword [ebp - 4], 6
push 4
push dword [esi]
mov dword [ebp - 0x18], 0
call ebx
test eax, eax
jne 0x1003e712
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x1003e7ef
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e6f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e830
push edx
push ecx
call fcn.10041ac4
add esp, 8
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
push 0x28
mov esi, dword [eax + 0x10]
call fcn.10041665
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 7
lea ecx, [edi + 4]
mov dword [edi], 0
push eax
call fcn.10003d70
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], 0x1003e050
mov byte [edi + 0x24], 0
cmp edx, 0x10
jb 0x1003e785
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e77b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e830
push edx
push ecx
call fcn.10041ac4
add esp, 8
mov eax, dword [0x100893c0]
mov dword [0x100893c0], edi
test eax, eax
je 0x1003e79a
push eax
call fcn.10023b60
cmp byte [edi + 0x24], 0
jne 0x1003e806
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
push edi
call fcn.100403a0
test eax, eax
jne 0x1003e7d0
mov ecx, dword [edi + 0x1c]
call fcn.10040810
test eax, eax
jne 0x1003e7c2
mov byte [edi + 0x24], 1
jmp 0x1003e7d0
mov ecx, dword [edi + 0x1c]
call fcn.10040660
mov dword [edi], 0
cmp byte [edi + 0x24], 0
jne 0x1003e806
mov eax, dword [0x100893c0]
mov dword [0x100893c0], 0
test eax, eax
je 0x1003e7ef
push eax
call fcn.10023b60
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov dword [0x1008934c], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1004a021
call fcn.1004a021
call fcn.1004a021
call fcn.1004a021
int3