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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10089014]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [0x1008ab98], 0
je 0x10015e63
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012fae
mov esp, ebp
pop ebp
ret 4
push esi
push str.KiUserExceptionDispatcher
push 0x1007482c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [ebp - 8], 0
xor eax, eax
mov dword [ebp - 0x14], esi
mov dword [0x1008ab9c], esi
xor ecx, ecx
test eax, eax
jne 0x10015ea7
cmp byte [ecx + esi], 0xfc
jne 0x10015ead
cmp byte [ecx + esi + 1], 0x8b
jne 0x10015ead
mov eax, 1
cmp byte [ecx + esi], 0xe8
je 0x10015ec7
inc ecx
cmp ecx, 0x32
jle 0x10015e91
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012fae
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ecx + esi + 1]
add eax, 5
add eax, ecx
add eax, esi
push 4
push eax
mov dword [0x10089020], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10015eb3
push ebx
push edi
push str.wow64.dll
call fcn.100144b0
mov ebx, edx
add esp, 4
mov edi, eax
test ebx, ebx
ja 0x10015f0a
jb 0x10015f9b
cmp edi, 1
jb 0x10015f9b
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call esi
push eax
call fcn.10016a10
add esp, 8
mov dword [ebp - 0x10], eax
mov edx, 0x1007494c
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x10015f24
mov ecx, dword [ebp - 0x10]
mov eax, 0x10014a20
mov byte [ecx + 9], 0xe8
sub eax, dword [ebp - 0x10]
sub eax, 0xe
mov dword [ecx + 0xa], eax
mov eax, edi
or eax, ebx
je 0x10016052
test ebx, ebx
ja 0x10015ffa
jb 0x10015f67
cmp edi, 0x7fffffff
jae 0x10015fee
push 4
lea eax, [ebp - 0x14]
push eax
push 0xff4240
push edi
call fcn.10015800
cdq
add esp, 0x10
mov ecx, eax
mov dword [0x1008abd8], eax
or ecx, edx
mov dword [0x1008abdc], edx
jne 0x10015fb1
push dword [ebp - 0x10]
call esi
push eax
call fcn.10016a70
add esp, 8
pop edi
pop ebx
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012fae
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 8]
push ecx
push 0x40
push 0x10
push eax
call esi
mov ecx, dword [0x1008abd8]
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x10
push dword [0x1008abd8]
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x1008ab98], 1
test ebx, ebx
jne 0x10015ffa
cmp edi, 0x7fffffff
jbe 0x10016052
push 4
lea eax, [ebp - 0x14]
push eax
push ebx
push edi
call fcn.100148d0
mov ecx, eax
mov dword [0x1008abd8], eax
add esp, 0x10
mov dword [0x1008abdc], edx
or ecx, edx
je 0x10016044
push 0
push 4
lea ecx, [ebp - 0x10]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.10014e90
add esp, 0x18
test eax, eax
je 0x10016044
mov dword [0x1008ab98], 1
jmp 0x10016052
push dword [ebp - 0x10]
call esi
push eax
call fcn.10016a70
add esp, 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.10012fae
mov esp, ebp
pop ebp
ret 4