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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
and dword [ebp - 0x24], 0
push edi
mov edi, ecx
push 0x40
pop eax
lea ecx, [ebp - 0x24]
mov ebx, dword [edi + 0x1e4]
lea esi, [edi + 4]
push ecx
push eax
mov ecx, esi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x34], eax
call fcn.667223c0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, esi
call fcn.66722417
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.66722465
xor dword [ebp - 4], eax
mov ecx, esi
call fcn.667223fa
mov ecx, esi
mov dword [ebp - 0x18], eax
call fcn.667223fa
mov ecx, esi
mov ebx, eax
call fcn.667223c0
mov ecx, dword [ebp - 0x18]
lea eax, [ebx + eax - 1]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0xc], ecx
mov ebx, dword [edi]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.6672244c
push eax
mov ecx, edi
call dword [ebx + 0x18]
test ax, ax
je 0x667219a5
mov ebx, dword [ebp - 0x14]
mov ecx, esi
sub ebx, dword [ebp - 0xc]
inc ebx
mov dword [ebp - 0x18], ebx
call fcn.667223fa
mov ecx, dword [ebp - 0xc]
sub ecx, eax
mov eax, dword [edi + 0x1e4]
mov dword [ebp - 0x28], eax
add eax, ecx
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.667223c0
mov ecx, dword [ebp - 8]
add eax, dword [ebp - 0x28]
add ecx, ebx
cmp ecx, eax
ja 0x667219a5
mov ecx, esi
call fcn.66722343
cmp eax, 1
jne 0x667218b3
call fcn.66742986
mov ebx, dword [eax]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.6672235a
push eax
xor eax, eax
cmp word [ebp + 8], ax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x18]
sete al
push eax
mov eax, dword [ebp - 0x10]
push dword [ebp - 4]
push dword [ebp - 8]
push ebx
call dword [eax + 0xc]
jmp 0x667218d0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.6672235a
push eax
mov ecx, edi
push dword [ebp + 8]
push dword [ebp - 4]
push dword [ebp - 8]
push ebx
call fcn.66721aad
cmp word [ebp + 0xc], 1
mov dword [ebp - 0x10], eax
jne 0x66721996
mov ecx, esi
call fcn.66722343
cmp eax, 1
jne 0x6672194a
call fcn.66742986
mov ebx, dword [eax]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.6672235a
push eax
mov ecx, dword [ebp - 0x28]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0x18]
call dword [ebx + 0xc]
call fcn.66742986
mov ebx, dword [eax]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.6672235a
push eax
xor eax, eax
cmp word [ebp + 8], ax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x18]
sete al
push eax
mov eax, dword [ebp - 0x10]
push dword [ebp - 4]
push dword [ebp - 8]
push ebx
call dword [eax + 0xc]
jmp 0x6672198b
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.6672235a
push eax
xor eax, eax
cmp word [ebp + 8], ax
mov ecx, edi
sete al
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push ebx
call fcn.66721aad
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.6672235a
push eax
mov ecx, edi
push dword [ebp + 8]
push dword [ebp - 4]
push dword [ebp - 8]
push ebx
call fcn.66721aad
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
jne 0x667219a1
add dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0x30]
jmp 0x66721811
and dword [ebp - 0x10], 0
mov edi, dword [edi + 0x1e4]
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
push dword [ebp - 0x24]
call fcn.667223c0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ax, word [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 8