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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, 0x531d40
push ebx
mov ebx, ecx
push esi
push edi
mov ecx, dword [ebx + 4]
call eax
mov eax, dword [eax + 0xc8]
test eax, eax
je 0x10016ae5
mov ecx, dword [ebx]
cmp ecx, eax
jne 0x10016ae5
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x354]
jb 0x10016c7b
test byte [ebx + 0x14], 4
je 0x10016c7b
mov ecx, 0x5eb57b
call fcn.100183f0
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.10008800
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0x14], 1
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x18], esi
call edi
test eax, eax
setne byte [ebp - 0xc]
mov byte [esi], 1
cmp byte [ebp - 0xc], 0
je 0x10016b47
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], eax
push dword [ebp - 0x18]
call edi
mov ecx, 0x5eb566
call fcn.100183f0
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.10008800
mov dword [ebp - 0x14], 1
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x18], esi
call edi
test eax, eax
setne byte [ebp - 0xc]
mov byte [esi], 2
cmp byte [ebp - 0xc], 0
je 0x10016b99
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], eax
push dword [ebp - 0x18]
call edi
mov ecx, 0x5eb5a5
call fcn.100183f0
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.10008800
mov dword [ebp - 0x14], 1
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x18], esi
call edi
test eax, eax
setne byte [ebp - 0xc]
mov byte [esi], 3
cmp byte [ebp - 0xc], 0
je 0x10016beb
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], eax
push dword [ebp - 0x18]
call edi
call fcn.10017640
call fcn.10017ad0
push 6
call fcn.10018e38
mov edi, eax
add esp, 4
mov ecx, 0x4ea804
mov dword [edi], 0x35496d9
mov word [edi + 4], 0
call fcn.100183f0
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.10008800
mov dword [ebp - 0x14], 6
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 6
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
mov eax, dword [edi]
setne byte [ebp - 0xc]
mov dword [esi], eax
mov ax, word [edi + 4]
mov word [esi + 4], ax
cmp byte [ebp - 0xc], 0
je 0x10016c70
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
and byte [ebx + 0x14], 0xfb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx], eax
jne 0x10016d62
test byte [ebx + 0x14], 4
jne 0x10016d62
call fcn.10017280
call fcn.100173f0
mov ecx, 0x4ea6a1
call fcn.100183f0
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.10008800
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0x14], 0xd
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 0xd
push esi
mov dword [ebp - 0x18], esi
call edi
test eax, eax
setne byte [ebp - 0xc]
mov dword [esi], 0x90909090
mov dword [esi + 4], 0x90909090
mov dword [esi + 8], 0x90909090
mov byte [esi + 0xc], 0x90
cmp byte [ebp - 0xc], 0
je 0x10016d04
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], eax
push dword [ebp - 0x18]
call edi
mov ecx, 0x4ea804
call fcn.100183f0
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.10008800
mov dword [ebp - 0x14], 6
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 6
push esi
mov dword [ebp - 0x18], esi
call edi
test eax, eax
mov eax, 0x90909090
setne byte [ebp - 0xc]
mov dword [esi], eax
mov word [esi + 4], ax
cmp byte [ebp - 0xc], 0
je 0x10016d5e
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], eax
push dword [ebp - 0x18]
call edi
or byte [ebx + 0x14], 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret