Function at 0x10019303
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 + 0x118]
lea esi, [edi + 4]
push ecx
push eax
mov ecx, esi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x34], eax
call fcn.10019e59
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, esi
call fcn.10019eb9
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.10019f11
xor dword [ebp - 4], eax
mov ecx, esi
call fcn.10019e97
mov ecx, esi
mov dword [ebp - 0x18], eax
call fcn.10019e97
mov ecx, esi
mov ebx, eax
call fcn.10019e59
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.10019ef1
push eax
mov ecx, edi
call dword [ebx + 0x18]
test ax, ax
je 0x1001950b
mov ebx, dword [ebp - 0x14]
mov ecx, esi
sub ebx, dword [ebp - 0xc]
inc ebx
mov dword [ebp - 0x18], ebx
call fcn.10019e97
mov ecx, dword [ebp - 0xc]
sub ecx, eax
mov eax, dword [edi + 0x118]
mov dword [ebp - 0x28], eax
add eax, ecx
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.10019e59
mov ecx, dword [ebp - 8]
add eax, dword [ebp - 0x28]
add ecx, ebx
cmp ecx, eax
ja 0x1001950b
mov ecx, esi
call fcn.10019db3
cmp eax, 1
jne 0x10019419
call fcn.1002b2c9
mov ebx, dword [eax]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.10019dd5
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 0x10019436
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.10019dd5
push eax
mov ecx, edi
push dword [ebp + 8]
push dword [ebp - 4]
push dword [ebp - 8]
push ebx
call fcn.10019613
cmp word [ebp + 0xc], 1
mov dword [ebp - 0x10], eax
jne 0x100194fc
mov ecx, esi
call fcn.10019db3
cmp eax, 1
jne 0x100194b0
call fcn.1002b2c9
mov ebx, dword [eax]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.10019dd5
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.1002b2c9
mov ebx, dword [eax]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.10019dd5
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 0x100194f1
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.10019dd5
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.10019613
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.10019dd5
push eax
mov ecx, edi
push dword [ebp + 8]
push dword [ebp - 4]
push dword [ebp - 8]
push ebx
call fcn.10019613
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
jne 0x10019507
add dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0x30]
jmp 0x10019377
and dword [ebp - 0x10], 0
mov edi, dword [edi + 0x118]
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
push dword [ebp - 0x24]
call fcn.10019e59
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